< Back

Get-GceUrlMap

Mon Jan 13, 2020 11:15 pm

NAME Get-GceUrlMap



SYNOPSIS

Gets Google Compute Engine url maps.





SYNTAX

Get-GceUrlMap [-Project <string>] [<CommonParameters>]



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





DESCRIPTION

Lists url maps of a project, or gets a specific one.





PARAMETERS

-Project <string>

The project the url maps 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



-Name <string>

The name of the url map 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.UrlMap





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



PS C:\\> Get-GceUrlMap



This command lists all url maps for the default project.

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



PS C:\\> Get-GceUrlMap "my-url-map"



This command gets the url map named "my-url-map"



RELATED LINKS

(https://cloud.google.com/compute/docs/reference/latest/urlMaps#resource)