Documentation ¶
Index ¶
- type Embedded
- func (*Embedded) ElementType() reflect.Type
- func (i *Embedded) ToEmbeddedOutput() EmbeddedOutput
- func (i *Embedded) ToEmbeddedOutputWithContext(ctx context.Context) EmbeddedOutput
- func (i *Embedded) ToEmbeddedPtrOutput() EmbeddedPtrOutput
- func (i *Embedded) ToEmbeddedPtrOutputWithContext(ctx context.Context) EmbeddedPtrOutput
- type EmbeddedArgs
- type EmbeddedArray
- type EmbeddedArrayInput
- type EmbeddedArrayOutput
- type EmbeddedInput
- type EmbeddedMap
- type EmbeddedMapInput
- type EmbeddedMapOutput
- type EmbeddedOutput
- func (EmbeddedOutput) ElementType() reflect.Type
- func (o EmbeddedOutput) ToEmbeddedOutput() EmbeddedOutput
- func (o EmbeddedOutput) ToEmbeddedOutputWithContext(ctx context.Context) EmbeddedOutput
- func (o EmbeddedOutput) ToEmbeddedPtrOutput() EmbeddedPtrOutput
- func (o EmbeddedOutput) ToEmbeddedPtrOutputWithContext(ctx context.Context) EmbeddedPtrOutput
- type EmbeddedPtrInput
- type EmbeddedPtrOutput
- type EmbeddedState
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/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/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) ToEmbeddedOutput ¶
func (i *Embedded) ToEmbeddedOutput() EmbeddedOutput
func (*Embedded) ToEmbeddedOutputWithContext ¶
func (i *Embedded) ToEmbeddedOutputWithContext(ctx context.Context) EmbeddedOutput
func (*Embedded) ToEmbeddedPtrOutput ¶
func (i *Embedded) ToEmbeddedPtrOutput() EmbeddedPtrOutput
func (*Embedded) ToEmbeddedPtrOutputWithContext ¶
func (i *Embedded) ToEmbeddedPtrOutputWithContext(ctx context.Context) EmbeddedPtrOutput
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 (o EmbeddedArrayOutput) Index(i pulumi.IntInput) EmbeddedOutput
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 (o EmbeddedMapOutput) MapIndex(k pulumi.StringInput) EmbeddedOutput
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) ElementType ¶
func (EmbeddedOutput) ElementType() reflect.Type
func (EmbeddedOutput) ToEmbeddedOutput ¶
func (o EmbeddedOutput) ToEmbeddedOutput() EmbeddedOutput
func (EmbeddedOutput) ToEmbeddedOutputWithContext ¶
func (o EmbeddedOutput) ToEmbeddedOutputWithContext(ctx context.Context) EmbeddedOutput
func (EmbeddedOutput) ToEmbeddedPtrOutput ¶
func (o EmbeddedOutput) ToEmbeddedPtrOutput() EmbeddedPtrOutput
func (EmbeddedOutput) ToEmbeddedPtrOutputWithContext ¶
func (o EmbeddedOutput) ToEmbeddedPtrOutputWithContext(ctx context.Context) EmbeddedPtrOutput
type EmbeddedPtrInput ¶
type EmbeddedPtrInput interface { pulumi.Input ToEmbeddedPtrOutput() EmbeddedPtrOutput ToEmbeddedPtrOutputWithContext(ctx context.Context) EmbeddedPtrOutput }
type EmbeddedPtrOutput ¶
type EmbeddedPtrOutput struct {
*pulumi.OutputState
}
func (EmbeddedPtrOutput) ElementType ¶
func (EmbeddedPtrOutput) ElementType() reflect.Type
func (EmbeddedPtrOutput) ToEmbeddedPtrOutput ¶
func (o EmbeddedPtrOutput) ToEmbeddedPtrOutput() EmbeddedPtrOutput
func (EmbeddedPtrOutput) ToEmbeddedPtrOutputWithContext ¶
func (o EmbeddedPtrOutput) ToEmbeddedPtrOutputWithContext(ctx context.Context) EmbeddedPtrOutput
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