Get-AzAttestationDefaultProvider
Dapatkan penyedia default berdasarkan lokasi.
Sintaks
Get-AzAttestationDefaultProvider
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzAttestationDefaultProvider
-Location <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzAttestationDefaultProvider
-InputObject <IAttestationIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Deskripsi
Dapatkan penyedia default berdasarkan lokasi.
Contoh
Contoh 1: Dapatkan penyedia default berdasarkan lokasi
Get-AzAttestationDefaultProvider -Location "East US"
Get-AzAttestationDefaultProvider -Location "East US"
Location Name ResourceGroupName
-------- ---- -----------------
east us sharedeus
Perintah ini mendapatkan penyedia default di "US Timur".
Contoh 2: Mencantumkan penyedia default
Get-AzAttestationDefaultProvider
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Value : {{
"id": "/providers/Microsoft.Attestation/attestationProviders/sharedeus2",
"name": "sharedeus2",
"type": "Microsoft.Attestation/attestationProviders",
"location": "East US 2",
"properties": {
"trustModel": "AAD",
"status": "Ready",
"attestUri": "https://sharedeus2.eus2.attest.azure.net"
}
}, {
"id": "/providers/Microsoft.Attestation/attestationProviders/sharedcus",
"name": "sharedcus",
"type": "Microsoft.Attestation/attestationProviders",
"location": "Central US",
"properties": {
"trustModel": "AAD",
"status": "Ready",
"attestUri": "https://sharedcus.cus.attest.azure.net"
}
}, {
"id": "/providers/Microsoft.Attestation/attestationProviders/shareduks",
"name": "shareduks",
"type": "Microsoft.Attestation/attestationProviders",
"location": "UK South",
"properties": {
"trustModel": "AAD",
"status": "Ready",
"attestUri": "https://shareduks.uks.attest.azure.net"
}
}, {
"id": "/providers/Microsoft.Attestation/attestationProviders/sharedeus",
"name": "sharedeus",
"type": "Microsoft.Attestation/attestationProviders",
"location": "east us",
"properties": {
"trustModel": "AAD",
"status": "Ready",
"attestUri": "https://sharedeus.eus.attest.azure.net"
}
}…}
Perintah ini mencantumkan penyedia default.
Parameter
-DefaultProfile
Parameter DefaultProfile tidak berfungsi. Gunakan parameter SubscriptionId saat tersedia jika menjalankan cmdlet terhadap langganan yang berbeda.
Jenis: | PSObject |
Alias: | AzureRMContext, AzureCredential |
Position: | Named |
Nilai default: | None |
Diperlukan: | False |
Terima input alur: | False |
Terima karakter wildcard: | False |
-InputObject
Parameter Identitas Untuk membangun, lihat bagian CATATAN untuk properti INPUTOBJECT dan membuat tabel hash.
Jenis: | IAttestationIdentity |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | True |
Terima karakter wildcard: | False |
-Location
Lokasi penyedia default.
Jenis: | String |
Position: | Named |
Nilai default: | None |
Diperlukan: | True |
Terima input alur: | False |
Terima karakter wildcard: | False |
-SubscriptionId
ID langganan target.
Jenis: | String[] |
Position: | Named |
Nilai default: | (Get-AzContext).Subscription.Id |
Diperlukan: | False |
Terima input alur: | False |
Terima karakter wildcard: | False |