Invitation Class

A Invitation data transfer object.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.datashare.models._models_py3.ProxyDto
Invitation

Constructor

Invitation(*, expiration_date: Optional[datetime.datetime] = None, target_active_directory_id: Optional[str] = None, target_email: Optional[str] = None, target_object_id: Optional[str] = None, **kwargs)

Parameters

expiration_date
datetime
Required

The expiration date for the invitation and share subscription.

target_active_directory_id
str
Required

The target Azure AD Id. Can't be combined with email.

target_email
str
Required

The email the invitation is directed to.

target_object_id
str
Required

The target user or application Id that invitation is being sent to. Must be specified along TargetActiveDirectoryId. This enables sending invitations to specific users or applications in an AD tenant.

Variables

id
str

The resource id of the azure resource.

name
str

Name of the azure resource.

system_data
SystemData

System Data of the Azure resource.

type
str

Type of the azure resource.

invitation_id
str

unique invitation id.

invitation_status
str or InvitationStatus

The status of the invitation. Possible values include: "Pending", "Accepted", "Rejected", "Withdrawn".

responded_at
datetime

The time the recipient responded to the invitation.

sent_at
datetime

Gets the time at which the invitation was sent.

user_email
str

Email of the user who created the resource.

user_name
str

Name of the user who created the resource.