次の方法で共有


AdminCredentialsInner Class

  • java.lang.Object
    • com.azure.resourcemanager.avs.fluent.models.AdminCredentialsInner

Implements

public final class AdminCredentialsInner
implements JsonSerializable<AdminCredentialsInner>

Administrative credentials for accessing vCenter and NSX-T.

Constructor Summary

Constructor Description
AdminCredentialsInner()

Creates an instance of AdminCredentialsInner class.

Method Summary

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

Reads an instance of AdminCredentialsInner from the JsonReader.

String nsxtPassword()

Get the nsxtPassword property: NSX-T Manager password.

String nsxtUsername()

Get the nsxtUsername property: NSX-T Manager username.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String vcenterPassword()

Get the vcenterPassword property: vCenter admin password.

String vcenterUsername()

Get the vcenterUsername property: vCenter admin username.

Methods inherited from java.lang.Object

Constructor Details

AdminCredentialsInner

public AdminCredentialsInner()

Creates an instance of AdminCredentialsInner class.

Method Details

fromJson

public static AdminCredentialsInner fromJson(JsonReader jsonReader)

Reads an instance of AdminCredentialsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nsxtPassword

public String nsxtPassword()

Get the nsxtPassword property: NSX-T Manager password.

Returns:

the nsxtPassword value.

nsxtUsername

public String nsxtUsername()

Get the nsxtUsername property: NSX-T Manager username.

Returns:

the nsxtUsername value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vcenterPassword

public String vcenterPassword()

Get the vcenterPassword property: vCenter admin password.

Returns:

the vcenterPassword value.

vcenterUsername

public String vcenterUsername()

Get the vcenterUsername property: vCenter admin username.

Returns:

the vcenterUsername value.

Applies to