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 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")
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",
});
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
The PowerBIResource resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group.
- Azure
Resource stringName - The name of the Azure resource.
- Location string
- Specifies the location of the resource.
- Private
Endpoint 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.
- Tenant
Id string - Specifies the tenant id of the resource.
- Resource
Group stringName - The name of the resource group.
- Azure
Resource stringName - The name of the Azure resource.
- Location string
- Specifies the location of the resource.
- Private
Endpoint []PrivateConnections Endpoint Connection Type Args - Specifies the private endpoint connections of the resource.
- map[string]string
- Specifies the tags of the resource.
- Tenant
Id string - Specifies the tenant id of the resource.
- resource
Group StringName - The name of the resource group.
- azure
Resource StringName - The name of the Azure resource.
- location String
- Specifies the location of the resource.
- private
Endpoint List<PrivateConnections Endpoint Connection> - Specifies the private endpoint connections of the resource.
- Map<String,String>
- Specifies the tags of the resource.
- tenant
Id String - Specifies the tenant id of the resource.
- resource
Group stringName - The name of the resource group.
- azure
Resource stringName - The name of the Azure resource.
- location string
- Specifies the location of the resource.
- private
Endpoint PrivateConnections Endpoint Connection[] - Specifies the private endpoint connections of the resource.
- {[key: string]: string}
- Specifies the tags of the resource.
- tenant
Id 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.
- resource
Group StringName - The name of the resource group.
- azure
Resource StringName - The name of the Azure resource.
- location String
- Specifies the location of the resource.
- private
Endpoint List<Property Map>Connections - Specifies the private endpoint connections of the resource.
- Map<String>
- Specifies the tags of the resource.
- tenant
Id 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.
- System
Data 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.
- System
Data 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.
- system
Data 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.
- system
Data 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.
- system
Data Property Map - The system metadata relating to this resource.
- type String
- Specifies the type of the resource.
Supporting Types
ConnectionState, ConnectionStateArgs
- Actions
Required 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.
- Actions
Required string - Actions required (if any).
- Description string
- Description of the connection state.
- Status
string | Persisted
Connection Status - Status of the connection.
- actions
Required String - Actions required (if any).
- description String
- Description of the connection state.
- status
String | Persisted
Connection Status - Status of the connection.
- actions
Required string - Actions required (if any).
- description string
- Description of the connection state.
- status
string | Persisted
Connection Status - Status of the connection.
- actions_
required str - Actions required (if any).
- description str
- Description of the connection state.
- status
str | Persisted
Connection Status - Status of the connection.
- actions
Required String - Actions required (if any).
- description String
- Description of the connection state.
- status String | "Pending" | "Approved" | "Rejected" | "Disconnected"
- Status of the connection.
ConnectionStateResponse, ConnectionStateResponseArgs
- Actions
Required string - Actions required (if any).
- Description string
- Description of the connection state.
- Status string
- Status of the connection.
- Actions
Required string - Actions required (if any).
- Description string
- Description of the connection state.
- Status string
- Status of the connection.
- actions
Required String - Actions required (if any).
- description String
- Description of the connection state.
- status String
- Status of the connection.
- actions
Required 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.
- actions
Required 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
- Persisted
Connection Status Pending - Pending
- Persisted
Connection Status Approved - Approved
- Persisted
Connection Status Rejected - Rejected
- Persisted
Connection 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
- Private
Endpoint Pulumi.Azure Native. Power BI. Inputs. Private Endpoint - Specifies the private endpoint.
- Private
Link Pulumi.Service Connection State Azure Native. Power BI. Inputs. Connection State - Specifies the connection state.
- Provisioning
State string | Pulumi.Azure Native. Power BI. Resource Provisioning 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 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 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 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.
- private
Endpoint Property Map - Specifies the private endpoint.
- private
Link Property MapService Connection State - Specifies the connection state.
- provisioning
State 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.
- System
Data 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.
- Private
Endpoint Pulumi.Azure Native. Power BI. Inputs. Private Endpoint Response - Specifies the private endpoint.
- Private
Link Pulumi.Service Connection State Azure Native. Power BI. Inputs. Connection State Response - Specifies the connection state.
- Provisioning
State string - Provisioning state of the Private Endpoint Connection.
- Id string
- Specifies the id of the resource.
- Name string
- Specifies the name of the resource.
- System
Data SystemData Response - The system meta data relating to this resource.
- Type string
- 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 string - Provisioning state of the Private Endpoint Connection.
- id String
- Specifies the id of the resource.
- name String
- Specifies the name of the resource.
- system
Data SystemData Response - The system meta data relating to this resource.
- type String
- 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 String - Provisioning state of the Private Endpoint Connection.
- id string
- Specifies the id of the resource.
- name string
- Specifies the name of the resource.
- system
Data SystemData Response - The system meta data relating to this resource.
- type string
- 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 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.
- system
Data Property Map - The system meta data relating to this resource.
- type String
- Specifies the type of the resource.
- private
Endpoint Property Map - Specifies the private endpoint.
- private
Link Property MapService Connection State - Specifies the connection state.
- provisioning
State 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
- Resource
Provisioning State Creating - Creating
- Resource
Provisioning State Updating - Updating
- Resource
Provisioning State Deleting - Deleting
- Resource
Provisioning State Succeeded - Succeeded
- Resource
Provisioning State Canceled - Canceled
- Resource
Provisioning 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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