共用方式為


ArmDataBoxEdgeModelFactory.ShareAccessRight Method

Definition

Initializes a new instance of ShareAccessRight.

public static Azure.ResourceManager.DataBoxEdge.Models.ShareAccessRight ShareAccessRight (Azure.Core.ResourceIdentifier shareId = default, Azure.ResourceManager.DataBoxEdge.Models.ShareAccessType accessType = default);
static member ShareAccessRight : Azure.Core.ResourceIdentifier * Azure.ResourceManager.DataBoxEdge.Models.ShareAccessType -> Azure.ResourceManager.DataBoxEdge.Models.ShareAccessRight
Public Shared Function ShareAccessRight (Optional shareId As ResourceIdentifier = Nothing, Optional accessType As ShareAccessType = Nothing) As ShareAccessRight

Parameters

shareId
ResourceIdentifier

The share ID.

accessType
ShareAccessType

Type of access to be allowed on the share for this user.

Returns

A new ShareAccessRight instance for mocking.

Exceptions

shareId is null.

Applies to