Role Eligibility Schedule Instances - List For Scope

역할 자격 일정의 역할 자격 일정 인스턴스를 가져옵니다.

GET https://management.azure.com/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances?api-version=2020-10-01
GET https://management.azure.com/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances?$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

RoleEligibilityScheduleInstanceListResult

OK - 역할 자격 일정 인스턴스의 배열을 반환합니다.

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 사용자 계정 가장

예제

GetRoleEligibilityScheduleInstancesByScope

샘플 요청

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

샘플 응답

{
  "value": [
    {
      "properties": {
        "scope": "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f",
        "roleDefinitionId": "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c",
        "principalId": "a3bb8764-cb92-4276-9d2a-ca1e895e55ea",
        "principalType": "User",
        "status": "Provisioned",
        "roleEligibilityScheduleId": "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/RoleEligibilitySchedules/b1477448-2cc6-4ceb-93b4-54a202a89413",
        "startDateTime": "2020-09-10T00:32:36.86Z",
        "endDateTime": "2021-09-10T00:31:41.477Z",
        "memberType": "Direct",
        "createdOn": "2020-09-10T00:32:36.86Z",
        "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": "21e4b59a-0499-4fe0-a3c3-43a3055b773a",
      "id": "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/RoleEligibilityScheduleInstances/21e4b59a-0499-4fe0-a3c3-43a3055b773a",
      "type": "Microsoft.Authorization/RoleEligibilityScheduleInstances"
    }
  ]
}

정의

Name Description
CloudError

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

CloudErrorBody

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

ExpandedProperties
MemberType

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

Principal

보안 주체의 세부 정보

principalType

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

RoleDefinition

역할 정의에 대한 세부 정보

RoleEligibilityScheduleInstance

현재 또는 예정된 역할 자격 일정에 대한 정보 instance

RoleEligibilityScheduleInstanceListResult

역할 자격 일정 instance 작업 결과를 나열합니다.

Scope

리소스 scope 세부 정보

Status

역할 자격 일정의 상태 instance

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

RoleDefinition

역할 정의에 대한 세부 정보

Name 형식 Description
displayName

string

역할 정의의 표시 이름

id

string

역할 정의의 ID

type

string

역할 정의의 유형

RoleEligibilityScheduleInstance

현재 또는 예정된 역할 자격 일정에 대한 정보 instance

Name 형식 Description
id

string

역할 자격 일정 instance ID입니다.

name

string

역할 자격 일정 instance 이름입니다.

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

역할 자격 일정의 endDateTime은 instance

properties.expandedProperties

ExpandedProperties

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

properties.memberType

MemberType

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

properties.principalId

string

보안 주체 ID입니다.

properties.principalType

principalType

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

properties.roleDefinitionId

string

역할 정의 ID입니다.

properties.roleEligibilityScheduleId

string

master 역할 자격 일정의 ID

properties.scope

string

역할 자격 일정이 scope.

properties.startDateTime

string

역할 자격 일정의 startDateTime은 instance

properties.status

Status

역할 자격 일정의 상태 instance

type

string

역할 자격 일정 instance 유형입니다.

RoleEligibilityScheduleInstanceListResult

역할 자격 일정 instance 작업 결과를 나열합니다.

Name 형식 Description
nextLink

string

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

value

RoleEligibilityScheduleInstance[]

역할 자격 일정 instance 목록.

Scope

리소스 scope 세부 정보

Name 형식 Description
displayName

string

리소스의 표시 이름

id

string

리소스의 범위 ID

type

string

리소스 종류

Status

역할 자격 일정의 상태 instance

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