CreationData Class
- java.
lang. Object - com.
microsoft. azure. management. compute. CreationData
- com.
public class CreationData
Data used when creating a disk.
Method Summary
Modifier and Type | Method and Description |
---|---|
Disk |
createOption()
Get the createOption value. |
Image |
imageReference()
Get the imageReference value. |
String |
sourceResourceId()
Get the sourceResourceId value. |
String |
sourceUri()
Get the sourceUri value. |
String |
storageAccountId()
Get the storageAccountId value. |
Creation |
withCreateOption(DiskCreateOption createOption)
Set the createOption value. |
Creation |
withImageReference(ImageDiskReference imageReference)
Set the imageReference value. |
Creation |
withSourceResourceId(String sourceResourceId)
Set the sourceResourceId value. |
Creation |
withSourceUri(String sourceUri)
Set the sourceUri value. |
Creation |
withStorageAccountId(String storageAccountId)
Set the storageAccountId value. |
Method Details
createOption
public DiskCreateOption createOption()
Get the createOption value.
Returns:
imageReference
public ImageDiskReference imageReference()
Get the imageReference value.
Returns:
sourceResourceId
public String sourceResourceId()
Get the sourceResourceId value.
Returns:
sourceUri
public String sourceUri()
Get the sourceUri value.
Returns:
storageAccountId
public String storageAccountId()
Get the storageAccountId value.
Returns:
withCreateOption
public CreationData withCreateOption(DiskCreateOption createOption)
Set the createOption value.
Parameters:
Returns:
withImageReference
public CreationData withImageReference(ImageDiskReference imageReference)
Set the imageReference value.
Parameters:
Returns:
withSourceResourceId
public CreationData withSourceResourceId(String sourceResourceId)
Set the sourceResourceId value.
Parameters:
Returns:
withSourceUri
public CreationData withSourceUri(String sourceUri)
Set the sourceUri value.
Parameters:
Returns:
withStorageAccountId
public CreationData withStorageAccountId(String storageAccountId)
Set the storageAccountId value.
Parameters:
Returns:
Applies to
Azure SDK for Java