Share via


StorageProfile Class

Definition

Storage settings for the Dev Box's disks.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.StorageProfileTypeConverter))]
public class StorageProfile : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.IStorageProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.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

OSDiskSizeGb

The size of the OS Disk in gigabytes.

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.DevCenterdata.Models.Api20240501Preview.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.

Applies to