Role Assignment Schedules - List For Scope

리소스 scope 대한 역할 할당 일정을 가져옵니다.

GET https://management.azure.com/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules?api-version=2020-10-01
GET https://management.azure.com/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules?$filter={$filter}&api-version=2020-10-01

URI 매개 변수

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

string

역할 할당 일정의 scope.

api-version
query True

string

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

$filter
query

string

작업에 적용할 필터입니다. $filter=atScope()를 사용하여 scope 이상에서 모든 역할 할당 일정을 반환합니다. $filter=principalId eq {id}를 사용하여 지정된 보안 주체에 대한 scope 위 또는 아래에서 모든 역할 할당 일정을 반환합니다. $filter=assignedTo('{userId}')를 사용하여 현재 사용자의 모든 역할 할당 일정을 반환합니다. $filter=asTarget()을 사용하여 현재 사용자에 대해 만든 모든 역할 할당 일정을 반환합니다.

응답

Name 형식 Description
200 OK

RoleAssignmentScheduleListResult

확인 - 역할 할당 일정의 배열을 반환합니다.

Other Status Codes

CloudError

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

보안

azure_auth

Azure Active Directory OAuth2 Flow

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

범위

Name Description
user_impersonation 사용자 계정 가장

예제

GetRoleAssignmentSchedulesByScope

샘플 요청

GET https://management.azure.com/providers/Microsoft.Subscription/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleAssignmentSchedules?$filter=assignedTo('a3bb8764-cb92-4276-9d2a-ca1e895e55ea')&api-version=2020-10-01

샘플 응답

{
  "value": [
    {
      "properties": {
        "linkedRoleEligibilityScheduleId": "b1477448-2cc6-4ceb-93b4-54a202a89413",
        "assignmentType": "Assigned",
        "scope": "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f",
        "roleDefinitionId": "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608",
        "principalId": "a3bb8764-cb92-4276-9d2a-ca1e895e55ea",
        "principalType": "User",
        "status": "Provisioned",
        "roleAssignmentScheduleRequestId": "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/RoleAssignmentScheduleRequests/fea7a502-9a96-4806-a26f-eee560e52045",
        "startDateTime": "2020-09-09T21:35:27.91Z",
        "endDateTime": "2020-09-10T05:35:17.91Z",
        "memberType": "Direct",
        "createdOn": "2020-09-09T21:35:27.91Z",
        "updatedOn": "2020-09-09T21:35:27.91Z",
        "condition": "@Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'",
        "conditionVersion": "1.0",
        "expandedProperties": {
          "scope": {
            "id": "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f",
            "displayName": "Pay-As-You-Go",
            "type": "subscription"
          },
          "roleDefinition": {
            "id": "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608",
            "displayName": "Contributor",
            "type": "BuiltInRole"
          },
          "principal": {
            "id": "a3bb8764-cb92-4276-9d2a-ca1e895e55ea",
            "displayName": "User Account",
            "email": "user@my-tenant.com",
            "type": "User"
          }
        }
      },
      "name": "c9e264ff-3133-4776-a81a-ebc7c33c8ec6",
      "id": "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/RoleAssignmentSchedules/c9e264ff-3133-4776-a81a-ebc7c33c8ec6",
      "type": "Microsoft.Authorization/RoleAssignmentSchedules"
    }
  ]
}

정의

Name Description
AssignmentType

역할 할당 일정의 할당 유형

CloudError

서비스의 오류 응답입니다.

CloudErrorBody

서비스의 오류 응답입니다.

ExpandedProperties
MemberType

역할 할당 일정의 멤버 자격 유형

Principal

보안 주체의 세부 정보

principalType

할당된 보안 주체 ID의 보안 주체 유형입니다.

RoleAssignmentSchedule

역할 할당 일정

RoleAssignmentScheduleListResult

역할 할당 일정 목록 작업 결과입니다.

RoleDefinition

역할 정의의 세부 정보

Scope

리소스 scope 세부 정보

Status

역할 할당 일정의 상태.

AssignmentType

역할 할당 일정의 할당 유형

Name 형식 Description
Activated

string

Assigned

string

CloudError

서비스의 오류 응답입니다.

Name 형식 Description
error

CloudErrorBody

서비스의 오류 응답입니다.

CloudErrorBody

서비스의 오류 응답입니다.

Name 형식 Description
code

string

오류의 식별자입니다. 코드는 고정이며 프로그래밍 방식으로 사용하기 위한 것입니다.

message

string

사용자 인터페이스에 표시하기에 적합한 오류를 설명하는 메시지입니다.

ExpandedProperties

Name 형식 Description
principal

Principal

보안 주체의 세부 정보

roleDefinition

RoleDefinition

역할 정의의 세부 정보

scope

Scope

리소스 scope 세부 정보

MemberType

역할 할당 일정의 멤버 자격 유형

Name 형식 Description
Direct

string

Group

string

Inherited

string

Principal

보안 주체의 세부 정보

Name 형식 Description
displayName

string

보안 주체의 표시 이름

email

string

보안 주체의 Email ID

id

string

보안 주체의 ID

type

string

보안 주체 유형

principalType

할당된 보안 주체 ID의 보안 주체 유형입니다.

Name 형식 Description
Device

string

ForeignGroup

string

Group

string

ServicePrincipal

string

User

string

RoleAssignmentSchedule

역할 할당 일정

Name 형식 Description
id

string

역할 할당 일정 ID입니다.

name

string

역할 할당 일정 이름입니다.

properties.assignmentType

AssignmentType

역할 할당 일정의 할당 유형

properties.condition

string

역할 할당에 대한 조건입니다. 이렇게 하면 할당할 수 있는 리소스가 제한됩니다. 예: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'

properties.conditionVersion

string

조건의 버전입니다. 현재 허용되는 값은 '2.0'입니다.

properties.createdOn

string

역할 할당 일정이 만들어진 날짜/시간

properties.endDateTime

string

역할 할당 일정이 있는 경우 DateTime 종료

properties.expandedProperties

ExpandedProperties

보안 주체, scope 및 역할 정의의 추가 속성

properties.linkedRoleEligibilityScheduleId

string

이 roleAssignmentSchedule을 활성화하는 데 사용되는 roleEligibilitySchedule의 ID입니다.

properties.memberType

MemberType

역할 할당 일정의 멤버 자격 유형

properties.principalId

string

보안 주체 ID입니다.

properties.principalType

principalType

할당된 보안 주체 ID의 보안 주체 유형입니다.

properties.roleAssignmentScheduleRequestId

string

이 roleAssignmentSchedule을 만드는 데 사용되는 roleAssignmentScheduleRequest의 ID입니다.

properties.roleDefinitionId

string

역할 정의 ID입니다.

properties.scope

string

역할 할당 일정은 scope.

properties.startDateTime

string

역할 할당 일정이 있는 경우 DateTime 시작

properties.status

Status

역할 할당 일정의 상태.

properties.updatedOn

string

역할 할당 일정이 수정된 날짜/시간

type

string

역할 할당 일정 유형입니다.

RoleAssignmentScheduleListResult

역할 할당 일정 목록 작업 결과입니다.

Name 형식 Description
nextLink

string

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

value

RoleAssignmentSchedule[]

역할 할당 일정 목록입니다.

RoleDefinition

역할 정의의 세부 정보

Name 형식 Description
displayName

string

역할 정의의 표시 이름

id

string

역할 정의의 ID

type

string

역할 정의 유형

Scope

리소스 scope 세부 정보

Name 형식 Description
displayName

string

리소스의 표시 이름

id

string

리소스의 범위 ID

type

string

리소스 종류

Status

역할 할당 일정의 상태.

Name 형식 Description
Accepted

string

AdminApproved

string

AdminDenied

string

Canceled

string

Denied

string

Failed

string

FailedAsResourceIsLocked

string

Granted

string

Invalid

string

PendingAdminDecision

string

PendingApproval

string

PendingApprovalProvisioning

string

PendingEvaluation

string

PendingExternalProvisioning

string

PendingProvisioning

string

PendingRevocation

string

PendingScheduleCreation

string

Provisioned

string

ProvisioningStarted

string

Revoked

string

ScheduleCreated

string

TimedOut

string