Delen via


ShareSubscription Constructors

Definition

Overloads

ShareSubscription()

Initializes a new instance of the ShareSubscription class.

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

Initializes a new instance of the ShareSubscription class.

ShareSubscription()

Initializes a new instance of the ShareSubscription class.

public ShareSubscription ();
Public Sub New ()

Applies to

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

Initializes a new instance of the ShareSubscription class.

public ShareSubscription (string invitationId, string sourceShareLocation, string id = default, string name = default, Microsoft.Azure.Management.DataShare.Models.SystemData systemData = default, string type = default, DateTime? createdAt = default, DateTime? expirationDate = default, string providerEmail = default, string providerName = default, string providerTenantName = default, string provisioningState = default, string shareDescription = default, string shareKind = default, string shareName = default, string shareSubscriptionStatus = default, string shareTerms = default, string userEmail = default, string userName = default);
new Microsoft.Azure.Management.DataShare.Models.ShareSubscription : string * string * string * string * Microsoft.Azure.Management.DataShare.Models.SystemData * string * Nullable<DateTime> * Nullable<DateTime> * string * string * string * string * string * string * string * string * string * string * string -> Microsoft.Azure.Management.DataShare.Models.ShareSubscription
Public Sub New (invitationId As String, sourceShareLocation As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional systemData As SystemData = Nothing, Optional type As String = Nothing, Optional createdAt As Nullable(Of DateTime) = Nothing, Optional expirationDate As Nullable(Of DateTime) = Nothing, Optional providerEmail As String = Nothing, Optional providerName As String = Nothing, Optional providerTenantName As String = Nothing, Optional provisioningState As String = Nothing, Optional shareDescription As String = Nothing, Optional shareKind As String = Nothing, Optional shareName As String = Nothing, Optional shareSubscriptionStatus As String = Nothing, Optional shareTerms As String = Nothing, Optional userEmail As String = Nothing, Optional userName As String = Nothing)

Parameters

invitationId
String

The invitation id.

sourceShareLocation
String

Source share location.

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

createdAt
Nullable<DateTime>

Time at which the share subscription was created.

expirationDate
Nullable<DateTime>

The expiration date of the share subscription.

providerEmail
String

Email of the provider who created the resource

providerName
String

Name of the provider who created the resource

providerTenantName
String

Tenant name of the provider who created the resource

provisioningState
String

Provisioning state of the share subscription. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed'

shareDescription
String

Description of share

shareKind
String

Kind of share. Possible values include: 'CopyBased', 'InPlace'

shareName
String

Name of the share

shareSubscriptionStatus
String

Gets the current status of share subscription. Possible values include: 'Active', 'Revoked', 'SourceDeleted', 'Revoking'

shareTerms
String

Terms of a share

userEmail
String

Email of the user who created the resource

userName
String

Name of the user who created the resource

Applies to