Role Assignment Schedule Instances - List For Scope

ロール割り当てスケジュールのロール割り当てスケジュール インスタンスを取得します。

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

URI パラメーター

名前 / 必須 説明
scope
path True

string

ロールの割り当てスケジュールのスコープ。

api-version
query True

string

この操作に使用する API バージョン。

$filter
query

string

操作に適用するフィルター。 スコープ以上のすべてのロール割り当てスケジュールを返すには、$filter=atScope() を使用します。 $filter=principalId eq {id} を使用して、指定したプリンシパルのスコープの上または下にあるすべてのロール割り当てスケジュールを返します。 $filter=assignedTo('{userId}') を使用して、ユーザーのすべてのロール割り当てスケジュール インスタンスを返します。 $filter=asTarget() を使用して、現在のユーザー用に作成されたすべてのロール割り当てスケジュール インスタンスを返します。

応答

名前 説明
200 OK

RoleAssignmentScheduleInstanceListResult

OK - ロール割り当てスケジュール インスタンスの配列を返します。

Other Status Codes

CloudError

操作に失敗した理由を説明するエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

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

Scopes

名前 説明
user_impersonation ユーザー アカウントの借用

GetRoleAssignmentScheduleInstancesByScope

Sample Request

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

Sample Response

{
  "value": [
    {
      "properties": {
        "originRoleAssignmentId": "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleAssignments/ed9b8180-cef7-4c77-a63c-b8566ecfc412",
        "linkedRoleEligibilityScheduleId": "b1477448-2cc6-4ceb-93b4-54a202a89413",
        "linkedRoleEligibilityScheduleInstanceId": "21e4b59a-0499-4fe0-a3c3-43a3055b773a",
        "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": "Accepted",
        "roleAssignmentScheduleId": "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/RoleAssignmentSchedules/c9e264ff-3133-4776-a81a-ebc7c33c8ec6",
        "startDateTime": "2020-09-09T21:35:27.91Z",
        "endDateTime": "2020-09-10T05:35:17.91Z",
        "memberType": "Direct",
        "createdOn": "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": "ed9b8180-cef7-4c77-a63c-b8566ecfc412",
      "id": "/subscriptions/dfa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/RoleAssignmentScheduleInstances/ed9b8180-cef7-4c77-a63c-b8566ecfc412",
      "type": "Microsoft.Authorization/RoleAssignmentScheduleInstances"
    }
  ]
}

定義

名前 説明
AssignmentType

ロールの割り当てスケジュールの割り当ての種類

CloudError

サービスからのエラー応答。

CloudErrorBody

サービスからのエラー応答。

ExpandedProperties
MemberType

ロールの割り当てスケジュールのメンバーシップの種類

Principal

プリンシパルの詳細

principalType

割り当てられたプリンシパル ID のプリンシパルの種類。

RoleAssignmentScheduleInstance

現在または今後のロール割り当てスケジュール インスタンスに関する情報

RoleAssignmentScheduleInstanceListResult

ロールの割り当てスケジュール インスタンスリスト操作の結果。

RoleDefinition

ロール定義の詳細

Scope

リソース スコープの詳細

Status

ロール割り当てスケジュール インスタンスの状態。

AssignmentType

ロールの割り当てスケジュールの割り当ての種類

名前 説明
Activated

string

Assigned

string

CloudError

サービスからのエラー応答。

名前 説明
error

CloudErrorBody

サービスからのエラー応答。

CloudErrorBody

サービスからのエラー応答。

名前 説明
code

string

エラーの識別子。 コードは不変であり、プログラムによって使用されることを意図しています。

message

string

ユーザー インターフェイスでの表示に適したエラーを説明するメッセージ。

ExpandedProperties

名前 説明
principal

Principal

プリンシパルの詳細

roleDefinition

RoleDefinition

ロール定義の詳細

scope

Scope

リソース スコープの詳細

MemberType

ロールの割り当てスケジュールのメンバーシップの種類

名前 説明
Direct

string

Group

string

Inherited

string

Principal

プリンシパルの詳細

名前 説明
displayName

string

プリンシパルの表示名

email

string

プリンシパルのEmail ID

id

string

プリンシパルの ID

type

string

プリンシパルの種類

principalType

割り当てられたプリンシパル ID のプリンシパルの種類。

名前 説明
Device

string

ForeignGroup

string

Group

string

ServicePrincipal

string

User

string

RoleAssignmentScheduleInstance

現在または今後のロール割り当てスケジュール インスタンスに関する情報

名前 説明
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

ロール割り当てスケジュール インスタンスの endDateTime

properties.expandedProperties

ExpandedProperties

プリンシパル、スコープ、ロール定義の追加のプロパティ

properties.linkedRoleEligibilityScheduleId

string

アクティブ化に使用される roleEligibilityScheduleId

properties.linkedRoleEligibilityScheduleInstanceId

string

roleEligibilityScheduleInstanceId がこの roleAssignmentScheduleInstance にリンクされている

properties.memberType

MemberType

ロールの割り当てスケジュールのメンバーシップの種類

properties.originRoleAssignmentId

string

外部システムでのロールの割り当て ID

properties.principalId

string

プリンシパル ID。

properties.principalType

principalType

割り当てられたプリンシパル ID のプリンシパルの種類。

properties.roleAssignmentScheduleId

string

マスター ロールの割り当てスケジュールの ID

properties.roleDefinitionId

string

ロール定義 ID

properties.scope

string

ロールの割り当てスケジュールスコープ。

properties.startDateTime

string

ロール割り当てスケジュール インスタンスの startDateTime

properties.status

Status

ロール割り当てスケジュール インスタンスの状態。

type

string

ロールの割り当てスケジュール インスタンスの種類。

RoleAssignmentScheduleInstanceListResult

ロールの割り当てスケジュール インスタンスリスト操作の結果。

名前 説明
nextLink

string

次の結果セットを取得するために使用する URL。

value

RoleAssignmentScheduleInstance[]

ロールの割り当てスケジュール インスタンスの一覧。

RoleDefinition

ロール定義の詳細

名前 説明
displayName

string

ロール定義の表示名

id

string

ロール定義の ID

type

string

ロール定義の種類

Scope

リソース スコープの詳細

名前 説明
displayName

string

リソースの表示名

id

string

リソースのスコープ ID

type

string

リソースの種類

Status

ロール割り当てスケジュール インスタンスの状態。

名前 説明
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