< Back

Reset-GcSqlSslConfig

Mon Jan 13, 2020 11:46 pm

NAME Reset-GcSqlSslConfig



SYNOPSIS

Deletes all client certificates and generates a new server SSL certificate for the instance.





SYNTAX

Reset-GcSqlSslConfig [-Project <string>] [-Instance] <string> [<CommonParameters>]



Reset-GcSqlSslConfig -InstanceObject <DatabaseInstance> [<CommonParameters>]





DESCRIPTION

Deletes all client certificates and generates a new server SSL certificate for the instance. The changes will not

take effect until the instance is restarted. Existing instances without a server certificate will need to call

this once to set a server certificate.





PARAMETERS

-Project <string>

Name of the project. Defaults to the Cloud SDK configuration for properties if not specified.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Instance <string>

Cloud SQL instance name.



Required? true

Position? 0

Default value

Accept pipeline input? false

Accept wildcard characters? false



-InstanceObject <DatabaseInstance>

An instance resourve that you want to reset the SSL Configuration for.



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Google.Apis.SQLAdmin.v1beta4.Data.DatabaseInstance

An instance resourve that you want to reset the SSL Configuration for.





OUTPUTS

Google.Apis.SQLAdmin.v1beta4.Data.DatabaseInstance





---------- EXAMPLE 1 ----------



PS C:\\> Reset-GcSqlSslConfig "myInstance"



Resets the SSL Certificates for the "myInstance" instance.

---------- EXAMPLE 2 ----------



PS C:\\> Reset-GcSqlSslConfig $instance



Resets the SSL Certificates for the instance represented by the resource stored in $instance.



RELATED LINKS