Connections - Update Connection Role Assignment

接続のプリンシパルのロールの割り当てを更新します。

Note

Fabricテナント管理者の接続管理は現在プレビュー段階です (詳細を参照)。

Permissions

呼び出し元は、ファブリック管理者であるか、サービス プリンシパルを使用して認証されている必要があります。

必要な委任スコープ

Tenant.ReadWrite.All

Limitations

追加の制限はありません。

Microsoft Entra でサポートされている ID

この API では、このセクションに記載されている Microsoft ID がサポートされています。

Identity Support
User Yes
サービス プリンシパルとマネージド ID Yes

Interface

PATCH https://api.fabric.microsoft.com/v1/admin/connections/{connectionId}/roleAssignments/{connectionRoleAssignmentId}

URI パラメーター

Name / 必須 型 説明
connectionId
path True

string (uuid)

接続 ID。

connectionRoleAssignmentId
path True

string (uuid)

接続ロールの割り当ての ID。

要求本文

Name 必須 型 説明
role True

AssignableAdminConnectionRole

プリンシパルの接続ロール。

応答

Name 型 説明
200 OK

ConnectionRoleAssignment

OK. 操作が成功しました。

429 Too Many Requests

ErrorResponse

サービス レートの制限を超えました。 サーバーは、クライアントが追加の要求を送信するまでに待機する必要がある時間を秒単位で示す Retry-After ヘッダーを返します。

ヘッダー

Retry-After: integer

Other Status Codes

ErrorResponse

一般的なエラー コード:

  • UnknownError - エラーが発生しました。

例

Update connection role assignment as admin example

要求のサンプル

PATCH https://api.fabric.microsoft.com/v1/admin/connections/fe8e181d-dbb8-471a-99f0-fdbf0a2ad4fd/roleAssignments/43970761-afc9-4428-ae6e-3b08bef098ff

{
  "role": "Owner"
}

応答のサンプル

{
  "id": "43970761-afc9-4428-ae6e-3b08bef098ff",
  "principal": {
    "id": "43970761-afc9-4428-ae6e-3b08bef098ff",
    "type": "User"
  },
  "role": "Owner"
}

定義

Name 説明
AssignableAdminConnectionRole

接続ロール。 時間の経過と同時に、追加の接続ロールが追加される場合があります。

ConnectionRole

接続ロール。 時間の経過と同時に、追加の接続ロールが追加される場合があります。

ConnectionRoleAssignment

プリンシパルの接続ロールの割り当て。

EntireTenantPrincipal

テナント プリンシパルを表します

ErrorParameter

エラーに関する追加のコンピューター読み取り可能なコンテキストを提供する構造化パラメーター。

ErrorRelatedResource

エラー関連のリソース詳細オブジェクト。

ErrorResponse

エラー応答。

ErrorResponseDetails

エラー応答の詳細。

GroupDetails

グループ固有の詳細。 プリンシパルの種類が Group場合に適用されます。

GroupPrincipal

セキュリティ グループを表します。

GroupType

グループの種類。 グループの種類は、時間の経過と同時に追加される場合があります。

PrincipalType

プリンシパルの型。 プリンシパルの種類は、時間の経過と同時に追加される場合があります。

ServicePrincipalDetails

サービス プリンシパル固有の詳細。 プリンシパルの種類が ServicePrincipal場合に適用されます。

ServicePrincipalPrincipal

Microsoft Entra サービス プリンシパルを表します。

ServicePrincipalProfileDetails

サービス プリンシパル プロファイルの詳細。 プリンシパルの種類が ServicePrincipalProfile場合に適用されます。

ServicePrincipalProfilePrincipal

サービス プリンシパル プロファイルを表します。

UpdateAdminConnectionRoleAssignmentRequest

更新接続ロールの割り当て要求ペイロード。

UserDetails

ユーザー プリンシパル固有の詳細。 プリンシパルの種類が User場合に適用されます。

UserPrincipal

Microsoft Entra ユーザー プリンシパルを表します。

AssignableAdminConnectionRole

接続ロール。 時間の経過と同時に、追加の接続ロールが追加される場合があります。

値 説明
Owner

プリンシパルが接続の所有権を取得できるようにします。 プリンシパルには最初に "PendingOwner" ロールが割り当てられ、"所有者" への移行を完了するには、Update Connection API を使用して接続資格情報を更新する必要があります。

ConnectionRole

接続ロール。 時間の経過と同時に、追加の接続ロールが追加される場合があります。

値 説明
User

接続のユーザー アクセスを有効にします。

UserWithReshare

接続の再共有アクセス権を持つユーザーを有効にします。

Owner

接続の所有権アクセスを有効にします。

PendingOwner

接続の所有権はまだ有効ではありません。プリンシパルは、接続資格情報を有効にするために ( Update Connection API を使用して) 更新する必要があります。

ConnectionRoleAssignment

プリンシパルの接続ロールの割り当て。

Name 型 説明
id

string (uuid)

接続ロールの割り当てのオブジェクト ID。

principal Principal:

プリンシパル。

role

ConnectionRole

プリンシパルの接続ロール。

EntireTenantPrincipal

テナント プリンシパルを表します

Name 型 説明
displayName

string

プリンシパルの表示名。

id

string (uuid)

プリンシパルの ID。

type string:

EntireTenant

プリンシパルの型。 プリンシパルの種類は、時間の経過と同時に追加される場合があります。

ErrorParameter

エラーに関する追加のコンピューター読み取り可能なコンテキストを提供する構造化パラメーター。

Name 型 説明
message

string

パラメーターの意味を人間が判読できる説明。

name

string

パラメータ識別子です。

value

string

パラメーターの値を指定します。

ErrorRelatedResource

エラー関連のリソース詳細オブジェクト。

Name 型 説明
resourceId

string

エラーに関係するリソース ID。

resourceType

string

エラーに関係するリソースの種類。

ErrorResponse

エラー応答。

Name 型 説明
errorCode

string

エラー状態に関する情報を提供し、サービスとそのユーザー間の標準化された通信を可能にする特定の識別子。

isRetriable

boolean

true の場合、要求を再試行できます。 Retry-After応答ヘッダーを使用して、遅延 (使用可能な場合) を決定します。

message

string

エラーの人間が理解可能な表現。

moreDetails

ErrorResponseDetails[]

その他のエラーの詳細の一覧。

parameters

ErrorParameter[]

エラーに関する追加のコンピューター読み取り可能なコンテキストを提供する構造化パラメーター。

relatedResource

ErrorRelatedResource

エラー関連のリソースの詳細。

requestId

string (uuid)

エラーに関連付けられている要求の ID。

ErrorResponseDetails

エラー応答の詳細。

Name 型 説明
errorCode

string

エラー状態に関する情報を提供し、サービスとそのユーザー間の標準化された通信を可能にする特定の識別子。

message

string

エラーの人間が理解可能な表現。

parameters

ErrorParameter[]

エラーに関する追加のコンピューター読み取り可能なコンテキストを提供する構造化パラメーター。

relatedResource

ErrorRelatedResource

エラー関連のリソースの詳細。

GroupDetails

グループ固有の詳細。 プリンシパルの種類が Group場合に適用されます。

Name 型 説明
groupType

GroupType

グループの種類。 グループの種類は、時間の経過と同時に追加される場合があります。

GroupPrincipal

セキュリティ グループを表します。

Name 型 説明
displayName

string

プリンシパルの表示名。

groupDetails

GroupDetails

グループ固有の詳細。 プリンシパルの種類が Group場合に適用されます。

id

string (uuid)

プリンシパルの ID。

type string:

Group

プリンシパルの型。 プリンシパルの種類は、時間の経過と同時に追加される場合があります。

GroupType

グループの種類。 グループの種類は、時間の経過と同時に追加される場合があります。

値 説明
Unknown

プリンシパル グループの種類が不明です。

SecurityGroup

プリンシパルはセキュリティ グループです。

DistributionList

プリンシパルは配布リストです。

PrincipalType

プリンシパルの型。 プリンシパルの種類は、時間の経過と同時に追加される場合があります。

値 説明
User

プリンシパルは、Microsoft Entraユーザー プリンシパルです。

ServicePrincipal

プリンシパルは、Microsoft Entraサービス プリンシパルです。

Group

プリンシパルはセキュリティ グループです。

ServicePrincipalProfile

プリンシパルはサービス プリンシパル プロファイルです。

EntireTenant

プリンシパルは、すべてのテナント ユーザーを表します。

ServicePrincipalDetails

サービス プリンシパル固有の詳細。 プリンシパルの種類が ServicePrincipal場合に適用されます。

Name 型 説明
aadAppId

string (uuid)

サービス プリンシパルの Microsoft Entra AppId。

ServicePrincipalPrincipal

Microsoft Entra サービス プリンシパルを表します。

Name 型 説明
displayName

string

プリンシパルの表示名。

id

string (uuid)

プリンシパルの ID。

servicePrincipalDetails

ServicePrincipalDetails

サービス プリンシパル固有の詳細。 プリンシパルの種類が ServicePrincipal場合に適用されます。

type string:

ServicePrincipal

プリンシパルの型。 プリンシパルの種類は、時間の経過と同時に追加される場合があります。

ServicePrincipalProfileDetails

サービス プリンシパル プロファイルの詳細。 プリンシパルの種類が ServicePrincipalProfile場合に適用されます。

Name 型 説明
parentPrincipal Principal:

サービス プリンシパル プロファイルの親プリンシパル。

ServicePrincipalProfilePrincipal

サービス プリンシパル プロファイルを表します。

Name 型 説明
displayName

string

プリンシパルの表示名。

id

string (uuid)

プリンシパルの ID。

servicePrincipalProfileDetails

ServicePrincipalProfileDetails

サービス プリンシパル プロファイルの詳細。 プリンシパルの種類が ServicePrincipalProfile場合に適用されます。

type string:

ServicePrincipalProfile

プリンシパルの型。 プリンシパルの種類は、時間の経過と同時に追加される場合があります。

UpdateAdminConnectionRoleAssignmentRequest

更新接続ロールの割り当て要求ペイロード。

Name 型 説明
role

AssignableAdminConnectionRole

プリンシパルの接続ロール。

UserDetails

ユーザー プリンシパル固有の詳細。 プリンシパルの種類が User場合に適用されます。

Name 型 説明
userPrincipalName

string

ユーザー プリンシパル名。

UserPrincipal

Microsoft Entra ユーザー プリンシパルを表します。

Name 型 説明
displayName

string

プリンシパルの表示名。

id

string (uuid)

プリンシパルの ID。

type string:

User

プリンシパルの型。 プリンシパルの種類は、時間の経過と同時に追加される場合があります。

userDetails

UserDetails

ユーザー プリンシパル固有の詳細。 プリンシパルの種類が User場合に適用されます。