Class AzureIaaSComputeVMContainer


public final class AzureIaaSComputeVMContainer extends IaaSvmContainer
IaaS VM workload-specific backup item representing an Azure Resource Manager virtual machine.
  • Constructor Details

    • AzureIaaSComputeVMContainer

      public AzureIaaSComputeVMContainer()
      Creates an instance of AzureIaaSComputeVMContainer class.
  • Method Details

    • withVirtualMachineId

      public AzureIaaSComputeVMContainer withVirtualMachineId(String virtualMachineId)
      Set the virtualMachineId property: Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container.
      Overrides:
      withVirtualMachineId in class IaaSvmContainer
      Parameters:
      virtualMachineId - the virtualMachineId value to set.
      Returns:
      the IaaSvmContainer object itself.
    • withVirtualMachineVersion

      public AzureIaaSComputeVMContainer withVirtualMachineVersion(String virtualMachineVersion)
      Set the virtualMachineVersion property: Specifies whether the container represents a Classic or an Azure Resource Manager VM.
      Overrides:
      withVirtualMachineVersion in class IaaSvmContainer
      Parameters:
      virtualMachineVersion - the virtualMachineVersion value to set.
      Returns:
      the IaaSvmContainer object itself.
    • withResourceGroup

      public AzureIaaSComputeVMContainer withResourceGroup(String resourceGroup)
      Set the resourceGroup property: Resource group name of Recovery Services Vault.
      Overrides:
      withResourceGroup in class IaaSvmContainer
      Parameters:
      resourceGroup - the resourceGroup value to set.
      Returns:
      the IaaSvmContainer object itself.
    • withFriendlyName

      public AzureIaaSComputeVMContainer withFriendlyName(String friendlyName)
      Set the friendlyName property: Friendly name of the container.
      Overrides:
      withFriendlyName in class IaaSvmContainer
      Parameters:
      friendlyName - the friendlyName value to set.
      Returns:
      the ProtectionContainer object itself.
    • withBackupManagementType

      public AzureIaaSComputeVMContainer withBackupManagementType(BackupManagementType backupManagementType)
      Set the backupManagementType property: Type of backup management for the container.
      Overrides:
      withBackupManagementType in class IaaSvmContainer
      Parameters:
      backupManagementType - the backupManagementType value to set.
      Returns:
      the ProtectionContainer object itself.
    • withRegistrationStatus

      public AzureIaaSComputeVMContainer withRegistrationStatus(String registrationStatus)
      Set the registrationStatus property: Status of registration of the container with the Recovery Services Vault.
      Overrides:
      withRegistrationStatus in class IaaSvmContainer
      Parameters:
      registrationStatus - the registrationStatus value to set.
      Returns:
      the ProtectionContainer object itself.
    • withHealthStatus

      public AzureIaaSComputeVMContainer withHealthStatus(String healthStatus)
      Set the healthStatus property: Status of health of the container.
      Overrides:
      withHealthStatus in class IaaSvmContainer
      Parameters:
      healthStatus - the healthStatus value to set.
      Returns:
      the ProtectionContainer object itself.
    • withProtectableObjectType

      public AzureIaaSComputeVMContainer withProtectableObjectType(String protectableObjectType)
      Set the protectableObjectType property: Type of the protectable object associated with this container.
      Overrides:
      withProtectableObjectType in class IaaSvmContainer
      Parameters:
      protectableObjectType - the protectableObjectType value to set.
      Returns:
      the ProtectionContainer object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class IaaSvmContainer
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.