Azure Native

v1.80.0 published on Tuesday, Oct 4, 2022 by Pulumi

ElasticSan

Response for ElasticSan request. API Version: 2021-11-20-preview.

Example Usage

ElasticSans_Create_MaximumSet_Gen

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

return await Deployment.RunAsync(() => 
{
    var elasticSan = new AzureNative.ElasticSan.ElasticSan("elasticSan", new()
    {
        AvailabilityZones = new[]
        {
            "aaaaaaaaaaaaaaaaa",
        },
        BaseSizeTiB = 26,
        ElasticSanName = "ti7q-k952-1qB3J_5",
        ExtendedCapacitySizeTiB = 7,
        Location = "aaaaaaaaaaaaaaaaaaaaaaaaaaa",
        ResourceGroupName = "rgelasticsan",
        Sku = new AzureNative.ElasticSan.Inputs.SkuArgs
        {
            Name = "Premium_LRS",
            Tier = "Premium",
        },
        Tags = 
        {
            { "key896", "aaaaaaaaaaaaaaaaaa" },
        },
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticsan.NewElasticSan(ctx, "elasticSan", &elasticsan.ElasticSanArgs{
			AvailabilityZones: pulumi.StringArray{
				pulumi.String("aaaaaaaaaaaaaaaaa"),
			},
			BaseSizeTiB:             pulumi.Float64(26),
			ElasticSanName:          pulumi.String("ti7q-k952-1qB3J_5"),
			ExtendedCapacitySizeTiB: pulumi.Float64(7),
			Location:                pulumi.String("aaaaaaaaaaaaaaaaaaaaaaaaaaa"),
			ResourceGroupName:       pulumi.String("rgelasticsan"),
			Sku: &elasticsan.SkuArgs{
				Name: pulumi.String("Premium_LRS"),
				Tier: pulumi.String("Premium"),
			},
			Tags: pulumi.StringMap{
				"key896": pulumi.String("aaaaaaaaaaaaaaaaaa"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.elasticsan.ElasticSan;
import com.pulumi.azurenative.elasticsan.ElasticSanArgs;
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 elasticSan = new ElasticSan("elasticSan", ElasticSanArgs.builder()        
            .availabilityZones("aaaaaaaaaaaaaaaaa")
            .baseSizeTiB(26)
            .elasticSanName("ti7q-k952-1qB3J_5")
            .extendedCapacitySizeTiB(7)
            .location("aaaaaaaaaaaaaaaaaaaaaaaaaaa")
            .resourceGroupName("rgelasticsan")
            .sku(Map.ofEntries(
                Map.entry("name", "Premium_LRS"),
                Map.entry("tier", "Premium")
            ))
            .tags(Map.of("key896", "aaaaaaaaaaaaaaaaaa"))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

elastic_san = azure_native.elasticsan.ElasticSan("elasticSan",
    availability_zones=["aaaaaaaaaaaaaaaaa"],
    base_size_ti_b=26,
    elastic_san_name="ti7q-k952-1qB3J_5",
    extended_capacity_size_ti_b=7,
    location="aaaaaaaaaaaaaaaaaaaaaaaaaaa",
    resource_group_name="rgelasticsan",
    sku=azure_native.elasticsan.SkuArgs(
        name="Premium_LRS",
        tier="Premium",
    ),
    tags={
        "key896": "aaaaaaaaaaaaaaaaaa",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const elasticSan = new azure_native.elasticsan.ElasticSan("elasticSan", {
    availabilityZones: ["aaaaaaaaaaaaaaaaa"],
    baseSizeTiB: 26,
    elasticSanName: "ti7q-k952-1qB3J_5",
    extendedCapacitySizeTiB: 7,
    location: "aaaaaaaaaaaaaaaaaaaaaaaaaaa",
    resourceGroupName: "rgelasticsan",
    sku: {
        name: "Premium_LRS",
        tier: "Premium",
    },
    tags: {
        key896: "aaaaaaaaaaaaaaaaaa",
    },
});
resources:
  elasticSan:
    type: azure-native:elasticsan:ElasticSan
    properties:
      availabilityZones:
        - aaaaaaaaaaaaaaaaa
      baseSizeTiB: 26
      elasticSanName: ti7q-k952-1qB3J_5
      extendedCapacitySizeTiB: 7
      location: aaaaaaaaaaaaaaaaaaaaaaaaaaa
      resourceGroupName: rgelasticsan
      sku:
        name: Premium_LRS
        tier: Premium
      tags:
        key896: aaaaaaaaaaaaaaaaaa

ElasticSans_Create_MinimumSet_Gen

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

return await Deployment.RunAsync(() => 
{
    var elasticSan = new AzureNative.ElasticSan.ElasticSan("elasticSan", new()
    {
        BaseSizeTiB = 26,
        ElasticSanName = "ti7q-k952-1qB3J_5",
        ExtendedCapacitySizeTiB = 7,
        ResourceGroupName = "rgelasticsan",
        Sku = new AzureNative.ElasticSan.Inputs.SkuArgs
        {
            Name = "Premium_LRS",
        },
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := elasticsan.NewElasticSan(ctx, "elasticSan", &elasticsan.ElasticSanArgs{
			BaseSizeTiB:             pulumi.Float64(26),
			ElasticSanName:          pulumi.String("ti7q-k952-1qB3J_5"),
			ExtendedCapacitySizeTiB: pulumi.Float64(7),
			ResourceGroupName:       pulumi.String("rgelasticsan"),
			Sku: &elasticsan.SkuArgs{
				Name: pulumi.String("Premium_LRS"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.elasticsan.ElasticSan;
import com.pulumi.azurenative.elasticsan.ElasticSanArgs;
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 elasticSan = new ElasticSan("elasticSan", ElasticSanArgs.builder()        
            .baseSizeTiB(26)
            .elasticSanName("ti7q-k952-1qB3J_5")
            .extendedCapacitySizeTiB(7)
            .resourceGroupName("rgelasticsan")
            .sku(Map.of("name", "Premium_LRS"))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

elastic_san = azure_native.elasticsan.ElasticSan("elasticSan",
    base_size_ti_b=26,
    elastic_san_name="ti7q-k952-1qB3J_5",
    extended_capacity_size_ti_b=7,
    resource_group_name="rgelasticsan",
    sku=azure_native.elasticsan.SkuArgs(
        name="Premium_LRS",
    ))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const elasticSan = new azure_native.elasticsan.ElasticSan("elasticSan", {
    baseSizeTiB: 26,
    elasticSanName: "ti7q-k952-1qB3J_5",
    extendedCapacitySizeTiB: 7,
    resourceGroupName: "rgelasticsan",
    sku: {
        name: "Premium_LRS",
    },
});
resources:
  elasticSan:
    type: azure-native:elasticsan:ElasticSan
    properties:
      baseSizeTiB: 26
      elasticSanName: ti7q-k952-1qB3J_5
      extendedCapacitySizeTiB: 7
      resourceGroupName: rgelasticsan
      sku:
        name: Premium_LRS

Create a ElasticSan Resource

new ElasticSan(name: string, args: ElasticSanArgs, opts?: CustomResourceOptions);
@overload
def ElasticSan(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               availability_zones: Optional[Sequence[str]] = None,
               base_size_ti_b: Optional[float] = None,
               elastic_san_name: Optional[str] = None,
               extended_capacity_size_ti_b: Optional[float] = None,
               location: Optional[str] = None,
               resource_group_name: Optional[str] = None,
               sku: Optional[SkuArgs] = None,
               tags: Optional[Mapping[str, str]] = None)
@overload
def ElasticSan(resource_name: str,
               args: ElasticSanArgs,
               opts: Optional[ResourceOptions] = None)
func NewElasticSan(ctx *Context, name string, args ElasticSanArgs, opts ...ResourceOption) (*ElasticSan, error)
public ElasticSan(string name, ElasticSanArgs args, CustomResourceOptions? opts = null)
public ElasticSan(String name, ElasticSanArgs args)
public ElasticSan(String name, ElasticSanArgs args, CustomResourceOptions options)
type: azure-native:elasticsan:ElasticSan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

ElasticSan Resource Properties

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

Inputs

The ElasticSan resource accepts the following input properties:

BaseSizeTiB double

Base size of the Elastic San appliance in TiB.

ExtendedCapacitySizeTiB double

Extended size of the Elastic San appliance in TiB.

ResourceGroupName string

The name of the resource group. The name is case insensitive.

Sku Pulumi.AzureNative.ElasticSan.Inputs.SkuArgs

resource sku

AvailabilityZones List<string>

Logical zone for Elastic San resource; example: ["1"].

ElasticSanName string

The name of the ElasticSan.

Location string

The geo-location where the resource lives.

Tags Dictionary<string, string>

Azure resource tags.

BaseSizeTiB float64

Base size of the Elastic San appliance in TiB.

ExtendedCapacitySizeTiB float64

Extended size of the Elastic San appliance in TiB.

ResourceGroupName string

The name of the resource group. The name is case insensitive.

Sku SkuArgs

resource sku

AvailabilityZones []string

Logical zone for Elastic San resource; example: ["1"].

ElasticSanName string

The name of the ElasticSan.

Location string

The geo-location where the resource lives.

Tags map[string]string

Azure resource tags.

baseSizeTiB Double

Base size of the Elastic San appliance in TiB.

extendedCapacitySizeTiB Double

Extended size of the Elastic San appliance in TiB.

resourceGroupName String

The name of the resource group. The name is case insensitive.

sku SkuArgs

resource sku

availabilityZones List<String>

Logical zone for Elastic San resource; example: ["1"].

elasticSanName String

The name of the ElasticSan.

location String

The geo-location where the resource lives.

tags Map<String,String>

Azure resource tags.

baseSizeTiB number

Base size of the Elastic San appliance in TiB.

extendedCapacitySizeTiB number

Extended size of the Elastic San appliance in TiB.

resourceGroupName string

The name of the resource group. The name is case insensitive.

sku SkuArgs

resource sku

availabilityZones string[]

Logical zone for Elastic San resource; example: ["1"].

elasticSanName string

The name of the ElasticSan.

location string

The geo-location where the resource lives.

tags {[key: string]: string}

Azure resource tags.

base_size_ti_b float

Base size of the Elastic San appliance in TiB.

extended_capacity_size_ti_b float

Extended size of the Elastic San appliance in TiB.

resource_group_name str

The name of the resource group. The name is case insensitive.

sku SkuArgs

resource sku

availability_zones Sequence[str]

Logical zone for Elastic San resource; example: ["1"].

elastic_san_name str

The name of the ElasticSan.

location str

The geo-location where the resource lives.

tags Mapping[str, str]

Azure resource tags.

baseSizeTiB Number

Base size of the Elastic San appliance in TiB.

extendedCapacitySizeTiB Number

Extended size of the Elastic San appliance in TiB.

resourceGroupName String

The name of the resource group. The name is case insensitive.

sku Property Map

resource sku

availabilityZones List<String>

Logical zone for Elastic San resource; example: ["1"].

elasticSanName String

The name of the ElasticSan.

location String

The geo-location where the resource lives.

tags Map<String>

Azure resource tags.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

Azure resource name.

ProvisioningState string

State of the operation on the resource.

SystemData Pulumi.AzureNative.ElasticSan.Outputs.SystemDataResponse

Resource metadata required by ARM RPC

TotalIops double

Total Provisioned IOPS of the Elastic San appliance.

TotalMBps double

Total Provisioned MBps Elastic San appliance.

TotalSizeTiB double

Total size of the Elastic San appliance in TB.

TotalVolumeSizeGiB double

Total size of the provisioned Volumes in GiB.

Type string

Azure resource type.

VolumeGroupCount double

Total number of volume groups in this Elastic San appliance.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Azure resource name.

ProvisioningState string

State of the operation on the resource.

SystemData SystemDataResponse

Resource metadata required by ARM RPC

TotalIops float64

Total Provisioned IOPS of the Elastic San appliance.

TotalMBps float64

Total Provisioned MBps Elastic San appliance.

TotalSizeTiB float64

Total size of the Elastic San appliance in TB.

TotalVolumeSizeGiB float64

Total size of the provisioned Volumes in GiB.

Type string

Azure resource type.

VolumeGroupCount float64

Total number of volume groups in this Elastic San appliance.

id String

The provider-assigned unique ID for this managed resource.

name String

Azure resource name.

provisioningState String

State of the operation on the resource.

systemData SystemDataResponse

Resource metadata required by ARM RPC

totalIops Double

Total Provisioned IOPS of the Elastic San appliance.

totalMBps Double

Total Provisioned MBps Elastic San appliance.

totalSizeTiB Double

Total size of the Elastic San appliance in TB.

totalVolumeSizeGiB Double

Total size of the provisioned Volumes in GiB.

type String

Azure resource type.

volumeGroupCount Double

Total number of volume groups in this Elastic San appliance.

id string

The provider-assigned unique ID for this managed resource.

name string

Azure resource name.

provisioningState string

State of the operation on the resource.

systemData SystemDataResponse

Resource metadata required by ARM RPC

totalIops number

Total Provisioned IOPS of the Elastic San appliance.

totalMBps number

Total Provisioned MBps Elastic San appliance.

totalSizeTiB number

Total size of the Elastic San appliance in TB.

totalVolumeSizeGiB number

Total size of the provisioned Volumes in GiB.

type string

Azure resource type.

volumeGroupCount number

Total number of volume groups in this Elastic San appliance.

id str

The provider-assigned unique ID for this managed resource.

name str

Azure resource name.

provisioning_state str

State of the operation on the resource.

system_data SystemDataResponse

Resource metadata required by ARM RPC

total_iops float

Total Provisioned IOPS of the Elastic San appliance.

total_m_bps float

Total Provisioned MBps Elastic San appliance.

total_size_ti_b float

Total size of the Elastic San appliance in TB.

total_volume_size_gi_b float

Total size of the provisioned Volumes in GiB.

type str

Azure resource type.

volume_group_count float

Total number of volume groups in this Elastic San appliance.

id String

The provider-assigned unique ID for this managed resource.

name String

Azure resource name.

provisioningState String

State of the operation on the resource.

systemData Property Map

Resource metadata required by ARM RPC

totalIops Number

Total Provisioned IOPS of the Elastic San appliance.

totalMBps Number

Total Provisioned MBps Elastic San appliance.

totalSizeTiB Number

Total size of the Elastic San appliance in TB.

totalVolumeSizeGiB Number

Total size of the provisioned Volumes in GiB.

type String

Azure resource type.

volumeGroupCount Number

Total number of volume groups in this Elastic San appliance.

Supporting Types

Sku

Name string | SkuName

The sku name.

Tier string | SkuTier

The sku tier.

name String | SkuName

The sku name.

tier String | SkuTier

The sku tier.

name string | SkuName

The sku name.

tier string | SkuTier

The sku tier.

name str | SkuName

The sku name.

tier str | SkuTier

The sku tier.

name String | "Premium_LRS" | "Premium_ZRS"

The sku name.

tier String | "Premium"

The sku tier.

SkuName

Premium_LRS
Premium_LRS

Premium locally redundant storage

Premium_ZRS
Premium_ZRS

Premium zone redundant storage

SkuName_Premium_LRS
Premium_LRS

Premium locally redundant storage

SkuName_Premium_ZRS
Premium_ZRS

Premium zone redundant storage

Premium_LRS
Premium_LRS

Premium locally redundant storage

Premium_ZRS
Premium_ZRS

Premium zone redundant storage

Premium_LRS
Premium_LRS

Premium locally redundant storage

Premium_ZRS
Premium_ZRS

Premium zone redundant storage

PREMIUM_LRS
Premium_LRS

Premium locally redundant storage

PREMIUM_ZRS
Premium_ZRS

Premium zone redundant storage

"Premium_LRS"
Premium_LRS

Premium locally redundant storage

"Premium_ZRS"
Premium_ZRS

Premium zone redundant storage

SkuResponse

Name string

The sku name.

Tier string

The sku tier.

Name string

The sku name.

Tier string

The sku tier.

name String

The sku name.

tier String

The sku tier.

name string

The sku name.

tier string

The sku tier.

name str

The sku name.

tier str

The sku tier.

name String

The sku name.

tier String

The sku tier.

SkuTier

Premium
Premium

Premium Tier

SkuTierPremium
Premium

Premium Tier

Premium
Premium

Premium Tier

Premium
Premium

Premium Tier

PREMIUM
Premium

Premium Tier

"Premium"
Premium

Premium Tier

SystemDataResponse

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.

Import

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

$ pulumi import azure-native:elasticsan:ElasticSan aaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaa 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0