Udostępnij za pośrednictwem


ArmDataBoxEdgeModelFactory.DataBoxEdgeShareData Method

Definition

Initializes a new instance of DataBoxEdgeShareData.

public static Azure.ResourceManager.DataBoxEdge.DataBoxEdgeShareData DataBoxEdgeShareData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, Azure.ResourceManager.DataBoxEdge.Models.ShareStatus shareStatus = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeShareMonitoringStatus monitoringStatus = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeStorageContainerInfo azureContainerInfo = default, Azure.ResourceManager.DataBoxEdge.Models.ShareAccessProtocol accessProtocol = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBoxEdge.Models.UserAccessRight> userAccessRights = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBoxEdge.Models.ClientAccessRight> clientAccessRights = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeRefreshDetails refreshDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMountPointMap> shareMappings = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataPolicy? dataPolicy = default);
static member DataBoxEdgeShareData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.ResourceManager.DataBoxEdge.Models.ShareStatus * Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeShareMonitoringStatus * Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeStorageContainerInfo * Azure.ResourceManager.DataBoxEdge.Models.ShareAccessProtocol * seq<Azure.ResourceManager.DataBoxEdge.Models.UserAccessRight> * seq<Azure.ResourceManager.DataBoxEdge.Models.ClientAccessRight> * Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeRefreshDetails * seq<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMountPointMap> * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataPolicy> -> Azure.ResourceManager.DataBoxEdge.DataBoxEdgeShareData
Public Shared Function DataBoxEdgeShareData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional shareStatus As ShareStatus = Nothing, Optional monitoringStatus As DataBoxEdgeShareMonitoringStatus = Nothing, Optional azureContainerInfo As DataBoxEdgeStorageContainerInfo = Nothing, Optional accessProtocol As ShareAccessProtocol = Nothing, Optional userAccessRights As IEnumerable(Of UserAccessRight) = Nothing, Optional clientAccessRights As IEnumerable(Of ClientAccessRight) = Nothing, Optional refreshDetails As DataBoxEdgeRefreshDetails = Nothing, Optional shareMappings As IEnumerable(Of DataBoxEdgeMountPointMap) = Nothing, Optional dataPolicy As Nullable(Of DataBoxEdgeDataPolicy) = Nothing) As DataBoxEdgeShareData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

Description for the share.

shareStatus
ShareStatus

Current status of the share.

monitoringStatus
DataBoxEdgeShareMonitoringStatus

Current monitoring status of the share.

azureContainerInfo
DataBoxEdgeStorageContainerInfo

Azure container mapping for the share.

accessProtocol
ShareAccessProtocol

Access protocol to be used by the share.

userAccessRights
IEnumerable<UserAccessRight>

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

clientAccessRights
IEnumerable<ClientAccessRight>

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

refreshDetails
DataBoxEdgeRefreshDetails

Details of the refresh job on this share.

shareMappings
IEnumerable<DataBoxEdgeMountPointMap>

Share mount point to the role.

dataPolicy
Nullable<DataBoxEdgeDataPolicy>

Data policy of the share.

Returns

A new DataBoxEdgeShareData instance for mocking.

Applies to