Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.containerservice; import com.fasterxml.jackson.annotation.JsonProperty;
OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs.
/** * OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift * master VMs. */
public class OpenShiftManagedClusterMasterPoolProfile {
Unique name of the master pool profile in the context of the subscription and resource group.
/** * Unique name of the master pool profile in the context of the * subscription and resource group. */
@JsonProperty(value = "name") private String name;
Number of masters (VMs) to host docker containers. The default value is 3.
/** * Number of masters (VMs) to host docker containers. The default value is * 3. */
@JsonProperty(value = "count", required = true) private int count;
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'.
/** * 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'. */
@JsonProperty(value = "vmSize", required = true) private OpenShiftContainerServiceVMSize vmSize;
Subnet CIDR for the peering.
/** * Subnet CIDR for the peering. */
@JsonProperty(value = "subnetCidr") private String subnetCidr;
OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'.
/** * OsType to be used to specify os type. Choose from Linux and Windows. * Default to Linux. Possible values include: 'Linux', 'Windows'. */
@JsonProperty(value = "osType") private OSType osType;
Get unique name of the master pool profile in the context of the subscription and resource group.
Returns:the name value
/** * Get unique name of the master pool profile in the context of the subscription and resource group. * * @return the name value */
public String name() { return this.name; }
Set unique name of the master pool profile in the context of the subscription and resource group.
Params:
  • name – the name value to set
Returns:the OpenShiftManagedClusterMasterPoolProfile object itself.
/** * Set unique name of the master pool profile in the context of the subscription and resource group. * * @param name the name value to set * @return the OpenShiftManagedClusterMasterPoolProfile object itself. */
public OpenShiftManagedClusterMasterPoolProfile withName(String name) { this.name = name; return this; }
Get number of masters (VMs) to host docker containers. The default value is 3.
Returns:the count value
/** * Get number of masters (VMs) to host docker containers. The default value is 3. * * @return the count value */
public int count() { return this.count; }
Set number of masters (VMs) to host docker containers. The default value is 3.
Params:
  • count – the count value to set
Returns:the OpenShiftManagedClusterMasterPoolProfile object itself.
/** * Set number of masters (VMs) to host docker containers. The default value is 3. * * @param count the count value to set * @return the OpenShiftManagedClusterMasterPoolProfile object itself. */
public OpenShiftManagedClusterMasterPoolProfile withCount(int count) { this.count = count; return this; }
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
/** * 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'. * * @return the vmSize value */
public OpenShiftContainerServiceVMSize vmSize() { return this.vmSize; }
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'.
Params:
  • vmSize – the vmSize value to set
Returns:the OpenShiftManagedClusterMasterPoolProfile object itself.
/** * 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'. * * @param vmSize the vmSize value to set * @return the OpenShiftManagedClusterMasterPoolProfile object itself. */
public OpenShiftManagedClusterMasterPoolProfile withVmSize(OpenShiftContainerServiceVMSize vmSize) { this.vmSize = vmSize; return this; }
Get subnet CIDR for the peering.
Returns:the subnetCidr value
/** * Get subnet CIDR for the peering. * * @return the subnetCidr value */
public String subnetCidr() { return this.subnetCidr; }
Set subnet CIDR for the peering.
Params:
  • subnetCidr – the subnetCidr value to set
Returns:the OpenShiftManagedClusterMasterPoolProfile object itself.
/** * Set subnet CIDR for the peering. * * @param subnetCidr the subnetCidr value to set * @return the OpenShiftManagedClusterMasterPoolProfile object itself. */
public OpenShiftManagedClusterMasterPoolProfile withSubnetCidr(String subnetCidr) { this.subnetCidr = subnetCidr; return this; }
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
/** * Get osType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'. * * @return the osType value */
public OSType osType() { return this.osType; }
Set osType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'.
Params:
  • osType – the osType value to set
Returns:the OpenShiftManagedClusterMasterPoolProfile object itself.
/** * Set osType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'. * * @param osType the osType value to set * @return the OpenShiftManagedClusterMasterPoolProfile object itself. */
public OpenShiftManagedClusterMasterPoolProfile withOsType(OSType osType) { this.osType = osType; return this; } }