Disk Constructors
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.
Overloads
Disk()
public Disk ();
Public Sub New ()
Applies to
Disk(String, CreationData, String, String, String, IDictionary<String, String>, String, DiskSku, IList<String>, Nullable<DateTime>, Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettings, String)
public Disk (string location, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.CreationData creationData, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string managedBy = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.DiskSku sku = default, System.Collections.Generic.IList<string> zones = default, DateTime? timeCreated = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.OperatingSystemTypes? osType = default, int? diskSizeGB = default, Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.EncryptionSettings encryptionSettings = default, string provisioningState = default);
new Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.Disk : string * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.CreationData * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.DiskSku * System.Collections.Generic.IList<string> * Nullable<DateTime> * Nullable<Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.OperatingSystemTypes> * Nullable<int> * Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.EncryptionSettings * string -> Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models.Disk
Public Sub New (location As String, creationData As CreationData, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional managedBy As String = Nothing, Optional sku As DiskSku = Nothing, Optional zones As IList(Of String) = Nothing, Optional timeCreated As Nullable(Of DateTime) = Nothing, Optional osType As Nullable(Of OperatingSystemTypes) = Nothing, Optional diskSizeGB As Nullable(Of Integer) = Nothing, Optional encryptionSettings As EncryptionSettings = Nothing, Optional provisioningState As String = Nothing)
Parameters
- location
- String
- creationData
- CreationData
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- managedBy
- String
- sku
- DiskSku
- osType
- Nullable<OperatingSystemTypes>
- encryptionSettings
- EncryptionSettings
- provisioningState
- String