Udostępnij za pośrednictwem


ArmDataBoxEdgeModelFactory.DataBoxEdgeUserData Method

Definition

Initializes a new instance of DataBoxEdgeUserData.

public static Azure.ResourceManager.DataBoxEdge.DataBoxEdgeUserData DataBoxEdgeUserData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.DataBoxEdge.Models.AsymmetricEncryptedSecret encryptedPassword = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBoxEdge.Models.ShareAccessRight> shareAccessRights = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeUserType userType = default);
static member DataBoxEdgeUserData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.DataBoxEdge.Models.AsymmetricEncryptedSecret * seq<Azure.ResourceManager.DataBoxEdge.Models.ShareAccessRight> * Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeUserType -> Azure.ResourceManager.DataBoxEdge.DataBoxEdgeUserData
Public Shared Function DataBoxEdgeUserData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional encryptedPassword As AsymmetricEncryptedSecret = Nothing, Optional shareAccessRights As IEnumerable(Of ShareAccessRight) = Nothing, Optional userType As DataBoxEdgeUserType = Nothing) As DataBoxEdgeUserData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

encryptedPassword
AsymmetricEncryptedSecret

The password details.

shareAccessRights
IEnumerable<ShareAccessRight>

List of shares that the user has rights on. This field should not be specified during user creation.

userType
DataBoxEdgeUserType

Type of the user.

Returns

A new DataBoxEdgeUserData instance for mocking.

Applies to