1. Packages
  2. Azure Native v2
  3. API Docs
  4. kubernetesruntime
  5. StorageClass
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.kubernetesruntime.StorageClass

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

A StorageClass resource for an Arc connected cluster (Microsoft.Kubernetes/connectedClusters) Azure REST API version: 2024-03-01.

Other available API versions: 2023-10-01-preview.

Example Usage

StorageClass_CreateOrUpdate_0

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var storageClass = new AzureNative.KubernetesRuntime.StorageClass("storageClass", new()
    {
        ResourceUri = "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/example/providers/Microsoft.Kubernetes/connectedClusters/cluster1",
        StorageClassName = "testrwx",
        TypeProperties = new AzureNative.KubernetesRuntime.Inputs.RwxStorageClassTypePropertiesArgs
        {
            BackingStorageClassName = "default",
            Type = "RWX",
        },
    });

});
Copy
package main

import (
	kubernetesruntime "github.com/pulumi/pulumi-azure-native-sdk/kubernetesruntime/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := kubernetesruntime.NewStorageClass(ctx, "storageClass", &kubernetesruntime.StorageClassArgs{
			ResourceUri:      pulumi.String("subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/example/providers/Microsoft.Kubernetes/connectedClusters/cluster1"),
			StorageClassName: pulumi.String("testrwx"),
			TypeProperties: &kubernetesruntime.RwxStorageClassTypePropertiesArgs{
				BackingStorageClassName: pulumi.String("default"),
				Type:                    pulumi.String("RWX"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.kubernetesruntime.StorageClass;
import com.pulumi.azurenative.kubernetesruntime.StorageClassArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var storageClass = new StorageClass("storageClass", StorageClassArgs.builder()
            .resourceUri("subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/example/providers/Microsoft.Kubernetes/connectedClusters/cluster1")
            .storageClassName("testrwx")
            .typeProperties(BlobStorageClassTypePropertiesArgs.builder()
                .backingStorageClassName("default")
                .type("RWX")
                .build())
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const storageClass = new azure_native.kubernetesruntime.StorageClass("storageClass", {
    resourceUri: "subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/example/providers/Microsoft.Kubernetes/connectedClusters/cluster1",
    storageClassName: "testrwx",
    typeProperties: {
        backingStorageClassName: "default",
        type: "RWX",
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

storage_class = azure_native.kubernetesruntime.StorageClass("storageClass",
    resource_uri="subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/example/providers/Microsoft.Kubernetes/connectedClusters/cluster1",
    storage_class_name="testrwx",
    type_properties={
        "backing_storage_class_name": "default",
        "type": "RWX",
    })
Copy
resources:
  storageClass:
    type: azure-native:kubernetesruntime:StorageClass
    properties:
      resourceUri: subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/example/providers/Microsoft.Kubernetes/connectedClusters/cluster1
      storageClassName: testrwx
      typeProperties:
        backingStorageClassName: default
        type: RWX
Copy

Create StorageClass Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new StorageClass(name: string, args: StorageClassArgs, opts?: CustomResourceOptions);
@overload
def StorageClass(resource_name: str,
                 args: StorageClassArgs,
                 opts: Optional[ResourceOptions] = None)

@overload
def StorageClass(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 resource_uri: Optional[str] = None,
                 type_properties: Optional[Union[BlobStorageClassTypePropertiesArgs, NativeStorageClassTypePropertiesArgs, NfsStorageClassTypePropertiesArgs, RwxStorageClassTypePropertiesArgs, SmbStorageClassTypePropertiesArgs]] = None,
                 failover_speed: Optional[Union[str, FailoverTier]] = None,
                 access_modes: Optional[Sequence[Union[str, AccessMode]]] = None,
                 limitations: Optional[Sequence[str]] = None,
                 mount_options: Optional[Sequence[str]] = None,
                 performance: Optional[Union[str, PerformanceTier]] = None,
                 priority: Optional[float] = None,
                 provisioner: Optional[str] = None,
                 data_resilience: Optional[Union[str, DataResilienceTier]] = None,
                 storage_class_name: Optional[str] = None,
                 allow_volume_expansion: Optional[Union[str, VolumeExpansion]] = None,
                 volume_binding_mode: Optional[Union[str, VolumeBindingMode]] = None)
func NewStorageClass(ctx *Context, name string, args StorageClassArgs, opts ...ResourceOption) (*StorageClass, error)
public StorageClass(string name, StorageClassArgs args, CustomResourceOptions? opts = null)
public StorageClass(String name, StorageClassArgs args)
public StorageClass(String name, StorageClassArgs args, CustomResourceOptions options)
type: azure-native:kubernetesruntime:StorageClass
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. StorageClassArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. StorageClassArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. StorageClassArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. StorageClassArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. StorageClassArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var storageClassResource = new AzureNative.Kubernetesruntime.StorageClass("storageClassResource", new()
{
    ResourceUri = "string",
    TypeProperties = 
    {
        { "azureStorageAccountKey", "string" },
        { "azureStorageAccountName", "string" },
        { "type", "Blob" },
    },
    FailoverSpeed = "string",
    AccessModes = new[]
    {
        "string",
    },
    Limitations = new[]
    {
        "string",
    },
    MountOptions = new[]
    {
        "string",
    },
    Performance = "string",
    Priority = 0,
    Provisioner = "string",
    DataResilience = "string",
    StorageClassName = "string",
    AllowVolumeExpansion = "string",
    VolumeBindingMode = "string",
});
Copy
example, err := kubernetesruntime.NewStorageClass(ctx, "storageClassResource", &kubernetesruntime.StorageClassArgs{
	ResourceUri: "string",
	TypeProperties: map[string]interface{}{
		"azureStorageAccountKey":  "string",
		"azureStorageAccountName": "string",
		"type":                    "Blob",
	},
	FailoverSpeed: "string",
	AccessModes: []string{
		"string",
	},
	Limitations: []string{
		"string",
	},
	MountOptions: []string{
		"string",
	},
	Performance:          "string",
	Priority:             0,
	Provisioner:          "string",
	DataResilience:       "string",
	StorageClassName:     "string",
	AllowVolumeExpansion: "string",
	VolumeBindingMode:    "string",
})
Copy
var storageClassResource = new StorageClass("storageClassResource", StorageClassArgs.builder()
    .resourceUri("string")
    .typeProperties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .failoverSpeed("string")
    .accessModes("string")
    .limitations("string")
    .mountOptions("string")
    .performance("string")
    .priority(0)
    .provisioner("string")
    .dataResilience("string")
    .storageClassName("string")
    .allowVolumeExpansion("string")
    .volumeBindingMode("string")
    .build());
Copy
storage_class_resource = azure_native.kubernetesruntime.StorageClass("storageClassResource",
    resource_uri=string,
    type_properties={
        azureStorageAccountKey: string,
        azureStorageAccountName: string,
        type: Blob,
    },
    failover_speed=string,
    access_modes=[string],
    limitations=[string],
    mount_options=[string],
    performance=string,
    priority=0,
    provisioner=string,
    data_resilience=string,
    storage_class_name=string,
    allow_volume_expansion=string,
    volume_binding_mode=string)
Copy
const storageClassResource = new azure_native.kubernetesruntime.StorageClass("storageClassResource", {
    resourceUri: "string",
    typeProperties: {
        azureStorageAccountKey: "string",
        azureStorageAccountName: "string",
        type: "Blob",
    },
    failoverSpeed: "string",
    accessModes: ["string"],
    limitations: ["string"],
    mountOptions: ["string"],
    performance: "string",
    priority: 0,
    provisioner: "string",
    dataResilience: "string",
    storageClassName: "string",
    allowVolumeExpansion: "string",
    volumeBindingMode: "string",
});
Copy
type: azure-native:kubernetesruntime:StorageClass
properties:
    accessModes:
        - string
    allowVolumeExpansion: string
    dataResilience: string
    failoverSpeed: string
    limitations:
        - string
    mountOptions:
        - string
    performance: string
    priority: 0
    provisioner: string
    resourceUri: string
    storageClassName: string
    typeProperties:
        azureStorageAccountKey: string
        azureStorageAccountName: string
        type: Blob
    volumeBindingMode: string
Copy

StorageClass Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The StorageClass resource accepts the following input properties:

ResourceUri
This property is required.
Changes to this property will trigger replacement.
string
The fully qualified Azure Resource manager identifier of the resource.
TypeProperties
This property is required.
Changes to this property will trigger replacement.
Pulumi.AzureNative.KubernetesRuntime.Inputs.BlobStorageClassTypeProperties | Pulumi.AzureNative.KubernetesRuntime.Inputs.NativeStorageClassTypeProperties | Pulumi.AzureNative.KubernetesRuntime.Inputs.NfsStorageClassTypeProperties | Pulumi.AzureNative.KubernetesRuntime.Inputs.RwxStorageClassTypeProperties | Pulumi.AzureNative.KubernetesRuntime.Inputs.SmbStorageClassTypeProperties
Properties of the StorageClass
AccessModes List<Union<string, Pulumi.AzureNative.KubernetesRuntime.AccessMode>>
The access mode: [ReadWriteOnce, ReadWriteMany] or [ReadWriteOnce]
AllowVolumeExpansion string | Pulumi.AzureNative.KubernetesRuntime.VolumeExpansion
Volume can be expanded or not
DataResilience string | Pulumi.AzureNative.KubernetesRuntime.DataResilienceTier
Allow single data node failure
FailoverSpeed string | Pulumi.AzureNative.KubernetesRuntime.FailoverTier
Failover speed: NA, Slow, Fast
Limitations List<string>
Limitations of the storage class
MountOptions List<string>
Additional mount options
Performance string | Pulumi.AzureNative.KubernetesRuntime.PerformanceTier
Performance tier
Priority double
Selection priority when multiple storage classes meet the criteria. 0: Highest, -1: Never use
Provisioner Changes to this property will trigger replacement. string
Provisioner name
StorageClassName Changes to this property will trigger replacement. string
The name of the the storage class
VolumeBindingMode Changes to this property will trigger replacement. string | Pulumi.AzureNative.KubernetesRuntime.VolumeBindingMode
Binding mode of volumes: Immediate, WaitForFirstConsumer
ResourceUri
This property is required.
Changes to this property will trigger replacement.
string
The fully qualified Azure Resource manager identifier of the resource.
TypeProperties
This property is required.
Changes to this property will trigger replacement.
BlobStorageClassTypePropertiesArgs | NativeStorageClassTypePropertiesArgs | NfsStorageClassTypePropertiesArgs | RwxStorageClassTypePropertiesArgs | SmbStorageClassTypePropertiesArgs
Properties of the StorageClass
AccessModes []string
The access mode: [ReadWriteOnce, ReadWriteMany] or [ReadWriteOnce]
AllowVolumeExpansion string | VolumeExpansion
Volume can be expanded or not
DataResilience string | DataResilienceTier
Allow single data node failure
FailoverSpeed string | FailoverTier
Failover speed: NA, Slow, Fast
Limitations []string
Limitations of the storage class
MountOptions []string
Additional mount options
Performance string | PerformanceTier
Performance tier
Priority float64
Selection priority when multiple storage classes meet the criteria. 0: Highest, -1: Never use
Provisioner Changes to this property will trigger replacement. string
Provisioner name
StorageClassName Changes to this property will trigger replacement. string
The name of the the storage class
VolumeBindingMode Changes to this property will trigger replacement. string | VolumeBindingMode
Binding mode of volumes: Immediate, WaitForFirstConsumer
resourceUri
This property is required.
Changes to this property will trigger replacement.
String
The fully qualified Azure Resource manager identifier of the resource.
typeProperties
This property is required.
Changes to this property will trigger replacement.
BlobStorageClassTypeProperties | NativeStorageClassTypeProperties | NfsStorageClassTypeProperties | RwxStorageClassTypeProperties | SmbStorageClassTypeProperties
Properties of the StorageClass
accessModes List<Either<String,AccessMode>>
The access mode: [ReadWriteOnce, ReadWriteMany] or [ReadWriteOnce]
allowVolumeExpansion String | VolumeExpansion
Volume can be expanded or not
dataResilience String | DataResilienceTier
Allow single data node failure
failoverSpeed String | FailoverTier
Failover speed: NA, Slow, Fast
limitations List<String>
Limitations of the storage class
mountOptions List<String>
Additional mount options
performance String | PerformanceTier
Performance tier
priority Double
Selection priority when multiple storage classes meet the criteria. 0: Highest, -1: Never use
provisioner Changes to this property will trigger replacement. String
Provisioner name
storageClassName Changes to this property will trigger replacement. String
The name of the the storage class
volumeBindingMode Changes to this property will trigger replacement. String | VolumeBindingMode
Binding mode of volumes: Immediate, WaitForFirstConsumer
resourceUri
This property is required.
Changes to this property will trigger replacement.
string
The fully qualified Azure Resource manager identifier of the resource.
typeProperties
This property is required.
Changes to this property will trigger replacement.
BlobStorageClassTypeProperties | NativeStorageClassTypeProperties | NfsStorageClassTypeProperties | RwxStorageClassTypeProperties | SmbStorageClassTypeProperties
Properties of the StorageClass
accessModes (string | AccessMode)[]
The access mode: [ReadWriteOnce, ReadWriteMany] or [ReadWriteOnce]
allowVolumeExpansion string | VolumeExpansion
Volume can be expanded or not
dataResilience string | DataResilienceTier
Allow single data node failure
failoverSpeed string | FailoverTier
Failover speed: NA, Slow, Fast
limitations string[]
Limitations of the storage class
mountOptions string[]
Additional mount options
performance string | PerformanceTier
Performance tier
priority number
Selection priority when multiple storage classes meet the criteria. 0: Highest, -1: Never use
provisioner Changes to this property will trigger replacement. string
Provisioner name
storageClassName Changes to this property will trigger replacement. string
The name of the the storage class
volumeBindingMode Changes to this property will trigger replacement. string | VolumeBindingMode
Binding mode of volumes: Immediate, WaitForFirstConsumer
resource_uri
This property is required.
Changes to this property will trigger replacement.
str
The fully qualified Azure Resource manager identifier of the resource.
type_properties
This property is required.
Changes to this property will trigger replacement.
BlobStorageClassTypePropertiesArgs | NativeStorageClassTypePropertiesArgs | NfsStorageClassTypePropertiesArgs | RwxStorageClassTypePropertiesArgs | SmbStorageClassTypePropertiesArgs
Properties of the StorageClass
access_modes Sequence[Union[str, AccessMode]]
The access mode: [ReadWriteOnce, ReadWriteMany] or [ReadWriteOnce]
allow_volume_expansion str | VolumeExpansion
Volume can be expanded or not
data_resilience str | DataResilienceTier
Allow single data node failure
failover_speed str | FailoverTier
Failover speed: NA, Slow, Fast
limitations Sequence[str]
Limitations of the storage class
mount_options Sequence[str]
Additional mount options
performance str | PerformanceTier
Performance tier
priority float
Selection priority when multiple storage classes meet the criteria. 0: Highest, -1: Never use
provisioner Changes to this property will trigger replacement. str
Provisioner name
storage_class_name Changes to this property will trigger replacement. str
The name of the the storage class
volume_binding_mode Changes to this property will trigger replacement. str | VolumeBindingMode
Binding mode of volumes: Immediate, WaitForFirstConsumer
resourceUri
This property is required.
Changes to this property will trigger replacement.
String
The fully qualified Azure Resource manager identifier of the resource.
typeProperties
This property is required.
Changes to this property will trigger replacement.
Property Map | Property Map | Property Map | Property Map | Property Map
Properties of the StorageClass
accessModes List<String | "ReadWriteOnce" | "ReadWriteMany">
The access mode: [ReadWriteOnce, ReadWriteMany] or [ReadWriteOnce]
allowVolumeExpansion String | "Allow" | "Disallow"
Volume can be expanded or not
dataResilience String | "NotDataResilient" | "DataResilient"
Allow single data node failure
failoverSpeed String | "NotAvailable" | "Slow" | "Fast" | "Super"
Failover speed: NA, Slow, Fast
limitations List<String>
Limitations of the storage class
mountOptions List<String>
Additional mount options
performance String | "Undefined" | "Basic" | "Standard" | "Premium" | "Ultra"
Performance tier
priority Number
Selection priority when multiple storage classes meet the criteria. 0: Highest, -1: Never use
provisioner Changes to this property will trigger replacement. String
Provisioner name
storageClassName Changes to this property will trigger replacement. String
The name of the the storage class
volumeBindingMode Changes to this property will trigger replacement. String | "Immediate" | "WaitForFirstConsumer"
Binding mode of volumes: Immediate, WaitForFirstConsumer

Outputs

All input properties are implicitly available as output properties. Additionally, the StorageClass resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
Resource provision state
SystemData Pulumi.AzureNative.KubernetesRuntime.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ProvisioningState string
Resource provision state
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
Resource provision state
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
provisioningState string
Resource provision state
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
provisioning_state str
Resource provision state
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
provisioningState String
Resource provision state
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

AccessMode
, AccessModeArgs

ReadWriteOnce
ReadWriteOnceRead Write Once (RWO) access mode
ReadWriteMany
ReadWriteManyRead Write Many (RWX) access mode
AccessModeReadWriteOnce
ReadWriteOnceRead Write Once (RWO) access mode
AccessModeReadWriteMany
ReadWriteManyRead Write Many (RWX) access mode
ReadWriteOnce
ReadWriteOnceRead Write Once (RWO) access mode
ReadWriteMany
ReadWriteManyRead Write Many (RWX) access mode
ReadWriteOnce
ReadWriteOnceRead Write Once (RWO) access mode
ReadWriteMany
ReadWriteManyRead Write Many (RWX) access mode
READ_WRITE_ONCE
ReadWriteOnceRead Write Once (RWO) access mode
READ_WRITE_MANY
ReadWriteManyRead Write Many (RWX) access mode
"ReadWriteOnce"
ReadWriteOnceRead Write Once (RWO) access mode
"ReadWriteMany"
ReadWriteManyRead Write Many (RWX) access mode

BlobStorageClassTypeProperties
, BlobStorageClassTypePropertiesArgs

AzureStorageAccountKey This property is required. string
Azure Storage Account Key
AzureStorageAccountName This property is required. string
Azure Storage Account Name
AzureStorageAccountKey This property is required. string
Azure Storage Account Key
AzureStorageAccountName This property is required. string
Azure Storage Account Name
azureStorageAccountKey This property is required. String
Azure Storage Account Key
azureStorageAccountName This property is required. String
Azure Storage Account Name
azureStorageAccountKey This property is required. string
Azure Storage Account Key
azureStorageAccountName This property is required. string
Azure Storage Account Name
azure_storage_account_key This property is required. str
Azure Storage Account Key
azure_storage_account_name This property is required. str
Azure Storage Account Name
azureStorageAccountKey This property is required. String
Azure Storage Account Key
azureStorageAccountName This property is required. String
Azure Storage Account Name

BlobStorageClassTypePropertiesResponse
, BlobStorageClassTypePropertiesResponseArgs

AzureStorageAccountKey This property is required. string
Azure Storage Account Key
AzureStorageAccountName This property is required. string
Azure Storage Account Name
AzureStorageAccountKey This property is required. string
Azure Storage Account Key
AzureStorageAccountName This property is required. string
Azure Storage Account Name
azureStorageAccountKey This property is required. String
Azure Storage Account Key
azureStorageAccountName This property is required. String
Azure Storage Account Name
azureStorageAccountKey This property is required. string
Azure Storage Account Key
azureStorageAccountName This property is required. string
Azure Storage Account Name
azure_storage_account_key This property is required. str
Azure Storage Account Key
azure_storage_account_name This property is required. str
Azure Storage Account Name
azureStorageAccountKey This property is required. String
Azure Storage Account Key
azureStorageAccountName This property is required. String
Azure Storage Account Name

DataResilienceTier
, DataResilienceTierArgs

NotDataResilient
NotDataResilientNot data resilient
DataResilient
DataResilientData resilient
DataResilienceTierNotDataResilient
NotDataResilientNot data resilient
DataResilienceTierDataResilient
DataResilientData resilient
NotDataResilient
NotDataResilientNot data resilient
DataResilient
DataResilientData resilient
NotDataResilient
NotDataResilientNot data resilient
DataResilient
DataResilientData resilient
NOT_DATA_RESILIENT
NotDataResilientNot data resilient
DATA_RESILIENT
DataResilientData resilient
"NotDataResilient"
NotDataResilientNot data resilient
"DataResilient"
DataResilientData resilient

FailoverTier
, FailoverTierArgs

NotAvailable
NotAvailableNot available Failover Tier
Slow
SlowSlow Failover Tier
Fast
FastFast Failover Tier
Super
SuperSuper Failover Tier
FailoverTierNotAvailable
NotAvailableNot available Failover Tier
FailoverTierSlow
SlowSlow Failover Tier
FailoverTierFast
FastFast Failover Tier
FailoverTierSuper
SuperSuper Failover Tier
NotAvailable
NotAvailableNot available Failover Tier
Slow
SlowSlow Failover Tier
Fast
FastFast Failover Tier
Super
SuperSuper Failover Tier
NotAvailable
NotAvailableNot available Failover Tier
Slow
SlowSlow Failover Tier
Fast
FastFast Failover Tier
Super
SuperSuper Failover Tier
NOT_AVAILABLE
NotAvailableNot available Failover Tier
SLOW
SlowSlow Failover Tier
FAST
FastFast Failover Tier
SUPER
SuperSuper Failover Tier
"NotAvailable"
NotAvailableNot available Failover Tier
"Slow"
SlowSlow Failover Tier
"Fast"
FastFast Failover Tier
"Super"
SuperSuper Failover Tier

NativeStorageClassTypeProperties
, NativeStorageClassTypePropertiesArgs

NativeStorageClassTypePropertiesResponse
, NativeStorageClassTypePropertiesResponseArgs

NfsDirectoryActionOnVolumeDeletion
, NfsDirectoryActionOnVolumeDeletionArgs

Delete
DeleteWhen the volume is deleted, delete the directory
Retain
RetainWhen the volume is deleted, retain the directory
NfsDirectoryActionOnVolumeDeletionDelete
DeleteWhen the volume is deleted, delete the directory
NfsDirectoryActionOnVolumeDeletionRetain
RetainWhen the volume is deleted, retain the directory
Delete
DeleteWhen the volume is deleted, delete the directory
Retain
RetainWhen the volume is deleted, retain the directory
Delete
DeleteWhen the volume is deleted, delete the directory
Retain
RetainWhen the volume is deleted, retain the directory
DELETE
DeleteWhen the volume is deleted, delete the directory
RETAIN
RetainWhen the volume is deleted, retain the directory
"Delete"
DeleteWhen the volume is deleted, delete the directory
"Retain"
RetainWhen the volume is deleted, retain the directory

NfsStorageClassTypeProperties
, NfsStorageClassTypePropertiesArgs

Server This property is required. string
NFS Server
Share This property is required. string
NFS share
MountPermissions string
Mounted folder permissions. Default is 0. If set as non-zero, driver will perform chmod after mount
OnDelete string | Pulumi.AzureNative.KubernetesRuntime.NfsDirectoryActionOnVolumeDeletion
The action to take when a NFS volume is deleted. Default is Delete
SubDir string
Sub directory under share. If the sub directory doesn't exist, driver will create it
Server This property is required. string
NFS Server
Share This property is required. string
NFS share
MountPermissions string
Mounted folder permissions. Default is 0. If set as non-zero, driver will perform chmod after mount
OnDelete string | NfsDirectoryActionOnVolumeDeletion
The action to take when a NFS volume is deleted. Default is Delete
SubDir string
Sub directory under share. If the sub directory doesn't exist, driver will create it
server This property is required. String
NFS Server
share This property is required. String
NFS share
mountPermissions String
Mounted folder permissions. Default is 0. If set as non-zero, driver will perform chmod after mount
onDelete String | NfsDirectoryActionOnVolumeDeletion
The action to take when a NFS volume is deleted. Default is Delete
subDir String
Sub directory under share. If the sub directory doesn't exist, driver will create it
server This property is required. string
NFS Server
share This property is required. string
NFS share
mountPermissions string
Mounted folder permissions. Default is 0. If set as non-zero, driver will perform chmod after mount
onDelete string | NfsDirectoryActionOnVolumeDeletion
The action to take when a NFS volume is deleted. Default is Delete
subDir string
Sub directory under share. If the sub directory doesn't exist, driver will create it
server This property is required. str
NFS Server
share This property is required. str
NFS share
mount_permissions str
Mounted folder permissions. Default is 0. If set as non-zero, driver will perform chmod after mount
on_delete str | NfsDirectoryActionOnVolumeDeletion
The action to take when a NFS volume is deleted. Default is Delete
sub_dir str
Sub directory under share. If the sub directory doesn't exist, driver will create it
server This property is required. String
NFS Server
share This property is required. String
NFS share
mountPermissions String
Mounted folder permissions. Default is 0. If set as non-zero, driver will perform chmod after mount
onDelete String | "Delete" | "Retain"
The action to take when a NFS volume is deleted. Default is Delete
subDir String
Sub directory under share. If the sub directory doesn't exist, driver will create it

NfsStorageClassTypePropertiesResponse
, NfsStorageClassTypePropertiesResponseArgs

Server This property is required. string
NFS Server
Share This property is required. string
NFS share
MountPermissions string
Mounted folder permissions. Default is 0. If set as non-zero, driver will perform chmod after mount
OnDelete string
The action to take when a NFS volume is deleted. Default is Delete
SubDir string
Sub directory under share. If the sub directory doesn't exist, driver will create it
Server This property is required. string
NFS Server
Share This property is required. string
NFS share
MountPermissions string
Mounted folder permissions. Default is 0. If set as non-zero, driver will perform chmod after mount
OnDelete string
The action to take when a NFS volume is deleted. Default is Delete
SubDir string
Sub directory under share. If the sub directory doesn't exist, driver will create it
server This property is required. String
NFS Server
share This property is required. String
NFS share
mountPermissions String
Mounted folder permissions. Default is 0. If set as non-zero, driver will perform chmod after mount
onDelete String
The action to take when a NFS volume is deleted. Default is Delete
subDir String
Sub directory under share. If the sub directory doesn't exist, driver will create it
server This property is required. string
NFS Server
share This property is required. string
NFS share
mountPermissions string
Mounted folder permissions. Default is 0. If set as non-zero, driver will perform chmod after mount
onDelete string
The action to take when a NFS volume is deleted. Default is Delete
subDir string
Sub directory under share. If the sub directory doesn't exist, driver will create it
server This property is required. str
NFS Server
share This property is required. str
NFS share
mount_permissions str
Mounted folder permissions. Default is 0. If set as non-zero, driver will perform chmod after mount
on_delete str
The action to take when a NFS volume is deleted. Default is Delete
sub_dir str
Sub directory under share. If the sub directory doesn't exist, driver will create it
server This property is required. String
NFS Server
share This property is required. String
NFS share
mountPermissions String
Mounted folder permissions. Default is 0. If set as non-zero, driver will perform chmod after mount
onDelete String
The action to take when a NFS volume is deleted. Default is Delete
subDir String
Sub directory under share. If the sub directory doesn't exist, driver will create it

PerformanceTier
, PerformanceTierArgs

Undefined
UndefinedUndefined Performance Tier
Basic
BasicBasic Performance Tier
Standard
StandardStandard Performance Tier
Premium
PremiumPremium Performance Tier
Ultra
UltraUltra Performance Tier
PerformanceTierUndefined
UndefinedUndefined Performance Tier
PerformanceTierBasic
BasicBasic Performance Tier
PerformanceTierStandard
StandardStandard Performance Tier
PerformanceTierPremium
PremiumPremium Performance Tier
PerformanceTierUltra
UltraUltra Performance Tier
Undefined
UndefinedUndefined Performance Tier
Basic
BasicBasic Performance Tier
Standard
StandardStandard Performance Tier
Premium
PremiumPremium Performance Tier
Ultra
UltraUltra Performance Tier
Undefined
UndefinedUndefined Performance Tier
Basic
BasicBasic Performance Tier
Standard
StandardStandard Performance Tier
Premium
PremiumPremium Performance Tier
Ultra
UltraUltra Performance Tier
UNDEFINED
UndefinedUndefined Performance Tier
BASIC
BasicBasic Performance Tier
STANDARD
StandardStandard Performance Tier
PREMIUM
PremiumPremium Performance Tier
ULTRA
UltraUltra Performance Tier
"Undefined"
UndefinedUndefined Performance Tier
"Basic"
BasicBasic Performance Tier
"Standard"
StandardStandard Performance Tier
"Premium"
PremiumPremium Performance Tier
"Ultra"
UltraUltra Performance Tier

RwxStorageClassTypeProperties
, RwxStorageClassTypePropertiesArgs

BackingStorageClassName This property is required. string
The backing storageclass used to create new storageclass
BackingStorageClassName This property is required. string
The backing storageclass used to create new storageclass
backingStorageClassName This property is required. String
The backing storageclass used to create new storageclass
backingStorageClassName This property is required. string
The backing storageclass used to create new storageclass
backing_storage_class_name This property is required. str
The backing storageclass used to create new storageclass
backingStorageClassName This property is required. String
The backing storageclass used to create new storageclass

RwxStorageClassTypePropertiesResponse
, RwxStorageClassTypePropertiesResponseArgs

BackingStorageClassName This property is required. string
The backing storageclass used to create new storageclass
BackingStorageClassName This property is required. string
The backing storageclass used to create new storageclass
backingStorageClassName This property is required. String
The backing storageclass used to create new storageclass
backingStorageClassName This property is required. string
The backing storageclass used to create new storageclass
backing_storage_class_name This property is required. str
The backing storageclass used to create new storageclass
backingStorageClassName This property is required. String
The backing storageclass used to create new storageclass

SmbStorageClassTypeProperties
, SmbStorageClassTypePropertiesArgs

Source This property is required. string
SMB Source
Domain string
Server domain
Password string
Server password
SubDir string
Sub directory under share. If the sub directory doesn't exist, driver will create it
Username string
Server username
Source This property is required. string
SMB Source
Domain string
Server domain
Password string
Server password
SubDir string
Sub directory under share. If the sub directory doesn't exist, driver will create it
Username string
Server username
source This property is required. String
SMB Source
domain String
Server domain
password String
Server password
subDir String
Sub directory under share. If the sub directory doesn't exist, driver will create it
username String
Server username
source This property is required. string
SMB Source
domain string
Server domain
password string
Server password
subDir string
Sub directory under share. If the sub directory doesn't exist, driver will create it
username string
Server username
source This property is required. str
SMB Source
domain str
Server domain
password str
Server password
sub_dir str
Sub directory under share. If the sub directory doesn't exist, driver will create it
username str
Server username
source This property is required. String
SMB Source
domain String
Server domain
password String
Server password
subDir String
Sub directory under share. If the sub directory doesn't exist, driver will create it
username String
Server username

SmbStorageClassTypePropertiesResponse
, SmbStorageClassTypePropertiesResponseArgs

Source This property is required. string
SMB Source
Domain string
Server domain
Password string
Server password
SubDir string
Sub directory under share. If the sub directory doesn't exist, driver will create it
Username string
Server username
Source This property is required. string
SMB Source
Domain string
Server domain
Password string
Server password
SubDir string
Sub directory under share. If the sub directory doesn't exist, driver will create it
Username string
Server username
source This property is required. String
SMB Source
domain String
Server domain
password String
Server password
subDir String
Sub directory under share. If the sub directory doesn't exist, driver will create it
username String
Server username
source This property is required. string
SMB Source
domain string
Server domain
password string
Server password
subDir string
Sub directory under share. If the sub directory doesn't exist, driver will create it
username string
Server username
source This property is required. str
SMB Source
domain str
Server domain
password str
Server password
sub_dir str
Sub directory under share. If the sub directory doesn't exist, driver will create it
username str
Server username
source This property is required. String
SMB Source
domain String
Server domain
password String
Server password
subDir String
Sub directory under share. If the sub directory doesn't exist, driver will create it
username String
Server username

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

VolumeBindingMode
, VolumeBindingModeArgs

Immediate
ImmediateImmediate binding mode
WaitForFirstConsumer
WaitForFirstConsumerWait for first consumer binding mode
VolumeBindingModeImmediate
ImmediateImmediate binding mode
VolumeBindingModeWaitForFirstConsumer
WaitForFirstConsumerWait for first consumer binding mode
Immediate
ImmediateImmediate binding mode
WaitForFirstConsumer
WaitForFirstConsumerWait for first consumer binding mode
Immediate
ImmediateImmediate binding mode
WaitForFirstConsumer
WaitForFirstConsumerWait for first consumer binding mode
IMMEDIATE
ImmediateImmediate binding mode
WAIT_FOR_FIRST_CONSUMER
WaitForFirstConsumerWait for first consumer binding mode
"Immediate"
ImmediateImmediate binding mode
"WaitForFirstConsumer"
WaitForFirstConsumerWait for first consumer binding mode

VolumeExpansion
, VolumeExpansionArgs

Allow
AllowAllow volume expansion
Disallow
DisallowDisallow volume expansion
VolumeExpansionAllow
AllowAllow volume expansion
VolumeExpansionDisallow
DisallowDisallow volume expansion
Allow
AllowAllow volume expansion
Disallow
DisallowDisallow volume expansion
Allow
AllowAllow volume expansion
Disallow
DisallowDisallow volume expansion
ALLOW
AllowAllow volume expansion
DISALLOW
DisallowDisallow volume expansion
"Allow"
AllowAllow volume expansion
"Disallow"
DisallowDisallow volume expansion

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:kubernetesruntime:StorageClass testrwx /{resourceUri}/providers/Microsoft.KubernetesRuntime/storageClasses/{storageClassName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi