Get-AzAttestationProvider

Obtenha o status de Provedor de Atestado.

Sintaxe

Get-AzAttestationProvider
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzAttestationProvider
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzAttestationProvider
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzAttestationProvider
   -InputObject <IAttestationIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Obtenha o status de Provedor de Atestado.

Exemplos

Exemplo 1: Obter o status de um Provedor de Atestado específico

Get-AzAttestationProvider -Name testprovider1 -ResourceGroupName test-rg | fl

AttestUri                    : https://testprovider1.eus.attest.azure.net
Id                           : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/test-rg/providers/Microsoft.Attestation/attestationProviders/testprovider1
Location                     : eastus
Name                         : testprovider1
PrivateEndpointConnection    : 
ResourceGroupName            : test-rg
Status                       : Ready
SystemDataCreatedAt          : 
SystemDataCreatedBy          : 
SystemDataCreatedByType      : 
SystemDataLastModifiedAt     : 
SystemDataLastModifiedBy     : 
SystemDataLastModifiedByType : 
Tag                          : {
                               }
TrustModel                   : AAD
Type                         : Microsoft.Attestation/attestationProviders

Esse comando obtém o status de um Provedor de Atestado específico chamado testprovider1.

Exemplo 2: Listar status de todos os Provedores de Atestado na assinatura atual

Get-AzAttestationProvider

SystemDataCreatedAt          : 
SystemDataCreatedBy          : 
SystemDataCreatedByType      : 
SystemDataLastModifiedAt     : 
SystemDataLastModifiedBy     : 
SystemDataLastModifiedByType : 
Value                        : {{
                                 "id": "/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/test-rg/providers/Microsoft.Attestation/attestationProviders/test",
                                 "name": "test",
                                 "type": "Microsoft.Attestation/attestationProviders",
                                 "tags": {
                                   "Test": "true",
                                   "CreationYear": "2020"
                                 },
                                 "location": "East US",
                                 "properties": {
                                   "trustModel": "Isolated",
                                   "status": "Ready",
                                   "attestUri": "https://test.eus.attest.azure.net"
                                 }
                               }, {
                                 "id": "/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/test-rg/providers/Microsoft.Attestation/attestationProviders/testprovider1",
                                 "name": "testprovider1",
                                 "type": "Microsoft.Attestation/attestationProviders",
                                 "tags": {
                                   "Test": "true",
                                   "CreationYear": "2020"
                                 },
                                 "location": "East US",
                                 "properties": {
                                   "trustModel": "Isolated",
                                   "status": "Ready",
                                   "attestUri": "https://testprovider1.eus.attest.azure.net"
                                 }
                               },{
                                 "id": "/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/test-rg/providers/Microsoft.Att 
                               estation/attestationProviders/testprovider2",
                                 "name": "testprovider2",
                                 "type": "Microsoft.Attestation/attestationProviders",
                                 "location": "eastus",
                                 "properties": {
                                   "trustModel": "AAD",
                                   "status": "Ready",
                                   "attestUri": "https://testprovider2.eus.attest.azure.net"
                                 }
                               }}

Esse comando lista os status de todos os Provedores de Atestado na assinatura atual.

Exemplo 2: Listar status de todos os Provedores de Atestado em um grupo de recursos

Get-AzAttestationProvider -ResourceGroupName test-rg

SystemDataCreatedAt          : 
SystemDataCreatedBy          : 
SystemDataCreatedByType      : 
SystemDataLastModifiedAt     : 
SystemDataLastModifiedBy     : 
SystemDataLastModifiedByType : 
Value                        : {{
                                 "id": "/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/test-rg/providers/Microsoft.Attestation/attestationProviders/test",
                                 "name": "test",
                                 "type": "Microsoft.Attestation/attestationProviders",
                                 "tags": {
                                   "Test": "true",
                                   "CreationYear": "2020"
                                 },
                                 "location": "East US",
                                 "properties": {
                                   "trustModel": "Isolated",
                                   "status": "Ready",
                                   "attestUri": "https://test.eus.attest.azure.net"
                                 }
                               }, {
                                 "id": "/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/test-rg/providers/Microsoft.Attestation/attestationProviders/testprovider1",
                                 "name": "testprovider1",
                                 "type": "Microsoft.Attestation/attestationProviders",
                                 "tags": {
                                   "Test": "true",
                                   "CreationYear": "2020"
                                 },
                                 "location": "East US",
                                 "properties": {
                                   "trustModel": "Isolated",
                                   "status": "Ready",
                                   "attestUri": "https://testprovider1.eus.attest.azure.net"
                                 }
                               },{
                                 "id": "/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/test-rg/providers/Microsoft.Attestation/attestationProviders/testprovider2",
                                 "name": "testprovider2",
                                 "type": "Microsoft.Attestation/attestationProviders",
                                 "location": "eastus",
                                 "properties": {
                                   "trustModel": "AAD",
                                   "status": "Ready",
                                   "attestUri": "https://testprovider2.eus.attest.azure.net"
                                 }
                               }}

Esse comando lista os status de todos os Provedores de Atestado em um grupo de recursos.

Parâmetros

-DefaultProfile

O parâmetro DefaultProfile não está funcional. Use o parâmetro SubscriptionId quando disponível se estiver executando o cmdlet em uma assinatura diferente.

Tipo:PSObject
Aliases:AzureRMContext, AzureCredential
Cargo:Named
Valor padrão:None
Obrigatório:False
Aceitar a entrada de pipeline:False
Aceitar caracteres curinga:False

-InputObject

Parâmetro de identidade Para construir, consulte a seção NOTAS para propriedades INPUTOBJECT e crie uma tabela de hash.

Tipo:IAttestationIdentity
Cargo:Named
Valor padrão:None
Obrigatório:True
Aceitar a entrada de pipeline:True
Aceitar caracteres curinga:False

-Name

Nome do provedor de atestado.

Tipo:String
Aliases:ProviderName
Cargo:Named
Valor padrão:None
Obrigatório:True
Aceitar a entrada de pipeline:False
Aceitar caracteres curinga:False

-ResourceGroupName

O nome do grupo de recursos. O nome diferencia maiúsculas de minúsculas.

Tipo:String
Cargo:Named
Valor padrão:None
Obrigatório:True
Aceitar a entrada de pipeline:False
Aceitar caracteres curinga:False

-SubscriptionId

A ID da assinatura de destino.

Tipo:String[]
Cargo:Named
Valor padrão:(Get-AzContext).Subscription.Id
Obrigatório:False
Aceitar a entrada de pipeline:False
Aceitar caracteres curinga:False

Entradas

IAttestationIdentity

Saídas

IAttestationProvider

IAttestationProviderListResult