VirtualMachineInstanceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. connectedvmware. fluent. models. VirtualMachineInstanceProperties
- com.
Implements
public final class VirtualMachineInstanceProperties
implements JsonSerializable<VirtualMachineInstanceProperties>
Describes the properties of a Virtual Machine Instance.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualMachineInstanceProperties() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
|
Hardware |
hardwareProfile()
Get the hardware |
|
Infrastructure |
infrastructureProfile()
Get the infrastructure |
|
Network |
networkProfile()
Get the network |
|
Os |
osProfile()
Get the os |
|
Placement |
placementProfile()
Get the placement |
| String |
powerState()
Get the power |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
resourceUid()
Get the resource |
|
Security |
securityProfile()
Get the security |
|
List<Resource |
statuses()
Get the statuses property: The resource status information. |
|
Storage |
storageProfile()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Virtual |
withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardware |
|
Virtual |
withInfrastructureProfile(InfrastructureProfile infrastructureProfile)
Set the infrastructure |
|
Virtual |
withNetworkProfile(NetworkProfile networkProfile)
Set the network |
|
Virtual |
withOsProfile(OsProfileForVMInstance osProfile)
Set the os |
|
Virtual |
withPlacementProfile(PlacementProfile placementProfile)
Set the placement |
|
Virtual |
withSecurityProfile(SecurityProfile securityProfile)
Set the security |
|
Virtual |
withStorageProfile(StorageProfile storageProfile)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineInstanceProperties
public VirtualMachineInstanceProperties()
Creates an instance of VirtualMachineInstanceProperties class.
Method Details
fromJson
public static VirtualMachineInstanceProperties fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineInstanceProperties from the JsonReader.
Parameters:
Returns:
Throws:
hardwareProfile
public HardwareProfile hardwareProfile()
Get the hardwareProfile property: Hardware properties.
Returns:
infrastructureProfile
public InfrastructureProfile infrastructureProfile()
Get the infrastructureProfile property: Gets the infrastructure profile.
Returns:
networkProfile
public NetworkProfile networkProfile()
Get the networkProfile property: Network properties.
Returns:
osProfile
public OsProfileForVMInstance osProfile()
Get the osProfile property: OS properties.
Returns:
placementProfile
public PlacementProfile placementProfile()
Get the placementProfile property: Placement properties.
Returns:
powerState
public String powerState()
Get the powerState property: Gets the power state of the virtual machine.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Gets the provisioning state.
Returns:
resourceUid
public String resourceUid()
Get the resourceUid property: Gets or sets a unique identifier for the vm resource.
Returns:
securityProfile
public SecurityProfile securityProfile()
Get the securityProfile property: Gets the security profile.
Returns:
statuses
public List<ResourceStatus> statuses()
Get the statuses property: The resource status information.
Returns:
storageProfile
public StorageProfile storageProfile()
Get the storageProfile property: Storage properties.
Returns:
toJson
validate
public void validate()
Validates the instance.
withHardwareProfile
public VirtualMachineInstanceProperties withHardwareProfile(HardwareProfile hardwareProfile)
Set the hardwareProfile property: Hardware properties.
Parameters:
Returns:
withInfrastructureProfile
public VirtualMachineInstanceProperties withInfrastructureProfile(InfrastructureProfile infrastructureProfile)
Set the infrastructureProfile property: Gets the infrastructure profile.
Parameters:
Returns:
withNetworkProfile
public VirtualMachineInstanceProperties withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: Network properties.
Parameters:
Returns:
withOsProfile
public VirtualMachineInstanceProperties withOsProfile(OsProfileForVMInstance osProfile)
Set the osProfile property: OS properties.
Parameters:
Returns:
withPlacementProfile
public VirtualMachineInstanceProperties withPlacementProfile(PlacementProfile placementProfile)
Set the placementProfile property: Placement properties.
Parameters:
Returns:
withSecurityProfile
public VirtualMachineInstanceProperties withSecurityProfile(SecurityProfile securityProfile)
Set the securityProfile property: Gets the security profile.
Parameters:
Returns:
withStorageProfile
public VirtualMachineInstanceProperties withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Storage properties.
Parameters:
Returns: