azure-native.kusto.ManagedPrivateEndpoint
Explore with Pulumi AI
Class representing a managed private endpoint. Azure REST API version: 2022-12-29. Prior API version in Azure Native 1.x: 2021-08-27.
Other available API versions: 2023-05-02, 2023-08-15.
Example Usage
KustoManagedPrivateEndpointsCreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedPrivateEndpoint = new AzureNative.Kusto.ManagedPrivateEndpoint("managedPrivateEndpoint", new()
{
ClusterName = "kustoCluster",
GroupId = "blob",
ManagedPrivateEndpointName = "managedPrivateEndpointTest",
PrivateLinkResourceId = "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/storageAccountTest",
RequestMessage = "Please Approve.",
ResourceGroupName = "kustorptest",
});
});
package main
import (
kusto "github.com/pulumi/pulumi-azure-native-sdk/kusto/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := kusto.NewManagedPrivateEndpoint(ctx, "managedPrivateEndpoint", &kusto.ManagedPrivateEndpointArgs{
ClusterName: pulumi.String("kustoCluster"),
GroupId: pulumi.String("blob"),
ManagedPrivateEndpointName: pulumi.String("managedPrivateEndpointTest"),
PrivateLinkResourceId: pulumi.String("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/storageAccountTest"),
RequestMessage: pulumi.String("Please Approve."),
ResourceGroupName: pulumi.String("kustorptest"),
})
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.kusto.ManagedPrivateEndpoint;
import com.pulumi.azurenative.kusto.ManagedPrivateEndpointArgs;
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 managedPrivateEndpoint = new ManagedPrivateEndpoint("managedPrivateEndpoint", ManagedPrivateEndpointArgs.builder()
.clusterName("kustoCluster")
.groupId("blob")
.managedPrivateEndpointName("managedPrivateEndpointTest")
.privateLinkResourceId("/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/storageAccountTest")
.requestMessage("Please Approve.")
.resourceGroupName("kustorptest")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
managed_private_endpoint = azure_native.kusto.ManagedPrivateEndpoint("managedPrivateEndpoint",
cluster_name="kustoCluster",
group_id="blob",
managed_private_endpoint_name="managedPrivateEndpointTest",
private_link_resource_id="/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/storageAccountTest",
request_message="Please Approve.",
resource_group_name="kustorptest")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const managedPrivateEndpoint = new azure_native.kusto.ManagedPrivateEndpoint("managedPrivateEndpoint", {
clusterName: "kustoCluster",
groupId: "blob",
managedPrivateEndpointName: "managedPrivateEndpointTest",
privateLinkResourceId: "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/storageAccountTest",
requestMessage: "Please Approve.",
resourceGroupName: "kustorptest",
});
resources:
managedPrivateEndpoint:
type: azure-native:kusto:ManagedPrivateEndpoint
properties:
clusterName: kustoCluster
groupId: blob
managedPrivateEndpointName: managedPrivateEndpointTest
privateLinkResourceId: /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/storageAccountTest
requestMessage: Please Approve.
resourceGroupName: kustorptest
Create ManagedPrivateEndpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedPrivateEndpoint(name: string, args: ManagedPrivateEndpointArgs, opts?: CustomResourceOptions);
@overload
def ManagedPrivateEndpoint(resource_name: str,
args: ManagedPrivateEndpointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedPrivateEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
group_id: Optional[str] = None,
private_link_resource_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
managed_private_endpoint_name: Optional[str] = None,
private_link_resource_region: Optional[str] = None,
request_message: Optional[str] = None)
func NewManagedPrivateEndpoint(ctx *Context, name string, args ManagedPrivateEndpointArgs, opts ...ResourceOption) (*ManagedPrivateEndpoint, error)
public ManagedPrivateEndpoint(string name, ManagedPrivateEndpointArgs args, CustomResourceOptions? opts = null)
public ManagedPrivateEndpoint(String name, ManagedPrivateEndpointArgs args)
public ManagedPrivateEndpoint(String name, ManagedPrivateEndpointArgs args, CustomResourceOptions options)
type: azure-native:kusto:ManagedPrivateEndpoint
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 ManagedPrivateEndpointArgs
- 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 ManagedPrivateEndpointArgs
- 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 ManagedPrivateEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagedPrivateEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagedPrivateEndpointArgs
- 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 examplemanagedPrivateEndpointResourceResourceFromKusto = new AzureNative.Kusto.ManagedPrivateEndpoint("examplemanagedPrivateEndpointResourceResourceFromKusto", new()
{
ClusterName = "string",
GroupId = "string",
PrivateLinkResourceId = "string",
ResourceGroupName = "string",
ManagedPrivateEndpointName = "string",
PrivateLinkResourceRegion = "string",
RequestMessage = "string",
});
example, err := kusto.NewManagedPrivateEndpoint(ctx, "examplemanagedPrivateEndpointResourceResourceFromKusto", &kusto.ManagedPrivateEndpointArgs{
ClusterName: pulumi.String("string"),
GroupId: pulumi.String("string"),
PrivateLinkResourceId: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
ManagedPrivateEndpointName: pulumi.String("string"),
PrivateLinkResourceRegion: pulumi.String("string"),
RequestMessage: pulumi.String("string"),
})
var examplemanagedPrivateEndpointResourceResourceFromKusto = new ManagedPrivateEndpoint("examplemanagedPrivateEndpointResourceResourceFromKusto", ManagedPrivateEndpointArgs.builder()
.clusterName("string")
.groupId("string")
.privateLinkResourceId("string")
.resourceGroupName("string")
.managedPrivateEndpointName("string")
.privateLinkResourceRegion("string")
.requestMessage("string")
.build());
examplemanaged_private_endpoint_resource_resource_from_kusto = azure_native.kusto.ManagedPrivateEndpoint("examplemanagedPrivateEndpointResourceResourceFromKusto",
cluster_name="string",
group_id="string",
private_link_resource_id="string",
resource_group_name="string",
managed_private_endpoint_name="string",
private_link_resource_region="string",
request_message="string")
const examplemanagedPrivateEndpointResourceResourceFromKusto = new azure_native.kusto.ManagedPrivateEndpoint("examplemanagedPrivateEndpointResourceResourceFromKusto", {
clusterName: "string",
groupId: "string",
privateLinkResourceId: "string",
resourceGroupName: "string",
managedPrivateEndpointName: "string",
privateLinkResourceRegion: "string",
requestMessage: "string",
});
type: azure-native:kusto:ManagedPrivateEndpoint
properties:
clusterName: string
groupId: string
managedPrivateEndpointName: string
privateLinkResourceId: string
privateLinkResourceRegion: string
requestMessage: string
resourceGroupName: string
ManagedPrivateEndpoint 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 ManagedPrivateEndpoint resource accepts the following input properties:
- Cluster
Name string - The name of the Kusto cluster.
- Group
Id string - The groupId in which the managed private endpoint is created.
- Private
Link stringResource Id - The ARM resource ID of the resource for which the managed private endpoint is created.
- Resource
Group stringName - The name of the resource group containing the Kusto cluster.
- Managed
Private stringEndpoint Name - The name of the managed private endpoint.
- Private
Link stringResource Region - The region of the resource to which the managed private endpoint is created.
- Request
Message string - The user request message.
- Cluster
Name string - The name of the Kusto cluster.
- Group
Id string - The groupId in which the managed private endpoint is created.
- Private
Link stringResource Id - The ARM resource ID of the resource for which the managed private endpoint is created.
- Resource
Group stringName - The name of the resource group containing the Kusto cluster.
- Managed
Private stringEndpoint Name - The name of the managed private endpoint.
- Private
Link stringResource Region - The region of the resource to which the managed private endpoint is created.
- Request
Message string - The user request message.
- cluster
Name String - The name of the Kusto cluster.
- group
Id String - The groupId in which the managed private endpoint is created.
- private
Link StringResource Id - The ARM resource ID of the resource for which the managed private endpoint is created.
- resource
Group StringName - The name of the resource group containing the Kusto cluster.
- managed
Private StringEndpoint Name - The name of the managed private endpoint.
- private
Link StringResource Region - The region of the resource to which the managed private endpoint is created.
- request
Message String - The user request message.
- cluster
Name string - The name of the Kusto cluster.
- group
Id string - The groupId in which the managed private endpoint is created.
- private
Link stringResource Id - The ARM resource ID of the resource for which the managed private endpoint is created.
- resource
Group stringName - The name of the resource group containing the Kusto cluster.
- managed
Private stringEndpoint Name - The name of the managed private endpoint.
- private
Link stringResource Region - The region of the resource to which the managed private endpoint is created.
- request
Message string - The user request message.
- cluster_
name str - The name of the Kusto cluster.
- group_
id str - The groupId in which the managed private endpoint is created.
- private_
link_ strresource_ id - The ARM resource ID of the resource for which the managed private endpoint is created.
- resource_
group_ strname - The name of the resource group containing the Kusto cluster.
- managed_
private_ strendpoint_ name - The name of the managed private endpoint.
- private_
link_ strresource_ region - The region of the resource to which the managed private endpoint is created.
- request_
message str - The user request message.
- cluster
Name String - The name of the Kusto cluster.
- group
Id String - The groupId in which the managed private endpoint is created.
- private
Link StringResource Id - The ARM resource ID of the resource for which the managed private endpoint is created.
- resource
Group StringName - The name of the resource group containing the Kusto cluster.
- managed
Private StringEndpoint Name - The name of the managed private endpoint.
- private
Link StringResource Region - The region of the resource to which the managed private endpoint is created.
- request
Message String - The user request message.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedPrivateEndpoint resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The provisioned state of the resource.
- System
Data Pulumi.Azure Native. Kusto. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- 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
- Provisioning
State string - The provisioned state of the resource.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- 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
- provisioning
State String - The provisioned state of the resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- 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
- provisioning
State string - The provisioned state of the resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- 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
- provisioning_
state str - The provisioned state of the resource.
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- 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
- provisioning
State String - The provisioned state of the resource.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
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:kusto:ManagedPrivateEndpoint kustoCluster/KustoDatabase8/managedPrivateEndpointTest /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/managedPrivateEndpoints/{managedPrivateEndpointName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0