OSDisk(DiskCreateOptionTypes) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of OSDisk.
public OSDisk(Azure.ResourceManager.Compute.BulkActions.Models.DiskCreateOptionTypes createOption);
new Azure.ResourceManager.Compute.BulkActions.Models.OSDisk : Azure.ResourceManager.Compute.BulkActions.Models.DiskCreateOptionTypes -> Azure.ResourceManager.Compute.BulkActions.Models.OSDisk
Public Sub New (createOption As DiskCreateOptionTypes)
Parameters
- createOption
- DiskCreateOptionTypes
Specifies how the virtual machine disk should be created. Possible values are Attach, FromImage. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described.