Share Constructors
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.
Overloads
Share() |
Initializes a new instance of the Share class. |
Share(String, String, String, String, String, String, 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, 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, string description = default, Microsoft.Azure.Management.EdgeGateway.Models.AzureContainerInfo azureContainerInfo = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EdgeGateway.Models.UserAccessRight> userAccessRights = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EdgeGateway.Models.ClientAccessRight> clientAccessRights = default, Microsoft.Azure.Management.EdgeGateway.Models.RefreshDetails refreshDetails = default, System.Collections.Generic.IList<Microsoft.Azure.Management.EdgeGateway.Models.MountPointMap> shareMappings = default, string dataPolicy = default);
new Microsoft.Azure.Management.EdgeGateway.Models.Share : string * string * string * string * string * string * string * Microsoft.Azure.Management.EdgeGateway.Models.AzureContainerInfo * System.Collections.Generic.IList<Microsoft.Azure.Management.EdgeGateway.Models.UserAccessRight> * System.Collections.Generic.IList<Microsoft.Azure.Management.EdgeGateway.Models.ClientAccessRight> * Microsoft.Azure.Management.EdgeGateway.Models.RefreshDetails * System.Collections.Generic.IList<Microsoft.Azure.Management.EdgeGateway.Models.MountPointMap> * string -> Microsoft.Azure.Management.EdgeGateway.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 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: 'Online', 'Offline'
- 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.
- 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
Azure SDK for .NET