Consumer Invitations - Reject Invitation

Elutasítja a meghívóazonosítóval azonosított meghívást
Meghívás elutasítása

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

URI-paraméterek

Name In Kötelező Típus Description
location
path True

string

A meghívó helye

api-version
query True

string

A használni kívánt API-verzió.

Kérelem törzse

Name Kötelező Típus Description
properties.invitationId True

string

A meghívó egyedi azonosítója.

Válaszok

Name Típus Description
200 OK

ConsumerInvitation

Siker

Other Status Codes

DataShareError

Hibaválasz érkezett a Microsoft.DataShare erőforrás-szolgáltatótól.

Biztonság

azure_auth

Azure Active Directory OAuth2 Flow.

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

Scopes

Name Description
user_impersonation felhasználói fiók megszemélyesítése

Példák

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"
}

Definíciók

Name Description
ConsumerInvitation

Egy fogyasztói meghívó adatátviteli objektuma.

createdByType

Az erőforrást létrehozó identitás típusa.

DataShareError

Az adatmegosztási hibamodell.

DataShareErrorInfo

Az adatmegosztási hibatörzs modellje.

invitationStatus

A meghívás állapota.

lastModifiedByType

Az erőforrást legutóbb módosító identitás típusa.

SystemData

Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok.

ConsumerInvitation

Egy fogyasztói meghívó adatátviteli objektuma.

Name Típus Description
id

string

Az Azure-erőforrás erőforrás-azonosítója

name

string

Az Azure-erőforrás neve

properties.dataSetCount

integer

Megosztásban lévő adathalmazok száma

properties.description

string

A meghívás létrehozásakor megosztott leírás

properties.expirationDate

string

A meghívás elfogadásával létrehozott megosztási előfizetés lejárati dátuma.

properties.invitationId

string

A meghívó egyedi azonosítója.

properties.invitationStatus

invitationStatus

A meghívás állapota.

properties.location

string

meghívó helye

properties.providerEmail

string

az erőforrást létrehozó szolgáltató Email

properties.providerName

string

Az erőforrást létrehozó szolgáltató neve

properties.providerTenantName

string

Az erőforrást létrehozó szolgáltató bérlőneve

properties.respondedAt

string

Az az idő, amikor a címzett válaszolt a meghívásra.

properties.sentAt

string

Lekéri azt az időpontot, amikor a meghívót elküldték.

properties.shareName

string

Lekéri a forrásmegosztás nevét.

properties.termsOfUse

string

A meghívás létrehozásakor megosztott használati feltételek

properties.userEmail

string

az erőforrást létrehozó felhasználó Email

properties.userName

string

Az erőforrást létrehozó felhasználó neve

systemData

SystemData

Az Azure-erőforrás rendszeradatai.

type

string

Az Azure-erőforrás típusa

createdByType

Az erőforrást létrehozó identitás típusa.

Name Típus Description
Application

string

Key

string

ManagedIdentity

string

User

string

DataShareError

Az adatmegosztási hibamodell.

Name Típus Description
error

DataShareErrorInfo

Az adatmegosztási hibatörzs

DataShareErrorInfo

Az adatmegosztási hibatörzs modellje.

Name Típus Description
code

string

A hiba kódja

details

DataShareErrorInfo[]

A hibamodell beágyazott részletei

message

string

A hiba üzenete

target

string

A hiba célja

invitationStatus

A meghívás állapota.

Name Típus Description
Accepted

string

Pending

string

Rejected

string

Withdrawn

string

lastModifiedByType

Az erőforrást legutóbb módosító identitás típusa.

Name Típus Description
Application

string

Key

string

ManagedIdentity

string

User

string

SystemData

Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok.

Name Típus Description
createdAt

string

Az erőforrás-létrehozás időbélyege (UTC).

createdBy

string

Az erőforrást létrehozó identitás.

createdByType

createdByType

Az erőforrást létrehozó identitás típusa.

lastModifiedAt

string

Az erőforrást legutóbb módosító identitás típusa.

lastModifiedBy

string

Az az identitás, amely legutóbb módosította az erőforrást.

lastModifiedByType

lastModifiedByType

Az erőforrást legutóbb módosító identitás típusa.