ElasticSanArgs

data class ElasticSanArgs(val baseSizeInTib: Output<Int>? = null, val extendedSizeInTib: Output<Int>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<ElasticSanSkuArgs>? = null, val tags: Output<Map<String, String>>? = null, val zones: Output<List<String>>? = null) : ConvertibleToJava<ElasticSanArgs>

Manages an Elastic SAN resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.elasticsan.ElasticSan;
import com.pulumi.azure.elasticsan.ElasticSanArgs;
import com.pulumi.azure.elasticsan.inputs.ElasticSanSkuArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var exampleElasticSan = new ElasticSan("exampleElasticSan", ElasticSanArgs.builder()
.name("example")
.resourceGroupName(example.name())
.location(example.location())
.baseSizeInTib(1)
.extendedSizeInTib(2)
.sku(ElasticSanSkuArgs.builder()
.name("example-value")
.build())
.build());
}
}

Import

An existing Elastic SAN can be imported into Terraform using the resource id, e.g.

$ pulumi import azure:elasticsan/elasticSan:ElasticSan example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ElasticSan/elasticSans/esan1

Constructors

Link copied to clipboard
fun ElasticSanArgs(baseSizeInTib: Output<Int>? = null, extendedSizeInTib: Output<Int>? = null, location: Output<String>? = null, name: Output<String>? = null, resourceGroupName: Output<String>? = null, sku: Output<ElasticSanSkuArgs>? = null, tags: Output<Map<String, String>>? = null, zones: Output<List<String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ElasticSanArgs

Properties

Link copied to clipboard
val baseSizeInTib: Output<Int>? = null

Specifies the base size of the Elastic SAN resource in TiB. Possible values are between 1 and 100.

Link copied to clipboard
val extendedSizeInTib: Output<Int>? = null

Specifies the extended size of the Elastic SAN resource in TiB. Possible values are between 1 and 100.

Link copied to clipboard
val location: Output<String>? = null

The Azure Region where the Elastic SAN resource should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val name: Output<String>? = null

Specifies the name of this Elastic SAN resource. Changing this forces a new resource to be created.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

Specifies the name of the Resource Group within which this Elastic SAN resource should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val sku: Output<ElasticSanSkuArgs>? = null

A sku block as defined below.

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

A mapping of tags which should be assigned to the Elastic SAN resource.

Link copied to clipboard
val zones: Output<List<String>>? = null

Logical zone for the Elastic SAN resource. Changing this forces a new resource to be created.