RestorePointSourceMetadata Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. RestorePointSourceMetadata
- com.
Implements
public final class RestorePointSourceMetadata
implements JsonSerializable<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
Constructor | Description |
---|---|
RestorePointSourceMetadata() |
Creates an instance of Restore |
Method Summary
Modifier and Type | Method and Description |
---|---|
Diagnostics |
diagnosticsProfile()
Get the diagnostics |
static
Restore |
fromJson(JsonReader jsonReader)
Reads an instance of Restore |
Hardware |
hardwareProfile()
Get the hardware |
Hyper |
hyperVGeneration()
Get the hyper |
String |
licenseType()
Get the license |
String |
location()
Get the location property: Location of the VM from which the restore point was created. |
OSProfile |
osProfile()
Get the os |
Security |
securityProfile()
Get the security |
Restore |
storageProfile()
Get the storage |
Json |
toJson(JsonWriter jsonWriter) |
String |
userData()
Get the user |
void |
validate()
Validates the instance. |
String |
vmId()
Get the vm |
Restore |
withStorageProfile(RestorePointSourceVMStorageProfile storageProfile)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
RestorePointSourceMetadata
public RestorePointSourceMetadata()
Creates an instance of RestorePointSourceMetadata class.
Method Details
diagnosticsProfile
public DiagnosticsProfile diagnosticsProfile()
Get the diagnosticsProfile property: Gets the diagnostics profile.
Returns:
fromJson
public static RestorePointSourceMetadata fromJson(JsonReader jsonReader)
Reads an instance of RestorePointSourceMetadata from the JsonReader.
Parameters:
Returns:
Throws:
hardwareProfile
public HardwareProfile hardwareProfile()
Get the hardwareProfile property: Gets the hardware profile.
Returns:
hyperVGeneration
public HyperVGenerationTypes hyperVGeneration()
Get the hyperVGeneration property: HyperVGeneration of the source VM for which restore point is captured.
Returns:
licenseType
public String licenseType()
Get the licenseType property: Gets the license type, which is for bring your own license scenario.
Returns:
location
public String location()
Get the location property: Location of the VM from which the restore point was created.
Returns:
osProfile
public OSProfile osProfile()
Get the osProfile property: Gets the OS profile.
Returns:
securityProfile
public SecurityProfile securityProfile()
Get the securityProfile property: Gets the security profile.
Returns:
storageProfile
public RestorePointSourceVMStorageProfile storageProfile()
Get the storageProfile property: Gets the storage profile.
Returns:
toJson
userData
public String 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:
validate
public void validate()
Validates the instance.
vmId
public String vmId()
Get the vmId property: Gets the virtual machine unique id.
Returns:
withStorageProfile
public RestorePointSourceMetadata withStorageProfile(RestorePointSourceVMStorageProfile storageProfile)
Set the storageProfile property: Gets the storage profile.
Parameters:
Returns: