Get-AzManagedServicesDefinition
Obtém os detalhes da definição de registro.
Sintaxe
List (Predefinição)
Get-AzManagedServicesDefinition
[-Scope <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzManagedServicesDefinition
-Name <String>
[-Scope <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzManagedServicesDefinition
-InputObject <IManagedServicesIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Obtém os detalhes da definição de registro.
Exemplos
Exemplo 1: Listar todas as definições de registro do Azure Lighthouse em uma assinatura
Get-AzManagedServicesDefinition
Name Type
---- ----
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Microsoft.ManagedServices/registrationDefinitions
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Microsoft.ManagedServices/registrationDefinitions
Lista todas as definições de registro do Azure Lighthouse em uma determinada assinatura no contexto.
Exemplo 2: Obter a definição de registro do Azure Lighthouse por nome com propriedades selecionadas
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}
Obtém a definição de registro do Azure Lighthouse por nome com propriedades selecionadas.
Exemplo 3: Listar todas as definições de registro do Azure Lighthouse por escopo
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 :
Lista todas as definições de registro do Azure Lighthouse por determinado escopo de assinatura.
Parâmetros
-DefaultProfile
O parâmetro DefaultProfile não é funcional. Use o parâmetro SubscriptionId quando disponível se estiver executando o cmdlet em uma assinatura diferente.
Propriedades dos parâmetros
| Tipo: | PSObject |
| Default value: | None |
| Suporta carateres universais: | False |
| NãoMostrar: | False |
| Aliases: | AzureRMContext, AzureCredential |
Conjuntos de parâmetros
(All)
| Position: | Named |
| Obrigatório: | False |
| Valor do pipeline: | False |
| Valor do pipeline por nome de propriedade: | False |
| Valor dos restantes argumentos: | False |
-InputObject
Parâmetro de identidade Para construir, consulte a seção NOTAS para propriedades INPUTOBJECT e crie uma tabela de hash.
Propriedades dos parâmetros
| Tipo: | IManagedServicesIdentity |
| Default value: | None |
| Suporta carateres universais: | False |
| NãoMostrar: | False |
Conjuntos de parâmetros
GetViaIdentity
| Position: | Named |
| Obrigatório: | True |
| Valor do pipeline: | True |
| Valor do pipeline por nome de propriedade: | False |
| Valor dos restantes argumentos: | False |
-Name
O GUID da definição de registro.
Propriedades dos parâmetros
| Tipo: | String |
| Default value: | None |
| Suporta carateres universais: | False |
| NãoMostrar: | False |
| Aliases: | RegistrationDefinitionId |
Conjuntos de parâmetros
Get
| Position: | Named |
| Obrigatório: | True |
| Valor do pipeline: | False |
| Valor do pipeline por nome de propriedade: | False |
| Valor dos restantes argumentos: | False |
-Scope
O escopo do recurso.
Propriedades dos parâmetros
| Tipo: | String |
| Default value: | "subscriptions/" + (Get-AzContext).Subscription.Id |
| Suporta carateres universais: | False |
| NãoMostrar: | False |
Conjuntos de parâmetros
List
| Position: | Named |
| Obrigatório: | False |
| Valor do pipeline: | False |
| Valor do pipeline por nome de propriedade: | False |
| Valor dos restantes argumentos: | False |
Get
| Position: | Named |
| Obrigatório: | False |
| Valor do pipeline: | False |
| Valor do pipeline por nome de propriedade: | False |
| Valor dos restantes argumentos: | False |
CommonParameters
Este cmdlet suporta os parâmetros comuns: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction e -WarningVariable. Para obter mais informações, consulte about_CommonParameters.