< Back
Get-GceAddress
Post
NAME Get-GceAddress
SYNOPSIS
Gets information about a Google Compute Engine address.
SYNTAX
Get-GceAddress [-Project <string>] [<CommonParameters>]
Get-GceAddress [-Project <string>] -Region <string> [<CommonParameters>]
Get-GceAddress [-Project <string>] [-Region <string>] [-Name] <string> [<CommonParameters>]
Get-GceAddress [-Project <string>] -Global <SwitchParameter> [<CommonParameters>]
Get-GceAddress [-Project <string>] [-Name] <string> -Global <SwitchParameter> [<CommonParameters>]
DESCRIPTION
Get an object that has information about an address.
PARAMETERS
-Project <string>
The project that owns the address. Required if not specified by the gcloud config.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Region <string>
The region the address is in. Requried when listing addresses of a region. Defaults to gcloud config region
when getting a non-global named address.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <string>
The name of the address to get.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Global <SwitchParameter>
If set, will get global addresses, rather than region specific ones.
Required? true
Position? named
Default value False
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
System.String
The name of the address to get.
OUTPUTS
Google.Apis.Compute.v1.Data.Address
---------- EXAMPLE 1 ----------
Get-GceAddress
List all global and region addresses.
---------- EXAMPLE 2 ----------
Get-GceAddress $addressName
Get a named addresses of the region of the current gcloud config.
RELATED LINKS
[Address resource definition] (https://cloud.google.com/compute/docs/r ... s#resource)
SYNOPSIS
Gets information about a Google Compute Engine address.
SYNTAX
Get-GceAddress [-Project <string>] [<CommonParameters>]
Get-GceAddress [-Project <string>] -Region <string> [<CommonParameters>]
Get-GceAddress [-Project <string>] [-Region <string>] [-Name] <string> [<CommonParameters>]
Get-GceAddress [-Project <string>] -Global <SwitchParameter> [<CommonParameters>]
Get-GceAddress [-Project <string>] [-Name] <string> -Global <SwitchParameter> [<CommonParameters>]
DESCRIPTION
Get an object that has information about an address.
PARAMETERS
-Project <string>
The project that owns the address. Required if not specified by the gcloud config.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Region <string>
The region the address is in. Requried when listing addresses of a region. Defaults to gcloud config region
when getting a non-global named address.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <string>
The name of the address to get.
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Global <SwitchParameter>
If set, will get global addresses, rather than region specific ones.
Required? true
Position? named
Default value False
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
System.String
The name of the address to get.
OUTPUTS
Google.Apis.Compute.v1.Data.Address
---------- EXAMPLE 1 ----------
Get-GceAddress
List all global and region addresses.
---------- EXAMPLE 2 ----------
Get-GceAddress $addressName
Get a named addresses of the region of the current gcloud config.
RELATED LINKS
[Address resource definition] (https://cloud.google.com/compute/docs/r ... s#resource)