ManagedDiskDetails Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. DataAccountDetails - com.
azure. resourcemanager. databox. models. ManagedDiskDetails
- com.
- com.
public final class ManagedDiskDetails
extends DataAccountDetails
Details of the managed disks.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedDiskDetails() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Data |
dataAccountType()
Get the data |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
| String |
resourceGroupId()
Get the resource |
| String |
stagingStorageAccountId()
Get the staging |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Managed |
withResourceGroupId(String resourceGroupId)
Set the resource |
|
Managed |
withSharePassword(String sharePassword)
Set the share |
|
Managed |
withStagingStorageAccountId(String stagingStorageAccountId)
Set the staging |
Methods inherited from DataAccountDetails
Methods inherited from java.lang.Object
Constructor Details
ManagedDiskDetails
public ManagedDiskDetails()
Creates an instance of ManagedDiskDetails class.
Method Details
dataAccountType
public DataAccountType dataAccountType()
Get the dataAccountType property: Account Type of the data to be transferred.
Overrides:
ManagedDiskDetails.dataAccountType()Returns:
fromJson
public static ManagedDiskDetails fromJson(JsonReader jsonReader)
Reads an instance of ManagedDiskDetails from the JsonReader.
Parameters:
Returns:
Throws:
resourceGroupId
public String resourceGroupId()
Get the resourceGroupId property: Resource Group Id of the compute disks.
Returns:
stagingStorageAccountId
public String stagingStorageAccountId()
Get the stagingStorageAccountId property: Resource Id of the storage account that can be used to copy the vhd for staging.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagedDiskDetails.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ManagedDiskDetails.validate()withResourceGroupId
public ManagedDiskDetails withResourceGroupId(String resourceGroupId)
Set the resourceGroupId property: Resource Group Id of the compute disks.
Parameters:
Returns:
withSharePassword
public ManagedDiskDetails withSharePassword(String sharePassword)
Set the sharePassword property: Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\-$%^!+=;:_()]+.
Overrides:
ManagedDiskDetails.withSharePassword(String sharePassword)Parameters:
withStagingStorageAccountId
public ManagedDiskDetails withStagingStorageAccountId(String stagingStorageAccountId)
Set the stagingStorageAccountId property: Resource Id of the storage account that can be used to copy the vhd for staging.
Parameters:
Returns: