Udostępnij za pośrednictwem


OpenShiftManagedClusterAgentPoolProfile Class

Definition

Defines the configuration of the OpenShift cluster VMs.

public class OpenShiftManagedClusterAgentPoolProfile
type OpenShiftManagedClusterAgentPoolProfile = class
Public Class OpenShiftManagedClusterAgentPoolProfile
Inheritance
OpenShiftManagedClusterAgentPoolProfile

Constructors

OpenShiftManagedClusterAgentPoolProfile()

Initializes a new instance of the OpenShiftManagedClusterAgentPoolProfile class.

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

Initializes a new instance of the OpenShiftManagedClusterAgentPoolProfile class.

Properties

Count

Gets or sets number of agents (VMs) to host docker containers.

Name

Gets or sets unique name of the pool profile in the context of the subscription and resource group.

OsType

Gets or sets osType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'

Role

Gets or sets define the role of the AgentPoolProfile. Possible values include: 'compute', 'infra'

SubnetCidr

Gets or sets subnet CIDR for the peering.

VmSize

Gets or sets 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'

Methods

Validate()

Validate the object.

Applies to