Delen via


DiskVolumeConfiguration Class

Definition

The disk configuration required for the selected volume.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.DiskVolumeConfigurationTypeConverter))]
public class DiskVolumeConfiguration : Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.IDiskVolumeConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.DiskVolumeConfigurationTypeConverter))>]
type DiskVolumeConfiguration = class
    interface IDiskVolumeConfiguration
    interface IJsonSerializable
Public Class DiskVolumeConfiguration
Implements IDiskVolumeConfiguration
Inheritance
DiskVolumeConfiguration
Attributes
Implements

Constructors

DiskVolumeConfiguration()

Creates an new DiskVolumeConfiguration instance.

Properties

Count

The total number of disks required for the concerned volume.

SizeGb

The disk size in GB.

SkuName

Defines the disk sku name.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DiskVolumeConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DiskVolumeConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Workloads.Models.Api20231001Preview.IDiskVolumeConfiguration.

FromJsonString(String)

Creates a new instance of DiskVolumeConfiguration, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DiskVolumeConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to