Freigeben über


Get-AzManagedServicesDefinition

Ruft die Registrierungsdefinitionsdetails ab.

Syntax

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

Beschreibung

Ruft die Registrierungsdefinitionsdetails ab.

Beispiele

Beispiel 1: Auflisten aller Azure Lighthouse-Registrierungsdefinitionen in einem Abonnement

Get-AzManagedServicesDefinition

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

Listet alle Azure Lighthouse-Registrierungsdefinitionen in einem bestimmten Abonnement im Kontext auf.

Beispiel 2: Abrufen der Azure Lighthouse-Registrierungsdefinition nach Name mit ausgewählten Eigenschaften

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}

Ruft die Azure Lighthouse-Registrierungsdefinition anhand des Namens mit ausgewählten Eigenschaften ab.

Beispiel 3: Auflisten aller Azure Lighthouse-Registrierungsdefinitionen nach Bereich

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 :

Listet alle Azure Lighthouse-Registrierungsdefinitionen nach einem bestimmten Abonnementbereich auf.

Parameter

-DefaultProfile

Der Parameter DefaultProfile ist nicht funktionsfähig. Verwenden Sie den Parameter "SubscriptionId", wenn sie verfügbar ist, wenn Sie das Cmdlet für ein anderes Abonnement ausführen.

Typ:PSObject
Aliase:AzureRMContext, AzureCredential
Position:Named
Standardwert:None
Erforderlich:False
Pipelineeingabe akzeptieren:False
Platzhalterzeichen akzeptieren:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Typ:IManagedServicesIdentity
Position:Named
Standardwert:None
Erforderlich:True
Pipelineeingabe akzeptieren:True
Platzhalterzeichen akzeptieren:False

-Name

Die GUID der Registrierungsdefinition.

Typ:String
Aliase:RegistrationDefinitionId
Position:Named
Standardwert:None
Erforderlich:True
Pipelineeingabe akzeptieren:False
Platzhalterzeichen akzeptieren:False

-Scope

Bereich der Ressource

Typ:String
Position:Named
Standardwert:"subscriptions/" + (Get-AzContext).Subscription.Id
Erforderlich:False
Pipelineeingabe akzeptieren:False
Platzhalterzeichen akzeptieren:False

Eingaben

IManagedServicesIdentity

Ausgaben

IRegistrationDefinition