PowerBIResource

API Version: 2020-06-01.

Example Usage

Creates or updates private link service resource

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var powerBIResource = new AzureNative.PowerBI.PowerBIResource("powerBIResource", new()
{
AzureResourceName = "azureResourceName",
Location = "global",
ResourceGroupName = "resourceGroup",
Tags =
{
{ "tag1", "value1" },
{ "tag2", "value2" },
},
TenantId = "ac2bc297-8a3e-46f3-972d-87c2b4ae6e2f",
});
});
package main
import (
powerbi "github.com/pulumi/pulumi-azure-native/sdk/go/azure/powerbi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := powerbi.NewPowerBIResource(ctx, "powerBIResource", &powerbi.PowerBIResourceArgs{
AzureResourceName: pulumi.String("azureResourceName"),
Location: pulumi.String("global"),
ResourceGroupName: pulumi.String("resourceGroup"),
Tags: pulumi.StringMap{
"tag1": pulumi.String("value1"),
"tag2": pulumi.String("value2"),
},
TenantId: pulumi.String("ac2bc297-8a3e-46f3-972d-87c2b4ae6e2f"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.powerbi.PowerBIResource;
import com.pulumi.azurenative.powerbi.PowerBIResourceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var powerBIResource = new PowerBIResource("powerBIResource", PowerBIResourceArgs.builder()
.azureResourceName("azureResourceName")
.location("global")
.resourceGroupName("resourceGroup")
.tags(Map.ofEntries(
Map.entry("tag1", "value1"),
Map.entry("tag2", "value2")
))
.tenantId("ac2bc297-8a3e-46f3-972d-87c2b4ae6e2f")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:powerbi:PowerBIResource myPrivateLinkServiceResource /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/privateLinkServicesForPowerBI/{azureResourceName}

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>?

Specifies the location of the resource.

Link copied to clipboard
val name: Output<String>

Specifies the name of the resource.

Link copied to clipboard

Specifies the private endpoint connections of the resource.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The system metadata relating to this resource.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Specifies the tags of the resource.

Link copied to clipboard
val tenantId: Output<String>?

Specifies the tenant id of the resource.

Link copied to clipboard
val type: Output<String>

Specifies the type of the resource.

Link copied to clipboard
val urn: Output<String>