OpenShiftManagedClusterInner Class

public final class OpenShiftManagedClusterInner
extends Resource

OpenShift Managed cluster.

Constructor Summary

Constructor Description
OpenShiftManagedClusterInner()

Creates an instance of OpenShiftManagedClusterInner class.

Method Summary

Modifier and Type Method and Description
List<OpenShiftManagedClusterAgentPoolProfile> agentPoolProfiles()

Get the agentPoolProfiles property: Configuration of OpenShift cluster VMs.

OpenShiftManagedClusterAuthProfile authProfile()

Get the authProfile property: Configures OpenShift authentication.

String clusterVersion()

Get the clusterVersion property: Version of OpenShift specified when creating the cluster.

String fqdn()

Get the fqdn property: Service generated FQDN for OpenShift API server loadbalancer internal hostname.

static OpenShiftManagedClusterInner fromJson(JsonReader jsonReader)

Reads an instance of OpenShiftManagedClusterInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

OpenShiftManagedClusterMasterPoolProfile masterPoolProfile()

Get the masterPoolProfile property: Configuration for OpenShift master VMs.

String name()

Get the name property: The name of the resource.

NetworkProfile networkProfile()

Get the networkProfile property: Configuration for OpenShift networking.

String openShiftVersion()

Get the openShiftVersion property: Version of OpenShift specified when creating the cluster.

PurchasePlan plan()

Get the plan property: Define the resource plan as required by ARM for billing purposes.

String provisioningState()

Get the provisioningState property: The current deployment or provisioning state, which only appears in the response.

String publicHostname()

Get the publicHostname property: Service generated FQDN for OpenShift API server.

List<OpenShiftRouterProfile> routerProfiles()

Get the routerProfiles property: Configuration for OpenShift router(s).

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

OpenShiftManagedClusterInner withAgentPoolProfiles(List<OpenShiftManagedClusterAgentPoolProfile> agentPoolProfiles)

Set the agentPoolProfiles property: Configuration of OpenShift cluster VMs.

OpenShiftManagedClusterInner withAuthProfile(OpenShiftManagedClusterAuthProfile authProfile)

Set the authProfile property: Configures OpenShift authentication.

OpenShiftManagedClusterInner withLocation(String location)
OpenShiftManagedClusterInner withMasterPoolProfile(OpenShiftManagedClusterMasterPoolProfile masterPoolProfile)

Set the masterPoolProfile property: Configuration for OpenShift master VMs.

OpenShiftManagedClusterInner withNetworkProfile(NetworkProfile networkProfile)

Set the networkProfile property: Configuration for OpenShift networking.

OpenShiftManagedClusterInner withOpenShiftVersion(String openShiftVersion)

Set the openShiftVersion property: Version of OpenShift specified when creating the cluster.

OpenShiftManagedClusterInner withPlan(PurchasePlan plan)

Set the plan property: Define the resource plan as required by ARM for billing purposes.

OpenShiftManagedClusterInner withRouterProfiles(List<OpenShiftRouterProfile> routerProfiles)

Set the routerProfiles property: Configuration for OpenShift router(s).

OpenShiftManagedClusterInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

OpenShiftManagedClusterInner

public OpenShiftManagedClusterInner()

Creates an instance of OpenShiftManagedClusterInner class.

Method Details

agentPoolProfiles

public List agentPoolProfiles()

Get the agentPoolProfiles property: Configuration of OpenShift cluster VMs.

Returns:

the agentPoolProfiles value.

authProfile

public OpenShiftManagedClusterAuthProfile authProfile()

Get the authProfile property: Configures OpenShift authentication.

Returns:

the authProfile value.

clusterVersion

public String clusterVersion()

Get the clusterVersion property: Version of OpenShift specified when creating the cluster.

Returns:

the clusterVersion value.

fqdn

public String fqdn()

Get the fqdn property: Service generated FQDN for OpenShift API server loadbalancer internal hostname.

Returns:

the fqdn value.

fromJson

public static OpenShiftManagedClusterInner fromJson(JsonReader jsonReader)

Reads an instance of OpenShiftManagedClusterInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OpenShiftManagedClusterInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

OpenShiftManagedClusterInner.id()

Returns:

the id value.

masterPoolProfile

public OpenShiftManagedClusterMasterPoolProfile masterPoolProfile()

Get the masterPoolProfile property: Configuration for OpenShift master VMs.

Returns:

the masterPoolProfile value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

OpenShiftManagedClusterInner.name()

Returns:

the name value.

networkProfile

public NetworkProfile networkProfile()

Get the networkProfile property: Configuration for OpenShift networking.

Returns:

the networkProfile value.

openShiftVersion

public String openShiftVersion()

Get the openShiftVersion property: Version of OpenShift specified when creating the cluster.

Returns:

the openShiftVersion value.

plan

public PurchasePlan plan()

Get the plan property: Define the resource plan as required by ARM for billing purposes.

Returns:

the plan value.

provisioningState

public String provisioningState()

Get the provisioningState property: The current deployment or provisioning state, which only appears in the response.

Returns:

the provisioningState value.

publicHostname

public String publicHostname()

Get the publicHostname property: Service generated FQDN for OpenShift API server.

Returns:

the publicHostname value.

routerProfiles

public List routerProfiles()

Get the routerProfiles property: Configuration for OpenShift router(s).

Returns:

the routerProfiles value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

OpenShiftManagedClusterInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

OpenShiftManagedClusterInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAgentPoolProfiles

public OpenShiftManagedClusterInner withAgentPoolProfiles(List agentPoolProfiles)

Set the agentPoolProfiles property: Configuration of OpenShift cluster VMs.

Parameters:

agentPoolProfiles - the agentPoolProfiles value to set.

Returns:

the OpenShiftManagedClusterInner object itself.

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.

withLocation

public OpenShiftManagedClusterInner withLocation(String location)

Overrides:

OpenShiftManagedClusterInner.withLocation(String location)

Parameters:

location

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.

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.

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.

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.

withRouterProfiles

public OpenShiftManagedClusterInner withRouterProfiles(List routerProfiles)

Set the routerProfiles property: Configuration for OpenShift router(s).

Parameters:

routerProfiles - the routerProfiles value to set.

Returns:

the OpenShiftManagedClusterInner object itself.

withTags

public OpenShiftManagedClusterInner withTags(Map tags)

Overrides:

OpenShiftManagedClusterInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to