共用方式為


OpenShiftManagedClusterAgentPoolProfile Constructors

Definition

Overloads

OpenShiftManagedClusterAgentPoolProfile()

Initializes a new instance of the OpenShiftManagedClusterAgentPoolProfile class.

OpenShiftManagedClusterAgentPoolProfile(String, Int32, OpenShiftContainerServiceVMSize, String, OSType, OpenShiftAgentPoolProfileRole)

Initializes a new instance of the OpenShiftManagedClusterAgentPoolProfile class.

OpenShiftManagedClusterAgentPoolProfile()

Initializes a new instance of the OpenShiftManagedClusterAgentPoolProfile class.

public OpenShiftManagedClusterAgentPoolProfile ();
Public Sub New ()

Applies to

OpenShiftManagedClusterAgentPoolProfile(String, Int32, OpenShiftContainerServiceVMSize, String, OSType, OpenShiftAgentPoolProfileRole)

Initializes a new instance of the OpenShiftManagedClusterAgentPoolProfile class.

public OpenShiftManagedClusterAgentPoolProfile (string name, int count, Microsoft.Azure.Management.ContainerService.Fluent.Models.OpenShiftContainerServiceVMSize vmSize, string subnetCidr = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.OSType osType = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.OpenShiftAgentPoolProfileRole role = default);
new Microsoft.Azure.Management.ContainerService.Fluent.Models.OpenShiftManagedClusterAgentPoolProfile : string * int * Microsoft.Azure.Management.ContainerService.Fluent.Models.OpenShiftContainerServiceVMSize * string * Microsoft.Azure.Management.ContainerService.Fluent.Models.OSType * Microsoft.Azure.Management.ContainerService.Fluent.Models.OpenShiftAgentPoolProfileRole -> Microsoft.Azure.Management.ContainerService.Fluent.Models.OpenShiftManagedClusterAgentPoolProfile
Public Sub New (name As String, count As Integer, vmSize As OpenShiftContainerServiceVMSize, Optional subnetCidr As String = Nothing, Optional osType As OSType = Nothing, Optional role As OpenShiftAgentPoolProfileRole = Nothing)

Parameters

name
String

Unique name of the pool profile in the context of the subscription and resource group.

count
Int32

Number of agents (VMs) to host docker containers.

vmSize
OpenShiftContainerServiceVMSize

Size of agent VMs. Possible values include: 'Standard_D2s_v3', 'Standard_D4s_v3', 'Standard_D8s_v3', 'Standard_D16s_v3', 'Standard_D32s_v3', 'Standard_D64s_v3', 'Standard_DS4_v2', 'Standard_DS5_v2', 'Standard_F8s_v2', 'Standard_F16s_v2', 'Standard_F32s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2', 'Standard_F8s', 'Standard_F16s', 'Standard_E4s_v3', 'Standard_E8s_v3', 'Standard_E16s_v3', 'Standard_E20s_v3', 'Standard_E32s_v3', 'Standard_E64s_v3', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4', 'Standard_GS5', 'Standard_DS12_v2', 'Standard_DS13_v2', 'Standard_DS14_v2', 'Standard_DS15_v2', 'Standard_L4s', 'Standard_L8s', 'Standard_L16s', 'Standard_L32s'

subnetCidr
String

Subnet CIDR for the peering.

osType
OSType

OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'

role
OpenShiftAgentPoolProfileRole

Define the role of the AgentPoolProfile. Possible values include: 'compute', 'infra'

Applies to