azure-native.synapse.PrivateLinkHub
Explore with Pulumi AI
A privateLinkHub Azure REST API version: 2021-06-01. Prior API version in Azure Native 1.x: 2021-03-01.
Other available API versions: 2021-06-01-preview.
Example Usage
Create or update a privateLinkHub
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateLinkHub = new AzureNative.Synapse.PrivateLinkHub("privateLinkHub", new()
{
Location = "East US",
PrivateLinkHubName = "privateLinkHub1",
ResourceGroupName = "resourceGroup1",
Tags =
{
{ "key", "value" },
},
});
});
package main
import (
synapse "github.com/pulumi/pulumi-azure-native-sdk/synapse/v2"
"github.com/pulumi/pulumi/sdk/v3/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
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.synapse.PrivateLinkHub;
import com.pulumi.azurenative.synapse.PrivateLinkHubArgs;
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 privateLinkHub = new PrivateLinkHub("privateLinkHub", PrivateLinkHubArgs.builder()
.location("East US")
.privateLinkHubName("privateLinkHub1")
.resourceGroupName("resourceGroup1")
.tags(Map.of("key", "value"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_link_hub = azure_native.synapse.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_native from "@pulumi/azure-native";
const privateLinkHub = new azure_native.synapse.PrivateLinkHub("privateLinkHub", {
location: "East US",
privateLinkHubName: "privateLinkHub1",
resourceGroupName: "resourceGroup1",
tags: {
key: "value",
},
});
resources:
privateLinkHub:
type: azure-native:synapse:PrivateLinkHub
properties:
location: East US
privateLinkHubName: privateLinkHub1
resourceGroupName: resourceGroup1
tags:
key: value
Create PrivateLinkHub Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateLinkHub(name: string, args: PrivateLinkHubArgs, opts?: CustomResourceOptions);
@overload
def PrivateLinkHub(resource_name: str,
args: PrivateLinkHubArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateLinkHub(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
private_link_hub_name: Optional[str] = None,
provisioning_state: 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)
public PrivateLinkHub(String name, PrivateLinkHubArgs args)
public PrivateLinkHub(String name, PrivateLinkHubArgs args, CustomResourceOptions options)
type: azure-native:synapse:PrivateLinkHub
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 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.
- args PrivateLinkHubArgs
- 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 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.
- name String
- The unique name of the resource.
- args PrivateLinkHubArgs
- 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 privateLinkHubResource = new AzureNative.Synapse.PrivateLinkHub("privateLinkHubResource", new()
{
ResourceGroupName = "string",
Location = "string",
PrivateLinkHubName = "string",
ProvisioningState = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := synapse.NewPrivateLinkHub(ctx, "privateLinkHubResource", &synapse.PrivateLinkHubArgs{
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
PrivateLinkHubName: pulumi.String("string"),
ProvisioningState: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var privateLinkHubResource = new PrivateLinkHub("privateLinkHubResource", PrivateLinkHubArgs.builder()
.resourceGroupName("string")
.location("string")
.privateLinkHubName("string")
.provisioningState("string")
.tags(Map.of("string", "string"))
.build());
private_link_hub_resource = azure_native.synapse.PrivateLinkHub("privateLinkHubResource",
resource_group_name="string",
location="string",
private_link_hub_name="string",
provisioning_state="string",
tags={
"string": "string",
})
const privateLinkHubResource = new azure_native.synapse.PrivateLinkHub("privateLinkHubResource", {
resourceGroupName: "string",
location: "string",
privateLinkHubName: "string",
provisioningState: "string",
tags: {
string: "string",
},
});
type: azure-native:synapse:PrivateLinkHub
properties:
location: string
privateLinkHubName: string
provisioningState: string
resourceGroupName: string
tags:
string: string
PrivateLinkHub 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 PrivateLinkHub resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Private
Link stringHub Name - Name of the privateLinkHub
- Provisioning
State string - PrivateLinkHub provisioning state
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Private
Link stringHub Name - Name of the privateLinkHub
- Provisioning
State string - PrivateLinkHub provisioning state
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- private
Link StringHub Name - Name of the privateLinkHub
- provisioning
State String - PrivateLinkHub provisioning state
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- location string
- The geo-location where the resource lives
- private
Link stringHub Name - Name of the privateLinkHub
- provisioning
State string - PrivateLinkHub provisioning state
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- location str
- The geo-location where the resource lives
- private_
link_ strhub_ name - Name of the privateLinkHub
- provisioning_
state str - PrivateLinkHub provisioning state
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- private
Link StringHub Name - Name of the privateLinkHub
- provisioning
State String - PrivateLinkHub provisioning state
- Map<String>
- 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
- Private
Endpoint List<Pulumi.Connections Azure Native. Synapse. Outputs. Private Endpoint Connection For Private Link Hub Basic Response> - 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
- Private
Endpoint []PrivateConnections Endpoint Connection For Private Link Hub Basic Response - 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
- private
Endpoint List<PrivateConnections Endpoint Connection For Private Link Hub Basic Response> - 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
- private
Endpoint PrivateConnections Endpoint Connection For Private Link Hub Basic Response[] - 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_ Sequence[Privateconnections Endpoint Connection For Private Link Hub Basic Response] - List of private endpoint connections
- type str
- 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
- private
Endpoint List<Property Map>Connections - List of private endpoint connections
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
PrivateEndpointConnectionForPrivateLinkHubBasicResponse, PrivateEndpointConnectionForPrivateLinkHubBasicResponseArgs
- Id string
- identifier
- Provisioning
State string - Provisioning state of the private endpoint connection.
- Private
Endpoint Pulumi.Azure Native. Synapse. Inputs. Private Endpoint Response - The private endpoint which the connection belongs to.
- Private
Link Pulumi.Service Connection State Azure Native. Synapse. Inputs. Private Link Service Connection State Response - Connection state of the private endpoint connection.
- Id string
- identifier
- Provisioning
State string - Provisioning state of the private endpoint connection.
- Private
Endpoint PrivateEndpoint Response - The private endpoint which the connection belongs to.
- Private
Link PrivateService Connection State Link Service Connection State Response - Connection state of the private endpoint connection.
- id String
- identifier
- provisioning
State String - Provisioning state of the private endpoint connection.
- private
Endpoint PrivateEndpoint Response - The private endpoint which the connection belongs to.
- private
Link PrivateService Connection State Link Service Connection State Response - Connection state of the private endpoint connection.
- id string
- identifier
- provisioning
State string - Provisioning state of the private endpoint connection.
- private
Endpoint PrivateEndpoint Response - The private endpoint which the connection belongs to.
- private
Link PrivateService Connection State Link Service Connection State Response - Connection state of the private endpoint connection.
- id str
- identifier
- provisioning_
state str - Provisioning state of the private endpoint connection.
- private_
endpoint PrivateEndpoint Response - The private endpoint which the connection belongs to.
- private_
link_ Privateservice_ connection_ state Link Service Connection State Response - Connection state of the private endpoint connection.
- id String
- identifier
- provisioning
State String - Provisioning state of the private endpoint connection.
- private
Endpoint Property Map - The private endpoint which the connection belongs to.
- private
Link Property MapService Connection State - Connection state of the private endpoint connection.
PrivateEndpointResponse, PrivateEndpointResponseArgs
- 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 string
- Resource id of the private endpoint.
- id str
- Resource id of the private endpoint.
- id String
- Resource id of the private endpoint.
PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs
- Actions
Required 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 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 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 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.
- actions
Required 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:synapse:PrivateLinkHub privateLinkHub1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs/{privateLinkHubName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0