< Back
Remove-GcSqlInstance
Post
NAME Remove-GcSqlInstance
SYNOPSIS
Deletes a Cloud SQL instance.
SYNTAX
Remove-GcSqlInstance [-Project <string>] [-Instance] <string> [<CommonParameters>]
Remove-GcSqlInstance [-InstanceObject] <DatabaseInstance> [<CommonParameters>]
DESCRIPTION
Deletes the specified Cloud SQL instance. Warning: This deletes all data inside of it as well.
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>
The name of the instance to be deleted.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-InstanceObject <DatabaseInstance>
The DatabaseInstance that describes the instance we want to remove.
Required? true
Position? 0
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
System.String
The name of the instance to be deleted.
Google.Apis.SQLAdmin.v1beta4.Data.DatabaseInstance
The DatabaseInstance that describes the instance we want to remove.
OUTPUTS
---------- EXAMPLE 1 ----------
PS C:\\> Remove-GcSqlInstance "myInstance"
Removes the instance called "myInstance" from our project.
---------- EXAMPLE 2 ----------
PS C:\\> Remove-GcSqlInstance $myInstance
Removes the instance represented by the resource $myInstance from our project.
RELATED LINKS
SYNOPSIS
Deletes a Cloud SQL instance.
SYNTAX
Remove-GcSqlInstance [-Project <string>] [-Instance] <string> [<CommonParameters>]
Remove-GcSqlInstance [-InstanceObject] <DatabaseInstance> [<CommonParameters>]
DESCRIPTION
Deletes the specified Cloud SQL instance. Warning: This deletes all data inside of it as well.
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>
The name of the instance to be deleted.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-InstanceObject <DatabaseInstance>
The DatabaseInstance that describes the instance we want to remove.
Required? true
Position? 0
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
System.String
The name of the instance to be deleted.
Google.Apis.SQLAdmin.v1beta4.Data.DatabaseInstance
The DatabaseInstance that describes the instance we want to remove.
OUTPUTS
---------- EXAMPLE 1 ----------
PS C:\\> Remove-GcSqlInstance "myInstance"
Removes the instance called "myInstance" from our project.
---------- EXAMPLE 2 ----------
PS C:\\> Remove-GcSqlInstance $myInstance
Removes the instance represented by the resource $myInstance from our project.
RELATED LINKS