Class ManagedDiskDetails
java.lang.Object
com.azure.resourcemanager.databox.models.DataAccountDetails
com.azure.resourcemanager.databox.models.ManagedDiskDetails
Details of the managed disks.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the resourceGroupId property: Resource Group Id of the compute disks.Get the stagingStorageAccountId property: Resource Id of the storage account that can be used to copy the vhd for staging.void
validate()
Validates the instance.withResourceGroupId
(String resourceGroupId) Set the resourceGroupId property: Resource Group Id of the compute disks.withSharePassword
(String sharePassword) Set the sharePassword property: Password for all the shares to be created on the device.withStagingStorageAccountId
(String stagingStorageAccountId) Set the stagingStorageAccountId property: Resource Id of the storage account that can be used to copy the vhd for staging.Methods inherited from class com.azure.resourcemanager.databox.models.DataAccountDetails
sharePassword
-
Constructor Details
-
ManagedDiskDetails
public ManagedDiskDetails()Creates an instance of ManagedDiskDetails class.
-
-
Method Details
-
resourceGroupId
Get the resourceGroupId property: Resource Group Id of the compute disks.- Returns:
- the resourceGroupId value.
-
withResourceGroupId
Set the resourceGroupId property: Resource Group Id of the compute disks.- Parameters:
resourceGroupId
- the resourceGroupId value to set.- Returns:
- the ManagedDiskDetails object itself.
-
stagingStorageAccountId
Get the stagingStorageAccountId property: Resource Id of the storage account that can be used to copy the vhd for staging.- Returns:
- the stagingStorageAccountId value.
-
withStagingStorageAccountId
Set the stagingStorageAccountId property: Resource Id of the storage account that can be used to copy the vhd for staging.- Parameters:
stagingStorageAccountId
- the stagingStorageAccountId value to set.- Returns:
- the ManagedDiskDetails object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classDataAccountDetails
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-