Class RestorePointSourceMetadata
java.lang.Object
com.azure.resourcemanager.compute.models.RestorePointSourceMetadata
Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are
a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point
creation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the diagnosticsProfile property: Gets the diagnostics profile.Get the hardwareProfile property: Gets the hardware profile.Get the licenseType property: Gets the license type, which is for bring your own license scenario.location()Get the location property: Location of the VM from which the restore point was created.Get the osProfile property: Gets the OS profile.Get the securityProfile property: Gets the security profile.Get the storageProfile property: Gets the storage profile.voidvalidate()Validates the instance.vmId()Get the vmId property: Gets the virtual machine unique id.withDiagnosticsProfile(DiagnosticsProfile diagnosticsProfile) Set the diagnosticsProfile property: Gets the diagnostics profile.withHardwareProfile(HardwareProfile hardwareProfile) Set the hardwareProfile property: Gets the hardware profile.withLicenseType(String licenseType) Set the licenseType property: Gets the license type, which is for bring your own license scenario.withLocation(String location) Set the location property: Location of the VM from which the restore point was created.withOsProfile(OSProfile osProfile) Set the osProfile property: Gets the OS profile.withSecurityProfile(SecurityProfile securityProfile) Set the securityProfile property: Gets the security profile.withStorageProfile(RestorePointSourceVMStorageProfile storageProfile) Set the storageProfile property: Gets the storage profile.Set the vmId property: Gets the virtual machine unique id.
-
Constructor Details
-
RestorePointSourceMetadata
public RestorePointSourceMetadata()
-
-
Method Details
-
hardwareProfile
Get the hardwareProfile property: Gets the hardware profile.- Returns:
- the hardwareProfile value.
-
withHardwareProfile
Set the hardwareProfile property: Gets the hardware profile.- Parameters:
hardwareProfile- the hardwareProfile value to set.- Returns:
- the RestorePointSourceMetadata object itself.
-
storageProfile
Get the storageProfile property: Gets the storage profile.- Returns:
- the storageProfile value.
-
withStorageProfile
public RestorePointSourceMetadata withStorageProfile(RestorePointSourceVMStorageProfile storageProfile) Set the storageProfile property: Gets the storage profile.- Parameters:
storageProfile- the storageProfile value to set.- Returns:
- the RestorePointSourceMetadata object itself.
-
osProfile
Get the osProfile property: Gets the OS profile.- Returns:
- the osProfile value.
-
withOsProfile
Set the osProfile property: Gets the OS profile.- Parameters:
osProfile- the osProfile value to set.- Returns:
- the RestorePointSourceMetadata object itself.
-
diagnosticsProfile
Get the diagnosticsProfile property: Gets the diagnostics profile.- Returns:
- the diagnosticsProfile value.
-
withDiagnosticsProfile
Set the diagnosticsProfile property: Gets the diagnostics profile.- Parameters:
diagnosticsProfile- the diagnosticsProfile value to set.- Returns:
- the RestorePointSourceMetadata object itself.
-
licenseType
Get the licenseType property: Gets the license type, which is for bring your own license scenario.- Returns:
- the licenseType value.
-
withLicenseType
Set the licenseType property: Gets the license type, which is for bring your own license scenario.- Parameters:
licenseType- the licenseType value to set.- Returns:
- the RestorePointSourceMetadata object itself.
-
vmId
Get the vmId property: Gets the virtual machine unique id.- Returns:
- the vmId value.
-
withVmId
Set the vmId property: Gets the virtual machine unique id.- Parameters:
vmId- the vmId value to set.- Returns:
- the RestorePointSourceMetadata object itself.
-
securityProfile
Get the securityProfile property: Gets the security profile.- Returns:
- the securityProfile value.
-
withSecurityProfile
Set the securityProfile property: Gets the security profile.- Parameters:
securityProfile- the securityProfile value to set.- Returns:
- the RestorePointSourceMetadata object itself.
-
location
Get the location property: Location of the VM from which the restore point was created.- Returns:
- the location value.
-
withLocation
Set the location property: Location of the VM from which the restore point was created.- Parameters:
location- the location value to set.- Returns:
- the RestorePointSourceMetadata object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-