Aracılığıyla paylaş


Get-AzManagedServicesDefinition

Kayıt tanımı ayrıntılarını alır.

Syntax

Get-AzManagedServicesDefinition
   [-Scope <String>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzManagedServicesDefinition
   -Name <String>
   [-Scope <String>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzManagedServicesDefinition
   -InputObject <IManagedServicesIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Kayıt tanımı ayrıntılarını alır.

Örnekler

Örnek 1: Abonelikteki tüm Azure Lighthouse kayıt tanımlarını listeleme

Get-AzManagedServicesDefinition

Name                                 Type
----                                 ----
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Microsoft.ManagedServices/registrationDefinitions
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Microsoft.ManagedServices/registrationDefinitions

Belirli bir abonelikteki tüm Azure Lighthouse kayıt tanımlarını bağlamda listeler.

Örnek 2: Azure Lighthouse kayıt tanımını seçilen özelliklerle ada göre alma

Get-AzManagedServicesDefinition -Name xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |Format-List -Property Id, Name, Type, ManagedByTenantId, Authorization, EligibleAuthorization

Id                    : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.ManagedServices/registrationDefinitions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Name                  : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Type                  : Microsoft.ManagedServices/registrationDefinitions
ManagedByTenantId     : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Authorization         : {Test user}
EligibleAuthorization : {Test user}

Azure Lighthouse kayıt tanımını seçilen özelliklerle ada göre alır.

Örnek 3: Tüm Azure Lighthouse kayıt tanımlarını kapsama göre listeleme

Get-AzManagedServicesDefinition -Scope /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx | Format-List -Property Id, Name, Type, ManagedByTenantId, Authorization, EligibleAuthorization

Id                    : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.ManagedServices/registrationDefinitions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Name                  : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Type                  : Microsoft.ManagedServices/registrationDefinitions
ManagedByTenantId     : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Authorization         : {Test user}
EligibleAuthorization : {Test user}

Id                    : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.ManagedServices/registrationDefinitions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Name                  : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Type                  : Microsoft.ManagedServices/registrationDefinitions
ManagedByTenantId     : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Authorization         : {}
EligibleAuthorization :

Verilen abonelik kapsamına göre tüm Azure Lighthouse kayıt tanımlarını listeler.

Parametreler

-DefaultProfile

DefaultProfile parametresi işlevsel değil. Cmdlet'i farklı bir abonelikte yürütürken kullanılabilir olduğunda SubscriptionId parametresini kullanın.

Tür:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
varsayılan değer:None
Gerekli:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Kimlik Parametresi Oluşturmak için INPUTOBJECT özellikleri için NOTES bölümüne bakın ve bir karma tablo oluşturun.

Tür:IManagedServicesIdentity
Position:Named
varsayılan değer:None
Gerekli:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Kayıt tanımının GUID değeri.

Tür:String
Aliases:RegistrationDefinitionId
Position:Named
varsayılan değer:None
Gerekli:True
Accept pipeline input:False
Accept wildcard characters:False

-Scope

Kaynağın kapsamı.

Tür:String
Position:Named
varsayılan değer:"subscriptions/" + (Get-AzContext).Subscription.Id
Gerekli:False
Accept pipeline input:False
Accept wildcard characters:False

Girişler

IManagedServicesIdentity

Çıkışlar

IRegistrationDefinition