ArmComputeModelFactory.DiskInstanceView Method
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 DiskInstanceView.
public static Azure.ResourceManager.Compute.Models.DiskInstanceView DiskInstanceView(string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.DiskEncryptionSettings> encryptionSettings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.InstanceViewStatus> statuses = default, Azure.ResourceManager.Compute.Models.StorageAlignmentStatus? storageAlignmentStatus = default);
static member DiskInstanceView : string * seq<Azure.ResourceManager.Compute.Models.DiskEncryptionSettings> * seq<Azure.ResourceManager.Compute.Models.InstanceViewStatus> * Nullable<Azure.ResourceManager.Compute.Models.StorageAlignmentStatus> -> Azure.ResourceManager.Compute.Models.DiskInstanceView
Public Shared Function DiskInstanceView (Optional name As String = Nothing, Optional encryptionSettings As IEnumerable(Of DiskEncryptionSettings) = Nothing, Optional statuses As IEnumerable(Of InstanceViewStatus) = Nothing, Optional storageAlignmentStatus As Nullable(Of StorageAlignmentStatus) = Nothing) As DiskInstanceView
Parameters
- name
- String
The disk name.
- encryptionSettings
- IEnumerable<DiskEncryptionSettings>
Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15.
- statuses
- IEnumerable<InstanceViewStatus>
The resource status information.
- storageAlignmentStatus
- Nullable<StorageAlignmentStatus>
Specifies the storage alignment status for the disk.
Returns
A new DiskInstanceView instance for mocking.