Condividi tramite


Aad Properties - Get

Recupera le proprietà di AAD dal modulo BCM dell'area di destinazione.

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}

Parametri dell'URI

Nome In Necessario Tipo Descrizione
azureRegion
path True

string

Area di Azure per raggiungere l'API

subscriptionId
path True

string

ID sottoscrizione.

api-version
query True

string

Versione api client.

$filter
query

string

Opzioni di filtro OData.

Risposte

Nome Tipo Descrizione
200 OK

AADPropertiesResource

OK

Other Status Codes

NewErrorResponse

Risposta di errore che descrive il motivo per cui l'operazione non è riuscita.

Sicurezza

azure_auth

Flusso OAuth2 di Azure Active Directory

Tipo: oauth2
Flow: implicit
URL di autorizzazione: https://login.microsoftonline.com/common/oauth2/authorize

Ambiti

Nome Descrizione
user_impersonation rappresentare l'account utente.

Esempio

Get AAD Properties for authentication in the third region

Esempio di richiesta

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

Risposta di esempio

{
  "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"
  }
}

Definizioni

Nome Descrizione
AADProperties
AADPropertiesResource
Error

Oggetto error.

ErrorAdditionalInfo

Informazioni aggiuntive sull'errore di gestione delle risorse.

NewErrorResponse

Risposta all'errore di gestione delle risorse.

AADProperties

Nome Tipo Descrizione
audience

string

authority

string

servicePrincipalClientId

string

servicePrincipalObjectId

string

tenantId

string

AADPropertiesResource

Nome Tipo Descrizione
eTag

string

ETag facoltativo.

id

string

ID risorsa rappresenta il percorso completo della risorsa.

location

string

Percorso della risorsa.

name

string

Nome della risorsa associato alla risorsa.

properties

AADProperties

Proprietà AADPropertiesResource

tags

object

Tag delle risorse.

type

string

Tipo di risorsa rappresenta il percorso completo del modulo Spazio dei nomi/ResourceType/ResourceType/...

Error

Oggetto error.

Nome Tipo Descrizione
additionalInfo

ErrorAdditionalInfo[]

Informazioni aggiuntive sull'errore.

code

string

Codice di errore.

details

NewErrorResponse[]

Dettagli dell'errore.

message

string

Messaggio di errore.

target

string

Destinazione dell'errore.

ErrorAdditionalInfo

Informazioni aggiuntive sull'errore di gestione delle risorse.

Nome Tipo Descrizione
info

object

Informazioni aggiuntive.

type

string

Tipo di informazioni aggiuntive.

NewErrorResponse

Risposta all'errore di gestione delle risorse.

Nome Tipo Descrizione
error

Error

Oggetto error.