共用方式為


Invitation Constructors

Definition

Overloads

Invitation()

Initializes a new instance of the Invitation class.

Invitation(String, String, SystemData, String, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String, String, String)

Initializes a new instance of the Invitation class.

Invitation()

Initializes a new instance of the Invitation class.

public Invitation ();
Public Sub New ()

Applies to

Invitation(String, String, SystemData, String, Nullable<DateTime>, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String, String, String)

Initializes a new instance of the Invitation class.

public Invitation (string id = default, string name = default, Microsoft.Azure.Management.DataShare.Models.SystemData systemData = default, string type = default, DateTime? expirationDate = default, string invitationId = default, string invitationStatus = default, DateTime? respondedAt = default, DateTime? sentAt = default, string targetActiveDirectoryId = default, string targetEmail = default, string targetObjectId = default, string userEmail = default, string userName = default);
new Microsoft.Azure.Management.DataShare.Models.Invitation : string * string * Microsoft.Azure.Management.DataShare.Models.SystemData * string * Nullable<DateTime> * string * string * Nullable<DateTime> * Nullable<DateTime> * string * string * string * string * string -> Microsoft.Azure.Management.DataShare.Models.Invitation
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional systemData As SystemData = Nothing, Optional type As String = Nothing, Optional expirationDate As Nullable(Of DateTime) = Nothing, Optional invitationId As String = Nothing, Optional invitationStatus As String = Nothing, Optional respondedAt As Nullable(Of DateTime) = Nothing, Optional sentAt As Nullable(Of DateTime) = Nothing, Optional targetActiveDirectoryId As String = Nothing, Optional targetEmail As String = Nothing, Optional targetObjectId As String = Nothing, Optional userEmail As String = Nothing, Optional userName As String = Nothing)

Parameters

id
String

The resource id of the azure resource

name
String

Name of the azure resource

systemData
SystemData

System Data of the Azure resource.

type
String

Type of the azure resource

expirationDate
Nullable<DateTime>

The expiration date for the invitation and share subscription.

invitationId
String

unique invitation id

invitationStatus
String

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

respondedAt
Nullable<DateTime>

The time the recipient responded to the invitation.

sentAt
Nullable<DateTime>

Gets the time at which the invitation was sent.

targetActiveDirectoryId
String

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

targetEmail
String

The email the invitation is directed to.

targetObjectId
String

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.

userEmail
String

Email of the user who created the resource

userName
String

Name of the user who created the resource

Applies to