ArmDataBoxEdgeModelFactory.ShareAccessRight Method
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET