NodePoolAdministratorConfigurationPatch Class

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

Implements

public final class NodePoolAdministratorConfigurationPatch
implements JsonSerializable<NodePoolAdministratorConfigurationPatch>

NodePoolAdministratorConfigurationPatch represents the patching capabilities for the administrator configuration.

Constructor Summary

Constructor Description
NodePoolAdministratorConfigurationPatch()

Creates an instance of NodePoolAdministratorConfigurationPatch class.

Method Summary

Modifier and Type Method and Description
static NodePoolAdministratorConfigurationPatch fromJson(JsonReader jsonReader)

Reads an instance of NodePoolAdministratorConfigurationPatch from the JsonReader.

List<SshPublicKey> sshPublicKeys()

Get the sshPublicKeys property: SshPublicKey represents the public key used to authenticate with a resource through SSH.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NodePoolAdministratorConfigurationPatch withSshPublicKeys(List<SshPublicKey> sshPublicKeys)

Set the sshPublicKeys property: SshPublicKey represents the public key used to authenticate with a resource through SSH.

Methods inherited from java.lang.Object

Constructor Details

NodePoolAdministratorConfigurationPatch

public NodePoolAdministratorConfigurationPatch()

Creates an instance of NodePoolAdministratorConfigurationPatch class.

Method Details

fromJson

public static NodePoolAdministratorConfigurationPatch fromJson(JsonReader jsonReader)

Reads an instance of NodePoolAdministratorConfigurationPatch from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NodePoolAdministratorConfigurationPatch 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 NodePoolAdministratorConfigurationPatch.

sshPublicKeys

public List<SshPublicKey> sshPublicKeys()

Get the sshPublicKeys property: SshPublicKey represents the public key used to authenticate with a resource through SSH.

Returns:

the sshPublicKeys value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withSshPublicKeys

public NodePoolAdministratorConfigurationPatch withSshPublicKeys(List<SshPublicKey> sshPublicKeys)

Set the sshPublicKeys property: SshPublicKey represents the public key used to authenticate with a resource through SSH.

Parameters:

sshPublicKeys - the sshPublicKeys value to set.

Returns:

the NodePoolAdministratorConfigurationPatch object itself.

Applies to