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
ConstructorsConstructorDescriptionCreates an instance of RestorePointSourceMetadata class. -
Method Summary
Modifier and TypeMethodDescriptionGet the diagnosticsProfile property: Gets the diagnostics profile.Get the hardwareProfile property: Gets the hardware profile.Get the hyperVGeneration property: HyperVGeneration of the source VM for which restore point is captured.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.userData()Get the userData property: UserData associated with the source VM for which restore point is captured, which is a base-64 encoded value.voidvalidate()Validates the instance.vmId()Get the vmId property: Gets the virtual machine unique id.withStorageProfile(RestorePointSourceVMStorageProfile storageProfile) Set the storageProfile property: Gets the storage profile.
-
Constructor Details
-
RestorePointSourceMetadata
public RestorePointSourceMetadata()Creates an instance of RestorePointSourceMetadata class.
-
-
Method Details
-
hardwareProfile
Get the hardwareProfile property: Gets the hardware profile.- Returns:
- the hardwareProfile value.
-
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.
-
diagnosticsProfile
Get the diagnosticsProfile property: Gets the diagnostics profile.- Returns:
- the diagnosticsProfile value.
-
licenseType
Get the licenseType property: Gets the license type, which is for bring your own license scenario.- Returns:
- the licenseType value.
-
vmId
Get the vmId property: Gets the virtual machine unique id.- Returns:
- the vmId value.
-
securityProfile
Get the securityProfile property: Gets the security profile.- Returns:
- the securityProfile value.
-
location
Get the location property: Location of the VM from which the restore point was created.- Returns:
- the location value.
-
userData
Get the userData property: UserData associated with the source VM for which restore point is captured, which is a base-64 encoded value.- Returns:
- the userData value.
-
hyperVGeneration
Get the hyperVGeneration property: HyperVGeneration of the source VM for which restore point is captured.- Returns:
- the hyperVGeneration value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-