Server Advanced Threat Protection Settings - Create Or Update
Advanced Threat Protection 상태를 만들거나 업데이트합니다.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/advancedThreatProtectionSettings/Default?api-version=2021-11-01
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
advanced
|
path | True |
Advanced Threat Protection 상태의 이름입니다. |
|
resource
|
path | True |
string |
리소스를 포함하는 리소스 그룹의 이름입니다. Azure 리소스 관리자 API 또는 포털에서 이 값을 가져올 수 있습니다. |
server
|
path | True |
string |
서버의 이름입니다. |
subscription
|
path | True |
string |
Azure 구독을 식별하는 구독 ID입니다. |
api-version
|
query | True |
string |
요청에 사용할 API 버전입니다. |
요청 본문
Name | 필수 | 형식 | Description |
---|---|---|---|
properties.state | True |
Advanced Threat Protection의 상태를 지정합니다. 사용 또는 사용 안 함 또는 상태가 특정 데이터베이스 또는 서버에 아직 적용되지 않은 상태인지 여부입니다. |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
Advanced Threat Protection 상태를 성공적으로 만들거나 업데이트했습니다. |
|
202 Accepted |
Advanced Threat Protection 상태를 설정하는 요청을 만들었습니다. |
|
Other Status Codes |
오류 응답: ***
|
예제
Update a server's Advanced Threat Protection settings with all parameters. |
Update a server's Advanced Threat Protection settings with minimal parameters. |
Update a server's Advanced Threat Protection settings with all parameters.
샘플 요청
샘플 응답
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.Sql/servers/threatprotection-6440/advancedThreatProtectionSettings/Default",
"name": "Default",
"type": "Microsoft.Sql/servers/advancedThreatProtectionSettings",
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2022-04-03T04:41:33.937Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-04-03T04:41:33.937Z"
},
"properties": {
"state": "Enabled",
"creationTime": "2022-04-03T04:41:33.937Z"
}
}
Update a server's Advanced Threat Protection settings with minimal parameters.
샘플 요청
샘플 응답
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/threatprotection-4799/providers/Microsoft.Sql/servers/threatprotection-6440/advancedThreatProtectionSettings/Default",
"name": "Default",
"type": "Microsoft.Sql/servers/advancedThreatProtectionSettings",
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2022-04-03T04:41:33.937Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-04-03T04:41:33.937Z"
},
"properties": {
"state": "Disabled",
"creationTime": "2022-04-03T04:41:33.937Z"
}
}
정의
Name | Description |
---|---|
Advanced |
Advanced Threat Protection 상태의 이름입니다. |
Advanced |
Advanced Threat Protection의 상태를 지정합니다. 사용 또는 사용 안 함 또는 상태가 특정 데이터베이스 또는 서버에 아직 적용되지 않은 상태인지 여부입니다. |
created |
리소스를 만든 ID 유형입니다. |
Server |
서버 Advanced Threat Protection. |
system |
리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다. |
AdvancedThreatProtectionName
Advanced Threat Protection 상태의 이름입니다.
값 | Description |
---|---|
Default |
AdvancedThreatProtectionState
Advanced Threat Protection의 상태를 지정합니다. 사용 또는 사용 안 함 또는 상태가 특정 데이터베이스 또는 서버에 아직 적용되지 않은 상태인지 여부입니다.
값 | Description |
---|---|
Disabled | |
Enabled | |
New |
createdByType
리소스를 만든 ID 유형입니다.
값 | Description |
---|---|
Application | |
Key | |
ManagedIdentity | |
User |
ServerAdvancedThreatProtection
서버 Advanced Threat Protection.
Name | 형식 | Description |
---|---|---|
id |
string |
리소스 ID입니다. |
name |
string |
리소스 이름입니다. |
properties.creationTime |
string |
정책의 UTC 생성 시간을 지정합니다. |
properties.state |
Advanced Threat Protection의 상태를 지정합니다. 사용 또는 사용 안 함 또는 상태가 특정 데이터베이스 또는 서버에 아직 적용되지 않은 상태인지 여부입니다. |
|
systemData |
AdvancedThreatProtectionResource의 SystemData입니다. |
|
type |
string |
리소스 종류. |
systemData
리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.
Name | 형식 | Description |
---|---|---|
createdAt |
string |
UTC(리소스 만들기)의 타임스탬프입니다. |
createdBy |
string |
리소스를 만든 ID입니다. |
createdByType |
리소스를 만든 ID 유형입니다. |
|
lastModifiedAt |
string |
리소스 마지막 수정의 타임스탬프(UTC) |
lastModifiedBy |
string |
리소스를 마지막으로 수정한 ID입니다. |
lastModifiedByType |
리소스를 마지막으로 수정한 ID 유형입니다. |