ArmDataBoxEdgeModelFactory.UserAccessRight 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.
public static Azure.ResourceManager.DataBoxEdge.Models.UserAccessRight UserAccessRight(Azure.Core.ResourceIdentifier userId = default, Azure.ResourceManager.DataBoxEdge.Models.ShareAccessType accessType = default);
static member UserAccessRight : Azure.Core.ResourceIdentifier * Azure.ResourceManager.DataBoxEdge.Models.ShareAccessType -> Azure.ResourceManager.DataBoxEdge.Models.UserAccessRight
Public Shared Function UserAccessRight (Optional userId As ResourceIdentifier = Nothing, Optional accessType As ShareAccessType = Nothing) As UserAccessRight
Parameters
- userId
- ResourceIdentifier
User ID (already existing in the device).
- accessType
- ShareAccessType
Type of access to be allowed for the user.
Returns
A new UserAccessRight instance for mocking.