Get-AzAttestationProvider
Haal de status van attestation-provider op.
Syntaxis
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
Haal de status van attestation-provider op.
Voorbeelden
Voorbeeld 1: De status van een specifieke Attestation-provider ophalen
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
Met deze opdracht krijgt u de status van een specifieke Attestation-provider met de naam testprovider1
.
Voorbeeld 2: Statussen van alle Attestation-providers in het huidige abonnement vermelden
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"
}
}}
Met deze opdracht worden de statussen van alle Attestation-providers in het huidige abonnement weergegeven.
Voorbeeld 2: Statussen van alle Attestation-providers in een resourcegroep vermelden
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"
}
}}
Met deze opdracht worden de statussen van alle Attestation-providers in een resourcegroep weergegeven.
Parameters
-DefaultProfile
De parameter DefaultProfile is niet functioneel. Gebruik de parameter SubscriptionId indien beschikbaar als u de cmdlet uitvoert voor een ander abonnement.
Type: | PSObject |
Aliassen: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-InputObject
Identity Parameter To construct, zie DE SECTIE NOTES voor INPUTOBJECT-eigenschappen en maak een hash-tabel.
Type: | IAttestationIdentity |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | True |
Jokertekens accepteren: | False |
-Name
Naam van de attestation-provider.
Type: | String |
Aliassen: | ProviderName |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-ResourceGroupName
De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-SubscriptionId
De id van het doelabonnement.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
Invoerwaarden
Uitvoerwaarden
Azure PowerShell