powerbi

package
v3.33.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 4 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"`
	// 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/v3/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/powerbi"
"github.com/pulumi/pulumi/sdk/v2/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 added in v3.31.1

func (Embedded) ElementType() reflect.Type

func (Embedded) ToEmbeddedOutput added in v3.31.1

func (i Embedded) ToEmbeddedOutput() EmbeddedOutput

func (Embedded) ToEmbeddedOutputWithContext added in v3.31.1

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
	// 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 EmbeddedInput added in v3.31.1

type EmbeddedInput interface {
	pulumi.Input

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

type EmbeddedOutput added in v3.31.1

type EmbeddedOutput struct {
	*pulumi.OutputState
}

func (EmbeddedOutput) ElementType added in v3.31.1

func (EmbeddedOutput) ElementType() reflect.Type

func (EmbeddedOutput) ToEmbeddedOutput added in v3.31.1

func (o EmbeddedOutput) ToEmbeddedOutput() EmbeddedOutput

func (EmbeddedOutput) ToEmbeddedOutputWithContext added in v3.31.1

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
	// 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