Class OpenShiftManagedClusterAgentPoolProfile

java.lang.Object
com.microsoft.azure.management.containerservice.OpenShiftManagedClusterAgentPoolProfile

public class OpenShiftManagedClusterAgentPoolProfile extends Object
Defines the configuration of the OpenShift cluster VMs.
  • Constructor Details

    • OpenShiftManagedClusterAgentPoolProfile

      public OpenShiftManagedClusterAgentPoolProfile()
  • Method Details

    • name

      public String name()
      Get unique name of the pool profile in the context of the subscription and resource group.
      Returns:
      the name value
    • withName

      Set unique name of the pool profile in the context of the subscription and resource group.
      Parameters:
      name - the name value to set
      Returns:
      the OpenShiftManagedClusterAgentPoolProfile object itself.
    • count

      public int count()
      Get number of agents (VMs) to host docker containers.
      Returns:
      the count value
    • withCount

      public OpenShiftManagedClusterAgentPoolProfile withCount(int count)
      Set number of agents (VMs) to host docker containers.
      Parameters:
      count - the count value to set
      Returns:
      the OpenShiftManagedClusterAgentPoolProfile object itself.
    • vmSize

      Get 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'.
      Returns:
      the vmSize value
    • withVmSize

      Set 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'.
      Parameters:
      vmSize - the vmSize value to set
      Returns:
      the OpenShiftManagedClusterAgentPoolProfile object itself.
    • subnetCidr

      public String subnetCidr()
      Get subnet CIDR for the peering.
      Returns:
      the subnetCidr value
    • withSubnetCidr

      public OpenShiftManagedClusterAgentPoolProfile withSubnetCidr(String subnetCidr)
      Set subnet CIDR for the peering.
      Parameters:
      subnetCidr - the subnetCidr value to set
      Returns:
      the OpenShiftManagedClusterAgentPoolProfile object itself.
    • osType

      public OSType osType()
      Get osType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'.
      Returns:
      the osType value
    • withOsType

      public OpenShiftManagedClusterAgentPoolProfile withOsType(OSType osType)
      Set osType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'.
      Parameters:
      osType - the osType value to set
      Returns:
      the OpenShiftManagedClusterAgentPoolProfile object itself.
    • role

      Get define the role of the AgentPoolProfile. Possible values include: 'compute', 'infra'.
      Returns:
      the role value
    • withRole

      Set define the role of the AgentPoolProfile. Possible values include: 'compute', 'infra'.
      Parameters:
      role - the role value to set
      Returns:
      the OpenShiftManagedClusterAgentPoolProfile object itself.