< Back
Get-GceTargetPool
Post
NAME Get-GceTargetPool
SYNOPSIS
Gets Google Compute Engine target pools.
SYNTAX
Get-GceTargetPool [-Project <string>] [<CommonParameters>]
Get-GceTargetPool [-Project <string>] -Region <string> [<CommonParameters>]
Get-GceTargetPool [-Project <string>] [-Region <string>] [-Name] <string> [<CommonParameters>]
DESCRIPTION
This command lists target pools of a project, or gets a specific one.
PARAMETERS
-Project <string>
The project the target pools belong to. Defaults to the project in the Cloud SDK config.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Region <string>
The region of the forwaring rule to get. Defaults to the region in the Cloud SDK config.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <string>
The name of the target pool to get.
Required? true
Position? 0
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.Compute.v1.Data.TargetPool
---------- EXAMPLE 1 ----------
PS C:\\> Get-GceTargetPool
This command lists all target pools for the default project.
---------- EXAMPLE 2 ----------
PS C:\\> Get-GceTargetPool -Region us-central1
This command lists all target pools in region "us-central1" for the default project.
---------- EXAMPLE 3 ----------
PS C:\\> Get-GceTargetPool "my-target-pool"
This command gets the target pool named "my-target-pool" in the default project and zone
RELATED LINKS
[Target Pool resource definition] (https://cloud.google.com/compute/docs/r ... s#resource)
SYNOPSIS
Gets Google Compute Engine target pools.
SYNTAX
Get-GceTargetPool [-Project <string>] [<CommonParameters>]
Get-GceTargetPool [-Project <string>] -Region <string> [<CommonParameters>]
Get-GceTargetPool [-Project <string>] [-Region <string>] [-Name] <string> [<CommonParameters>]
DESCRIPTION
This command lists target pools of a project, or gets a specific one.
PARAMETERS
-Project <string>
The project the target pools belong to. Defaults to the project in the Cloud SDK config.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Region <string>
The region of the forwaring rule to get. Defaults to the region in the Cloud SDK config.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <string>
The name of the target pool to get.
Required? true
Position? 0
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.Compute.v1.Data.TargetPool
---------- EXAMPLE 1 ----------
PS C:\\> Get-GceTargetPool
This command lists all target pools for the default project.
---------- EXAMPLE 2 ----------
PS C:\\> Get-GceTargetPool -Region us-central1
This command lists all target pools in region "us-central1" for the default project.
---------- EXAMPLE 3 ----------
PS C:\\> Get-GceTargetPool "my-target-pool"
This command gets the target pool named "my-target-pool" in the default project and zone
RELATED LINKS
[Target Pool resource definition] (https://cloud.google.com/compute/docs/r ... s#resource)