Get-AzAttestationProvider
Get the status of Attestation Provider.
Syntax
List (Default)
Get-AzAttestationProvider
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzAttestationProvider
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
List1
Get-AzAttestationProvider
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
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.
Parameter properties
Type: PSObject
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzureRMContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
GetViaIdentity
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-Name
Name of the attestation provider.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: ProviderName
Parameter sets
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
The name of the resource group.
The name is case insensitive.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
List1
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SubscriptionId
The ID of the target subscription.
Parameter properties
Type: String [ ]
Default value: (Get-AzContext).Subscription.Id
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
List1
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs