LocalUserKeysInner Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.fluent.models.LocalUserKeysInner

Implements

public final class LocalUserKeysInner
implements JsonSerializable<LocalUserKeysInner>

The Storage Account Local User keys.

Constructor Summary

Constructor Description
LocalUserKeysInner()

Creates an instance of LocalUserKeysInner class.

Method Summary

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

Reads an instance of LocalUserKeysInner from the JsonReader.

String sharedKey()

Get the sharedKey property: Auto generated by the server for SMB authentication.

List<SshPublicKey> sshAuthorizedKeys()

Get the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LocalUserKeysInner withSshAuthorizedKeys(List<SshPublicKey> sshAuthorizedKeys)

Set the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.

Methods inherited from java.lang.Object

Constructor Details

LocalUserKeysInner

public LocalUserKeysInner()

Creates an instance of LocalUserKeysInner class.

Method Details

fromJson

public static LocalUserKeysInner fromJson(JsonReader jsonReader)

Reads an instance of LocalUserKeysInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

sharedKey

public String sharedKey()

Get the sharedKey property: Auto generated by the server for SMB authentication.

Returns:

the sharedKey value.

sshAuthorizedKeys

public List sshAuthorizedKeys()

Get the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.

Returns:

the sshAuthorizedKeys value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withSshAuthorizedKeys

public LocalUserKeysInner withSshAuthorizedKeys(List sshAuthorizedKeys)

Set the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP.

Parameters:

sshAuthorizedKeys - the sshAuthorizedKeys value to set.

Returns:

the LocalUserKeysInner object itself.

Applies to