azure-native.streamanalytics.PrivateEndpoint
Explore with Pulumi AI
Complete information about the private endpoint. Azure REST API version: 2020-03-01. Prior API version in Azure Native 1.x: 2020-03-01-preview.
Other available API versions: 2020-03-01-preview.
Example Usage
Create a private endpoint
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateEndpoint = new AzureNative.StreamAnalytics.PrivateEndpoint("privateEndpoint", new()
{
ClusterName = "testcluster",
ManualPrivateLinkServiceConnections = new[]
{
new AzureNative.StreamAnalytics.Inputs.PrivateLinkServiceConnectionArgs
{
GroupIds = new[]
{
"groupIdFromResource",
},
PrivateLinkServiceId = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
},
},
PrivateEndpointName = "testpe",
ResourceGroupName = "sjrg",
});
});
package main
import (
streamanalytics "github.com/pulumi/pulumi-azure-native-sdk/streamanalytics/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := streamanalytics.NewPrivateEndpoint(ctx, "privateEndpoint", &streamanalytics.PrivateEndpointArgs{
ClusterName: pulumi.String("testcluster"),
ManualPrivateLinkServiceConnections: streamanalytics.PrivateLinkServiceConnectionArray{
&streamanalytics.PrivateLinkServiceConnectionArgs{
GroupIds: pulumi.StringArray{
pulumi.String("groupIdFromResource"),
},
PrivateLinkServiceId: pulumi.String("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls"),
},
},
PrivateEndpointName: pulumi.String("testpe"),
ResourceGroupName: pulumi.String("sjrg"),
})
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.streamanalytics.PrivateEndpoint;
import com.pulumi.azurenative.streamanalytics.PrivateEndpointArgs;
import com.pulumi.azurenative.streamanalytics.inputs.PrivateLinkServiceConnectionArgs;
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 privateEndpoint = new PrivateEndpoint("privateEndpoint", PrivateEndpointArgs.builder()
.clusterName("testcluster")
.manualPrivateLinkServiceConnections(PrivateLinkServiceConnectionArgs.builder()
.groupIds("groupIdFromResource")
.privateLinkServiceId("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls")
.build())
.privateEndpointName("testpe")
.resourceGroupName("sjrg")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_endpoint = azure_native.streamanalytics.PrivateEndpoint("privateEndpoint",
cluster_name="testcluster",
manual_private_link_service_connections=[azure_native.streamanalytics.PrivateLinkServiceConnectionArgs(
group_ids=["groupIdFromResource"],
private_link_service_id="/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
)],
private_endpoint_name="testpe",
resource_group_name="sjrg")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateEndpoint = new azure_native.streamanalytics.PrivateEndpoint("privateEndpoint", {
clusterName: "testcluster",
manualPrivateLinkServiceConnections: [{
groupIds: ["groupIdFromResource"],
privateLinkServiceId: "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
}],
privateEndpointName: "testpe",
resourceGroupName: "sjrg",
});
resources:
privateEndpoint:
type: azure-native:streamanalytics:PrivateEndpoint
properties:
clusterName: testcluster
manualPrivateLinkServiceConnections:
- groupIds:
- groupIdFromResource
privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls
privateEndpointName: testpe
resourceGroupName: sjrg
Create PrivateEndpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateEndpoint(name: string, args: PrivateEndpointArgs, opts?: CustomResourceOptions);
@overload
def PrivateEndpoint(resource_name: str,
args: PrivateEndpointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
manual_private_link_service_connections: Optional[Sequence[PrivateLinkServiceConnectionArgs]] = None,
private_endpoint_name: Optional[str] = None)
func NewPrivateEndpoint(ctx *Context, name string, args PrivateEndpointArgs, opts ...ResourceOption) (*PrivateEndpoint, error)
public PrivateEndpoint(string name, PrivateEndpointArgs args, CustomResourceOptions? opts = null)
public PrivateEndpoint(String name, PrivateEndpointArgs args)
public PrivateEndpoint(String name, PrivateEndpointArgs args, CustomResourceOptions options)
type: azure-native:streamanalytics:PrivateEndpoint
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 PrivateEndpointArgs
- 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 PrivateEndpointArgs
- 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 PrivateEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrivateEndpointArgs
- 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 azure_nativePrivateEndpointResource = new AzureNative.StreamAnalytics.PrivateEndpoint("azure-nativePrivateEndpointResource", new()
{
ClusterName = "string",
ResourceGroupName = "string",
ManualPrivateLinkServiceConnections = new[]
{
new AzureNative.StreamAnalytics.Inputs.PrivateLinkServiceConnectionArgs
{
GroupIds = new[]
{
"string",
},
PrivateLinkServiceId = "string",
},
},
PrivateEndpointName = "string",
});
example, err := streamanalytics.NewPrivateEndpoint(ctx, "azure-nativePrivateEndpointResource", &streamanalytics.PrivateEndpointArgs{
ClusterName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
ManualPrivateLinkServiceConnections: streamanalytics.PrivateLinkServiceConnectionArray{
&streamanalytics.PrivateLinkServiceConnectionArgs{
GroupIds: pulumi.StringArray{
pulumi.String("string"),
},
PrivateLinkServiceId: pulumi.String("string"),
},
},
PrivateEndpointName: pulumi.String("string"),
})
var azure_nativePrivateEndpointResource = new PrivateEndpoint("azure-nativePrivateEndpointResource", PrivateEndpointArgs.builder()
.clusterName("string")
.resourceGroupName("string")
.manualPrivateLinkServiceConnections(PrivateLinkServiceConnectionArgs.builder()
.groupIds("string")
.privateLinkServiceId("string")
.build())
.privateEndpointName("string")
.build());
azure_native_private_endpoint_resource = azure_native.streamanalytics.PrivateEndpoint("azure-nativePrivateEndpointResource",
cluster_name="string",
resource_group_name="string",
manual_private_link_service_connections=[azure_native.streamanalytics.PrivateLinkServiceConnectionArgs(
group_ids=["string"],
private_link_service_id="string",
)],
private_endpoint_name="string")
const azure_nativePrivateEndpointResource = new azure_native.streamanalytics.PrivateEndpoint("azure-nativePrivateEndpointResource", {
clusterName: "string",
resourceGroupName: "string",
manualPrivateLinkServiceConnections: [{
groupIds: ["string"],
privateLinkServiceId: "string",
}],
privateEndpointName: "string",
});
type: azure-native:streamanalytics:PrivateEndpoint
properties:
clusterName: string
manualPrivateLinkServiceConnections:
- groupIds:
- string
privateLinkServiceId: string
privateEndpointName: string
resourceGroupName: string
PrivateEndpoint 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 PrivateEndpoint resource accepts the following input properties:
- Cluster
Name string - The name of the cluster.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Manual
Private List<Pulumi.Link Service Connections Azure Native. Stream Analytics. Inputs. Private Link Service Connection> - A list of connections to the remote resource. Immutable after it is set.
- Private
Endpoint stringName - The name of the private endpoint.
- Cluster
Name string - The name of the cluster.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Manual
Private []PrivateLink Service Connections Link Service Connection Args - A list of connections to the remote resource. Immutable after it is set.
- Private
Endpoint stringName - The name of the private endpoint.
- cluster
Name String - The name of the cluster.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- manual
Private List<PrivateLink Service Connections Link Service Connection> - A list of connections to the remote resource. Immutable after it is set.
- private
Endpoint StringName - The name of the private endpoint.
- cluster
Name string - The name of the cluster.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- manual
Private PrivateLink Service Connections Link Service Connection[] - A list of connections to the remote resource. Immutable after it is set.
- private
Endpoint stringName - The name of the private endpoint.
- cluster_
name str - The name of the cluster.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- manual_
private_ Sequence[Privatelink_ service_ connections Link Service Connection Args] - A list of connections to the remote resource. Immutable after it is set.
- private_
endpoint_ strname - The name of the private endpoint.
- cluster
Name String - The name of the cluster.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- manual
Private List<Property Map>Link Service Connections - A list of connections to the remote resource. Immutable after it is set.
- private
Endpoint StringName - The name of the private endpoint.
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateEndpoint resource produces the following output properties:
- Created
Date string - The date when this private endpoint was created.
- Etag string
- Unique opaque string (generally a GUID) that represents the metadata state of the resource (private endpoint) and changes whenever the resource is updated. Required on PUT (CreateOrUpdate) requests.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Created
Date string - The date when this private endpoint was created.
- Etag string
- Unique opaque string (generally a GUID) that represents the metadata state of the resource (private endpoint) and changes whenever the resource is updated. Required on PUT (CreateOrUpdate) requests.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- created
Date String - The date when this private endpoint was created.
- etag String
- Unique opaque string (generally a GUID) that represents the metadata state of the resource (private endpoint) and changes whenever the resource is updated. Required on PUT (CreateOrUpdate) requests.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- type String
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- created
Date string - The date when this private endpoint was created.
- etag string
- Unique opaque string (generally a GUID) that represents the metadata state of the resource (private endpoint) and changes whenever the resource is updated. Required on PUT (CreateOrUpdate) requests.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- type string
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- created_
date str - The date when this private endpoint was created.
- etag str
- Unique opaque string (generally a GUID) that represents the metadata state of the resource (private endpoint) and changes whenever the resource is updated. Required on PUT (CreateOrUpdate) requests.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- type str
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- created
Date String - The date when this private endpoint was created.
- etag String
- Unique opaque string (generally a GUID) that represents the metadata state of the resource (private endpoint) and changes whenever the resource is updated. Required on PUT (CreateOrUpdate) requests.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- type String
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
Supporting Types
PrivateLinkConnectionStateResponse, PrivateLinkConnectionStateResponseArgs
- Actions
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- Description string
- The reason for approval/rejection of the connection.
- Status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the remote resource/service.
- Actions
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- Description string
- The reason for approval/rejection of the connection.
- Status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the remote resource/service.
- actions
Required String - A message indicating if changes on the service provider require any updates on the consumer.
- description String
- The reason for approval/rejection of the connection.
- status String
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the remote resource/service.
- actions
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- description string
- The reason for approval/rejection of the connection.
- status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the remote resource/service.
- actions_
required str - A message indicating if changes on the service provider require any updates on the consumer.
- description str
- The reason for approval/rejection of the connection.
- status str
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the remote resource/service.
- actions
Required String - A message indicating if changes on the service provider require any updates on the consumer.
- description String
- The reason for approval/rejection of the connection.
- status String
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the remote resource/service.
PrivateLinkServiceConnection, PrivateLinkServiceConnectionArgs
- Group
Ids List<string> - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
- Private
Link stringService Id - The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
- Group
Ids []string - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
- Private
Link stringService Id - The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
- group
Ids List<String> - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
- private
Link StringService Id - The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
- group
Ids string[] - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
- private
Link stringService Id - The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
- group_
ids Sequence[str] - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
- private_
link_ strservice_ id - The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
- group
Ids List<String> - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
- private
Link StringService Id - The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
PrivateLinkServiceConnectionResponse, PrivateLinkServiceConnectionResponseArgs
- Request
Message string - A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
- Group
Ids List<string> - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
- Private
Link Pulumi.Service Connection State Azure Native. Stream Analytics. Inputs. Private Link Connection State Response - A collection of read-only information about the state of the connection to the private remote resource.
- Private
Link stringService Id - The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
- Request
Message string - A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
- Group
Ids []string - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
- Private
Link PrivateService Connection State Link Connection State Response - A collection of read-only information about the state of the connection to the private remote resource.
- Private
Link stringService Id - The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
- request
Message String - A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
- group
Ids List<String> - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
- private
Link PrivateService Connection State Link Connection State Response - A collection of read-only information about the state of the connection to the private remote resource.
- private
Link StringService Id - The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
- request
Message string - A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
- group
Ids string[] - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
- private
Link PrivateService Connection State Link Connection State Response - A collection of read-only information about the state of the connection to the private remote resource.
- private
Link stringService Id - The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
- request_
message str - A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
- group_
ids Sequence[str] - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
- private_
link_ Privateservice_ connection_ state Link Connection State Response - A collection of read-only information about the state of the connection to the private remote resource.
- private_
link_ strservice_ id - The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
- request
Message String - A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars.
- group
Ids List<String> - The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests.
- private
Link Property MapService Connection State - A collection of read-only information about the state of the connection to the private remote resource.
- private
Link StringService Id - The resource id of the private link service. Required on PUT (CreateOrUpdate) requests.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:streamanalytics:PrivateEndpoint An Example Private Endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}/privateEndpoints/{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