Server Azure AD Only Authentications - Get

특정 Azure Active Directory 전용 인증 속성을 가져옵니다.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/azureADOnlyAuthentications/Default?api-version=2021-11-01

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
authenticationName
path True

AuthenticationName

서버 Azure Active Directory 전용 인증의 이름입니다.

resourceGroupName
path True

string

리소스를 포함하는 리소스 그룹의 이름입니다. Azure 리소스 관리자 API 또는 포털에서 이 값을 가져올 수 있습니다.

serverName
path True

string

서버의 이름입니다.

subscriptionId
path True

string

Azure 구독을 식별하는 구독 ID입니다.

api-version
query True

string

요청에 사용할 API 버전입니다.

응답

Name 형식 Description
200 OK

ServerAzureADOnlyAuthentication

지정된 Azure Active Directory 전용 인증 속성을 성공적으로 검색했습니다.

Other Status Codes

오류 응답: ***

  • 400 InvalidServerAzureADOnlyAuthenticationParameter - 사용자가 허용되지 않는 AzureADOnlyAuthentication 매개 변수를 false로 설정하려고 했습니다. 대신 azureADOnlyAuthentications API를 사용하세요.

  • 400 InvalidServerAADOnlyAuthTypePropertyName - 서버 Azure Active Directory 전용 인증 유형은 기본값이어야 합니다.

  • 400 InvalidServerAADOnlyAuthNoAADAdminPropertyName - AAD 관리 구성되지 않았습니다. AAD 전용 인증을 사용/사용하지 않도록 설정하기 전에 AAD 관리 설정해야 합니다.

  • 404 SubscriptionDoesNotHaveServer - 요청된 서버를 찾을 수 없습니다.

  • 404 ServerNotInSubscriptionResourceGroup - 지정된 서버가 지정된 리소스 그룹 및 구독에 없습니다.

  • 404 ResourceNotFound - 요청된 리소스를 찾을 수 없습니다.

예제

Gets a Azure Active Directory only authentication property.

Sample Request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-6440/azureADOnlyAuthentications/Default?api-version=2021-11-01

Sample Response

{
  "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-6440/azureadonlyauthentications/default",
  "name": "Default",
  "type": "Microsoft.Sql/servers/azureadonlyauthentications",
  "properties": {
    "azureADOnlyAuthentication": true
  }
}

정의

Name Description
AuthenticationName

서버 Azure Active Directory 전용 인증의 이름입니다.

ServerAzureADOnlyAuthentication

Azure Active Directory 전용 인증.

AuthenticationName

서버 Azure Active Directory 전용 인증의 이름입니다.

Name 형식 Description
Default

string

ServerAzureADOnlyAuthentication

Azure Active Directory 전용 인증.

Name 형식 Description
id

string

리소스 ID입니다.

name

string

리소스 이름입니다.

properties.azureADOnlyAuthentication

boolean

Azure Active Directory만 인증을 사용하도록 설정했습니다.

type

string

리소스 종류.