Aracılığıyla paylaş


Aad Properties - Get

Hedef bölge BCM damgasından AAD özelliklerini getirir.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupAadProperties?api-version=2023-01-15
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupAadProperties?api-version=2023-01-15&$filter={$filter}

URI Parametreleri

Name İçinde Gerekli Tür Description
azureRegion
path True

string

Api'ye isabet etmek için Azure bölgesi

subscriptionId
path True

string

Abonelik kimliği.

api-version
query True

string

İstemci Api Sürümü.

$filter
query

string

OData filtre seçenekleri.

Yanıtlar

Name Tür Description
200 OK

AADPropertiesResource

Tamam

Other Status Codes

NewErrorResponse

İşlemin neden başarısız olduğunu açıklayan hata yanıtı.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme.

Örnekler

Get AAD Properties for authentication in the third region

Sample Request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.RecoveryServices/locations/southeastasia/backupAadProperties?api-version=2023-01-15

Sample Response

{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000",
  "properties": {
    "tenantId": "33e01921-4d64-4f8c-a055-5bdaffd5e33d",
    "audience": "https://RecoveryServices/IaasCoord/aadmgmt/ecy",
    "servicePrincipalObjectId": "07e0a67b-cba3-4fcf-a58c-b670d5ced06d"
  }
}

Tanımlar

Name Description
AADProperties
AADPropertiesResource
Error

Hata nesnesi.

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

NewErrorResponse

Kaynak yönetimi hata yanıtı.

AADProperties

Name Tür Description
audience

string

authority

string

servicePrincipalClientId

string

servicePrincipalObjectId

string

tenantId

string

AADPropertiesResource

Name Tür Description
eTag

string

İsteğe bağlı ETag.

id

string

Kaynak Kimliği, kaynağın tam yolunu temsil eder.

location

string

Kaynak konumu.

name

string

Kaynakla ilişkili kaynak adı.

properties

AADProperties

AADPropertiesResource özellikleri

tags

object

Kaynak etiketleri.

type

string

Kaynak türü Ad Alanı/ResourceType/ResourceType/... formunun tam yolunu temsil eder.

Error

Hata nesnesi.

Name Tür Description
additionalInfo

ErrorAdditionalInfo[]

Hata ek bilgileri.

code

string

Hata kodu.

details

NewErrorResponse[]

Hata ayrıntıları.

message

string

Hata iletisi.

target

string

Hata hedefi.

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

Name Tür Description
info

object

Ek bilgiler.

type

string

Ek bilgi türü.

NewErrorResponse

Kaynak yönetimi hata yanıtı.

Name Tür Description
error

Error

Hata nesnesi.