Role Assignment Schedules - List For 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 パラメーター

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

RoleAssignmentScheduleListResult

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

Other Status Codes

CloudError

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

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

型: oauth2
フロー: implicit
Authorization URL (承認 URL): https://login.microsoftonline.com/common/oauth2/authorize

スコープ

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

定義

名前 説明
AssignmentType

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

CloudError

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

CloudErrorBody

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

ExpandedProperties
MemberType

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

Principal

プリンシパルの詳細

principalType

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

RoleAssignmentSchedule

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

RoleAssignmentScheduleListResult

ロールの割り当てスケジュール一覧の操作結果。

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

RoleAssignmentSchedule

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

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

ロールの割り当てスケジュールの終了日時

properties.expandedProperties

ExpandedProperties

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

properties.linkedRoleEligibilityScheduleId

string

このロールをアクティブにするために使用される roleEligibilitySchedule の IDAssignmentSchedule

properties.memberType

MemberType

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

properties.principalId

string

プリンシパル ID。

properties.principalType

principalType

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

properties.roleAssignmentScheduleRequestId

string

この roleAssignmentSchedule の作成に使用される roleAssignmentScheduleRequest の ID

properties.roleDefinitionId

string

ロール定義 ID

properties.scope

string

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

properties.startDateTime

string

ロールの割り当てスケジュール時に DateTime を開始する

properties.status

Status

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

properties.updatedOn

string

ロールの割り当てスケジュールが変更された日時

type

string

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

RoleAssignmentScheduleListResult

ロールの割り当てスケジュール一覧の操作結果。

名前 説明
nextLink

string

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

value

RoleAssignmentSchedule[]

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

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