Use Pulumi's new import command to generate code from existing cloud resources. Learn More

PrivateLinkHub

A privateLinkHub

Example Usage

Create or update a privateLinkHub

using Pulumi;
using AzureNextGen = Pulumi.AzureNextGen;

class MyStack : Stack
{
    public MyStack()
    {
        var privateLinkHub = new AzureNextGen.Synapse.V20190601Preview.PrivateLinkHub("privateLinkHub", new AzureNextGen.Synapse.V20190601Preview.PrivateLinkHubArgs
        {
            Location = "East US",
            PrivateLinkHubName = "privateLinkHub1",
            ResourceGroupName = "resourceGroup1",
            Tags = 
            {
                { "key", "value" },
            },
        });
    }

}
package main

import (
    synapse "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/synapse/v20190601preview"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := synapse.NewPrivateLinkHub(ctx, "privateLinkHub", &synapse.PrivateLinkHubArgs{
            Location:           pulumi.String("East US"),
            PrivateLinkHubName: pulumi.String("privateLinkHub1"),
            ResourceGroupName:  pulumi.String("resourceGroup1"),
            Tags: pulumi.StringMap{
                "key": pulumi.String("value"),
            },
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_azure_nextgen as azure_nextgen

private_link_hub = azure_nextgen.synapse.v20190601preview.PrivateLinkHub("privateLinkHub",
    location="East US",
    private_link_hub_name="privateLinkHub1",
    resource_group_name="resourceGroup1",
    tags={
        "key": "value",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure_nextgen from "@pulumi/azure-nextgen";

const privateLinkHub = new azure_nextgen.synapse.v20190601preview.PrivateLinkHub("privateLinkHub", {
    location: "East US",
    privateLinkHubName: "privateLinkHub1",
    resourceGroupName: "resourceGroup1",
    tags: {
        key: "value",
    },
});

Create a PrivateLinkHub Resource

new PrivateLinkHub(name: string, args: PrivateLinkHubArgs, opts?: CustomResourceOptions);
def PrivateLinkHub(resource_name: str, opts: Optional[ResourceOptions] = None, location: Optional[str] = None, private_link_hub_name: Optional[str] = None, provisioning_state: Optional[str] = None, resource_group_name: Optional[str] = None, tags: Optional[Mapping[str, str]] = None)
func NewPrivateLinkHub(ctx *Context, name string, args PrivateLinkHubArgs, opts ...ResourceOption) (*PrivateLinkHub, error)
public PrivateLinkHub(string name, PrivateLinkHubArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args PrivateLinkHubArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PrivateLinkHubArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PrivateLinkHubArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

PrivateLinkHub Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The PrivateLinkHub resource accepts the following input properties:

Location string
The geo-location where the resource lives
PrivateLinkHubName string
Name of the privateLinkHub
ResourceGroupName string
The name of the resource group. The name is case insensitive.
ProvisioningState string
PrivateLinkHub provisioning state
Tags Dictionary<string, string>
Resource tags.
Location string
The geo-location where the resource lives
PrivateLinkHubName string
Name of the privateLinkHub
ResourceGroupName string
The name of the resource group. The name is case insensitive.
ProvisioningState string
PrivateLinkHub provisioning state
Tags map[string]string
Resource tags.
location string
The geo-location where the resource lives
privateLinkHubName string
Name of the privateLinkHub
resourceGroupName string
The name of the resource group. The name is case insensitive.
provisioningState string
PrivateLinkHub provisioning state
tags {[key: string]: string}
Resource tags.
location str
The geo-location where the resource lives
private_link_hub_name str
Name of the privateLinkHub
resource_group_name str
The name of the resource group. The name is case insensitive.
provisioning_state str
PrivateLinkHub provisioning state
tags Mapping[str, str]
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the PrivateLinkHub resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
PrivateEndpointConnections List<Pulumi.AzureNextGen.Synapse.Outputs.PrivateEndpointConnectionForPrivateLinkHubBasicResponse>
List of private endpoint connections
Type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
PrivateEndpointConnections []PrivateEndpointConnectionForPrivateLinkHubBasicResponse
List of private endpoint connections
Type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
privateEndpointConnections PrivateEndpointConnectionForPrivateLinkHubBasicResponse[]
List of private endpoint connections
type string
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
private_endpoint_connections Sequence[PrivateEndpointConnectionForPrivateLinkHubBasicResponse]
List of private endpoint connections
type str
The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”

Supporting Types

PrivateEndpointConnectionForPrivateLinkHubBasicResponse

Id string
identifier
ProvisioningState string
Provisioning state of the private endpoint connection.
PrivateEndpoint Pulumi.AzureNextGen.Synapse.Inputs.PrivateEndpointResponseArgs
The private endpoint which the connection belongs to.
PrivateLinkServiceConnectionState Pulumi.AzureNextGen.Synapse.Inputs.PrivateLinkServiceConnectionStateResponseArgs
Connection state of the private endpoint connection.
Id string
identifier
ProvisioningState string
Provisioning state of the private endpoint connection.
PrivateEndpoint PrivateEndpointResponse
The private endpoint which the connection belongs to.
PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
Connection state of the private endpoint connection.
id string
identifier
provisioningState string
Provisioning state of the private endpoint connection.
privateEndpoint PrivateEndpointResponse
The private endpoint which the connection belongs to.
privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
Connection state of the private endpoint connection.
id str
identifier
provisioning_state str
Provisioning state of the private endpoint connection.
private_endpoint PrivateEndpointResponseArgs
The private endpoint which the connection belongs to.
private_link_service_connection_state PrivateLinkServiceConnectionStateResponseArgs
Connection state of the private endpoint connection.

PrivateEndpointResponse

Id string
Resource id of the private endpoint.
Id string
Resource id of the private endpoint.
id string
Resource id of the private endpoint.
id str
Resource id of the private endpoint.

PrivateLinkServiceConnectionStateResponse

ActionsRequired string
The actions required for private link service connection.
Description string
The private link service connection description.
Status string
The private link service connection status.
ActionsRequired string
The actions required for private link service connection.
Description string
The private link service connection description.
Status string
The private link service connection status.
actionsRequired string
The actions required for private link service connection.
description string
The private link service connection description.
status string
The private link service connection status.
actions_required str
The actions required for private link service connection.
description str
The private link service connection description.
status str
The private link service connection status.

Import

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

$ pulumi import azure-nextgen:synapse/v20190601preview:PrivateLinkHub privateLinkHub1 /subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/privateLinkHubs/privateLinkHub1 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-nextgen
License
Apache-2.0