Partager via


ArmDataBoxEdgeModelFactory.MecRole Méthode

Définition

Initialise une nouvelle instance de 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

Paramètres

name
String

Nom.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

connectionString
AsymmetricEncryptedSecret

Clé d’activation du MEC.

controllerEndpoint
String

Point de terminaison du contrôleur.

resourceUniqueId
String

ID unique de la ressource.

roleStatus
Nullable<DataBoxEdgeRoleStatus>

Status de rôle.

Retours

Une nouvelle MecRole instance de moqueries.

S’applique à