Class OpenShiftManagedClusterInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.containerservice.fluent.models.OpenShiftManagedClusterInner
-
public final class OpenShiftManagedClusterInner extends com.azure.core.management.ResourceOpenShift Managed cluster.
-
-
Constructor Summary
Constructors Constructor Description OpenShiftManagedClusterInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<OpenShiftManagedClusterAgentPoolProfile>agentPoolProfiles()Get the agentPoolProfiles property: Configuration of OpenShift cluster VMs.OpenShiftManagedClusterAuthProfileauthProfile()Get the authProfile property: Configures OpenShift authentication.StringclusterVersion()Get the clusterVersion property: Version of OpenShift specified when creating the cluster.Stringfqdn()Get the fqdn property: Service generated FQDN for OpenShift API server loadbalancer internal hostname.OpenShiftManagedClusterMasterPoolProfilemasterPoolProfile()Get the masterPoolProfile property: Configuration for OpenShift master VMs.NetworkProfilenetworkProfile()Get the networkProfile property: Configuration for OpenShift networking.StringopenShiftVersion()Get the openShiftVersion property: Version of OpenShift specified when creating the cluster.PurchasePlanplan()Get the plan property: Define the resource plan as required by ARM for billing purposes.StringprovisioningState()Get the provisioningState property: The current deployment or provisioning state, which only appears in the response.StringpublicHostname()Get the publicHostname property: Service generated FQDN for OpenShift API server.List<OpenShiftRouterProfile>routerProfiles()Get the routerProfiles property: Configuration for OpenShift router(s).voidvalidate()Validates the instance.OpenShiftManagedClusterInnerwithAgentPoolProfiles(List<OpenShiftManagedClusterAgentPoolProfile> agentPoolProfiles)Set the agentPoolProfiles property: Configuration of OpenShift cluster VMs.OpenShiftManagedClusterInnerwithAuthProfile(OpenShiftManagedClusterAuthProfile authProfile)Set the authProfile property: Configures OpenShift authentication.OpenShiftManagedClusterInnerwithLocation(String location)OpenShiftManagedClusterInnerwithMasterPoolProfile(OpenShiftManagedClusterMasterPoolProfile masterPoolProfile)Set the masterPoolProfile property: Configuration for OpenShift master VMs.OpenShiftManagedClusterInnerwithNetworkProfile(NetworkProfile networkProfile)Set the networkProfile property: Configuration for OpenShift networking.OpenShiftManagedClusterInnerwithOpenShiftVersion(String openShiftVersion)Set the openShiftVersion property: Version of OpenShift specified when creating the cluster.OpenShiftManagedClusterInnerwithPlan(PurchasePlan plan)Set the plan property: Define the resource plan as required by ARM for billing purposes.OpenShiftManagedClusterInnerwithRouterProfiles(List<OpenShiftRouterProfile> routerProfiles)Set the routerProfiles property: Configuration for OpenShift router(s).OpenShiftManagedClusterInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
plan
public PurchasePlan plan()
Get the plan property: Define the resource plan as required by ARM for billing purposes.- Returns:
- the plan value.
-
withPlan
public OpenShiftManagedClusterInner withPlan(PurchasePlan plan)
Set the plan property: Define the resource plan as required by ARM for billing purposes.- Parameters:
plan- the plan value to set.- Returns:
- the OpenShiftManagedClusterInner object itself.
-
withLocation
public OpenShiftManagedClusterInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public OpenShiftManagedClusterInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
provisioningState
public String provisioningState()
Get the provisioningState property: The current deployment or provisioning state, which only appears in the response.- Returns:
- the provisioningState value.
-
openShiftVersion
public String openShiftVersion()
Get the openShiftVersion property: Version of OpenShift specified when creating the cluster.- Returns:
- the openShiftVersion value.
-
withOpenShiftVersion
public OpenShiftManagedClusterInner withOpenShiftVersion(String openShiftVersion)
Set the openShiftVersion property: Version of OpenShift specified when creating the cluster.- Parameters:
openShiftVersion- the openShiftVersion value to set.- Returns:
- the OpenShiftManagedClusterInner object itself.
-
clusterVersion
public String clusterVersion()
Get the clusterVersion property: Version of OpenShift specified when creating the cluster.- Returns:
- the clusterVersion value.
-
publicHostname
public String publicHostname()
Get the publicHostname property: Service generated FQDN for OpenShift API server.- Returns:
- the publicHostname value.
-
fqdn
public String fqdn()
Get the fqdn property: Service generated FQDN for OpenShift API server loadbalancer internal hostname.- Returns:
- the fqdn value.
-
networkProfile
public NetworkProfile networkProfile()
Get the networkProfile property: Configuration for OpenShift networking.- Returns:
- the networkProfile value.
-
withNetworkProfile
public OpenShiftManagedClusterInner withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: Configuration for OpenShift networking.- Parameters:
networkProfile- the networkProfile value to set.- Returns:
- the OpenShiftManagedClusterInner object itself.
-
routerProfiles
public List<OpenShiftRouterProfile> routerProfiles()
Get the routerProfiles property: Configuration for OpenShift router(s).- Returns:
- the routerProfiles value.
-
withRouterProfiles
public OpenShiftManagedClusterInner withRouterProfiles(List<OpenShiftRouterProfile> routerProfiles)
Set the routerProfiles property: Configuration for OpenShift router(s).- Parameters:
routerProfiles- the routerProfiles value to set.- Returns:
- the OpenShiftManagedClusterInner object itself.
-
masterPoolProfile
public OpenShiftManagedClusterMasterPoolProfile masterPoolProfile()
Get the masterPoolProfile property: Configuration for OpenShift master VMs.- Returns:
- the masterPoolProfile value.
-
withMasterPoolProfile
public OpenShiftManagedClusterInner withMasterPoolProfile(OpenShiftManagedClusterMasterPoolProfile masterPoolProfile)
Set the masterPoolProfile property: Configuration for OpenShift master VMs.- Parameters:
masterPoolProfile- the masterPoolProfile value to set.- Returns:
- the OpenShiftManagedClusterInner object itself.
-
agentPoolProfiles
public List<OpenShiftManagedClusterAgentPoolProfile> agentPoolProfiles()
Get the agentPoolProfiles property: Configuration of OpenShift cluster VMs.- Returns:
- the agentPoolProfiles value.
-
withAgentPoolProfiles
public OpenShiftManagedClusterInner withAgentPoolProfiles(List<OpenShiftManagedClusterAgentPoolProfile> agentPoolProfiles)
Set the agentPoolProfiles property: Configuration of OpenShift cluster VMs.- Parameters:
agentPoolProfiles- the agentPoolProfiles value to set.- Returns:
- the OpenShiftManagedClusterInner object itself.
-
authProfile
public OpenShiftManagedClusterAuthProfile authProfile()
Get the authProfile property: Configures OpenShift authentication.- Returns:
- the authProfile value.
-
withAuthProfile
public OpenShiftManagedClusterInner withAuthProfile(OpenShiftManagedClusterAuthProfile authProfile)
Set the authProfile property: Configures OpenShift authentication.- Parameters:
authProfile- the authProfile value to set.- Returns:
- the OpenShiftManagedClusterInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-