Get-AzAttestationProvider
Get the status of Attestation Provider.
Syntax
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
Get the status of Attestation Provider.
Examples
Example 1: Get the status of a specific Attestation Provider
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
This command gets the status of a specific Attestation Provider named testprovider1
.
Example 2: List statuses of all Attestation Providers in current subscription
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"
}
}}
This command lists statuses of all Attestation Providers in current subscription.
Example 2: List statuses of all Attestation Providers in a resource group
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"
}
}}
This command lists statuses of all Attestation Providers in a resource group.
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IAttestationIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Name of the attestation provider.
Type: | String |
Aliases: | ProviderName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group. The name is case insensitive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The ID of the target subscription.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Azure PowerShell