public class CreationData extends Object
Constructor and Description |
---|
CreationData() |
Modifier and Type | Method and Description |
---|---|
DiskCreateOption |
createOption()
Get this enumerates the possible sources of a disk's creation.
|
ImageDiskReference |
imageReference()
Get disk source information.
|
String |
sourceResourceId()
Get if createOption is Copy, this is the ARM id of the source snapshot or disk.
|
String |
sourceUri()
Get if createOption is Import, this is the URI of a blob to be imported into a managed disk.
|
String |
storageAccountId()
Get if createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
|
CreationData |
withCreateOption(DiskCreateOption createOption)
Set this enumerates the possible sources of a disk's creation.
|
CreationData |
withImageReference(ImageDiskReference imageReference)
Set disk source information.
|
CreationData |
withSourceResourceId(String sourceResourceId)
Set if createOption is Copy, this is the ARM id of the source snapshot or disk.
|
CreationData |
withSourceUri(String sourceUri)
Set if createOption is Import, this is the URI of a blob to be imported into a managed disk.
|
CreationData |
withStorageAccountId(String storageAccountId)
Set if createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
|
public DiskCreateOption createOption()
public CreationData withCreateOption(DiskCreateOption createOption)
createOption
- the createOption value to setpublic String storageAccountId()
public CreationData withStorageAccountId(String storageAccountId)
storageAccountId
- the storageAccountId value to setpublic ImageDiskReference imageReference()
public CreationData withImageReference(ImageDiskReference imageReference)
imageReference
- the imageReference value to setpublic String sourceUri()
public CreationData withSourceUri(String sourceUri)
sourceUri
- the sourceUri value to setpublic String sourceResourceId()
public CreationData withSourceResourceId(String sourceResourceId)
sourceResourceId
- the sourceResourceId value to setCopyright © 2019. All rights reserved.