VmmServerProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.VmmServerProperties

Implements

public final class VmmServerProperties
implements JsonSerializable<VmmServerProperties>

Defines the resource properties.

Constructor Summary

Constructor Description
VmmServerProperties()

Creates an instance of VmmServerProperties class.

Method Summary

Modifier and Type Method and Description
String connectionStatus()

Get the connectionStatus property: Gets the connection status to the vmmServer.

VmmCredential credentials()

Get the credentials property: Credentials to connect to VmmServer.

String errorMessage()

Get the errorMessage property: Gets any error message if connection to vmmServer is having any issue.

String fqdn()

Get the fqdn property: Fqdn is the hostname/ip of the vmmServer.

static VmmServerProperties fromJson(JsonReader jsonReader)

Reads an instance of VmmServerProperties from the JsonReader.

Integer port()

Get the port property: Port is the port on which the vmmServer is listening.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String uuid()

Get the uuid property: Unique ID of vmmServer.

void validate()

Validates the instance.

String version()

Get the version property: Version is the version of the vmmSever.

VmmServerProperties withCredentials(VmmCredential credentials)

Set the credentials property: Credentials to connect to VmmServer.

VmmServerProperties withFqdn(String fqdn)

Set the fqdn property: Fqdn is the hostname/ip of the vmmServer.

VmmServerProperties withPort(Integer port)

Set the port property: Port is the port on which the vmmServer is listening.

Methods inherited from java.lang.Object

Constructor Details

VmmServerProperties

public VmmServerProperties()

Creates an instance of VmmServerProperties class.

Method Details

connectionStatus

public String connectionStatus()

Get the connectionStatus property: Gets the connection status to the vmmServer.

Returns:

the connectionStatus value.

credentials

public VmmCredential credentials()

Get the credentials property: Credentials to connect to VmmServer.

Returns:

the credentials value.

errorMessage

public String errorMessage()

Get the errorMessage property: Gets any error message if connection to vmmServer is having any issue.

Returns:

the errorMessage value.

fqdn

public String fqdn()

Get the fqdn property: Fqdn is the hostname/ip of the vmmServer.

Returns:

the fqdn value.

fromJson

public static VmmServerProperties fromJson(JsonReader jsonReader)

Reads an instance of VmmServerProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

port

public Integer port()

Get the port property: Port is the port on which the vmmServer is listening.

Returns:

the port value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uuid

public String uuid()

Get the uuid property: Unique ID of vmmServer.

Returns:

the uuid value.

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: Version is the version of the vmmSever.

Returns:

the version value.

withCredentials

public VmmServerProperties withCredentials(VmmCredential credentials)

Set the credentials property: Credentials to connect to VmmServer.

Parameters:

credentials - the credentials value to set.

Returns:

the VmmServerProperties object itself.

withFqdn

public VmmServerProperties withFqdn(String fqdn)

Set the fqdn property: Fqdn is the hostname/ip of the vmmServer.

Parameters:

fqdn - the fqdn value to set.

Returns:

the VmmServerProperties object itself.

withPort

public VmmServerProperties withPort(Integer port)

Set the port property: Port is the port on which the vmmServer is listening.

Parameters:

port - the port value to set.

Returns:

the VmmServerProperties object itself.

Applies to