fabric

package
v6.17.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 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 Capacity

type Capacity struct {
	pulumi.CustomResourceState

	// An array of administrator user identities. The member must be an Entra member user or a service principal.
	AdministrationMembers pulumi.StringArrayOutput `pulumi:"administrationMembers"`
	// The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `sku` block as defined below.
	Sku CapacitySkuOutput `pulumi:"sku"`
	// A mapping of tags to assign to the Fabric Capacity.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Fabric Capacity.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/fabric"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = fabric.NewCapacity(ctx, "example", &fabric.CapacityArgs{
			Name:              pulumi.String("example-ffc"),
			ResourceGroupName: example.Name,
			Location:          pulumi.String("West Europe"),
			AdministrationMembers: pulumi.StringArray{
				pulumi.String(current.ObjectId),
			},
			Sku: &fabric.CapacitySkuArgs{
				Name: pulumi.String("F32"),
				Tier: pulumi.String("Fabric"),
			},
			Tags: pulumi.StringMap{
				"environment": pulumi.String("test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Fabric Capacities can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:fabric/capacity:Capacity example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Fabric/capacities/capacity1 ```

func GetCapacity

func GetCapacity(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CapacityState, opts ...pulumi.ResourceOption) (*Capacity, error)

GetCapacity gets an existing Capacity 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 NewCapacity

func NewCapacity(ctx *pulumi.Context,
	name string, args *CapacityArgs, opts ...pulumi.ResourceOption) (*Capacity, error)

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

func (*Capacity) ElementType

func (*Capacity) ElementType() reflect.Type

func (*Capacity) ToCapacityOutput

func (i *Capacity) ToCapacityOutput() CapacityOutput

func (*Capacity) ToCapacityOutputWithContext

func (i *Capacity) ToCapacityOutputWithContext(ctx context.Context) CapacityOutput

type CapacityArgs

type CapacityArgs struct {
	// An array of administrator user identities. The member must be an Entra member user or a service principal.
	AdministrationMembers pulumi.StringArrayInput
	// The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A `sku` block as defined below.
	Sku CapacitySkuInput
	// A mapping of tags to assign to the Fabric Capacity.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Capacity resource.

func (CapacityArgs) ElementType

func (CapacityArgs) ElementType() reflect.Type

type CapacityArray

type CapacityArray []CapacityInput

func (CapacityArray) ElementType

func (CapacityArray) ElementType() reflect.Type

func (CapacityArray) ToCapacityArrayOutput

func (i CapacityArray) ToCapacityArrayOutput() CapacityArrayOutput

func (CapacityArray) ToCapacityArrayOutputWithContext

func (i CapacityArray) ToCapacityArrayOutputWithContext(ctx context.Context) CapacityArrayOutput

type CapacityArrayInput

type CapacityArrayInput interface {
	pulumi.Input

	ToCapacityArrayOutput() CapacityArrayOutput
	ToCapacityArrayOutputWithContext(context.Context) CapacityArrayOutput
}

CapacityArrayInput is an input type that accepts CapacityArray and CapacityArrayOutput values. You can construct a concrete instance of `CapacityArrayInput` via:

CapacityArray{ CapacityArgs{...} }

type CapacityArrayOutput

type CapacityArrayOutput struct{ *pulumi.OutputState }

func (CapacityArrayOutput) ElementType

func (CapacityArrayOutput) ElementType() reflect.Type

func (CapacityArrayOutput) Index

func (CapacityArrayOutput) ToCapacityArrayOutput

func (o CapacityArrayOutput) ToCapacityArrayOutput() CapacityArrayOutput

func (CapacityArrayOutput) ToCapacityArrayOutputWithContext

func (o CapacityArrayOutput) ToCapacityArrayOutputWithContext(ctx context.Context) CapacityArrayOutput

type CapacityInput

type CapacityInput interface {
	pulumi.Input

	ToCapacityOutput() CapacityOutput
	ToCapacityOutputWithContext(ctx context.Context) CapacityOutput
}

type CapacityMap

type CapacityMap map[string]CapacityInput

func (CapacityMap) ElementType

func (CapacityMap) ElementType() reflect.Type

func (CapacityMap) ToCapacityMapOutput

func (i CapacityMap) ToCapacityMapOutput() CapacityMapOutput

func (CapacityMap) ToCapacityMapOutputWithContext

func (i CapacityMap) ToCapacityMapOutputWithContext(ctx context.Context) CapacityMapOutput

type CapacityMapInput

type CapacityMapInput interface {
	pulumi.Input

	ToCapacityMapOutput() CapacityMapOutput
	ToCapacityMapOutputWithContext(context.Context) CapacityMapOutput
}

CapacityMapInput is an input type that accepts CapacityMap and CapacityMapOutput values. You can construct a concrete instance of `CapacityMapInput` via:

CapacityMap{ "key": CapacityArgs{...} }

type CapacityMapOutput

type CapacityMapOutput struct{ *pulumi.OutputState }

func (CapacityMapOutput) ElementType

func (CapacityMapOutput) ElementType() reflect.Type

func (CapacityMapOutput) MapIndex

func (CapacityMapOutput) ToCapacityMapOutput

func (o CapacityMapOutput) ToCapacityMapOutput() CapacityMapOutput

func (CapacityMapOutput) ToCapacityMapOutputWithContext

func (o CapacityMapOutput) ToCapacityMapOutputWithContext(ctx context.Context) CapacityMapOutput

type CapacityOutput

type CapacityOutput struct{ *pulumi.OutputState }

func (CapacityOutput) AdministrationMembers

func (o CapacityOutput) AdministrationMembers() pulumi.StringArrayOutput

An array of administrator user identities. The member must be an Entra member user or a service principal.

func (CapacityOutput) ElementType

func (CapacityOutput) ElementType() reflect.Type

func (CapacityOutput) Location

func (o CapacityOutput) Location() pulumi.StringOutput

The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created.

func (CapacityOutput) Name

The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created.

func (CapacityOutput) ResourceGroupName

func (o CapacityOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created.

func (CapacityOutput) Sku

A `sku` block as defined below.

func (CapacityOutput) Tags

A mapping of tags to assign to the Fabric Capacity.

func (CapacityOutput) ToCapacityOutput

func (o CapacityOutput) ToCapacityOutput() CapacityOutput

func (CapacityOutput) ToCapacityOutputWithContext

func (o CapacityOutput) ToCapacityOutputWithContext(ctx context.Context) CapacityOutput

type CapacitySku

type CapacitySku struct {
	// The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`.
	Name string `pulumi:"name"`
	// The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`.
	Tier string `pulumi:"tier"`
}

type CapacitySkuArgs

type CapacitySkuArgs struct {
	// The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`.
	Name pulumi.StringInput `pulumi:"name"`
	// The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`.
	Tier pulumi.StringInput `pulumi:"tier"`
}

func (CapacitySkuArgs) ElementType

func (CapacitySkuArgs) ElementType() reflect.Type

func (CapacitySkuArgs) ToCapacitySkuOutput

func (i CapacitySkuArgs) ToCapacitySkuOutput() CapacitySkuOutput

func (CapacitySkuArgs) ToCapacitySkuOutputWithContext

func (i CapacitySkuArgs) ToCapacitySkuOutputWithContext(ctx context.Context) CapacitySkuOutput

func (CapacitySkuArgs) ToCapacitySkuPtrOutput

func (i CapacitySkuArgs) ToCapacitySkuPtrOutput() CapacitySkuPtrOutput

func (CapacitySkuArgs) ToCapacitySkuPtrOutputWithContext

func (i CapacitySkuArgs) ToCapacitySkuPtrOutputWithContext(ctx context.Context) CapacitySkuPtrOutput

type CapacitySkuInput

type CapacitySkuInput interface {
	pulumi.Input

	ToCapacitySkuOutput() CapacitySkuOutput
	ToCapacitySkuOutputWithContext(context.Context) CapacitySkuOutput
}

CapacitySkuInput is an input type that accepts CapacitySkuArgs and CapacitySkuOutput values. You can construct a concrete instance of `CapacitySkuInput` via:

CapacitySkuArgs{...}

type CapacitySkuOutput

type CapacitySkuOutput struct{ *pulumi.OutputState }

func (CapacitySkuOutput) ElementType

func (CapacitySkuOutput) ElementType() reflect.Type

func (CapacitySkuOutput) Name

The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`.

func (CapacitySkuOutput) Tier

The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`.

func (CapacitySkuOutput) ToCapacitySkuOutput

func (o CapacitySkuOutput) ToCapacitySkuOutput() CapacitySkuOutput

func (CapacitySkuOutput) ToCapacitySkuOutputWithContext

func (o CapacitySkuOutput) ToCapacitySkuOutputWithContext(ctx context.Context) CapacitySkuOutput

func (CapacitySkuOutput) ToCapacitySkuPtrOutput

func (o CapacitySkuOutput) ToCapacitySkuPtrOutput() CapacitySkuPtrOutput

func (CapacitySkuOutput) ToCapacitySkuPtrOutputWithContext

func (o CapacitySkuOutput) ToCapacitySkuPtrOutputWithContext(ctx context.Context) CapacitySkuPtrOutput

type CapacitySkuPtrInput

type CapacitySkuPtrInput interface {
	pulumi.Input

	ToCapacitySkuPtrOutput() CapacitySkuPtrOutput
	ToCapacitySkuPtrOutputWithContext(context.Context) CapacitySkuPtrOutput
}

CapacitySkuPtrInput is an input type that accepts CapacitySkuArgs, CapacitySkuPtr and CapacitySkuPtrOutput values. You can construct a concrete instance of `CapacitySkuPtrInput` via:

        CapacitySkuArgs{...}

or:

        nil

func CapacitySkuPtr

func CapacitySkuPtr(v *CapacitySkuArgs) CapacitySkuPtrInput

type CapacitySkuPtrOutput

type CapacitySkuPtrOutput struct{ *pulumi.OutputState }

func (CapacitySkuPtrOutput) Elem

func (CapacitySkuPtrOutput) ElementType

func (CapacitySkuPtrOutput) ElementType() reflect.Type

func (CapacitySkuPtrOutput) Name

The name of the SKU to use for the Fabric Capacity. Possible values are `F2`, `F4`, `F8`, `F16`, `F32`, `F64`, `F128`, `F256`, `F512`, `F1024`, `F2048`.

func (CapacitySkuPtrOutput) Tier

The tier of the SKU to use for the Fabric Capacity. The only possible value is `Fabric`.

func (CapacitySkuPtrOutput) ToCapacitySkuPtrOutput

func (o CapacitySkuPtrOutput) ToCapacitySkuPtrOutput() CapacitySkuPtrOutput

func (CapacitySkuPtrOutput) ToCapacitySkuPtrOutputWithContext

func (o CapacitySkuPtrOutput) ToCapacitySkuPtrOutputWithContext(ctx context.Context) CapacitySkuPtrOutput

type CapacityState

type CapacityState struct {
	// An array of administrator user identities. The member must be an Entra member user or a service principal.
	AdministrationMembers pulumi.StringArrayInput
	// The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A `sku` block as defined below.
	Sku CapacitySkuPtrInput
	// A mapping of tags to assign to the Fabric Capacity.
	Tags pulumi.StringMapInput
}

func (CapacityState) ElementType

func (CapacityState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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