azure-native.powerbi.PrivateEndpointConnection
Explore with Pulumi AI
Azure REST API version: 2020-06-01. Prior API version in Azure Native 1.x: 2020-06-01.
Example Usage
Updates status of private endpoint connection
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateEndpointConnection = new AzureNative.PowerBI.PrivateEndpointConnection("privateEndpointConnection", new()
{
AzureResourceName = "azureResourceName",
PrivateEndpoint = new AzureNative.PowerBI.Inputs.PrivateEndpointArgs
{
Id = "/subscriptions/a0020869-4d28-422a-89f4-c2413130d73c/resourceGroups/resourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpointName",
},
PrivateEndpointName = "myPrivateEndpointName",
PrivateLinkServiceConnectionState = new AzureNative.PowerBI.Inputs.ConnectionStateArgs
{
ActionsRequired = "None",
Description = "",
Status = "Approved ",
},
ResourceGroupName = "resourceGroup",
});
});
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.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &powerbi.PrivateEndpointConnectionArgs{
AzureResourceName: pulumi.String("azureResourceName"),
PrivateEndpoint: &powerbi.PrivateEndpointArgs{
Id: pulumi.String("/subscriptions/a0020869-4d28-422a-89f4-c2413130d73c/resourceGroups/resourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpointName"),
},
PrivateEndpointName: pulumi.String("myPrivateEndpointName"),
PrivateLinkServiceConnectionState: &powerbi.ConnectionStateArgs{
ActionsRequired: pulumi.String("None"),
Description: pulumi.String(""),
Status: pulumi.String("Approved "),
},
ResourceGroupName: pulumi.String("resourceGroup"),
})
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.PrivateEndpointConnection;
import com.pulumi.azurenative.powerbi.PrivateEndpointConnectionArgs;
import com.pulumi.azurenative.powerbi.inputs.PrivateEndpointArgs;
import com.pulumi.azurenative.powerbi.inputs.ConnectionStateArgs;
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 privateEndpointConnection = new PrivateEndpointConnection("privateEndpointConnection", PrivateEndpointConnectionArgs.builder()
.azureResourceName("azureResourceName")
.privateEndpoint(PrivateEndpointArgs.builder()
.id("/subscriptions/a0020869-4d28-422a-89f4-c2413130d73c/resourceGroups/resourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpointName")
.build())
.privateEndpointName("myPrivateEndpointName")
.privateLinkServiceConnectionState(ConnectionStateArgs.builder()
.actionsRequired("None")
.description("")
.status("Approved ")
.build())
.resourceGroupName("resourceGroup")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_endpoint_connection = azure_native.powerbi.PrivateEndpointConnection("privateEndpointConnection",
azure_resource_name="azureResourceName",
private_endpoint=azure_native.powerbi.PrivateEndpointArgs(
id="/subscriptions/a0020869-4d28-422a-89f4-c2413130d73c/resourceGroups/resourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpointName",
),
private_endpoint_name="myPrivateEndpointName",
private_link_service_connection_state=azure_native.powerbi.ConnectionStateArgs(
actions_required="None",
description="",
status="Approved ",
),
resource_group_name="resourceGroup")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateEndpointConnection = new azure_native.powerbi.PrivateEndpointConnection("privateEndpointConnection", {
azureResourceName: "azureResourceName",
privateEndpoint: {
id: "/subscriptions/a0020869-4d28-422a-89f4-c2413130d73c/resourceGroups/resourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpointName",
},
privateEndpointName: "myPrivateEndpointName",
privateLinkServiceConnectionState: {
actionsRequired: "None",
description: "",
status: "Approved ",
},
resourceGroupName: "resourceGroup",
});
resources:
privateEndpointConnection:
type: azure-native:powerbi:PrivateEndpointConnection
properties:
azureResourceName: azureResourceName
privateEndpoint:
id: /subscriptions/a0020869-4d28-422a-89f4-c2413130d73c/resourceGroups/resourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpointName
privateEndpointName: myPrivateEndpointName
privateLinkServiceConnectionState:
actionsRequired: None
description:
status: 'Approved '
resourceGroupName: resourceGroup
Create PrivateEndpointConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateEndpointConnection(name: string, args: PrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def PrivateEndpointConnection(resource_name: str,
args: PrivateEndpointConnectionInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateEndpointConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
azure_resource_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
private_endpoint: Optional[PrivateEndpointArgs] = None,
private_endpoint_name: Optional[str] = None,
private_link_service_connection_state: Optional[ConnectionStateArgs] = None,
provisioning_state: Optional[Union[str, ResourceProvisioningState]] = None)
func NewPrivateEndpointConnection(ctx *Context, name string, args PrivateEndpointConnectionArgs, opts ...ResourceOption) (*PrivateEndpointConnection, error)
public PrivateEndpointConnection(string name, PrivateEndpointConnectionArgs args, CustomResourceOptions? opts = null)
public PrivateEndpointConnection(String name, PrivateEndpointConnectionArgs args)
public PrivateEndpointConnection(String name, PrivateEndpointConnectionArgs args, CustomResourceOptions options)
type: azure-native:powerbi:PrivateEndpointConnection
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 PrivateEndpointConnectionArgs
- 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 PrivateEndpointConnectionInitArgs
- 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 PrivateEndpointConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateEndpointConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrivateEndpointConnectionArgs
- 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 exampleprivateEndpointConnectionResourceResourceFromPowerbi = new AzureNative.PowerBI.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromPowerbi", new()
{
AzureResourceName = "string",
ResourceGroupName = "string",
PrivateEndpoint = new AzureNative.PowerBI.Inputs.PrivateEndpointArgs
{
Id = "string",
},
PrivateEndpointName = "string",
PrivateLinkServiceConnectionState = new AzureNative.PowerBI.Inputs.ConnectionStateArgs
{
ActionsRequired = "string",
Description = "string",
Status = "string",
},
ProvisioningState = "string",
});
example, err := powerbi.NewPrivateEndpointConnection(ctx, "exampleprivateEndpointConnectionResourceResourceFromPowerbi", &powerbi.PrivateEndpointConnectionArgs{
AzureResourceName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
PrivateEndpoint: &powerbi.PrivateEndpointArgs{
Id: pulumi.String("string"),
},
PrivateEndpointName: pulumi.String("string"),
PrivateLinkServiceConnectionState: &powerbi.ConnectionStateArgs{
ActionsRequired: pulumi.String("string"),
Description: pulumi.String("string"),
Status: pulumi.String("string"),
},
ProvisioningState: pulumi.String("string"),
})
var exampleprivateEndpointConnectionResourceResourceFromPowerbi = new PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromPowerbi", PrivateEndpointConnectionArgs.builder()
.azureResourceName("string")
.resourceGroupName("string")
.privateEndpoint(PrivateEndpointArgs.builder()
.id("string")
.build())
.privateEndpointName("string")
.privateLinkServiceConnectionState(ConnectionStateArgs.builder()
.actionsRequired("string")
.description("string")
.status("string")
.build())
.provisioningState("string")
.build());
exampleprivate_endpoint_connection_resource_resource_from_powerbi = azure_native.powerbi.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromPowerbi",
azure_resource_name="string",
resource_group_name="string",
private_endpoint=azure_native.powerbi.PrivateEndpointArgs(
id="string",
),
private_endpoint_name="string",
private_link_service_connection_state=azure_native.powerbi.ConnectionStateArgs(
actions_required="string",
description="string",
status="string",
),
provisioning_state="string")
const exampleprivateEndpointConnectionResourceResourceFromPowerbi = new azure_native.powerbi.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromPowerbi", {
azureResourceName: "string",
resourceGroupName: "string",
privateEndpoint: {
id: "string",
},
privateEndpointName: "string",
privateLinkServiceConnectionState: {
actionsRequired: "string",
description: "string",
status: "string",
},
provisioningState: "string",
});
type: azure-native:powerbi:PrivateEndpointConnection
properties:
azureResourceName: string
privateEndpoint:
id: string
privateEndpointName: string
privateLinkServiceConnectionState:
actionsRequired: string
description: string
status: string
provisioningState: string
resourceGroupName: string
PrivateEndpointConnection 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 PrivateEndpointConnection resource accepts the following input properties:
- Azure
Resource stringName - The name of the Azure resource.
- Resource
Group stringName - The name of the resource group.
- Private
Endpoint Pulumi.Azure Native. Power BI. Inputs. Private Endpoint - Specifies the private endpoint.
- Private
Endpoint stringName - The name of 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.
- Azure
Resource stringName - The name of the Azure resource.
- Resource
Group stringName - The name of the resource group.
- Private
Endpoint PrivateEndpoint Args - Specifies the private endpoint.
- Private
Endpoint stringName - The name of the private endpoint.
- Private
Link ConnectionService Connection State State Args - Specifies the connection state.
- Provisioning
State string | ResourceProvisioning State - Provisioning state of the Private Endpoint Connection.
- azure
Resource StringName - The name of the Azure resource.
- resource
Group StringName - The name of the resource group.
- private
Endpoint PrivateEndpoint - Specifies the private endpoint.
- private
Endpoint StringName - The name of 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.
- azure
Resource stringName - The name of the Azure resource.
- resource
Group stringName - The name of the resource group.
- private
Endpoint PrivateEndpoint - Specifies the private endpoint.
- private
Endpoint stringName - The name of 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.
- azure_
resource_ strname - The name of the Azure resource.
- resource_
group_ strname - The name of the resource group.
- private_
endpoint PrivateEndpoint Args - Specifies the private endpoint.
- private_
endpoint_ strname - The name of the private endpoint.
- private_
link_ Connectionservice_ connection_ state State Args - Specifies the connection state.
- provisioning_
state str | ResourceProvisioning State - Provisioning state of the Private Endpoint Connection.
- azure
Resource StringName - The name of the Azure resource.
- resource
Group StringName - The name of the resource group.
- private
Endpoint Property Map - Specifies the private endpoint.
- private
Endpoint StringName - The name of 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateEndpointConnection 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 meta data 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 meta data 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 meta data 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 meta data 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 meta data 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 meta data 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.
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:PrivateEndpointConnection myPrivateEndpointName.58ffb8de-89ad-41eb-9f8f-de0a7db9d721 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/privateLinkServicesForPowerBI/{azureResourceName}/privateEndpointConnections/{privateEndpointName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0