Get-AzManagedServicesDefinition

Lekéri a regisztrációs definíció részleteit.

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

Lekéri a regisztrációs definíció részleteit.

Példák

1. példa: Az összes Azure Lighthouse-regisztrációs definíció listázása egy előfizetésben

Get-AzManagedServicesDefinition

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

Egy adott előfizetés összes Azure Lighthouse-regisztrációs definícióját megjeleníti a kontextusban.

2. példa: Az Azure Lighthouse regisztrációs definíciójának lekérése név szerint a kiválasztott tulajdonságok alapján

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}

Lekéri az Azure Lighthouse regisztrációs definícióját a kiválasztott tulajdonságok alapján.

3. példa: Az Összes Azure Lighthouse-regisztrációs definíció listázása hatókör szerint

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 :

Felsorolja az összes Azure Lighthouse-regisztrációs definíciót adott előfizetési hatókör alapján.

Paraméterek

-DefaultProfile

Az Azure-ral való kommunikációhoz használt hitelesítő adatok, fiók, bérlő és előfizetés.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

A létrehozandó identitásparaméter: AZ INPUTOBJECT tulajdonságainak MEGJEGYZÉS szakasza, és hozzon létre egy kivonattáblát.

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

-Name

A regisztrációs definíció GUID azonosítója.

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

-Scope

Az erőforrás hatóköre.

Type:String
Position:Named
Default value:"subscriptions/" + (Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Bevitelek

IManagedServicesIdentity

Kimenetek

IRegistrationDefinition

Jegyzetek

ALIASOK

ÖSSZETETT PARAMÉTERTULAJDONSÁGOK

Az alábbiakban ismertetett paraméterek létrehozásához hozzon létre egy kivonattáblát, amely tartalmazza a megfelelő tulajdonságokat. A kivonattáblákra vonatkozó információkért futtassa a Get-Help about_Hash_Tables.

INPUTOBJECT <IManagedServicesIdentity>: Identitásparaméter

  • [Id <String>]: Erőforrás-identitás elérési útja
  • [MarketplaceIdentifier <String>]: Az Azure Marketplace azonosítója. Várt formátumok: {publisher}. {product[-preview]}. {planName}. {version} vagy {publisher}. {product[-preview]}. {planName} vagy {publisher}. {product[-preview]} vagy {publisher}).
  • [RegistrationAssignmentId <String>]: A regisztrációs hozzárendelés GUID azonosítója.
  • [RegistrationDefinitionId <String>]: A regisztrációs definíció GUID azonosítója.
  • [Scope <String>]: Az erőforrás hatóköre.