Providers - Provider Permissions

공급자 권한을 가져옵니다.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/providerPermissions?api-version=2021-04-01

URI 매개 변수

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

string

리소스 공급자의 네임스페이스입니다.

subscriptionId
path True

string

Microsoft Azure 구독 ID입니다.

api-version
query True

string

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

응답

Name 형식 Description
200 OK

ProviderPermissionListResult

확인 - 공급자 권한에 대한 정보를 반환합니다.

Other Status Codes

CloudError

작업이 실패한 이유를 설명하는 오류 응답입니다.

보안

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation 사용자 계정 가장

예제

Get provider resource types.

Sample Request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.TestRP/providerPermissions?api-version=2021-04-01

Sample Response

{
  "value": [
    {
      "applicationId": "00000000-0000-0000-0000-000000000000",
      "roleDefinition": {
        "id": "00000000000000000000000000000000",
        "name": "Contoso service role",
        "isServiceRole": true,
        "permissions": [
          {
            "actions": [
              "Microsoft.Contoso/*"
            ],
            "notActions": [],
            "dataActions": [],
            "notDataActions": []
          }
        ],
        "scopes": [
          "/"
        ]
      },
      "providerAuthorizationConsentState": "Consented"
    }
  ]
}

정의

Name Description
CloudError

리소스 관리 요청에 대한 오류 응답입니다.

ErrorAdditionalInfo

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

ErrorResponse

오류 응답

Permission

역할 정의 권한.

ProviderAuthorizationConsentState

공급자 권한 부여 동의 상태입니다.

ProviderPermission

공급자 권한

ProviderPermissionListResult

공급자 권한 목록입니다.

RoleDefinition

역할 정의 속성입니다.

CloudError

리소스 관리 요청에 대한 오류 응답입니다.

Name 형식 Description
error

ErrorResponse

오류 응답
실패한 작업에 대한 오류 세부 정보를 반환하는 모든 Azure Resource Manager API에 대한 일반적인 오류 응답입니다. OData 오류 응답 형식도 따릅니다.

ErrorAdditionalInfo

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

Name 형식 Description
info

object

추가 정보입니다.

type

string

추가 정보 유형입니다.

ErrorResponse

오류 응답

Name 형식 Description
additionalInfo

ErrorAdditionalInfo[]

오류 추가 정보입니다.

code

string

오류 코드입니다.

details

ErrorResponse[]

오류 세부 정보입니다.

message

string

오류 메시지입니다.

target

string

오류 대상입니다.

Permission

역할 정의 권한.

Name 형식 Description
actions

string[]

허용되는 작업입니다.

dataActions

string[]

허용되는 데이터 작업입니다.

notActions

string[]

거부된 작업입니다.

notDataActions

string[]

데이터 작업이 거부되었습니다.

ProviderAuthorizationConsentState

공급자 권한 부여 동의 상태입니다.

Name 형식 Description
Consented

string

NotRequired

string

NotSpecified

string

Required

string

ProviderPermission

공급자 권한

Name 형식 Description
applicationId

string

애플리케이션 ID입니다.

managedByRoleDefinition

RoleDefinition

역할 정의 속성입니다.

providerAuthorizationConsentState

ProviderAuthorizationConsentState

공급자 권한 부여 동의 상태입니다.

roleDefinition

RoleDefinition

역할 정의 속성입니다.

ProviderPermissionListResult

공급자 권한 목록입니다.

Name 형식 Description
nextLink

string

다음 결과 집합을 가져오는 데 사용할 URL입니다.

value

ProviderPermission[]

공급자 권한의 배열입니다.

RoleDefinition

역할 정의 속성입니다.

Name 형식 Description
id

string

역할 정의 ID입니다.

isServiceRole

boolean

서비스 역할인 경우

name

string

역할 정의 이름입니다.

permissions

Permission[]

역할 정의 권한.

scopes

string[]

역할 정의 할당 가능한 범위입니다.