azure-native.streamanalytics.PrivateEndpoint
Explore with Pulumi AI
Complete information about the private endpoint. API Version: 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",
PrivateEndpointName = "testpe",
Properties = new AzureNative.StreamAnalytics.Inputs.PrivateEndpointPropertiesArgs
{
ManualPrivateLinkServiceConnections = new[]
{
new AzureNative.StreamAnalytics.Inputs.PrivateLinkServiceConnectionArgs
{
GroupIds = new[]
{
"groupIdFromResource",
},
PrivateLinkServiceId = "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
},
},
},
ResourceGroupName = "sjrg",
});
});
package main
import (
streamanalytics "github.com/pulumi/pulumi-azure-native-sdk/streamanalytics"
"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"),
PrivateEndpointName: pulumi.String("testpe"),
Properties: streamanalytics.PrivateEndpointPropertiesResponse{
ManualPrivateLinkServiceConnections: streamanalytics.PrivateLinkServiceConnectionArray{
&streamanalytics.PrivateLinkServiceConnectionArgs{
GroupIds: pulumi.StringArray{
pulumi.String("groupIdFromResource"),
},
PrivateLinkServiceId: pulumi.String("/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls"),
},
},
},
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 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")
.privateEndpointName("testpe")
.properties(Map.of("manualPrivateLinkServiceConnections", Map.ofEntries(
Map.entry("groupIds", "groupIdFromResource"),
Map.entry("privateLinkServiceId", "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls")
)))
.resourceGroupName("sjrg")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_endpoint = azure_native.streamanalytics.PrivateEndpoint("privateEndpoint",
cluster_name="testcluster",
private_endpoint_name="testpe",
properties=azure_native.streamanalytics.PrivateEndpointPropertiesResponseArgs(
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",
)],
),
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",
privateEndpointName: "testpe",
properties: {
manualPrivateLinkServiceConnections: [{
groupIds: ["groupIdFromResource"],
privateLinkServiceId: "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
}],
},
resourceGroupName: "sjrg",
});
resources:
privateEndpoint:
type: azure-native:streamanalytics:PrivateEndpoint
properties:
clusterName: testcluster
privateEndpointName: testpe
properties:
manualPrivateLinkServiceConnections:
- groupIds:
- groupIdFromResource
privateLinkServiceId: /subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls
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,
private_endpoint_name: Optional[str] = None,
properties: Optional[PrivateEndpointPropertiesArgs] = 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",
PrivateEndpointName = "string",
Properties =
{
{ "manualPrivateLinkServiceConnections", new[]
{
{
{ "groupIds", new[]
{
"string",
} },
{ "privateLinkServiceId", "string" },
},
} },
},
});
example, err := streamanalytics.NewPrivateEndpoint(ctx, "azure-nativePrivateEndpointResource", &streamanalytics.PrivateEndpointArgs{
ClusterName: "string",
ResourceGroupName: "string",
PrivateEndpointName: "string",
Properties: map[string]interface{}{
"manualPrivateLinkServiceConnections": []map[string]interface{}{
map[string]interface{}{
"groupIds": []string{
"string",
},
"privateLinkServiceId": "string",
},
},
},
})
var azure_nativePrivateEndpointResource = new PrivateEndpoint("azure-nativePrivateEndpointResource", PrivateEndpointArgs.builder()
.clusterName("string")
.resourceGroupName("string")
.privateEndpointName("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
azure_native_private_endpoint_resource = azure_native.streamanalytics.PrivateEndpoint("azure-nativePrivateEndpointResource",
cluster_name=string,
resource_group_name=string,
private_endpoint_name=string,
properties={
manualPrivateLinkServiceConnections: [{
groupIds: [string],
privateLinkServiceId: string,
}],
})
const azure_nativePrivateEndpointResource = new azure_native.streamanalytics.PrivateEndpoint("azure-nativePrivateEndpointResource", {
clusterName: "string",
resourceGroupName: "string",
privateEndpointName: "string",
properties: {
manualPrivateLinkServiceConnections: [{
groupIds: ["string"],
privateLinkServiceId: "string",
}],
},
});
type: azure-native:streamanalytics:PrivateEndpoint
properties:
clusterName: string
privateEndpointName: string
properties:
manualPrivateLinkServiceConnections:
- groupIds:
- string
privateLinkServiceId: 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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.
- Private
Endpoint stringName - The name of the private endpoint.
- Properties
Pulumi.
Azure Native. Stream Analytics. Inputs. Private Endpoint Properties - The properties associated with a private endpoint.
- Cluster
Name string - The name of the cluster.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Private
Endpoint stringName - The name of the private endpoint.
- Properties
Private
Endpoint Properties Args - The properties associated with a private endpoint.
- cluster
Name String - The name of the cluster.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- private
Endpoint StringName - The name of the private endpoint.
- properties
Private
Endpoint Properties - The properties associated with a private endpoint.
- cluster
Name string - The name of the cluster.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- private
Endpoint stringName - The name of the private endpoint.
- properties
Private
Endpoint Properties - The properties associated with a private endpoint.
- cluster_
name str - The name of the cluster.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- private_
endpoint_ strname - The name of the private endpoint.
- properties
Private
Endpoint Properties Args - The properties associated with a private endpoint.
- cluster
Name String - The name of the cluster.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- private
Endpoint StringName - The name of the private endpoint.
- properties Property Map
- The properties associated with a private endpoint.
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateEndpoint resource produces the following output properties:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
PrivateEndpointProperties, PrivateEndpointPropertiesArgs
- 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.
- Manual
Private []PrivateLink Service Connections Link Service Connection - A list of connections to the remote resource. Immutable after it is set.
- manual
Private List<PrivateLink Service Connections Link Service Connection> - A list of connections to the remote resource. Immutable after it is set.
- manual
Private PrivateLink Service Connections Link Service Connection[] - A list of connections to the remote resource. Immutable after it is set.
- manual_
private_ Sequence[Privatelink_ service_ connections Link Service Connection] - A list of connections to the remote resource. Immutable after it is set.
- manual
Private List<Property Map>Link Service Connections - A list of connections to the remote resource. Immutable after it is set.
PrivateEndpointPropertiesResponse, PrivateEndpointPropertiesResponseArgs
- Created
Date string - The date when this private endpoint was created.
- Manual
Private List<Pulumi.Link Service Connections Azure Native. Stream Analytics. Inputs. Private Link Service Connection Response> - A list of connections to the remote resource. Immutable after it is set.
- Created
Date string - The date when this private endpoint was created.
- Manual
Private []PrivateLink Service Connections Link Service Connection Response - A list of connections to the remote resource. Immutable after it is set.
- created
Date String - The date when this private endpoint was created.
- manual
Private List<PrivateLink Service Connections Link Service Connection Response> - A list of connections to the remote resource. Immutable after it is set.
- created
Date string - The date when this private endpoint was created.
- manual
Private PrivateLink Service Connections Link Service Connection Response[] - A list of connections to the remote resource. Immutable after it is set.
- created_
date str - The date when this private endpoint was created.
- manual_
private_ Sequence[Privatelink_ service_ connections Link Service Connection Response] - A list of connections to the remote resource. Immutable after it is set.
- created
Date String - The date when this private endpoint was created.
- manual
Private List<Property Map>Link Service Connections - A list of connections to the remote resource. Immutable after it is set.
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/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/sjrg/providers/Microsoft.StreamAnalytics/clusters/testcluster/privateEndpoints/AnExamplePrivateEndpoint
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