Class VmmServerInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.scvmm.fluent.models.VmmServerInner
-
public final class VmmServerInner extends com.azure.core.management.Resource
The VmmServers resource definition.
-
-
Constructor Summary
Constructors Constructor Description VmmServerInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
connectionStatus()
Get the connectionStatus property: Gets or sets the connection status to the vmmServer.VmmServerPropertiesCredentials
credentials()
Get the credentials property: Credentials to connect to VMMServer.String
errorMessage()
Get the errorMessage property: Gets or sets any error message if connection to vmmServer is having any issue.ExtendedLocation
extendedLocation()
Get the extendedLocation property: The extended location.String
fqdn()
Get the fqdn property: Fqdn is the hostname/ip of the vmmServer.Integer
port()
Get the port property: Port is the port on which the vmmServer is listening.String
provisioningState()
Get the provisioningState property: Gets or sets the provisioning state.com.azure.core.management.SystemData
systemData()
Get the systemData property: The system data.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.VmmServerInner
withCredentials(VmmServerPropertiesCredentials credentials)
Set the credentials property: Credentials to connect to VMMServer.VmmServerInner
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location.VmmServerInner
withFqdn(String fqdn)
Set the fqdn property: Fqdn is the hostname/ip of the vmmServer.VmmServerInner
withLocation(String location)
VmmServerInner
withPort(Integer port)
Set the port property: Port is the port on which the vmmServer is listening.VmmServerInner
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: The system data.- Returns:
- the systemData value.
-
extendedLocation
public ExtendedLocation extendedLocation()
Get the extendedLocation property: The extended location.- Returns:
- the extendedLocation value.
-
withExtendedLocation
public VmmServerInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: The extended location.- Parameters:
extendedLocation
- the extendedLocation value to set.- Returns:
- the VmmServerInner object itself.
-
withLocation
public VmmServerInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public VmmServerInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
credentials
public VmmServerPropertiesCredentials credentials()
Get the credentials property: Credentials to connect to VMMServer.- Returns:
- the credentials value.
-
withCredentials
public VmmServerInner withCredentials(VmmServerPropertiesCredentials credentials)
Set the credentials property: Credentials to connect to VMMServer.- Parameters:
credentials
- the credentials value to set.- Returns:
- the VmmServerInner object itself.
-
fqdn
public String fqdn()
Get the fqdn property: Fqdn is the hostname/ip of the vmmServer.- Returns:
- the fqdn value.
-
withFqdn
public VmmServerInner withFqdn(String fqdn)
Set the fqdn property: Fqdn is the hostname/ip of the vmmServer.- Parameters:
fqdn
- the fqdn value to set.- Returns:
- the VmmServerInner object itself.
-
port
public Integer port()
Get the port property: Port is the port on which the vmmServer is listening.- Returns:
- the port value.
-
withPort
public VmmServerInner 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 VmmServerInner object itself.
-
connectionStatus
public String connectionStatus()
Get the connectionStatus property: Gets or sets the connection status to the vmmServer.- Returns:
- the connectionStatus value.
-
errorMessage
public String errorMessage()
Get the errorMessage property: Gets or sets any error message if connection to vmmServer is having any issue.- Returns:
- the errorMessage value.
-
uuid
public String uuid()
Get the uuid property: Unique ID of vmmServer.- Returns:
- the uuid value.
-
version
public String version()
Get the version property: Version is the version of the vmmSever.- Returns:
- the version value.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Gets or sets the provisioning state.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-