import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an Elastic SAN resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleElasticSan = new azure.elasticsan.ElasticSan("example", { * name: "example", * resourceGroupName: example.name, * location: example.location, * baseSizeInTib: 1, * extendedSizeInTib: 2, * sku: { * name: "example-value", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.ElasticSan` - 2023-01-01 * * ## Import * * An existing Elastic SAN can be imported into Pulumi using the `resource id`, e.g. * * ```sh * $ pulumi import azure:elasticsan/elasticSan:ElasticSan example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ElasticSan/elasticSans/esan1 * ``` */ export declare class ElasticSan extends pulumi.CustomResource { /** * Get an existing ElasticSan 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ElasticSanState, opts?: pulumi.CustomResourceOptions): ElasticSan; /** * Returns true if the given object is an instance of ElasticSan. 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 ElasticSan; /** * Specifies the base size of the Elastic SAN resource in TiB. Possible values are between `1` and `100`. * * > **Note:** When updating `baseSizeInTib`, the new value should be greater than the existing one. */ readonly baseSizeInTib: pulumi.Output; /** * Specifies the extended size of the Elastic SAN resource in TiB. Possible values are between `1` and `100`. * * > **Note:** `extendedSizeInTib` cannot be removed and when updating, the new value should be greater than the existing one. */ readonly extendedSizeInTib: pulumi.Output; /** * The Azure Region where the Elastic SAN resource should exist. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * Specifies the name of this Elastic SAN resource. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * Specifies the name of the Resource Group within which this Elastic SAN resource should exist. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * A `sku` block as defined below. */ readonly sku: pulumi.Output; /** * A mapping of tags which should be assigned to the Elastic SAN resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Total Provisioned IOps of the Elastic SAN resource. */ readonly totalIops: pulumi.Output; /** * Total Provisioned MBps Elastic SAN resource. */ readonly totalMbps: pulumi.Output; /** * Total size of the Elastic SAN resource in TB. */ readonly totalSizeInTib: pulumi.Output; /** * Total size of the provisioned Volumes in GiB. */ readonly totalVolumeSizeInGib: pulumi.Output; /** * Total number of volume groups in this Elastic SAN resource. */ readonly volumeGroupCount: pulumi.Output; /** * Logical zone for the Elastic SAN resource. Changing this forces a new resource to be created. * * > **Note:** `zones` cannot be specified if `sku.name` is set to `Premium_ZRS`. */ readonly zones: pulumi.Output; /** * Create a ElasticSan 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: ElasticSanArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ElasticSan resources. */ export interface ElasticSanState { /** * Specifies the base size of the Elastic SAN resource in TiB. Possible values are between `1` and `100`. * * > **Note:** When updating `baseSizeInTib`, the new value should be greater than the existing one. */ baseSizeInTib?: pulumi.Input; /** * Specifies the extended size of the Elastic SAN resource in TiB. Possible values are between `1` and `100`. * * > **Note:** `extendedSizeInTib` cannot be removed and when updating, the new value should be greater than the existing one. */ extendedSizeInTib?: pulumi.Input; /** * The Azure Region where the Elastic SAN resource should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name of this Elastic SAN resource. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the name of the Resource Group within which this Elastic SAN resource should exist. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * A `sku` block as defined below. */ sku?: pulumi.Input; /** * A mapping of tags which should be assigned to the Elastic SAN resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Total Provisioned IOps of the Elastic SAN resource. */ totalIops?: pulumi.Input; /** * Total Provisioned MBps Elastic SAN resource. */ totalMbps?: pulumi.Input; /** * Total size of the Elastic SAN resource in TB. */ totalSizeInTib?: pulumi.Input; /** * Total size of the provisioned Volumes in GiB. */ totalVolumeSizeInGib?: pulumi.Input; /** * Total number of volume groups in this Elastic SAN resource. */ volumeGroupCount?: pulumi.Input; /** * Logical zone for the Elastic SAN resource. Changing this forces a new resource to be created. * * > **Note:** `zones` cannot be specified if `sku.name` is set to `Premium_ZRS`. */ zones?: pulumi.Input[]>; } /** * The set of arguments for constructing a ElasticSan resource. */ export interface ElasticSanArgs { /** * Specifies the base size of the Elastic SAN resource in TiB. Possible values are between `1` and `100`. * * > **Note:** When updating `baseSizeInTib`, the new value should be greater than the existing one. */ baseSizeInTib: pulumi.Input; /** * Specifies the extended size of the Elastic SAN resource in TiB. Possible values are between `1` and `100`. * * > **Note:** `extendedSizeInTib` cannot be removed and when updating, the new value should be greater than the existing one. */ extendedSizeInTib?: pulumi.Input; /** * The Azure Region where the Elastic SAN resource should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name of this Elastic SAN resource. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the name of the Resource Group within which this Elastic SAN resource should exist. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * A `sku` block as defined below. */ sku: pulumi.Input; /** * A mapping of tags which should be assigned to the Elastic SAN resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Logical zone for the Elastic SAN resource. Changing this forces a new resource to be created. * * > **Note:** `zones` cannot be specified if `sku.name` is set to `Premium_ZRS`. */ zones?: pulumi.Input[]>; }