다음을 통해 공유


ArmDataBoxEdgeModelFactory.MecRole Method

Definition

Initializes a new instance of MecRole.

public static Azure.ResourceManager.DataBoxEdge.Models.MecRole MecRole (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.DataBoxEdge.Models.AsymmetricEncryptedSecret connectionString = default, string controllerEndpoint = default, string resourceUniqueId = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeRoleStatus? roleStatus = default);
static member MecRole : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.DataBoxEdge.Models.AsymmetricEncryptedSecret * string * string * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeRoleStatus> -> Azure.ResourceManager.DataBoxEdge.Models.MecRole
Public Shared Function MecRole (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional connectionString As AsymmetricEncryptedSecret = Nothing, Optional controllerEndpoint As String = Nothing, Optional resourceUniqueId As String = Nothing, Optional roleStatus As Nullable(Of DataBoxEdgeRoleStatus) = Nothing) As MecRole

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

connectionString
AsymmetricEncryptedSecret

Activation key of the MEC.

controllerEndpoint
String

Controller Endpoint.

resourceUniqueId
String

Unique Id of the Resource.

roleStatus
Nullable<DataBoxEdgeRoleStatus>

Role status.

Returns

A new MecRole instance for mocking.

Applies to