Share via


StorageProfile Class

Definition

StorageProfile represents information about a disk.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.StorageProfileTypeConverter))]
public class StorageProfile : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IStorageProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.StorageProfileTypeConverter))>]
type StorageProfile = class
    interface IStorageProfile
    interface IJsonSerializable
Public Class StorageProfile
Implements IStorageProfile
Inheritance
StorageProfile
Attributes
Implements

Constructors

StorageProfile()

Creates an new StorageProfile instance.

Properties

OSDiskCreateOption

The strategy for creating the OS disk.

OSDiskDeleteOption

The strategy for deleting the OS disk.

OSDiskSizeGb

The size of the disk in gigabytes. Required if the createOption is Ephemeral.

VolumeAttachment

The resource IDs of volumes that are requested to be attached to the virtual machine.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StorageProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StorageProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.Api20230701.IStorageProfile.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of StorageProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to