powerbi

package
v5.29.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 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 Embedded

type Embedded struct {
	pulumi.CustomResourceState

	// A set of administrator user identities, which manages the Power BI Embedded and must be a member user or a service principal in your AAD tenant.
	Administrators pulumi.StringArrayOutput `pulumi:"administrators"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Sets the PowerBI Embedded's mode. Possible values include: `Gen1`, `Gen2`. Defaults to `Gen1`. Changing this forces a new resource to be created.
	Mode pulumi.StringPtrOutput `pulumi:"mode"`
	// The name of the PowerBI Embedded. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group where the PowerBI Embedded should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Sets the PowerBI Embedded's pricing level's SKU. Possible values include: `A1`, `A2`, `A3`, `A4`, `A5`, `A6`.
	SkuName pulumi.StringOutput `pulumi:"skuName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a PowerBI Embedded.

## 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/powerbi"
"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 = powerbi.NewEmbedded(ctx, "exampleEmbedded", &powerbi.EmbeddedArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("A1"),
			Administrators: pulumi.StringArray{
				pulumi.String("azsdktest@microsoft.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

PowerBI Embedded can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:powerbi/embedded:Embedded example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.PowerBIDedicated/capacities/capacity1

```

func GetEmbedded

func GetEmbedded(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EmbeddedState, opts ...pulumi.ResourceOption) (*Embedded, error)

GetEmbedded gets an existing Embedded 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 NewEmbedded

func NewEmbedded(ctx *pulumi.Context,
	name string, args *EmbeddedArgs, opts ...pulumi.ResourceOption) (*Embedded, error)

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

func (*Embedded) ElementType

func (*Embedded) ElementType() reflect.Type

func (*Embedded) ToEmbeddedOutput

func (i *Embedded) ToEmbeddedOutput() EmbeddedOutput

func (*Embedded) ToEmbeddedOutputWithContext

func (i *Embedded) ToEmbeddedOutputWithContext(ctx context.Context) EmbeddedOutput

type EmbeddedArgs

type EmbeddedArgs struct {
	// A set of administrator user identities, which manages the Power BI Embedded and must be a member user or a service principal in your AAD tenant.
	Administrators pulumi.StringArrayInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Sets the PowerBI Embedded's mode. Possible values include: `Gen1`, `Gen2`. Defaults to `Gen1`. Changing this forces a new resource to be created.
	Mode pulumi.StringPtrInput
	// The name of the PowerBI Embedded. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the PowerBI Embedded should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Sets the PowerBI Embedded's pricing level's SKU. Possible values include: `A1`, `A2`, `A3`, `A4`, `A5`, `A6`.
	SkuName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Embedded resource.

func (EmbeddedArgs) ElementType

func (EmbeddedArgs) ElementType() reflect.Type

type EmbeddedArray

type EmbeddedArray []EmbeddedInput

func (EmbeddedArray) ElementType

func (EmbeddedArray) ElementType() reflect.Type

func (EmbeddedArray) ToEmbeddedArrayOutput

func (i EmbeddedArray) ToEmbeddedArrayOutput() EmbeddedArrayOutput

func (EmbeddedArray) ToEmbeddedArrayOutputWithContext

func (i EmbeddedArray) ToEmbeddedArrayOutputWithContext(ctx context.Context) EmbeddedArrayOutput

type EmbeddedArrayInput

type EmbeddedArrayInput interface {
	pulumi.Input

	ToEmbeddedArrayOutput() EmbeddedArrayOutput
	ToEmbeddedArrayOutputWithContext(context.Context) EmbeddedArrayOutput
}

EmbeddedArrayInput is an input type that accepts EmbeddedArray and EmbeddedArrayOutput values. You can construct a concrete instance of `EmbeddedArrayInput` via:

EmbeddedArray{ EmbeddedArgs{...} }

type EmbeddedArrayOutput

type EmbeddedArrayOutput struct{ *pulumi.OutputState }

func (EmbeddedArrayOutput) ElementType

func (EmbeddedArrayOutput) ElementType() reflect.Type

func (EmbeddedArrayOutput) Index

func (EmbeddedArrayOutput) ToEmbeddedArrayOutput

func (o EmbeddedArrayOutput) ToEmbeddedArrayOutput() EmbeddedArrayOutput

func (EmbeddedArrayOutput) ToEmbeddedArrayOutputWithContext

func (o EmbeddedArrayOutput) ToEmbeddedArrayOutputWithContext(ctx context.Context) EmbeddedArrayOutput

type EmbeddedInput

type EmbeddedInput interface {
	pulumi.Input

	ToEmbeddedOutput() EmbeddedOutput
	ToEmbeddedOutputWithContext(ctx context.Context) EmbeddedOutput
}

type EmbeddedMap

type EmbeddedMap map[string]EmbeddedInput

func (EmbeddedMap) ElementType

func (EmbeddedMap) ElementType() reflect.Type

func (EmbeddedMap) ToEmbeddedMapOutput

func (i EmbeddedMap) ToEmbeddedMapOutput() EmbeddedMapOutput

func (EmbeddedMap) ToEmbeddedMapOutputWithContext

func (i EmbeddedMap) ToEmbeddedMapOutputWithContext(ctx context.Context) EmbeddedMapOutput

type EmbeddedMapInput

type EmbeddedMapInput interface {
	pulumi.Input

	ToEmbeddedMapOutput() EmbeddedMapOutput
	ToEmbeddedMapOutputWithContext(context.Context) EmbeddedMapOutput
}

EmbeddedMapInput is an input type that accepts EmbeddedMap and EmbeddedMapOutput values. You can construct a concrete instance of `EmbeddedMapInput` via:

EmbeddedMap{ "key": EmbeddedArgs{...} }

type EmbeddedMapOutput

type EmbeddedMapOutput struct{ *pulumi.OutputState }

func (EmbeddedMapOutput) ElementType

func (EmbeddedMapOutput) ElementType() reflect.Type

func (EmbeddedMapOutput) MapIndex

func (EmbeddedMapOutput) ToEmbeddedMapOutput

func (o EmbeddedMapOutput) ToEmbeddedMapOutput() EmbeddedMapOutput

func (EmbeddedMapOutput) ToEmbeddedMapOutputWithContext

func (o EmbeddedMapOutput) ToEmbeddedMapOutputWithContext(ctx context.Context) EmbeddedMapOutput

type EmbeddedOutput

type EmbeddedOutput struct{ *pulumi.OutputState }

func (EmbeddedOutput) Administrators added in v5.5.0

func (o EmbeddedOutput) Administrators() pulumi.StringArrayOutput

A set of administrator user identities, which manages the Power BI Embedded and must be a member user or a service principal in your AAD tenant.

func (EmbeddedOutput) ElementType

func (EmbeddedOutput) ElementType() reflect.Type

func (EmbeddedOutput) Location added in v5.5.0

func (o EmbeddedOutput) Location() pulumi.StringOutput

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

func (EmbeddedOutput) Mode added in v5.5.0

Sets the PowerBI Embedded's mode. Possible values include: `Gen1`, `Gen2`. Defaults to `Gen1`. Changing this forces a new resource to be created.

func (EmbeddedOutput) Name added in v5.5.0

The name of the PowerBI Embedded. Changing this forces a new resource to be created.

func (EmbeddedOutput) ResourceGroupName added in v5.5.0

func (o EmbeddedOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group where the PowerBI Embedded should be created. Changing this forces a new resource to be created.

func (EmbeddedOutput) SkuName added in v5.5.0

func (o EmbeddedOutput) SkuName() pulumi.StringOutput

Sets the PowerBI Embedded's pricing level's SKU. Possible values include: `A1`, `A2`, `A3`, `A4`, `A5`, `A6`.

func (EmbeddedOutput) Tags added in v5.5.0

A mapping of tags to assign to the resource.

func (EmbeddedOutput) ToEmbeddedOutput

func (o EmbeddedOutput) ToEmbeddedOutput() EmbeddedOutput

func (EmbeddedOutput) ToEmbeddedOutputWithContext

func (o EmbeddedOutput) ToEmbeddedOutputWithContext(ctx context.Context) EmbeddedOutput

type EmbeddedState

type EmbeddedState struct {
	// A set of administrator user identities, which manages the Power BI Embedded and must be a member user or a service principal in your AAD tenant.
	Administrators pulumi.StringArrayInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Sets the PowerBI Embedded's mode. Possible values include: `Gen1`, `Gen2`. Defaults to `Gen1`. Changing this forces a new resource to be created.
	Mode pulumi.StringPtrInput
	// The name of the PowerBI Embedded. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group where the PowerBI Embedded should be created. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Sets the PowerBI Embedded's pricing level's SKU. Possible values include: `A1`, `A2`, `A3`, `A4`, `A5`, `A6`.
	SkuName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (EmbeddedState) ElementType

func (EmbeddedState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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