Dela via


Get-AzSubscriptionPolicy

Hämta prenumerationens klientprincip för användarens klientorganisation.

Syntax

Get-AzSubscriptionPolicy
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Hämta prenumerationens klientprincip för användarens klientorganisation.

Exempel

Exempel 1: Hämta prenumerationens klientprincip för användarens klientorganisation.

Get-AzSubscriptionPolicy

Name    PolicyId                             BlockSubscriptionsIntoTenant BlockSubscriptionsLeavingTenant
----    --------                             ---------------------------- -------------------------------
default XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX False                        True

Hämta prenumerationens klientprincip för användarens klientorganisation.

Parametrar

-DefaultProfile

Parametern DefaultProfile fungerar inte. Använd parametern SubscriptionId när den är tillgänglig om du kör cmdleten mot en annan prenumeration.

Typ:PSObject
Alias:AzureRMContext, AzureCredential
Position:Named
Standardvärde:None
Obligatorisk:False
Godkänn pipeline-indata:False
Godkänn jokertecken:False

Utdata

IGetTenantPolicyResponse