| Modifier and Type | Field and Description |
|---|---|
static DiskCreateOptionTypes |
DiskCreateOptionTypes.ATTACH
Static value Attach for DiskCreateOptionTypes.
|
static DiskCreateOptionTypes |
DiskCreateOptionTypes.EMPTY
Static value Empty for DiskCreateOptionTypes.
|
static DiskCreateOptionTypes |
DiskCreateOptionTypes.FROM_IMAGE
Static value FromImage for DiskCreateOptionTypes.
|
| Modifier and Type | Method and Description |
|---|---|
DiskCreateOptionTypes |
VirtualMachineScaleSetOSDisk.createOption()
Get specifies how the virtual machines in the scale set should be created.<br><br> The only allowed value is: **FromImage** – This value is used when you are using an image to create the virtual machine.
|
DiskCreateOptionTypes |
VirtualMachineScaleSetDataDisk.createOption()
Get the create option.
|
DiskCreateOptionTypes |
OSDisk.createOption()
Get specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** – This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** – This value is used when you are using an image to create the virtual machine.
|
DiskCreateOptionTypes |
DataDisk.createOption()
Get specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** – This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** – This value is used when you are using an image to create the virtual machine.
|
DiskCreateOptionTypes |
VirtualMachineUnmanagedDataDisk.creationMethod() |
DiskCreateOptionTypes |
VirtualMachineDataDisk.creationMethod() |
static DiskCreateOptionTypes |
DiskCreateOptionTypes.fromString(String name)
Creates or finds a DiskCreateOptionTypes from its string representation.
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<DiskCreateOptionTypes> |
DiskCreateOptionTypes.values() |
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineScaleSetOSDisk |
VirtualMachineScaleSetOSDisk.withCreateOption(DiskCreateOptionTypes createOption)
Set specifies how the virtual machines in the scale set should be created.<br><br> The only allowed value is: **FromImage** – This value is used when you are using an image to create the virtual machine.
|
VirtualMachineScaleSetDataDisk |
VirtualMachineScaleSetDataDisk.withCreateOption(DiskCreateOptionTypes createOption)
Set the create option.
|
OSDisk |
OSDisk.withCreateOption(DiskCreateOptionTypes createOption)
Set specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** – This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** – This value is used when you are using an image to create the virtual machine.
|
DataDisk |
DataDisk.withCreateOption(DiskCreateOptionTypes createOption)
Set specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** – This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** – This value is used when you are using an image to create the virtual machine.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/