azure-native.powerbi.PowerBIResource
Explore with Pulumi AI
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"
	"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 * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const powerBIResource = new azure_native.powerbi.PowerBIResource("powerBIResource", {
    azureResourceName: "azureResourceName",
    location: "global",
    resourceGroupName: "resourceGroup",
    tags: {
        tag1: "value1",
        tag2: "value2",
    },
    tenantId: "ac2bc297-8a3e-46f3-972d-87c2b4ae6e2f",
});
import pulumi
import pulumi_azure_native as azure_native
power_bi_resource = azure_native.powerbi.PowerBIResource("powerBIResource",
    azure_resource_name="azureResourceName",
    location="global",
    resource_group_name="resourceGroup",
    tags={
        "tag1": "value1",
        "tag2": "value2",
    },
    tenant_id="ac2bc297-8a3e-46f3-972d-87c2b4ae6e2f")
resources:
  powerBIResource:
    type: azure-native:powerbi:PowerBIResource
    properties:
      azureResourceName: azureResourceName
      location: global
      resourceGroupName: resourceGroup
      tags:
        tag1: value1
        tag2: value2
      tenantId: ac2bc297-8a3e-46f3-972d-87c2b4ae6e2f
Create PowerBIResource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PowerBIResource(name: string, args: PowerBIResourceArgs, opts?: CustomResourceOptions);@overload
def PowerBIResource(resource_name: str,
                    args: PowerBIResourceArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def PowerBIResource(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    resource_group_name: Optional[str] = None,
                    azure_resource_name: Optional[str] = None,
                    location: Optional[str] = None,
                    private_endpoint_connections: Optional[Sequence[PrivateEndpointConnectionArgs]] = None,
                    tags: Optional[Mapping[str, str]] = None,
                    tenant_id: Optional[str] = None)func NewPowerBIResource(ctx *Context, name string, args PowerBIResourceArgs, opts ...ResourceOption) (*PowerBIResource, error)public PowerBIResource(string name, PowerBIResourceArgs args, CustomResourceOptions? opts = null)
public PowerBIResource(String name, PowerBIResourceArgs args)
public PowerBIResource(String name, PowerBIResourceArgs args, CustomResourceOptions options)
type: azure-native:powerbi:PowerBIResource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PowerBIResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PowerBIResourceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PowerBIResourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PowerBIResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PowerBIResourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var powerBIResourceResource = new AzureNative.Powerbi.PowerBIResource("powerBIResourceResource", new()
{
    ResourceGroupName = "string",
    AzureResourceName = "string",
    Location = "string",
    PrivateEndpointConnections = new[]
    {
        
        {
            { "privateEndpoint", 
            {
                { "id", "string" },
            } },
            { "privateLinkServiceConnectionState", 
            {
                { "actionsRequired", "string" },
                { "description", "string" },
                { "status", "string" },
            } },
            { "provisioningState", "string" },
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
    TenantId = "string",
});
example, err := powerbi.NewPowerBIResource(ctx, "powerBIResourceResource", &powerbi.PowerBIResourceArgs{
	ResourceGroupName: "string",
	AzureResourceName: "string",
	Location:          "string",
	PrivateEndpointConnections: []map[string]interface{}{
		map[string]interface{}{
			"privateEndpoint": map[string]interface{}{
				"id": "string",
			},
			"privateLinkServiceConnectionState": map[string]interface{}{
				"actionsRequired": "string",
				"description":     "string",
				"status":          "string",
			},
			"provisioningState": "string",
		},
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
	TenantId: "string",
})
var powerBIResourceResource = new PowerBIResource("powerBIResourceResource", PowerBIResourceArgs.builder()
    .resourceGroupName("string")
    .azureResourceName("string")
    .location("string")
    .privateEndpointConnections(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tenantId("string")
    .build());
power_bi_resource_resource = azure_native.powerbi.PowerBIResource("powerBIResourceResource",
    resource_group_name=string,
    azure_resource_name=string,
    location=string,
    private_endpoint_connections=[{
        privateEndpoint: {
            id: string,
        },
        privateLinkServiceConnectionState: {
            actionsRequired: string,
            description: string,
            status: string,
        },
        provisioningState: string,
    }],
    tags={
        string: string,
    },
    tenant_id=string)
const powerBIResourceResource = new azure_native.powerbi.PowerBIResource("powerBIResourceResource", {
    resourceGroupName: "string",
    azureResourceName: "string",
    location: "string",
    privateEndpointConnections: [{
        privateEndpoint: {
            id: "string",
        },
        privateLinkServiceConnectionState: {
            actionsRequired: "string",
            description: "string",
            status: "string",
        },
        provisioningState: "string",
    }],
    tags: {
        string: "string",
    },
    tenantId: "string",
});
type: azure-native:powerbi:PowerBIResource
properties:
    azureResourceName: string
    location: string
    privateEndpointConnections:
        - privateEndpoint:
            id: string
          privateLinkServiceConnectionState:
            actionsRequired: string
            description: string
            status: string
          provisioningState: string
    resourceGroupName: string
    tags:
        string: string
    tenantId: string
PowerBIResource Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PowerBIResource resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group.
- AzureResource stringName 
- The name of the Azure resource.
- Location string
- Specifies the location of the resource.
- PrivateEndpoint List<Pulumi.Connections Azure Native. Power BI. Inputs. Private Endpoint Connection> 
- Specifies the private endpoint connections of the resource.
- Dictionary<string, string>
- Specifies the tags of the resource.
- TenantId string
- Specifies the tenant id of the resource.
- ResourceGroup stringName 
- The name of the resource group.
- AzureResource stringName 
- The name of the Azure resource.
- Location string
- Specifies the location of the resource.
- PrivateEndpoint []PrivateConnections Endpoint Connection Type Args 
- Specifies the private endpoint connections of the resource.
- map[string]string
- Specifies the tags of the resource.
- TenantId string
- Specifies the tenant id of the resource.
- resourceGroup StringName 
- The name of the resource group.
- azureResource StringName 
- The name of the Azure resource.
- location String
- Specifies the location of the resource.
- privateEndpoint List<PrivateConnections Endpoint Connection> 
- Specifies the private endpoint connections of the resource.
- Map<String,String>
- Specifies the tags of the resource.
- tenantId String
- Specifies the tenant id of the resource.
- resourceGroup stringName 
- The name of the resource group.
- azureResource stringName 
- The name of the Azure resource.
- location string
- Specifies the location of the resource.
- privateEndpoint PrivateConnections Endpoint Connection[] 
- Specifies the private endpoint connections of the resource.
- {[key: string]: string}
- Specifies the tags of the resource.
- tenantId string
- Specifies the tenant id of the resource.
- resource_group_ strname 
- The name of the resource group.
- azure_resource_ strname 
- The name of the Azure resource.
- location str
- Specifies the location of the resource.
- private_endpoint_ Sequence[Privateconnections Endpoint Connection Args] 
- Specifies the private endpoint connections of the resource.
- Mapping[str, str]
- Specifies the tags of the resource.
- tenant_id str
- Specifies the tenant id of the resource.
- resourceGroup StringName 
- The name of the resource group.
- azureResource StringName 
- The name of the Azure resource.
- location String
- Specifies the location of the resource.
- privateEndpoint List<Property Map>Connections 
- Specifies the private endpoint connections of the resource.
- Map<String>
- Specifies the tags of the resource.
- tenantId String
- Specifies the tenant id of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the PowerBIResource resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Specifies the name of the resource.
- SystemData Pulumi.Azure Native. Power BI. Outputs. System Data Response 
- The system metadata relating to this resource.
- Type string
- Specifies the type of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Specifies the name of the resource.
- SystemData SystemData Response 
- The system metadata relating to this resource.
- Type string
- Specifies the type of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Specifies the name of the resource.
- systemData SystemData Response 
- The system metadata relating to this resource.
- type String
- Specifies the type of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Specifies the name of the resource.
- systemData SystemData Response 
- The system metadata relating to this resource.
- type string
- Specifies the type of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Specifies the name of the resource.
- system_data SystemData Response 
- The system metadata relating to this resource.
- type str
- Specifies the type of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Specifies the name of the resource.
- systemData Property Map
- The system metadata relating to this resource.
- type String
- Specifies the type of the resource.
Supporting Types
ConnectionState, ConnectionStateArgs    
- ActionsRequired string
- Actions required (if any).
- Description string
- Description of the connection state.
- Status
string | Pulumi.Azure Native. Power BI. Persisted Connection Status 
- Status of the connection.
- ActionsRequired string
- Actions required (if any).
- Description string
- Description of the connection state.
- Status
string | PersistedConnection Status 
- Status of the connection.
- actionsRequired String
- Actions required (if any).
- description String
- Description of the connection state.
- status
String | PersistedConnection Status 
- Status of the connection.
- actionsRequired string
- Actions required (if any).
- description string
- Description of the connection state.
- status
string | PersistedConnection Status 
- Status of the connection.
- actions_required str
- Actions required (if any).
- description str
- Description of the connection state.
- status
str | PersistedConnection Status 
- Status of the connection.
- actionsRequired String
- Actions required (if any).
- description String
- Description of the connection state.
- status String | "Pending" | "Approved" | "Rejected" | "Disconnected"
- Status of the connection.
ConnectionStateResponse, ConnectionStateResponseArgs      
- ActionsRequired string
- Actions required (if any).
- Description string
- Description of the connection state.
- Status string
- Status of the connection.
- ActionsRequired string
- Actions required (if any).
- Description string
- Description of the connection state.
- Status string
- Status of the connection.
- actionsRequired String
- Actions required (if any).
- description String
- Description of the connection state.
- status String
- Status of the connection.
- actionsRequired string
- Actions required (if any).
- description string
- Description of the connection state.
- status string
- Status of the connection.
- actions_required str
- Actions required (if any).
- description str
- Description of the connection state.
- status str
- Status of the connection.
- actionsRequired String
- Actions required (if any).
- description String
- Description of the connection state.
- status String
- Status of the connection.
PersistedConnectionStatus, PersistedConnectionStatusArgs      
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- PersistedConnection Status Pending 
- Pending
- PersistedConnection Status Approved 
- Approved
- PersistedConnection Status Rejected 
- Rejected
- PersistedConnection Status Disconnected 
- Disconnected
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- PENDING
- Pending
- APPROVED
- Approved
- REJECTED
- Rejected
- DISCONNECTED
- Disconnected
- "Pending"
- Pending
- "Approved"
- Approved
- "Rejected"
- Rejected
- "Disconnected"
- Disconnected
PrivateEndpoint, PrivateEndpointArgs    
- Id string
- Specifies the id of private endpoint.
- Id string
- Specifies the id of private endpoint.
- id String
- Specifies the id of private endpoint.
- id string
- Specifies the id of private endpoint.
- id str
- Specifies the id of private endpoint.
- id String
- Specifies the id of private endpoint.
PrivateEndpointConnection, PrivateEndpointConnectionArgs      
- PrivateEndpoint Pulumi.Azure Native. Power BI. Inputs. Private Endpoint 
- Specifies the private endpoint.
- PrivateLink Pulumi.Service Connection State Azure Native. Power BI. Inputs. Connection State 
- Specifies the connection state.
- ProvisioningState string | Pulumi.Azure Native. Power BI. Resource Provisioning State 
- Provisioning state of the Private Endpoint Connection.
- PrivateEndpoint PrivateEndpoint 
- Specifies the private endpoint.
- PrivateLink ConnectionService Connection State State 
- Specifies the connection state.
- ProvisioningState string | ResourceProvisioning State 
- Provisioning state of the Private Endpoint Connection.
- privateEndpoint PrivateEndpoint 
- Specifies the private endpoint.
- privateLink ConnectionService Connection State State 
- Specifies the connection state.
- provisioningState String | ResourceProvisioning State 
- Provisioning state of the Private Endpoint Connection.
- privateEndpoint PrivateEndpoint 
- Specifies the private endpoint.
- privateLink ConnectionService Connection State State 
- Specifies the connection state.
- provisioningState string | ResourceProvisioning State 
- Provisioning state of the Private Endpoint Connection.
- private_endpoint PrivateEndpoint 
- Specifies the private endpoint.
- private_link_ Connectionservice_ connection_ state State 
- Specifies the connection state.
- provisioning_state str | ResourceProvisioning State 
- Provisioning state of the Private Endpoint Connection.
- privateEndpoint Property Map
- Specifies the private endpoint.
- privateLink Property MapService Connection State 
- Specifies the connection state.
- provisioningState String | "Creating" | "Updating" | "Deleting" | "Succeeded" | "Canceled" | "Failed"
- Provisioning state of the Private Endpoint Connection.
PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs        
- Id string
- Specifies the id of the resource.
- Name string
- Specifies the name of the resource.
- SystemData Pulumi.Azure Native. Power BI. Inputs. System Data Response 
- The system meta data relating to this resource.
- Type string
- Specifies the type of the resource.
- PrivateEndpoint Pulumi.Azure Native. Power BI. Inputs. Private Endpoint Response 
- Specifies the private endpoint.
- PrivateLink Pulumi.Service Connection State Azure Native. Power BI. Inputs. Connection State Response 
- Specifies the connection state.
- ProvisioningState string
- Provisioning state of the Private Endpoint Connection.
- Id string
- Specifies the id of the resource.
- Name string
- Specifies the name of the resource.
- SystemData SystemData Response 
- The system meta data relating to this resource.
- Type string
- Specifies the type of the resource.
- PrivateEndpoint PrivateEndpoint Response 
- Specifies the private endpoint.
- PrivateLink ConnectionService Connection State State Response 
- Specifies the connection state.
- ProvisioningState string
- Provisioning state of the Private Endpoint Connection.
- id String
- Specifies the id of the resource.
- name String
- Specifies the name of the resource.
- systemData SystemData Response 
- The system meta data relating to this resource.
- type String
- Specifies the type of the resource.
- privateEndpoint PrivateEndpoint Response 
- Specifies the private endpoint.
- privateLink ConnectionService Connection State State Response 
- Specifies the connection state.
- provisioningState String
- Provisioning state of the Private Endpoint Connection.
- id string
- Specifies the id of the resource.
- name string
- Specifies the name of the resource.
- systemData SystemData Response 
- The system meta data relating to this resource.
- type string
- Specifies the type of the resource.
- privateEndpoint PrivateEndpoint Response 
- Specifies the private endpoint.
- privateLink ConnectionService Connection State State Response 
- Specifies the connection state.
- provisioningState string
- Provisioning state of the Private Endpoint Connection.
- id str
- Specifies the id of the resource.
- name str
- Specifies the name of the resource.
- system_data SystemData Response 
- The system meta data relating to this resource.
- type str
- Specifies the type of the resource.
- private_endpoint PrivateEndpoint Response 
- Specifies the private endpoint.
- private_link_ Connectionservice_ connection_ state State Response 
- Specifies the connection state.
- provisioning_state str
- Provisioning state of the Private Endpoint Connection.
- id String
- Specifies the id of the resource.
- name String
- Specifies the name of the resource.
- systemData Property Map
- The system meta data relating to this resource.
- type String
- Specifies the type of the resource.
- privateEndpoint Property Map
- Specifies the private endpoint.
- privateLink Property MapService Connection State 
- Specifies the connection state.
- provisioningState String
- Provisioning state of the Private Endpoint Connection.
PrivateEndpointResponse, PrivateEndpointResponseArgs      
- Id string
- Specifies the id of private endpoint.
- Id string
- Specifies the id of private endpoint.
- id String
- Specifies the id of private endpoint.
- id string
- Specifies the id of private endpoint.
- id str
- Specifies the id of private endpoint.
- id String
- Specifies the id of private endpoint.
ResourceProvisioningState, ResourceProvisioningStateArgs      
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Canceled
- Canceled
- Failed
- Failed
- ResourceProvisioning State Creating 
- Creating
- ResourceProvisioning State Updating 
- Updating
- ResourceProvisioning State Deleting 
- Deleting
- ResourceProvisioning State Succeeded 
- Succeeded
- ResourceProvisioning State Canceled 
- Canceled
- ResourceProvisioning State Failed 
- Failed
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Canceled
- Canceled
- Failed
- Failed
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Canceled
- Canceled
- Failed
- Failed
- CREATING
- Creating
- UPDATING
- Updating
- DELETING
- Deleting
- SUCCEEDED
- Succeeded
- CANCELED
- Canceled
- FAILED
- Failed
- "Creating"
- Creating
- "Updating"
- Updating
- "Deleting"
- Deleting
- "Succeeded"
- Succeeded
- "Canceled"
- Canceled
- "Failed"
- Failed
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
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} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0