elasticsan

package
v5.59.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElasticSan

type ElasticSan struct {
	pulumi.CustomResourceState

	// 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.IntOutput `pulumi:"baseSizeInTib"`
	// 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.IntPtrOutput `pulumi:"extendedSizeInTib"`
	// The Azure Region where the Elastic SAN resource should exist. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name of this Elastic SAN resource. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// 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.StringOutput `pulumi:"resourceGroupName"`
	// A `sku` block as defined below.
	Sku ElasticSanSkuOutput `pulumi:"sku"`
	// A mapping of tags which should be assigned to the Elastic SAN resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Total Provisioned IOps of the Elastic SAN resource.
	TotalIops pulumi.IntOutput `pulumi:"totalIops"`
	// Total Provisioned MBps Elastic SAN resource.
	TotalMbps pulumi.IntOutput `pulumi:"totalMbps"`
	// Total size of the Elastic SAN resource in TB.
	TotalSizeInTib pulumi.IntOutput `pulumi:"totalSizeInTib"`
	// Total size of the provisioned Volumes in GiB.
	TotalVolumeSizeInGib pulumi.IntOutput `pulumi:"totalVolumeSizeInGib"`
	// Total number of volume groups in this Elastic SAN resource.
	VolumeGroupCount pulumi.IntOutput `pulumi:"volumeGroupCount"`
	// 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.StringArrayOutput `pulumi:"zones"`
}

Manages an Elastic SAN resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/elasticsan"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = elasticsan.NewElasticSan(ctx, "exampleElasticSan", &elasticsan.ElasticSanArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			BaseSizeInTib:     pulumi.Int(1),
			ExtendedSizeInTib: pulumi.Int(2),
			Sku: &elasticsan.ElasticSanSkuArgs{
				Name: pulumi.String("example-value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

An existing Elastic SAN can be imported into Terraform 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

```

func GetElasticSan

func GetElasticSan(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ElasticSanState, opts ...pulumi.ResourceOption) (*ElasticSan, error)

GetElasticSan gets an existing ElasticSan resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewElasticSan

func NewElasticSan(ctx *pulumi.Context,
	name string, args *ElasticSanArgs, opts ...pulumi.ResourceOption) (*ElasticSan, error)

NewElasticSan registers a new resource with the given unique name, arguments, and options.

func (*ElasticSan) ElementType

func (*ElasticSan) ElementType() reflect.Type

func (*ElasticSan) ToElasticSanOutput

func (i *ElasticSan) ToElasticSanOutput() ElasticSanOutput

func (*ElasticSan) ToElasticSanOutputWithContext

func (i *ElasticSan) ToElasticSanOutputWithContext(ctx context.Context) ElasticSanOutput

type ElasticSanArgs

type ElasticSanArgs struct {
	// 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.IntInput
	// 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.IntPtrInput
	// The Azure Region where the Elastic SAN resource should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Elastic SAN resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// 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.StringInput
	// A `sku` block as defined below.
	Sku ElasticSanSkuInput
	// A mapping of tags which should be assigned to the Elastic SAN resource.
	Tags pulumi.StringMapInput
	// 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.StringArrayInput
}

The set of arguments for constructing a ElasticSan resource.

func (ElasticSanArgs) ElementType

func (ElasticSanArgs) ElementType() reflect.Type

type ElasticSanArray

type ElasticSanArray []ElasticSanInput

func (ElasticSanArray) ElementType

func (ElasticSanArray) ElementType() reflect.Type

func (ElasticSanArray) ToElasticSanArrayOutput

func (i ElasticSanArray) ToElasticSanArrayOutput() ElasticSanArrayOutput

func (ElasticSanArray) ToElasticSanArrayOutputWithContext

func (i ElasticSanArray) ToElasticSanArrayOutputWithContext(ctx context.Context) ElasticSanArrayOutput

type ElasticSanArrayInput

type ElasticSanArrayInput interface {
	pulumi.Input

	ToElasticSanArrayOutput() ElasticSanArrayOutput
	ToElasticSanArrayOutputWithContext(context.Context) ElasticSanArrayOutput
}

ElasticSanArrayInput is an input type that accepts ElasticSanArray and ElasticSanArrayOutput values. You can construct a concrete instance of `ElasticSanArrayInput` via:

ElasticSanArray{ ElasticSanArgs{...} }

type ElasticSanArrayOutput

type ElasticSanArrayOutput struct{ *pulumi.OutputState }

func (ElasticSanArrayOutput) ElementType

func (ElasticSanArrayOutput) ElementType() reflect.Type

func (ElasticSanArrayOutput) Index

func (ElasticSanArrayOutput) ToElasticSanArrayOutput

func (o ElasticSanArrayOutput) ToElasticSanArrayOutput() ElasticSanArrayOutput

func (ElasticSanArrayOutput) ToElasticSanArrayOutputWithContext

func (o ElasticSanArrayOutput) ToElasticSanArrayOutputWithContext(ctx context.Context) ElasticSanArrayOutput

type ElasticSanInput

type ElasticSanInput interface {
	pulumi.Input

	ToElasticSanOutput() ElasticSanOutput
	ToElasticSanOutputWithContext(ctx context.Context) ElasticSanOutput
}

type ElasticSanMap

type ElasticSanMap map[string]ElasticSanInput

func (ElasticSanMap) ElementType

func (ElasticSanMap) ElementType() reflect.Type

func (ElasticSanMap) ToElasticSanMapOutput

func (i ElasticSanMap) ToElasticSanMapOutput() ElasticSanMapOutput

func (ElasticSanMap) ToElasticSanMapOutputWithContext

func (i ElasticSanMap) ToElasticSanMapOutputWithContext(ctx context.Context) ElasticSanMapOutput

type ElasticSanMapInput

type ElasticSanMapInput interface {
	pulumi.Input

	ToElasticSanMapOutput() ElasticSanMapOutput
	ToElasticSanMapOutputWithContext(context.Context) ElasticSanMapOutput
}

ElasticSanMapInput is an input type that accepts ElasticSanMap and ElasticSanMapOutput values. You can construct a concrete instance of `ElasticSanMapInput` via:

ElasticSanMap{ "key": ElasticSanArgs{...} }

type ElasticSanMapOutput

type ElasticSanMapOutput struct{ *pulumi.OutputState }

func (ElasticSanMapOutput) ElementType

func (ElasticSanMapOutput) ElementType() reflect.Type

func (ElasticSanMapOutput) MapIndex

func (ElasticSanMapOutput) ToElasticSanMapOutput

func (o ElasticSanMapOutput) ToElasticSanMapOutput() ElasticSanMapOutput

func (ElasticSanMapOutput) ToElasticSanMapOutputWithContext

func (o ElasticSanMapOutput) ToElasticSanMapOutputWithContext(ctx context.Context) ElasticSanMapOutput

type ElasticSanOutput

type ElasticSanOutput struct{ *pulumi.OutputState }

func (ElasticSanOutput) BaseSizeInTib

func (o ElasticSanOutput) BaseSizeInTib() pulumi.IntOutput

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.

func (ElasticSanOutput) ElementType

func (ElasticSanOutput) ElementType() reflect.Type

func (ElasticSanOutput) ExtendedSizeInTib

func (o ElasticSanOutput) ExtendedSizeInTib() pulumi.IntPtrOutput

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.

func (ElasticSanOutput) Location

func (o ElasticSanOutput) Location() pulumi.StringOutput

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

func (ElasticSanOutput) Name

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

func (ElasticSanOutput) ResourceGroupName

func (o ElasticSanOutput) ResourceGroupName() pulumi.StringOutput

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

func (ElasticSanOutput) Sku

A `sku` block as defined below.

func (ElasticSanOutput) Tags

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

func (ElasticSanOutput) ToElasticSanOutput

func (o ElasticSanOutput) ToElasticSanOutput() ElasticSanOutput

func (ElasticSanOutput) ToElasticSanOutputWithContext

func (o ElasticSanOutput) ToElasticSanOutputWithContext(ctx context.Context) ElasticSanOutput

func (ElasticSanOutput) TotalIops

func (o ElasticSanOutput) TotalIops() pulumi.IntOutput

Total Provisioned IOps of the Elastic SAN resource.

func (ElasticSanOutput) TotalMbps

func (o ElasticSanOutput) TotalMbps() pulumi.IntOutput

Total Provisioned MBps Elastic SAN resource.

func (ElasticSanOutput) TotalSizeInTib

func (o ElasticSanOutput) TotalSizeInTib() pulumi.IntOutput

Total size of the Elastic SAN resource in TB.

func (ElasticSanOutput) TotalVolumeSizeInGib

func (o ElasticSanOutput) TotalVolumeSizeInGib() pulumi.IntOutput

Total size of the provisioned Volumes in GiB.

func (ElasticSanOutput) VolumeGroupCount

func (o ElasticSanOutput) VolumeGroupCount() pulumi.IntOutput

Total number of volume groups in this Elastic SAN resource.

func (ElasticSanOutput) Zones

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`.

type ElasticSanSku

type ElasticSanSku struct {
	// The SKU name. Possible values are `Premium_LRS` and `Premium_ZRS`.
	//
	// > **NOTE** `Premium_ZRS` SKU is only available in limited Azure regions including `France Central`, `North Europe`, `West Europe`, and `West US 2`. Please refer to this [document](https://azure.microsoft.com/updates/regional-expansion-azure-elastic-san-public-preview-is-now-available-in-more-regions) for more details.
	Name string `pulumi:"name"`
	// The SKU tier. The only possible value is `Premium`.
	Tier *string `pulumi:"tier"`
}

type ElasticSanSkuArgs

type ElasticSanSkuArgs struct {
	// The SKU name. Possible values are `Premium_LRS` and `Premium_ZRS`.
	//
	// > **NOTE** `Premium_ZRS` SKU is only available in limited Azure regions including `France Central`, `North Europe`, `West Europe`, and `West US 2`. Please refer to this [document](https://azure.microsoft.com/updates/regional-expansion-azure-elastic-san-public-preview-is-now-available-in-more-regions) for more details.
	Name pulumi.StringInput `pulumi:"name"`
	// The SKU tier. The only possible value is `Premium`.
	Tier pulumi.StringPtrInput `pulumi:"tier"`
}

func (ElasticSanSkuArgs) ElementType

func (ElasticSanSkuArgs) ElementType() reflect.Type

func (ElasticSanSkuArgs) ToElasticSanSkuOutput

func (i ElasticSanSkuArgs) ToElasticSanSkuOutput() ElasticSanSkuOutput

func (ElasticSanSkuArgs) ToElasticSanSkuOutputWithContext

func (i ElasticSanSkuArgs) ToElasticSanSkuOutputWithContext(ctx context.Context) ElasticSanSkuOutput

func (ElasticSanSkuArgs) ToElasticSanSkuPtrOutput

func (i ElasticSanSkuArgs) ToElasticSanSkuPtrOutput() ElasticSanSkuPtrOutput

func (ElasticSanSkuArgs) ToElasticSanSkuPtrOutputWithContext

func (i ElasticSanSkuArgs) ToElasticSanSkuPtrOutputWithContext(ctx context.Context) ElasticSanSkuPtrOutput

type ElasticSanSkuInput

type ElasticSanSkuInput interface {
	pulumi.Input

	ToElasticSanSkuOutput() ElasticSanSkuOutput
	ToElasticSanSkuOutputWithContext(context.Context) ElasticSanSkuOutput
}

ElasticSanSkuInput is an input type that accepts ElasticSanSkuArgs and ElasticSanSkuOutput values. You can construct a concrete instance of `ElasticSanSkuInput` via:

ElasticSanSkuArgs{...}

type ElasticSanSkuOutput

type ElasticSanSkuOutput struct{ *pulumi.OutputState }

func (ElasticSanSkuOutput) ElementType

func (ElasticSanSkuOutput) ElementType() reflect.Type

func (ElasticSanSkuOutput) Name

The SKU name. Possible values are `Premium_LRS` and `Premium_ZRS`.

> **NOTE** `Premium_ZRS` SKU is only available in limited Azure regions including `France Central`, `North Europe`, `West Europe`, and `West US 2`. Please refer to this [document](https://azure.microsoft.com/updates/regional-expansion-azure-elastic-san-public-preview-is-now-available-in-more-regions) for more details.

func (ElasticSanSkuOutput) Tier

The SKU tier. The only possible value is `Premium`.

func (ElasticSanSkuOutput) ToElasticSanSkuOutput

func (o ElasticSanSkuOutput) ToElasticSanSkuOutput() ElasticSanSkuOutput

func (ElasticSanSkuOutput) ToElasticSanSkuOutputWithContext

func (o ElasticSanSkuOutput) ToElasticSanSkuOutputWithContext(ctx context.Context) ElasticSanSkuOutput

func (ElasticSanSkuOutput) ToElasticSanSkuPtrOutput

func (o ElasticSanSkuOutput) ToElasticSanSkuPtrOutput() ElasticSanSkuPtrOutput

func (ElasticSanSkuOutput) ToElasticSanSkuPtrOutputWithContext

func (o ElasticSanSkuOutput) ToElasticSanSkuPtrOutputWithContext(ctx context.Context) ElasticSanSkuPtrOutput

type ElasticSanSkuPtrInput

type ElasticSanSkuPtrInput interface {
	pulumi.Input

	ToElasticSanSkuPtrOutput() ElasticSanSkuPtrOutput
	ToElasticSanSkuPtrOutputWithContext(context.Context) ElasticSanSkuPtrOutput
}

ElasticSanSkuPtrInput is an input type that accepts ElasticSanSkuArgs, ElasticSanSkuPtr and ElasticSanSkuPtrOutput values. You can construct a concrete instance of `ElasticSanSkuPtrInput` via:

        ElasticSanSkuArgs{...}

or:

        nil

type ElasticSanSkuPtrOutput

type ElasticSanSkuPtrOutput struct{ *pulumi.OutputState }

func (ElasticSanSkuPtrOutput) Elem

func (ElasticSanSkuPtrOutput) ElementType

func (ElasticSanSkuPtrOutput) ElementType() reflect.Type

func (ElasticSanSkuPtrOutput) Name

The SKU name. Possible values are `Premium_LRS` and `Premium_ZRS`.

> **NOTE** `Premium_ZRS` SKU is only available in limited Azure regions including `France Central`, `North Europe`, `West Europe`, and `West US 2`. Please refer to this [document](https://azure.microsoft.com/updates/regional-expansion-azure-elastic-san-public-preview-is-now-available-in-more-regions) for more details.

func (ElasticSanSkuPtrOutput) Tier

The SKU tier. The only possible value is `Premium`.

func (ElasticSanSkuPtrOutput) ToElasticSanSkuPtrOutput

func (o ElasticSanSkuPtrOutput) ToElasticSanSkuPtrOutput() ElasticSanSkuPtrOutput

func (ElasticSanSkuPtrOutput) ToElasticSanSkuPtrOutputWithContext

func (o ElasticSanSkuPtrOutput) ToElasticSanSkuPtrOutputWithContext(ctx context.Context) ElasticSanSkuPtrOutput

type ElasticSanState

type ElasticSanState struct {
	// 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.IntPtrInput
	// 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.IntPtrInput
	// The Azure Region where the Elastic SAN resource should exist. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of this Elastic SAN resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// 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.StringPtrInput
	// A `sku` block as defined below.
	Sku ElasticSanSkuPtrInput
	// A mapping of tags which should be assigned to the Elastic SAN resource.
	Tags pulumi.StringMapInput
	// Total Provisioned IOps of the Elastic SAN resource.
	TotalIops pulumi.IntPtrInput
	// Total Provisioned MBps Elastic SAN resource.
	TotalMbps pulumi.IntPtrInput
	// Total size of the Elastic SAN resource in TB.
	TotalSizeInTib pulumi.IntPtrInput
	// Total size of the provisioned Volumes in GiB.
	TotalVolumeSizeInGib pulumi.IntPtrInput
	// Total number of volume groups in this Elastic SAN resource.
	VolumeGroupCount pulumi.IntPtrInput
	// 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.StringArrayInput
}

func (ElasticSanState) ElementType

func (ElasticSanState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL