< Back

Get-GcSqlOperation

Mon Jan 13, 2020 11:22 pm

NAME Get-GcSqlOperation



SYNOPSIS

Retrieves an instance operation that has been performed on an instance, or a list of operations used on the

instance.





SYNTAX

Get-GcSqlOperation [-Project <string>] -Name <string> [<CommonParameters>]



Get-GcSqlOperation [-Project <string>] -Instance <string> [<CommonParameters>]





DESCRIPTION

Retrieves an instance operation that has been performed on an instance, or a list of operations used on the

instance. This is decided by if you provide a Name or not.





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



-Name <string>

Instance operation ID/name.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Instance <string>

Cloud SQL instance name.



Required? true

Position? named

Default value

Accept pipeline input? false

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



OUTPUTS

Google.Apis.SQLAdmin.v1beta4.Data.Operation





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



PS C:\\> Get-GcSqlOperation -Instance "myInstance"



Gets a list of operations done on the instance "myInstance".

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



PS C:\\> Get-GcSqlOperation -Name "1d402..."



Gets a resource for the operation with ID "1d402...".



RELATED LINKS