다음을 통해 공유


Server Advanced Threat Protection Settings - Get

서버의 Advanced Threat Protection 상태를 가져옵니다.

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

URI 매개 변수

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

AdvancedThreatProtectionName

Advanced Threat Protection 상태의 이름입니다.

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

ServerAdvancedThreatProtection

서버의 Advanced Threat Protection 상태를 성공적으로 검색했습니다.

Other Status Codes

오류 응답: ***

  • 400 UpdateNotAllowedOnServerContainingPausedDWDatabase - 서버 Advanced Threat Protection 설정을 일시 중지된 Data Warehouse 데이터베이스가 있는 서버에서 사용할 수 없습니다.

  • 400 AdvancedThreatProtectionInsufficientDiskSpace - 데이터베이스에 Advanced Threat Protection 설정 메타데이터를 저장할 디스크 공간이 부족합니다.

  • 400 InvalidServerAdvancedThreatProtectionCreateRequest - 만들기 서버 Advanced Threat Protection 요청이 없거나 속성 개체가 없습니다.

  • 400 AdvancedThreatProtectionInvalidUserSuppliedParameter - 클라이언트에서 잘못된 매개 변수 값을 제공했습니다.

  • 400 UpsertServerAdvancedThreatProtectionFailed - Advanced Threat Protection 설정을 저장하는 동안 오류가 발생했습니다. 나중에 다시 시도하세요.

  • 400 UpsertServerAdvancedThreatProtectionFailed - Advanced Threat Protection 설정을 저장하는 동안 오류가 발생했습니다. 나중에 다시 시도하세요.

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

  • 404 UpsertServerAdvancedThreatProtectionFailed - Advanced Threat Protection 설정을 저장하는 동안 오류가 발생했습니다. 나중에 다시 시도하세요.

  • 409 ServerAdvancedThreatProtectionInProgress - 서버 Advanced Threat Protection 설정 설정이 이미 진행 중입니다.

  • 409 UpsertServerAdvancedThreatProtectionFailed - Advanced Threat Protection 설정을 저장하는 동안 오류가 발생했습니다. 나중에 다시 시도하세요.

  • 500 DatabaseIsUnavailable - 로드에 실패했습니다. 나중에 다시 시도하세요.

  • 500 UpsertServerAdvancedThreatProtectionFailed - Advanced Threat Protection 설정을 저장하는 동안 오류가 발생했습니다. 나중에 다시 시도하세요.

  • 500 GetServerAdvancedThreatProtectionFailed - Advanced Threat Protection 설정을 얻지 못했습니다.

예제

Get a server's Advanced Threat Protection settings

샘플 요청

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

샘플 응답

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

Advanced Threat Protection 상태의 이름입니다.

AdvancedThreatProtectionState

Advanced Threat Protection의 상태를 지정합니다. 사용 또는 사용 안 함 또는 상태가 특정 데이터베이스 또는 서버에 아직 적용되지 않은 상태인지 여부입니다.

createdByType

리소스를 만든 ID의 형식입니다.

ServerAdvancedThreatProtection

서버 Advanced Threat Protection.

systemData

리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.

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

AdvancedThreatProtectionState

Advanced Threat Protection의 상태를 지정합니다. 사용 또는 사용 안 함 또는 상태가 특정 데이터베이스 또는 서버에 아직 적용되지 않은 상태인지 여부입니다.

systemData

systemData

AdvancedThreatProtectionResource의 SystemData입니다.

type

string

리소스 종류.

systemData

리소스 만들기 및 마지막 수정과 관련된 메타데이터입니다.

Name 형식 Description
createdAt

string

UTC(리소스 만들기)의 타임스탬프입니다.

createdBy

string

리소스를 만든 ID입니다.

createdByType

createdByType

리소스를 만든 ID의 형식입니다.

lastModifiedAt

string

리소스 마지막 수정의 타임스탬프(UTC)

lastModifiedBy

string

리소스를 마지막으로 수정한 ID입니다.

lastModifiedByType

createdByType

리소스를 마지막으로 수정한 ID 유형입니다.