azure-native.kusto.ManagedPrivateEndpoint

Explore with Pulumi AI

Class representing a managed private endpoint. API Version: 2021-08-27.

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 = "kustoclusterrptest4",
        GroupId = "blob",
        ManagedPrivateEndpointName = "kustoManagedPrivateEndpoint1",
        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"
	"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("kustoclusterrptest4"),
			GroupId:                    pulumi.String("blob"),
			ManagedPrivateEndpointName: pulumi.String("kustoManagedPrivateEndpoint1"),
			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("kustoclusterrptest4")
            .groupId("blob")
            .managedPrivateEndpointName("kustoManagedPrivateEndpoint1")
            .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="kustoclusterrptest4",
    group_id="blob",
    managed_private_endpoint_name="kustoManagedPrivateEndpoint1",
    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: "kustoclusterrptest4",
    groupId: "blob",
    managedPrivateEndpointName: "kustoManagedPrivateEndpoint1",
    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: kustoclusterrptest4
      groupId: blob
      managedPrivateEndpointName: kustoManagedPrivateEndpoint1
      privateLinkResourceId: /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Storage/storageAccounts/storageAccountTest
      requestMessage: Please Approve.
      resourceGroupName: kustorptest

Create ManagedPrivateEndpoint Resource

new ManagedPrivateEndpoint(name: string, args: ManagedPrivateEndpointArgs, opts?: CustomResourceOptions);
@overload
def ManagedPrivateEndpoint(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           cluster_name: Optional[str] = None,
                           group_id: Optional[str] = None,
                           managed_private_endpoint_name: Optional[str] = None,
                           private_link_resource_id: Optional[str] = None,
                           private_link_resource_region: Optional[str] = None,
                           request_message: Optional[str] = None,
                           resource_group_name: Optional[str] = None)
@overload
def ManagedPrivateEndpoint(resource_name: str,
                           args: ManagedPrivateEndpointArgs,
                           opts: Optional[ResourceOptions] = 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.

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.

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:

ClusterName string

The name of the Kusto cluster.

GroupId string

The groupId in which the managed private endpoint is created.

PrivateLinkResourceId string

The ARM resource ID of the resource for which the managed private endpoint is created.

ResourceGroupName string

The name of the resource group containing the Kusto cluster.

ManagedPrivateEndpointName string

The name of the managed private endpoint.

PrivateLinkResourceRegion string

The region of the resource to which the managed private endpoint is created.

RequestMessage string

The user request message.

ClusterName string

The name of the Kusto cluster.

GroupId string

The groupId in which the managed private endpoint is created.

PrivateLinkResourceId string

The ARM resource ID of the resource for which the managed private endpoint is created.

ResourceGroupName string

The name of the resource group containing the Kusto cluster.

ManagedPrivateEndpointName string

The name of the managed private endpoint.

PrivateLinkResourceRegion string

The region of the resource to which the managed private endpoint is created.

RequestMessage string

The user request message.

clusterName String

The name of the Kusto cluster.

groupId String

The groupId in which the managed private endpoint is created.

privateLinkResourceId String

The ARM resource ID of the resource for which the managed private endpoint is created.

resourceGroupName String

The name of the resource group containing the Kusto cluster.

managedPrivateEndpointName String

The name of the managed private endpoint.

privateLinkResourceRegion String

The region of the resource to which the managed private endpoint is created.

requestMessage String

The user request message.

clusterName string

The name of the Kusto cluster.

groupId string

The groupId in which the managed private endpoint is created.

privateLinkResourceId string

The ARM resource ID of the resource for which the managed private endpoint is created.

resourceGroupName string

The name of the resource group containing the Kusto cluster.

managedPrivateEndpointName string

The name of the managed private endpoint.

privateLinkResourceRegion string

The region of the resource to which the managed private endpoint is created.

requestMessage 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_resource_id str

The ARM resource ID of the resource for which the managed private endpoint is created.

resource_group_name str

The name of the resource group containing the Kusto cluster.

managed_private_endpoint_name str

The name of the managed private endpoint.

private_link_resource_region str

The region of the resource to which the managed private endpoint is created.

request_message str

The user request message.

clusterName String

The name of the Kusto cluster.

groupId String

The groupId in which the managed private endpoint is created.

privateLinkResourceId String

The ARM resource ID of the resource for which the managed private endpoint is created.

resourceGroupName String

The name of the resource group containing the Kusto cluster.

managedPrivateEndpointName String

The name of the managed private endpoint.

privateLinkResourceRegion String

The region of the resource to which the managed private endpoint is created.

requestMessage 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

ProvisioningState string

The provisioned state of the resource.

SystemData Pulumi.AzureNative.Kusto.Outputs.SystemDataResponse

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

ProvisioningState string

The provisioned state of the resource.

SystemData SystemDataResponse

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

provisioningState String

The provisioned state of the resource.

systemData SystemDataResponse

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

provisioningState string

The provisioned state of the resource.

systemData SystemDataResponse

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 SystemDataResponse

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

provisioningState String

The provisioned state of the resource.

systemData 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

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

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_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

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 KustoClusterRPTest4/KustoDatabase8/kustomanagedPrivateEndpoint1 /subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/ManagedPrivateEndpoints/kustoManagedPrivateEndpoint1 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0