Class AzureVMResourceFeatureSupportRequest
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.FeatureSupportRequest
com.azure.resourcemanager.recoveryservicesbackup.models.AzureVMResourceFeatureSupportRequest
AzureResource(IaaS VM) Specific feature support request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureVMResourceFeatureSupportRequest class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.vmSize()
Get the vmSize property: Size of the resource: VM size(A/D series etc) in case of IaasVM.vmSku()
Get the vmSku property: SKUs (Premium/Managed etc) in case of IaasVM.withVmSize
(String vmSize) Set the vmSize property: Size of the resource: VM size(A/D series etc) in case of IaasVM.Set the vmSku property: SKUs (Premium/Managed etc) in case of IaasVM.
-
Constructor Details
-
AzureVMResourceFeatureSupportRequest
public AzureVMResourceFeatureSupportRequest()Creates an instance of AzureVMResourceFeatureSupportRequest class.
-
-
Method Details
-
vmSize
Get the vmSize property: Size of the resource: VM size(A/D series etc) in case of IaasVM.- Returns:
- the vmSize value.
-
withVmSize
Set the vmSize property: Size of the resource: VM size(A/D series etc) in case of IaasVM.- Parameters:
vmSize
- the vmSize value to set.- Returns:
- the AzureVMResourceFeatureSupportRequest object itself.
-
vmSku
Get the vmSku property: SKUs (Premium/Managed etc) in case of IaasVM.- Returns:
- the vmSku value.
-
withVmSku
Set the vmSku property: SKUs (Premium/Managed etc) in case of IaasVM.- Parameters:
vmSku
- the vmSku value to set.- Returns:
- the AzureVMResourceFeatureSupportRequest object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classFeatureSupportRequest
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-