Get-AzLocation

Ruft alle Standorte und die unterstützten Ressourcenanbieter für jeden Standort ab.

Syntax

Get-AzLocation
   [-ExtendedLocation <Boolean>]
   [-ApiVersion <String>]
   [-Pre]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Beschreibung

Das Cmdlet "Get-AzLocation " ruft alle Speicherorte und die unterstützten Ressourcenanbieter für jeden Speicherort ab.

Beispiele

Beispiel 1: Abrufen aller Speicherorte und der unterstützten Ressourcenanbieter

Get-AzLocation

Dieser Befehl ruft alle Speicherorte und die unterstützten Ressourcenanbieter für jeden Standort ab.

Beispiel 2: Abrufen aller Speicherorte, die den Ressourcenanbieter Microsoft.AppConfiguration unterstützen

Get-AzLocation | Where-Object {$_.Providers -contains "Microsoft.AppConfiguration"}

Location    : eastasia
DisplayName : East Asia
Providers   : {Microsoft.Devices, Microsoft.Cache, Microsoft.AppConfiguration, microsoft.insights…}

Location    : southeastasia
DisplayName : Southeast Asia
Providers   : {Microsoft.Devices, Microsoft.Cache, Microsoft.AppConfiguration, microsoft.insights…}

Location    : centralus
DisplayName : Central US
Providers   : {Microsoft.Devices, Microsoft.Cache, Microsoft.AppConfiguration, microsoft.insights…}
...

Dieses Beispiel ruft alle Speicherorte ab, die den Ressourcenanbieter "Microsoft.AppConfiguration" unterstützen.

Parameter

-ApiVersion

Gibt die API-Version an, die vom Ressourcenanbieter unterstützt wird. Sie können eine andere Version als die Standardversion angeben.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ExtendedLocation

Gibt an, ob erweiterte Speicherorte eingeschlossen werden sollen.

Type:Nullable<T>[Boolean]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Pre

Gibt an, dass dieses Cmdlet vorab veröffentlichte API-Versionen berücksichtigt, wenn es automatisch bestimmt, welche Version verwendet werden soll.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Eingaben

None

Ausgaben

PSResourceProviderLocation