共用方式為


ArmDataBoxEdgeModelFactory.EdgeKubernetesRole Method

Definition

Initializes a new instance of EdgeKubernetesRole.

public static Azure.ResourceManager.DataBoxEdge.Models.EdgeKubernetesRole EdgeKubernetesRole (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeOSPlatformType? hostPlatform = default, Azure.ResourceManager.DataBoxEdge.Models.EdgeKubernetesState? provisioningState = default, Azure.ResourceManager.DataBoxEdge.Models.HostPlatformType? hostPlatformType = default, Azure.ResourceManager.DataBoxEdge.Models.EdgeKubernetesClusterInfo kubernetesClusterInfo = default, Azure.ResourceManager.DataBoxEdge.Models.EdgeKubernetesRoleResources kubernetesRoleResources = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeRoleStatus? roleStatus = default);
static member EdgeKubernetesRole : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeOSPlatformType> * Nullable<Azure.ResourceManager.DataBoxEdge.Models.EdgeKubernetesState> * Nullable<Azure.ResourceManager.DataBoxEdge.Models.HostPlatformType> * Azure.ResourceManager.DataBoxEdge.Models.EdgeKubernetesClusterInfo * Azure.ResourceManager.DataBoxEdge.Models.EdgeKubernetesRoleResources * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeRoleStatus> -> Azure.ResourceManager.DataBoxEdge.Models.EdgeKubernetesRole
Public Shared Function EdgeKubernetesRole (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional hostPlatform As Nullable(Of DataBoxEdgeOSPlatformType) = Nothing, Optional provisioningState As Nullable(Of EdgeKubernetesState) = Nothing, Optional hostPlatformType As Nullable(Of HostPlatformType) = Nothing, Optional kubernetesClusterInfo As EdgeKubernetesClusterInfo = Nothing, Optional kubernetesRoleResources As EdgeKubernetesRoleResources = Nothing, Optional roleStatus As Nullable(Of DataBoxEdgeRoleStatus) = Nothing) As EdgeKubernetesRole

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

hostPlatform
Nullable<DataBoxEdgeOSPlatformType>

Host OS supported by the Kubernetes role.

provisioningState
Nullable<EdgeKubernetesState>

State of Kubernetes deployment.

hostPlatformType
Nullable<HostPlatformType>

Platform where the runtime is hosted.

kubernetesClusterInfo
EdgeKubernetesClusterInfo

Kubernetes cluster configuration.

kubernetesRoleResources
EdgeKubernetesRoleResources

Kubernetes role resources.

roleStatus
Nullable<DataBoxEdgeRoleStatus>

Role status.

Returns

A new EdgeKubernetesRole instance for mocking.

Applies to