@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 6.09 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* A StorageClass resource for an Arc connected cluster (Microsoft.Kubernetes/connectedClusters)
*
* Uses Azure REST API version 2024-03-01. In version 2.x of the Azure Native provider, it used API version 2024-03-01.
*/
export declare class StorageClass extends pulumi.CustomResource {
/**
* Get an existing StorageClass resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): StorageClass;
/**
* Returns true if the given object is an instance of StorageClass. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is StorageClass;
/**
* The access mode: [ReadWriteOnce, ReadWriteMany] or [ReadWriteOnce]
*/
readonly accessModes: pulumi.Output<string[] | undefined>;
/**
* Volume can be expanded or not
*/
readonly allowVolumeExpansion: pulumi.Output<string | undefined>;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Allow single data node failure
*/
readonly dataResilience: pulumi.Output<string | undefined>;
/**
* Failover speed: NA, Slow, Fast
*/
readonly failoverSpeed: pulumi.Output<string | undefined>;
/**
* Limitations of the storage class
*/
readonly limitations: pulumi.Output<string[] | undefined>;
/**
* Additional mount options
*/
readonly mountOptions: pulumi.Output<string[] | undefined>;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* Performance tier
*/
readonly performance: pulumi.Output<string | undefined>;
/**
* Selection priority when multiple storage classes meet the criteria. 0: Highest, -1: Never use
*/
readonly priority: pulumi.Output<number | undefined>;
/**
* Provisioner name
*/
readonly provisioner: pulumi.Output<string | undefined>;
/**
* Resource provision state
*/
readonly provisioningState: pulumi.Output<string>;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: pulumi.Output<outputs.kubernetesruntime.SystemDataResponse>;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: pulumi.Output<string>;
/**
* Properties of the StorageClass
*/
readonly typeProperties: pulumi.Output<outputs.kubernetesruntime.BlobStorageClassTypePropertiesResponse | outputs.kubernetesruntime.NativeStorageClassTypePropertiesResponse | outputs.kubernetesruntime.NfsStorageClassTypePropertiesResponse | outputs.kubernetesruntime.RwxStorageClassTypePropertiesResponse | outputs.kubernetesruntime.SmbStorageClassTypePropertiesResponse>;
/**
* Binding mode of volumes: Immediate, WaitForFirstConsumer
*/
readonly volumeBindingMode: pulumi.Output<string | undefined>;
/**
* Create a StorageClass resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: StorageClassArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a StorageClass resource.
*/
export interface StorageClassArgs {
/**
* The access mode: [ReadWriteOnce, ReadWriteMany] or [ReadWriteOnce]
*/
accessModes?: pulumi.Input<pulumi.Input<string | enums.kubernetesruntime.AccessMode>[]>;
/**
* Volume can be expanded or not
*/
allowVolumeExpansion?: pulumi.Input<string | enums.kubernetesruntime.VolumeExpansion>;
/**
* Allow single data node failure
*/
dataResilience?: pulumi.Input<string | enums.kubernetesruntime.DataResilienceTier>;
/**
* Failover speed: NA, Slow, Fast
*/
failoverSpeed?: pulumi.Input<string | enums.kubernetesruntime.FailoverTier>;
/**
* Limitations of the storage class
*/
limitations?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Additional mount options
*/
mountOptions?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Performance tier
*/
performance?: pulumi.Input<string | enums.kubernetesruntime.PerformanceTier>;
/**
* Selection priority when multiple storage classes meet the criteria. 0: Highest, -1: Never use
*/
priority?: pulumi.Input<number>;
/**
* Provisioner name
*/
provisioner?: pulumi.Input<string>;
/**
* The fully qualified Azure Resource manager identifier of the resource.
*/
resourceUri: pulumi.Input<string>;
/**
* The name of the the storage class
*/
storageClassName?: pulumi.Input<string>;
/**
* Properties of the StorageClass
*/
typeProperties: pulumi.Input<inputs.kubernetesruntime.BlobStorageClassTypePropertiesArgs | inputs.kubernetesruntime.NativeStorageClassTypePropertiesArgs | inputs.kubernetesruntime.NfsStorageClassTypePropertiesArgs | inputs.kubernetesruntime.RwxStorageClassTypePropertiesArgs | inputs.kubernetesruntime.SmbStorageClassTypePropertiesArgs>;
/**
* Binding mode of volumes: Immediate, WaitForFirstConsumer
*/
volumeBindingMode?: pulumi.Input<string | enums.kubernetesruntime.VolumeBindingMode>;
}