StorageClassResourceUpdate Class

Definition

The model for updating a storageClass

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.KubernetesRuntime.Models.StorageClassResourceUpdateTypeConverter))]
public class StorageClassResourceUpdate : Microsoft.Azure.PowerShell.Cmdlets.KubernetesRuntime.Models.IStorageClassResourceUpdate
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.KubernetesRuntime.Models.StorageClassResourceUpdateTypeConverter))>]
type StorageClassResourceUpdate = class
    interface IStorageClassResourceUpdate
    interface IJsonSerializable
Public Class StorageClassResourceUpdate
Implements IStorageClassResourceUpdate
Inheritance
StorageClassResourceUpdate
Attributes
Implements

Constructors

Name Description
StorageClassResourceUpdate()

Creates an new StorageClassResourceUpdate instance.

Properties

Name Description
AccessMode

The access mode: [ReadWriteOnce, ReadWriteMany] or [ReadWriteOnce]

AllowVolumeExpansion

Volume can be expanded or not

DataResilience

Allow single data node failure

FailoverSpeed

Failover speed: NA, Slow, Fast

Limitation

Limitations of the storage class

MountOption

Additional mount options

Performance

Performance tier

Priority

Selection priority when multiple storage classes meet the criteria. 0: Highest, -1: Never use

TypePropertyAzureStorageAccountKey

Azure Storage Account Key

TypePropertyAzureStorageAccountName

Azure Storage Account Name

TypePropertyBackingStorageClassName

The backing storageclass used to create new storageclass

TypePropertyDomain

Server domain

TypePropertyMountPermission

Mounted folder permissions. Default is 0. If set as non-zero, driver will perform chmod after mount

TypePropertyOnDelete

The action to take when a NFS volume is deleted. Default is Delete

TypePropertyPassword

Server password

TypePropertyServer

NFS Server

TypePropertyShare

NFS share

TypePropertySource

SMB Source

TypePropertySubDir

Sub directory under share. If the sub directory doesn't exist, driver will create it

TypePropertyUsername

Server username

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StorageClassResourceUpdate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StorageClassResourceUpdate.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.KubernetesRuntime.Models.IStorageClassResourceUpdate.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of StorageClassResourceUpdate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to