Share via


Share Constructors

Definition

Overloads

Share()

Initializes a new instance of the Share class.

Share(String, String, String, String, String, String, SystemData, String, AzureContainerInfo, IList<UserAccessRight>, IList<ClientAccessRight>, RefreshDetails, IList<MountPointMap>, 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, String, String, String, String, SystemData, String, AzureContainerInfo, IList<UserAccessRight>, IList<ClientAccessRight>, RefreshDetails, IList<MountPointMap>, String)

Initializes a new instance of the Share class.

public Share (string shareStatus, string monitoringStatus, string accessProtocol, string id = default, string name = default, string type = default, Microsoft.Azure.Management.DataBoxEdge.Models.SystemData systemData = default, string description = default, Microsoft.Azure.Management.DataBoxEdge.Models.AzureContainerInfo azureContainerInfo = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataBoxEdge.Models.UserAccessRight> userAccessRights = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataBoxEdge.Models.ClientAccessRight> clientAccessRights = default, Microsoft.Azure.Management.DataBoxEdge.Models.RefreshDetails refreshDetails = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataBoxEdge.Models.MountPointMap> shareMappings = default, string dataPolicy = default);
new Microsoft.Azure.Management.DataBoxEdge.Models.Share : string * string * string * string * string * string * Microsoft.Azure.Management.DataBoxEdge.Models.SystemData * string * Microsoft.Azure.Management.DataBoxEdge.Models.AzureContainerInfo * System.Collections.Generic.IList<Microsoft.Azure.Management.DataBoxEdge.Models.UserAccessRight> * System.Collections.Generic.IList<Microsoft.Azure.Management.DataBoxEdge.Models.ClientAccessRight> * Microsoft.Azure.Management.DataBoxEdge.Models.RefreshDetails * System.Collections.Generic.IList<Microsoft.Azure.Management.DataBoxEdge.Models.MountPointMap> * string -> Microsoft.Azure.Management.DataBoxEdge.Models.Share
Public Sub New (shareStatus As String, monitoringStatus As String, accessProtocol As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional azureContainerInfo As AzureContainerInfo = Nothing, Optional userAccessRights As IList(Of UserAccessRight) = Nothing, Optional clientAccessRights As IList(Of ClientAccessRight) = Nothing, Optional refreshDetails As RefreshDetails = Nothing, Optional shareMappings As IList(Of MountPointMap) = Nothing, Optional dataPolicy As String = Nothing)

Parameters

shareStatus
String

Current status of the share. Possible values include: 'Offline', 'Unknown', 'OK', 'Updating', 'NeedsAttention'

monitoringStatus
String

Current monitoring status of the share. Possible values include: 'Enabled', 'Disabled'

accessProtocol
String

Access protocol to be used by the share. Possible values include: 'SMB', 'NFS'

id
String

The path ID that uniquely identifies the object.

name
String

The object name.

type
String

The hierarchical type of the object.

systemData
SystemData

Share on ASE device

description
String

Description for the share.

azureContainerInfo
AzureContainerInfo

Azure container mapping for the share.

userAccessRights
IList<UserAccessRight>

Mapping of users and corresponding access rights on the share (required for SMB protocol).

clientAccessRights
IList<ClientAccessRight>

List of IP addresses and corresponding access rights on the share(required for NFS protocol).

refreshDetails
RefreshDetails

Details of the refresh job on this share.

shareMappings
IList<MountPointMap>

Share mount point to the role.

dataPolicy
String

Data policy of the share. Possible values include: 'Cloud', 'Local'

Applies to