Share via


Share Constructors

Definition

Overloads

Share()

Initializes a new instance of the Share class.

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

Initializes a new instance of the Share class.

Share()

Initializes a new instance of the Share class.

public Share ();
Public Sub New ()

Applies to

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

Initializes a new instance of the Share class.

public Share (string id = default, string name = default, Microsoft.Azure.Management.DataShare.Models.SystemData systemData = default, string type = default, DateTime? createdAt = default, string description = default, string provisioningState = default, string shareKind = default, string terms = default, string userEmail = default, string userName = default);
new Microsoft.Azure.Management.DataShare.Models.Share : string * string * Microsoft.Azure.Management.DataShare.Models.SystemData * string * Nullable<DateTime> * string * string * string * string * string * string -> Microsoft.Azure.Management.DataShare.Models.Share
Public Sub New (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 description As String = Nothing, Optional provisioningState As String = Nothing, Optional shareKind As String = Nothing, Optional terms 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

createdAt
Nullable<DateTime>

Time at which the share was created.

description
String

Share description.

provisioningState
String

Gets or sets the provisioning state. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed'

shareKind
String

Share kind. Possible values include: 'CopyBased', 'InPlace'

terms
String

Share terms.

userEmail
String

Email of the user who created the resource

userName
String

Name of the user who created the resource

Applies to