Consumer Invitations - Reject Invitation

invitationId で識別された招待を拒否します
招待を拒否する

POST https://management.azure.com/providers/Microsoft.DataShare/locations/{location}/rejectInvitation?api-version=2021-08-01

URI パラメーター

名前 / 必須 説明
location
path True

string

招待の場所

api-version
query True

string

使用する API バージョン。

要求本文

名前 必須 説明
properties.invitationId True

string

招待の一意の ID。

応答

名前 説明
200 OK

ConsumerInvitation

Success

Other Status Codes

DataShareError

Microsoft.DataShare リソース プロバイダーから受信したエラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー。

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

Scopes

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

ConsumerInvitations_RejectInvitation

Sample Request

POST https://management.azure.com/providers/Microsoft.DataShare/locations/East US 2/rejectInvitation?api-version=2021-08-01

{
  "properties": {
    "invitationId": "dfbbc788-19eb-4607-a5a1-c74181bfff03"
  }
}

Sample Response

Date: Wed, 13 Sep 2017 18:04:32 GMT
x-ms-request-id: d5496da4-9c52-402f-b067-83cc9ddea888
X-Content-Type-Options: nosniff
x-ms-ratelimit-remaining-tenant-reads: 14999
x-ms-correlation-request-id: 25c78f97-0b0a-4fe9-ad39-883a482265cd
{
  "properties": {
    "location": "eastus2",
    "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
    "providerName": "John Smith",
    "providerEmail": "john.smith@microsoft.com",
    "providerTenantName": "microsoft",
    "sentAt": "2019-01-15T01:45:25.6226946Z",
    "respondedAt": "2019-01-15T02:01:51.8953054Z",
    "invitationStatus": "Rejected",
    "description": "Some share",
    "termsOfUse": "Confidential",
    "dataSetCount": 1,
    "shareName": "share1",
    "expirationDate": "2020-08-26T22:33:24.5785265Z"
  },
  "id": "providers/Microsoft.DataShare/locations/eastus2/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
  "name": "invitation1",
  "type": "Microsoft.DataShare/locations/consumerInvitations"
}

定義

名前 説明
ConsumerInvitation

コンシューマー招待データ転送オブジェクト。

createdByType

リソースを作成した ID の種類。

DataShareError

データ共有エラー モデル。

DataShareErrorInfo

データ共有エラー本文モデル。

invitationStatus

招待の状態。

lastModifiedByType

リソースを最後に変更した ID の種類。

SystemData

リソースの作成と最後の変更に関連するメタデータ。

ConsumerInvitation

コンシューマー招待データ転送オブジェクト。

名前 説明
id

string

Azure リソースのリソース ID

name

string

Azure リソースの名前

properties.dataSetCount

integer

共有内のデータ セットの数

properties.description

string

招待の作成時に共有された説明

properties.expirationDate

string

招待を承諾して作成された共有サブスクリプションの有効期限。

properties.invitationId

string

招待の一意の ID。

properties.invitationStatus

invitationStatus

招待の状態。

properties.location

string

招待の場所

properties.providerEmail

string

リソースを作成したプロバイダーのEmail

properties.providerName

string

リソースを作成したプロバイダーの名前

properties.providerTenantName

string

リソースを作成したプロバイダーのテナント名

properties.respondedAt

string

受信者が招待に応答した時刻。

properties.sentAt

string

招待が送信された時刻を取得します。

properties.shareName

string

ソース共有名を取得します。

properties.termsOfUse

string

招待の作成時に共有される使用条件

properties.userEmail

string

リソースを作成したユーザーのEmail

properties.userName

string

リソースを作成したユーザーの名前

systemData

SystemData

Azure リソースのシステム データ。

type

string

Azure リソースの種類

createdByType

リソースを作成した ID の種類。

名前 説明
Application

string

Key

string

ManagedIdentity

string

User

string

DataShareError

データ共有エラー モデル。

名前 説明
error

DataShareErrorInfo

データ共有エラー本文

DataShareErrorInfo

データ共有エラー本文モデル。

名前 説明
code

string

エラーのコード

details

DataShareErrorInfo[]

エラー モデルの入れ子になった詳細

message

string

エラーのメッセージ

target

string

エラーのターゲット

invitationStatus

招待の状態。

名前 説明
Accepted

string

Pending

string

Rejected

string

Withdrawn

string

lastModifiedByType

リソースを最後に変更した ID の種類。

名前 説明
Application

string

Key

string

ManagedIdentity

string

User

string

SystemData

リソースの作成と最後の変更に関連するメタデータ。

名前 説明
createdAt

string

リソース作成のタイムスタンプ (UTC)。

createdBy

string

リソースを作成した ID。

createdByType

createdByType

リソースを作成した ID の種類。

lastModifiedAt

string

リソースを最後に変更した ID の種類。

lastModifiedBy

string

リソースを最後に変更した ID。

lastModifiedByType

lastModifiedByType

リソースを最後に変更した ID の種類。