次の方法で共有


ImageDataDisk Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.ImageDataDisk

public class ImageDataDisk

Describes a data disk.

Method Summary

Modifier and Type Method and Description
String blobUri()

Get the blobUri value.

CachingTypes caching()

Get the caching value.

Integer diskSizeGB()

Get the diskSizeGB value.

int lun()

Get the lun value.

SubResource managedDisk()

Get the managedDisk value.

SubResource snapshot()

Get the snapshot value.

StorageAccountTypes storageAccountType()

Get the storageAccountType value.

ImageDataDisk withBlobUri(String blobUri)

Set the blobUri value.

ImageDataDisk withCaching(CachingTypes caching)

Set the caching value.

ImageDataDisk withDiskSizeGB(Integer diskSizeGB)

Set the diskSizeGB value.

ImageDataDisk withLun(int lun)

Set the lun value.

ImageDataDisk withManagedDisk(SubResource managedDisk)

Set the managedDisk value.

ImageDataDisk withSnapshot(SubResource snapshot)

Set the snapshot value.

ImageDataDisk withStorageAccountType(StorageAccountTypes storageAccountType)

Set the storageAccountType value.

Method Details

blobUri

public String blobUri()

Get the blobUri value.

Returns:

the blobUri value

caching

public CachingTypes caching()

Get the caching value.

Returns:

the caching value

diskSizeGB

public Integer diskSizeGB()

Get the diskSizeGB value.

Returns:

the diskSizeGB value

lun

public int lun()

Get the lun value.

Returns:

the lun value

managedDisk

public SubResource managedDisk()

Get the managedDisk value.

Returns:

the managedDisk value

snapshot

public SubResource snapshot()

Get the snapshot value.

Returns:

the snapshot value

storageAccountType

public StorageAccountTypes storageAccountType()

Get the storageAccountType value.

Returns:

the storageAccountType value

withBlobUri

public ImageDataDisk withBlobUri(String blobUri)

Set the blobUri value.

Parameters:

blobUri - the blobUri value to set

Returns:

the ImageDataDisk object itself.

withCaching

public ImageDataDisk withCaching(CachingTypes caching)

Set the caching value.

Parameters:

caching - the caching value to set

Returns:

the ImageDataDisk object itself.

withDiskSizeGB

public ImageDataDisk withDiskSizeGB(Integer diskSizeGB)

Set the diskSizeGB value.

Parameters:

diskSizeGB - the diskSizeGB value to set

Returns:

the ImageDataDisk object itself.

withLun

public ImageDataDisk withLun(int lun)

Set the lun value.

Parameters:

lun - the lun value to set

Returns:

the ImageDataDisk object itself.

withManagedDisk

public ImageDataDisk withManagedDisk(SubResource managedDisk)

Set the managedDisk value.

Parameters:

managedDisk - the managedDisk value to set

Returns:

the ImageDataDisk object itself.

withSnapshot

public ImageDataDisk withSnapshot(SubResource snapshot)

Set the snapshot value.

Parameters:

snapshot - the snapshot value to set

Returns:

the ImageDataDisk object itself.

withStorageAccountType

public ImageDataDisk withStorageAccountType(StorageAccountTypes storageAccountType)

Set the storageAccountType value.

Parameters:

storageAccountType - the storageAccountType value to set

Returns:

the ImageDataDisk object itself.

Applies to