public class OpenShiftManagedClusterMasterPoolProfile extends Object
| Constructor and Description |
|---|
OpenShiftManagedClusterMasterPoolProfile() |
| Modifier and Type | Method and Description |
|---|---|
int |
count()
Get number of masters (VMs) to host docker containers.
|
String |
name()
Get unique name of the master pool profile in the context of the subscription and resource group.
|
OSType |
osType()
Get osType to be used to specify os type.
|
String |
subnetCidr()
Get subnet CIDR for the peering.
|
OpenShiftContainerServiceVMSize |
vmSize()
Get size of agent VMs.
|
OpenShiftManagedClusterMasterPoolProfile |
withCount(int count)
Set number of masters (VMs) to host docker containers.
|
OpenShiftManagedClusterMasterPoolProfile |
withName(String name)
Set unique name of the master pool profile in the context of the subscription and resource group.
|
OpenShiftManagedClusterMasterPoolProfile |
withOsType(OSType osType)
Set osType to be used to specify os type.
|
OpenShiftManagedClusterMasterPoolProfile |
withSubnetCidr(String subnetCidr)
Set subnet CIDR for the peering.
|
OpenShiftManagedClusterMasterPoolProfile |
withVmSize(OpenShiftContainerServiceVMSize vmSize)
Set size of agent VMs.
|
public OpenShiftManagedClusterMasterPoolProfile()
public String name()
public OpenShiftManagedClusterMasterPoolProfile withName(String name)
name - the name value to setpublic int count()
public OpenShiftManagedClusterMasterPoolProfile withCount(int count)
count - the count value to setpublic OpenShiftContainerServiceVMSize vmSize()
public OpenShiftManagedClusterMasterPoolProfile withVmSize(OpenShiftContainerServiceVMSize vmSize)
vmSize - the vmSize value to setpublic String subnetCidr()
public OpenShiftManagedClusterMasterPoolProfile withSubnetCidr(String subnetCidr)
subnetCidr - the subnetCidr value to setpublic OSType osType()
public OpenShiftManagedClusterMasterPoolProfile withOsType(OSType osType)
osType - the osType value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/