ElasticSan

class ElasticSan : KotlinCustomResource

Response for ElasticSan request. Uses Azure REST API version 2024-05-01. In version 2.x of the Azure Native provider, it used API version 2021-11-20-preview. Other available API versions: 2021-11-20-preview, 2022-12-01-preview, 2023-01-01, 2024-06-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native elasticsan [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

ElasticSans_Create_MaximumSet_Gen

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var elasticSan = new AzureNative.ElasticSan.ElasticSan("elasticSan", new()
{
AvailabilityZones = new[]
{
"1",
},
BaseSizeTiB = 5,
ElasticSanName = "elasticsanname",
ExtendedCapacitySizeTiB = 25,
Location = "France Central",
PublicNetworkAccess = AzureNative.ElasticSan.PublicNetworkAccess.Enabled,
ResourceGroupName = "resourcegroupname",
Sku = new AzureNative.ElasticSan.Inputs.SkuArgs
{
Name = AzureNative.ElasticSan.SkuName.Premium_LRS,
Tier = AzureNative.ElasticSan.SkuTier.Premium,
},
Tags =
{
{ "key9316", "ihndtieqibtob" },
},
});
});
package main
import (
elasticsan "github.com/pulumi/pulumi-azure-native-sdk/elasticsan/v2"
"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("1"),
},
BaseSizeTiB: pulumi.Float64(5),
ElasticSanName: pulumi.String("elasticsanname"),
ExtendedCapacitySizeTiB: pulumi.Float64(25),
Location: pulumi.String("France Central"),
PublicNetworkAccess: pulumi.String(elasticsan.PublicNetworkAccessEnabled),
ResourceGroupName: pulumi.String("resourcegroupname"),
Sku: &elasticsan.SkuArgs{
Name: pulumi.String(elasticsan.SkuName_Premium_LRS),
Tier: pulumi.String(elasticsan.SkuTierPremium),
},
Tags: pulumi.StringMap{
"key9316": pulumi.String("ihndtieqibtob"),
},
})
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 com.pulumi.azurenative.elasticsan.inputs.SkuArgs;
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("1")
.baseSizeTiB(5)
.elasticSanName("elasticsanname")
.extendedCapacitySizeTiB(25)
.location("France Central")
.publicNetworkAccess("Enabled")
.resourceGroupName("resourcegroupname")
.sku(SkuArgs.builder()
.name("Premium_LRS")
.tier("Premium")
.build())
.tags(Map.of("key9316", "ihndtieqibtob"))
.build());
}
}

ElasticSans_Create_MinimumSet_Gen

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var elasticSan = new AzureNative.ElasticSan.ElasticSan("elasticSan", new()
{
BaseSizeTiB = 15,
ElasticSanName = "elasticsanname",
ExtendedCapacitySizeTiB = 27,
Location = "France Central",
ResourceGroupName = "resourcegroupname",
Sku = new AzureNative.ElasticSan.Inputs.SkuArgs
{
Name = AzureNative.ElasticSan.SkuName.Premium_LRS,
},
});
});
package main
import (
elasticsan "github.com/pulumi/pulumi-azure-native-sdk/elasticsan/v2"
"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(15),
ElasticSanName: pulumi.String("elasticsanname"),
ExtendedCapacitySizeTiB: pulumi.Float64(27),
Location: pulumi.String("France Central"),
ResourceGroupName: pulumi.String("resourcegroupname"),
Sku: &elasticsan.SkuArgs{
Name: pulumi.String(elasticsan.SkuName_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 com.pulumi.azurenative.elasticsan.inputs.SkuArgs;
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(15)
.elasticSanName("elasticsanname")
.extendedCapacitySizeTiB(27)
.location("France Central")
.resourceGroupName("resourcegroupname")
.sku(SkuArgs.builder()
.name("Premium_LRS")
.build())
.build());
}
}

Import

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

$ pulumi import azure-native:elasticsan:ElasticSan vfoatmakv /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}

Properties

Link copied to clipboard

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

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val baseSizeTiB: Output<Double>

Base size of the Elastic San appliance in TiB.

Link copied to clipboard

Extended size of the Elastic San appliance in TiB.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

The list of Private Endpoint Connections.

Link copied to clipboard

State of the operation on the resource.

Link copied to clipboard

Allow or disallow public network access to ElasticSan. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sku: Output<SkuResponse>

resource sku

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val totalIops: Output<Double>

Total Provisioned IOPS of the Elastic San appliance.

Link copied to clipboard
val totalMBps: Output<Double>

Total Provisioned MBps Elastic San appliance.

Link copied to clipboard
val totalSizeTiB: Output<Double>

Total size of the Elastic San appliance in TB.

Link copied to clipboard

Total size of the provisioned Volumes in GiB.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

Total number of volume groups in this Elastic San appliance.