VmmServerProperties Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. VmmServerProperties
- com.
Implements
public final class VmmServerProperties
implements JsonSerializable<VmmServerProperties>
Defines the resource properties.
Constructor Summary
| Constructor | Description |
|---|---|
| VmmServerProperties() |
Creates an instance of Vmm |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
connectionStatus()
Get the connection |
|
Vmm |
credentials()
Get the credentials property: Credentials to connect to Vmm |
| String |
errorMessage()
Get the error |
| String |
fqdn()
Get the fqdn property: Fqdn is the hostname/ip of the vmm |
|
static
Vmm |
fromJson(JsonReader jsonReader)
Reads an instance of Vmm |
| Integer |
port()
Get the port property: Port is the port on which the vmm |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
uuid()
Get the uuid property: Unique ID of vmm |
| void |
validate()
Validates the instance. |
| String |
version()
Get the version property: Version is the version of the vmm |
|
Vmm |
withCredentials(VmmCredential credentials)
Set the credentials property: Credentials to connect to Vmm |
|
Vmm |
withFqdn(String fqdn)
Set the fqdn property: Fqdn is the hostname/ip of the vmm |
|
Vmm |
withPort(Integer port)
Set the port property: Port is the port on which the vmm |
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:
credentials
public VmmCredential credentials()
Get the credentials property: Credentials to connect to VmmServer.
Returns:
errorMessage
public String errorMessage()
Get the errorMessage property: Gets any error message if connection to vmmServer is having any issue.
Returns:
fqdn
public String fqdn()
Get the fqdn property: Fqdn is the hostname/ip of the vmmServer.
Returns:
fromJson
public static VmmServerProperties fromJson(JsonReader jsonReader)
Reads an instance of VmmServerProperties from the JsonReader.
Parameters:
Returns:
Throws:
port
public Integer port()
Get the port property: Port is the port on which the vmmServer is listening.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the resource.
Returns:
toJson
uuid
public String uuid()
Get the uuid property: Unique ID of vmmServer.
Returns:
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Version is the version of the vmmSever.
Returns:
withCredentials
public VmmServerProperties withCredentials(VmmCredential credentials)
Set the credentials property: Credentials to connect to VmmServer.
Parameters:
Returns:
withFqdn
public VmmServerProperties withFqdn(String fqdn)
Set the fqdn property: Fqdn is the hostname/ip of the vmmServer.
Parameters:
Returns:
withPort
public VmmServerProperties withPort(Integer port)
Set the port property: Port is the port on which the vmmServer is listening.
Parameters:
Returns: