ArmDataShareModelFactory.DataShareInvitationData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DataShareInvitationData.
public static Azure.ResourceManager.DataShare.DataShareInvitationData DataShareInvitationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? expireOn = default, Guid? invitationId = default, Azure.ResourceManager.DataShare.Models.DataShareInvitationStatus? invitationStatus = default, DateTimeOffset? respondedOn = default, DateTimeOffset? sentOn = default, string targetActiveDirectoryId = default, string targetEmail = default, string targetObjectId = default, string userEmail = default, string userName = default);
static member DataShareInvitationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<Guid> * Nullable<Azure.ResourceManager.DataShare.Models.DataShareInvitationStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * string * string * string -> Azure.ResourceManager.DataShare.DataShareInvitationData
Public Shared Function DataShareInvitationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional invitationId As Nullable(Of Guid) = Nothing, Optional invitationStatus As Nullable(Of DataShareInvitationStatus) = Nothing, Optional respondedOn As Nullable(Of DateTimeOffset) = Nothing, Optional sentOn As Nullable(Of DateTimeOffset) = 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) As DataShareInvitationData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- expireOn
- Nullable<DateTimeOffset>
The expiration date for the invitation and share subscription.
- invitationStatus
- Nullable<DataShareInvitationStatus>
The status of the invitation.
- respondedOn
- Nullable<DateTimeOffset>
The time the recipient responded to the invitation.
- sentOn
- Nullable<DateTimeOffset>
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.
Returns
A new DataShareInvitationData instance for mocking.
Applies to
Azure SDK for .NET