Managed Instance Azure AD Only Authentications - Create Or Update
서버 Active Directory만 인증 속성을 설정하거나 기존 서버 Active Directory 전용 인증 속성을 업데이트합니다.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/azureADOnlyAuthentications/Default?api-version=2023-08-01
URI 매개 변수
| Name | In(다음 안에) | 필수 | 형식 | Description |
|---|---|---|---|---|
|
authentication
|
path | True |
서버 Azure Active Directory 전용 인증의 이름입니다. |
|
|
managed
|
path | True |
string |
관리되는 인스턴스의 이름입니다. |
|
resource
|
path | True |
string |
리소스를 포함하는 리소스 그룹의 이름입니다. Azure Resource Manager API 또는 포털에서 이 값을 가져올 수 있습니다. |
|
subscription
|
path | True |
string |
Azure 구독을 식별하는 구독 ID입니다. |
|
api-version
|
query | True |
string |
요청에 사용할 API 버전입니다. |
요청 본문
| Name | 필수 | 형식 | Description |
|---|---|---|---|
| properties.azureADOnlyAuthentication | True |
boolean |
Azure Active Directory만 인증을 사용하도록 설정했습니다. |
응답
| Name | 형식 | Description |
|---|---|---|
| 200 OK |
Azure Active Directory 전용 인증 속성을 성공적으로 업데이트했습니다. |
|
| 201 Created |
Azure Active Directory만 인증 속성을 업데이트했습니다. |
|
| 202 Accepted |
허용 헤더 Location: string |
|
| Other Status Codes |
오류 응답: ***
|
예제
Creates or updates Azure Active Directory only authentication object.
샘플 요청
PUT https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/azureADOnlyAuthentications/Default?api-version=2023-08-01
{
"properties": {
"azureADOnlyAuthentication": false
}
}
샘플 응답
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/azureADOnlyAuthentications/providers/Microsoft.Sql/managedInstances/managedInstance/azureadonlyauthentications/default",
"name": "Default",
"type": "Microsoft.Sql/managedInstances/azureadonlyauthentications",
"properties": {
"azureADOnlyAuthentication": false
}
}
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/azureADOnlyAuthentications/providers/Microsoft.Sql/managedInstances/managedInstance/azureadonlyauthentications/default",
"name": "Default",
"type": "Microsoft.Sql/managedInstances/azureadonlyauthentications",
"properties": {
"azureADOnlyAuthentication": false
}
}
정의
| Name | Description |
|---|---|
|
Authentication |
서버 Azure Active Directory 전용 인증의 이름입니다. |
|
Error |
리소스 관리 오류 추가 정보입니다. |
|
Error |
오류 세부 정보입니다. |
|
Error |
오류 응답 |
|
Managed |
Azure Active Directory 전용 인증입니다. |
AuthenticationName
서버 Azure Active Directory 전용 인증의 이름입니다.
| 값 | Description |
|---|---|
| Default |
ErrorAdditionalInfo
리소스 관리 오류 추가 정보입니다.
| Name | 형식 | Description |
|---|---|---|
| info |
object |
추가 정보입니다. |
| type |
string |
추가 정보 유형입니다. |
ErrorDetail
오류 세부 정보입니다.
| Name | 형식 | Description |
|---|---|---|
| additionalInfo |
오류 추가 정보입니다. |
|
| code |
string |
오류 코드입니다. |
| details |
오류 세부 정보입니다. |
|
| message |
string |
오류 메시지입니다. |
| target |
string |
오류 대상입니다. |
ErrorResponse
오류 응답
| Name | 형식 | Description |
|---|---|---|
| error |
오류 개체입니다. |
ManagedInstanceAzureADOnlyAuthentication
Azure Active Directory 전용 인증입니다.
| Name | 형식 | Description |
|---|---|---|
| id |
string |
리소스 ID입니다. |
| name |
string |
리소스 이름입니다. |
| properties.azureADOnlyAuthentication |
boolean |
Azure Active Directory만 인증을 사용하도록 설정했습니다. |
| type |
string |
리소스 종류입니다. |