VMwareToAzStackHciProtectedDiskProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.recoveryservicesdatareplication.models.VMwareToAzStackHciProtectedDiskProperties

Implements

public final class VMwareToAzStackHciProtectedDiskProperties
implements JsonSerializable<VMwareToAzStackHciProtectedDiskProperties>

VMwareToAzStackHCI protected disk properties.

Constructor Summary

Constructor Description
VMwareToAzStackHciProtectedDiskProperties()

Creates an instance of VMwareToAzStackHciProtectedDiskProperties class.

Method Summary

Modifier and Type Method and Description
Long capacityInBytes()

Get the capacityInBytes property: Gets or sets the disk capacity in bytes.

String diskType()

Get the diskType property: Gets or sets the disk type.

static VMwareToAzStackHciProtectedDiskProperties fromJson(JsonReader jsonReader)

Reads an instance of VMwareToAzStackHciProtectedDiskProperties from the JsonReader.

Boolean isDynamic()

Get the isDynamic property: Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard disk.

Boolean isOsDisk()

Get the isOsDisk property: Gets or sets a value indicating whether the disk is the OS disk.

String migrateDiskName()

Get the migrateDiskName property: Gets or sets the failover clone disk.

String seedDiskName()

Get the seedDiskName property: Gets or sets the seed disk name.

String sourceDiskId()

Get the sourceDiskId property: Gets or sets the source disk Id.

String sourceDiskName()

Get the sourceDiskName property: Gets or sets the source disk Name.

String storageContainerId()

Get the storageContainerId property: Gets or sets the ARM Id of the storage container.

String storageContainerLocalPath()

Get the storageContainerLocalPath property: Gets or sets the local path of the storage container.

String testMigrateDiskName()

Get the testMigrateDiskName property: Gets or sets the test failover clone disk.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

VMwareToAzStackHciProtectedDiskProperties

public VMwareToAzStackHciProtectedDiskProperties()

Creates an instance of VMwareToAzStackHciProtectedDiskProperties class.

Method Details

capacityInBytes

public Long capacityInBytes()

Get the capacityInBytes property: Gets or sets the disk capacity in bytes.

Returns:

the capacityInBytes value.

diskType

public String diskType()

Get the diskType property: Gets or sets the disk type.

Returns:

the diskType value.

fromJson

public static VMwareToAzStackHciProtectedDiskProperties fromJson(JsonReader jsonReader)

Reads an instance of VMwareToAzStackHciProtectedDiskProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VMwareToAzStackHciProtectedDiskProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the VMwareToAzStackHciProtectedDiskProperties.

isDynamic

public Boolean isDynamic()

Get the isDynamic property: Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard disk.

Returns:

the isDynamic value.

isOsDisk

public Boolean isOsDisk()

Get the isOsDisk property: Gets or sets a value indicating whether the disk is the OS disk.

Returns:

the isOsDisk value.

migrateDiskName

public String migrateDiskName()

Get the migrateDiskName property: Gets or sets the failover clone disk.

Returns:

the migrateDiskName value.

seedDiskName

public String seedDiskName()

Get the seedDiskName property: Gets or sets the seed disk name.

Returns:

the seedDiskName value.

sourceDiskId

public String sourceDiskId()

Get the sourceDiskId property: Gets or sets the source disk Id.

Returns:

the sourceDiskId value.

sourceDiskName

public String sourceDiskName()

Get the sourceDiskName property: Gets or sets the source disk Name.

Returns:

the sourceDiskName value.

storageContainerId

public String storageContainerId()

Get the storageContainerId property: Gets or sets the ARM Id of the storage container.

Returns:

the storageContainerId value.

storageContainerLocalPath

public String storageContainerLocalPath()

Get the storageContainerLocalPath property: Gets or sets the local path of the storage container.

Returns:

the storageContainerLocalPath value.

testMigrateDiskName

public String testMigrateDiskName()

Get the testMigrateDiskName property: Gets or sets the test failover clone disk.

Returns:

the testMigrateDiskName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to