ControlPlaneNodePatchConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.ControlPlaneNodePatchConfiguration

Implements

public final class ControlPlaneNodePatchConfiguration
implements JsonSerializable<ControlPlaneNodePatchConfiguration>

ControlPlaneNodePatchConfiguration represents the properties of the control plane that can be patched for this Kubernetes cluster.

Constructor Summary

Constructor Description
ControlPlaneNodePatchConfiguration()

Creates an instance of ControlPlaneNodePatchConfiguration class.

Method Summary

Modifier and Type Method and Description
AdministratorConfigurationPatch administratorConfiguration()

Get the administratorConfiguration property: The configuration of administrator credentials for the control plane nodes.

Long count()

Get the count property: The number of virtual machines that use this configuration.

static ControlPlaneNodePatchConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ControlPlaneNodePatchConfiguration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ControlPlaneNodePatchConfiguration withAdministratorConfiguration(AdministratorConfigurationPatch administratorConfiguration)

Set the administratorConfiguration property: The configuration of administrator credentials for the control plane nodes.

ControlPlaneNodePatchConfiguration withCount(Long count)

Set the count property: The number of virtual machines that use this configuration.

Methods inherited from java.lang.Object

Constructor Details

ControlPlaneNodePatchConfiguration

public ControlPlaneNodePatchConfiguration()

Creates an instance of ControlPlaneNodePatchConfiguration class.

Method Details

administratorConfiguration

public AdministratorConfigurationPatch administratorConfiguration()

Get the administratorConfiguration property: The configuration of administrator credentials for the control plane nodes.

Returns:

the administratorConfiguration value.

count

public Long count()

Get the count property: The number of virtual machines that use this configuration.

Returns:

the count value.

fromJson

public static ControlPlaneNodePatchConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ControlPlaneNodePatchConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ControlPlaneNodePatchConfiguration.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdministratorConfiguration

public ControlPlaneNodePatchConfiguration withAdministratorConfiguration(AdministratorConfigurationPatch administratorConfiguration)

Set the administratorConfiguration property: The configuration of administrator credentials for the control plane nodes.

Parameters:

administratorConfiguration - the administratorConfiguration value to set.

Returns:

the ControlPlaneNodePatchConfiguration object itself.

withCount

public ControlPlaneNodePatchConfiguration withCount(Long count)

Set the count property: The number of virtual machines that use this configuration.

Parameters:

count - the count value to set.

Returns:

the ControlPlaneNodePatchConfiguration object itself.

Applies to