AdministratorConfigurationPatch Class

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

Implements

public final class AdministratorConfigurationPatch
implements JsonSerializable<AdministratorConfigurationPatch>

AdministratorConfigurationPatch represents the patching capabilities for the administrator configuration.

Constructor Summary

Constructor Description
AdministratorConfigurationPatch()

Creates an instance of AdministratorConfigurationPatch class.

Method Summary

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

Reads an instance of AdministratorConfigurationPatch 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.

AdministratorConfigurationPatch 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

AdministratorConfigurationPatch

public AdministratorConfigurationPatch()

Creates an instance of AdministratorConfigurationPatch class.

Method Details

fromJson

public static AdministratorConfigurationPatch fromJson(JsonReader jsonReader)

Reads an instance of AdministratorConfigurationPatch from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 AdministratorConfigurationPatch 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 AdministratorConfigurationPatch object itself.

Applies to