Compartir a través de


ImageOSDisk Class

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

public class ImageOSDisk

Describes an Operating System 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.

SubResource managedDisk()

Get the managedDisk value.

OperatingSystemStateTypes osState()

Get the osState value.

OperatingSystemTypes osType()

Get the osType value.

SubResource snapshot()

Get the snapshot value.

StorageAccountTypes storageAccountType()

Get the storageAccountType value.

ImageOSDisk withBlobUri(String blobUri)

Set the blobUri value.

ImageOSDisk withCaching(CachingTypes caching)

Set the caching value.

ImageOSDisk withDiskSizeGB(Integer diskSizeGB)

Set the diskSizeGB value.

ImageOSDisk withManagedDisk(SubResource managedDisk)

Set the managedDisk value.

ImageOSDisk withOsState(OperatingSystemStateTypes osState)

Set the osState value.

ImageOSDisk withOsType(OperatingSystemTypes osType)

Set the osType value.

ImageOSDisk withSnapshot(SubResource snapshot)

Set the snapshot value.

ImageOSDisk 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

managedDisk

public SubResource managedDisk()

Get the managedDisk value.

Returns:

the managedDisk value

osState

public OperatingSystemStateTypes osState()

Get the osState value.

Returns:

the osState value

osType

public OperatingSystemTypes osType()

Get the osType value.

Returns:

the osType 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 ImageOSDisk withBlobUri(String blobUri)

Set the blobUri value.

Parameters:

blobUri - the blobUri value to set

Returns:

the ImageOSDisk object itself.

withCaching

public ImageOSDisk withCaching(CachingTypes caching)

Set the caching value.

Parameters:

caching - the caching value to set

Returns:

the ImageOSDisk object itself.

withDiskSizeGB

public ImageOSDisk withDiskSizeGB(Integer diskSizeGB)

Set the diskSizeGB value.

Parameters:

diskSizeGB - the diskSizeGB value to set

Returns:

the ImageOSDisk object itself.

withManagedDisk

public ImageOSDisk withManagedDisk(SubResource managedDisk)

Set the managedDisk value.

Parameters:

managedDisk - the managedDisk value to set

Returns:

the ImageOSDisk object itself.

withOsState

public ImageOSDisk withOsState(OperatingSystemStateTypes osState)

Set the osState value.

Parameters:

osState - the osState value to set

Returns:

the ImageOSDisk object itself.

withOsType

public ImageOSDisk withOsType(OperatingSystemTypes osType)

Set the osType value.

Parameters:

osType - the osType value to set

Returns:

the ImageOSDisk object itself.

withSnapshot

public ImageOSDisk withSnapshot(SubResource snapshot)

Set the snapshot value.

Parameters:

snapshot - the snapshot value to set

Returns:

the ImageOSDisk object itself.

withStorageAccountType

public ImageOSDisk withStorageAccountType(StorageAccountTypes storageAccountType)

Set the storageAccountType value.

Parameters:

storageAccountType - the storageAccountType value to set

Returns:

the ImageOSDisk object itself.

Applies to