다음을 통해 공유


Microsoft.DocumentDB 데이터베이스계정/gremlinRoleAssignments

Bicep 리소스 정의

databaseAccounts/gremlinRoleAssignments 리소스 유형은 다음을 대상으로 하는 작업을 사용하여 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.

리소스 형식

Microsoft.DocumentDB/databaseAccounts/gremlinRoleAssignments 리소스를 만들려면 템플릿에 다음 Bicep을 추가합니다.

resource symbolicname 'Microsoft.DocumentDB/databaseAccounts/gremlinRoleAssignments@2025-11-01-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    principalId: 'string'
    roleDefinitionId: 'string'
    scope: 'string'
  }
}

속성 값

Microsoft.DocumentDB/databaseAccounts/gremlinRoleAssignments

이름 설명 가치
이름 리소스 이름 string(필수)
부모 Bicep에서 자식 리소스에 대한 부모 리소스를 지정할 수 있습니다. 자식 리소스가 부모 리소스 외부에서 선언된 경우에만 이 속성을 추가해야 합니다.

자세한 내용은 부모 리소스외부의 자식 리소스 참조하세요.
형식 리소스의 기호 이름: databaseAccounts
속성 Azure Cosmos DB Gremlin 역할 할당을 만들고 업데이트하는 속성입니다. GremlinRoleAssignmentResourceProperties

GremlinRoleAssignmentResourceProperties

이름 설명 가치
principalId 이 Gremlin 역할 할당을 통해 액세스 권한을 부여할 AAD 그래프의 연결된 AAD 보안 주체에 대한 고유 식별자입니다. 보안 주체의 테넌트 ID는 구독과 연결된 테넌트에서 유추됩니다. 문자열
roleDefinitionId 연결된 역할 정의에 대한 고유 식별자입니다. 문자열
범위 이 Gremlin 역할 할당을 통해 액세스 권한이 부여되는 데이터 평면 리소스 경로입니다. 문자열

ARM 템플릿 리소스 정의

databaseAccounts/gremlinRoleAssignments 리소스 유형은 다음을 대상으로 하는 작업을 사용하여 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.

리소스 형식

Microsoft.DocumentDB/databaseAccounts/gremlinRoleAssignments 리소스를 만들려면 템플릿에 다음 JSON을 추가합니다.

{
  "type": "Microsoft.DocumentDB/databaseAccounts/gremlinRoleAssignments",
  "apiVersion": "2025-11-01-preview",
  "name": "string",
  "properties": {
    "principalId": "string",
    "roleDefinitionId": "string",
    "scope": "string"
  }
}

속성 값

Microsoft.DocumentDB/databaseAccounts/gremlinRoleAssignments

이름 설명 가치
API버전 api 버전 '2025-11-01-미리보기'
이름 리소스 이름 string(필수)
속성 Azure Cosmos DB Gremlin 역할 할당을 만들고 업데이트하는 속성입니다. GremlinRoleAssignmentResourceProperties
유형 리소스 종류 'Microsoft.DocumentDB/databaseAccounts/gremlinRoleAssignments'

GremlinRoleAssignmentResourceProperties

이름 설명 가치
principalId 이 Gremlin 역할 할당을 통해 액세스 권한을 부여할 AAD 그래프의 연결된 AAD 보안 주체에 대한 고유 식별자입니다. 보안 주체의 테넌트 ID는 구독과 연결된 테넌트에서 유추됩니다. 문자열
roleDefinitionId 연결된 역할 정의에 대한 고유 식별자입니다. 문자열
범위 이 Gremlin 역할 할당을 통해 액세스 권한이 부여되는 데이터 평면 리소스 경로입니다. 문자열

사용 예제

Terraform(AzAPI 공급자) 리소스 정의

databaseAccounts/gremlinRoleAssignments 리소스 유형은 다음을 대상으로 하는 작업을 사용하여 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.

리소스 형식

Microsoft.DocumentDB/databaseAccounts/gremlinRoleAssignments 리소스를 만들려면 템플릿에 다음 Terraform을 추가합니다.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DocumentDB/databaseAccounts/gremlinRoleAssignments@2025-11-01-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      principalId = "string"
      roleDefinitionId = "string"
      scope = "string"
    }
  }
}

속성 값

Microsoft.DocumentDB/databaseAccounts/gremlinRoleAssignments

이름 설명 가치
이름 리소스 이름 string(필수)
부모 ID 이 리소스의 부모인 리소스의 ID입니다. 형식의 리소스 ID: databaseAccounts
속성 Azure Cosmos DB Gremlin 역할 할당을 만들고 업데이트하는 속성입니다. GremlinRoleAssignmentResourceProperties
유형 리소스 종류 "Microsoft.DocumentDB/databaseAccounts/gremlinRoleAssignments@2025-11-01-preview"

GremlinRoleAssignmentResourceProperties

이름 설명 가치
principalId 이 Gremlin 역할 할당을 통해 액세스 권한을 부여할 AAD 그래프의 연결된 AAD 보안 주체에 대한 고유 식별자입니다. 보안 주체의 테넌트 ID는 구독과 연결된 테넌트에서 유추됩니다. 문자열
roleDefinitionId 연결된 역할 정의에 대한 고유 식별자입니다. 문자열
범위 이 Gremlin 역할 할당을 통해 액세스 권한이 부여되는 데이터 평면 리소스 경로입니다. 문자열