PowerBIResourceArgs

data class PowerBIResourceArgs(val azureResourceName: Output<String>? = null, val location: Output<String>? = null, val privateEndpointConnections: Output<List<PrivateEndpointConnectionArgs>>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val tenantId: Output<String>? = null) : ConvertibleToJava<PowerBIResourceArgs>

Uses Azure REST API version 2020-06-01. In version 2.x of the Azure Native provider, it used API version 2020-06-01.

Example Usage

Creates or updates private link service resource

using System.Collections.Generic;
using System.Linq;
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/powerbi/v2"
"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}

Constructors

Link copied to clipboard
constructor(azureResourceName: Output<String>? = null, location: Output<String>? = null, privateEndpointConnections: Output<List<PrivateEndpointConnectionArgs>>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, tenantId: Output<String>? = null)

Properties

Link copied to clipboard
val azureResourceName: Output<String>? = null

The name of the Azure resource.

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

Specifies the location of the resource.

Link copied to clipboard

Specifies the private endpoint connections of the resource. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group.

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

Specifies the tags of the resource.

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

Specifies the tenant id of the resource.

Functions

Link copied to clipboard
open override fun toJava(): PowerBIResourceArgs