다음을 통해 공유


Database Principal Assignments - Get

Kusto 클러스터 데이터베이스 principalAssignment를 가져옵니다.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}?api-version=2025-02-14

URI 매개 변수

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

string

pattern: ^.*$

Kusto 클러스터의 이름입니다.

databaseName
path True

string

pattern: ^.*$

Kusto 클러스터에 있는 데이터베이스의 이름입니다.

principalAssignmentName
path True

string

pattern: ^.*$

Kusto principalAssignment의 이름입니다.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

리소스 그룹의 이름입니다. 이름은 대소문자를 구분하지 않습니다.

subscriptionId
path True

string

minLength: 1

대상 구독의 ID입니다.

api-version
query True

string

minLength: 1

이 작업에 사용할 API 버전입니다.

응답

Name 형식 Description
200 OK

DatabasePrincipalAssignment

Azure 작업이 성공적으로 완료되었습니다.

Other Status Codes

ErrorResponse

예기치 않은 오류 응답입니다.

보안

azure_auth

Azure Active Directory OAuth2 흐름.

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
user_impersonation 사용자 계정 가장

예제

KustoDatabasePrincipalAssignmentsGet

샘플 요청

GET https://management.azure.com/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/kustoCluster/databases/Kustodatabase8/principalAssignments/kustoprincipal1?api-version=2025-02-14

샘플 응답

{
  "name": "kustoCluster/Kustodatabase8/kustoprincipal1",
  "type": "Microsoft.Kusto/Clusters/Databases/PrincipalAssignments",
  "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/kustoCluster/Databases/Kustodatabase8/PrincipalAssignments/kustoprincipal1",
  "properties": {
    "aadObjectId": "98765432-1234-1234-1234-123456789123",
    "principalId": "87654321-1234-1234-1234-123456789123",
    "principalName": "TestApp",
    "principalType": "App",
    "provisioningState": "Succeeded",
    "role": "Admin",
    "tenantId": "12345678-1234-1234-1234-123456789123",
    "tenantName": "tenantName"
  }
}

정의

Name Description
createdByType

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

DatabasePrincipalAssignment

클래스는 데이터베이스 주요 과제를 나타냅니다.

DatabasePrincipalRole

데이터베이스 주체 역할입니다.

ErrorAdditionalInfo

리소스 관리 오류 추가 정보입니다.

ErrorDetail

오류 세부 정보입니다.

ErrorResponse

오류 응답

PrincipalType

보안 주체 유형입니다.

ProvisioningState

리소스의 프로비전된 상태입니다.

systemData

리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.

createdByType

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

Description
User
Application
ManagedIdentity
Key

DatabasePrincipalAssignment

클래스는 데이터베이스 주요 과제를 나타냅니다.

Name 형식 Description
id

string

리소스에 대한 정규화된 리소스 ID입니다. 예 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

리소스의 이름

properties.aadObjectId

string

AAD (Azure active directory) 中的 The service principal object id

properties.principalId

string

데이터베이스 보안 주체에 할당된 보안 주체 ID입니다. 사용자 이메일, 애플리케이션 ID 또는 보안 그룹 이름일 수 있습니다.

properties.principalName

string

주요 명칭

properties.principalType

PrincipalType

보안 주체 유형입니다.

properties.provisioningState

ProvisioningState

리소스의 프로비전된 상태입니다.

properties.role

DatabasePrincipalRole

데이터베이스 주체 역할입니다.

properties.tenantId

string

보안 주체의 테넌트 ID

properties.tenantName

string

주인의 임차인 이름

systemData

systemData

createdBy 및 modifiedBy 정보가 포함된 Azure Resource Manager 메타데이터입니다.

type

string

리소스의 형식입니다. 예: "Microsoft.Compute/virtualMachines" 또는 "Microsoft.Storage/storageAccounts"

DatabasePrincipalRole

데이터베이스 주체 역할입니다.

Description
Admin

관리자

Ingestor

인제스터

Monitor

모니터

User

사용자

UnrestrictedViewer

언제한 뷰어

Viewer

뷰어

ErrorAdditionalInfo

리소스 관리 오류 추가 정보입니다.

Name 형식 Description
info

object

추가 정보입니다.

type

string

추가 정보 유형입니다.

ErrorDetail

오류 세부 정보입니다.

Name 형식 Description
additionalInfo

ErrorAdditionalInfo[]

오류 추가 정보입니다.

code

string

오류 코드입니다.

details

ErrorDetail[]

오류 세부 정보입니다.

message

string

오류 메시지입니다.

target

string

오류 대상입니다.

ErrorResponse

오류 응답

Name 형식 Description
error

ErrorDetail

오류 개체입니다.

PrincipalType

보안 주체 유형입니다.

Description
App

응용 프로그램

Group

그룹

User

사용자

ProvisioningState

리소스의 프로비전된 상태입니다.

Description
Running

실행 중

Creating

만드는 중

Deleting

삭제 중

Succeeded

성공함

Failed

실패

Moving

움직이는

Canceled

취소됨

systemData

리소스의 생성 및 마지막 수정과 관련된 메타데이터입니다.

Name 형식 Description
createdAt

string (date-time)

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

createdBy

string

리소스를 만든 ID입니다.

createdByType

createdByType

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

lastModifiedAt

string (date-time)

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

lastModifiedBy

string

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

lastModifiedByType

createdByType

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