1. Packages
  2. Azure Native
  3. API Docs
  4. keyvault
  5. MHSMPrivateEndpointConnection
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

azure-native.keyvault.MHSMPrivateEndpointConnection

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

    Private endpoint connection resource. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-06-01-preview.

    Other available API versions: 2023-07-01.

    Example Usage

    ManagedHsmPutPrivateEndpointConnection

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var mhsmPrivateEndpointConnection = new AzureNative.KeyVault.MHSMPrivateEndpointConnection("mhsmPrivateEndpointConnection", new()
        {
            Name = "sample-mhsm",
            PrivateEndpointConnectionName = "sample-pec",
            PrivateLinkServiceConnectionState = new AzureNative.KeyVault.Inputs.MHSMPrivateLinkServiceConnectionStateArgs
            {
                Description = "My name is Joe and I'm approving this.",
                Status = "Approved",
            },
            ResourceGroupName = "sample-group",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/keyvault/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := keyvault.NewMHSMPrivateEndpointConnection(ctx, "mhsmPrivateEndpointConnection", &keyvault.MHSMPrivateEndpointConnectionArgs{
    			Name:                          pulumi.String("sample-mhsm"),
    			PrivateEndpointConnectionName: pulumi.String("sample-pec"),
    			PrivateLinkServiceConnectionState: &keyvault.MHSMPrivateLinkServiceConnectionStateArgs{
    				Description: pulumi.String("My name is Joe and I'm approving this."),
    				Status:      pulumi.String("Approved"),
    			},
    			ResourceGroupName: pulumi.String("sample-group"),
    		})
    		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.keyvault.MHSMPrivateEndpointConnection;
    import com.pulumi.azurenative.keyvault.MHSMPrivateEndpointConnectionArgs;
    import com.pulumi.azurenative.keyvault.inputs.MHSMPrivateLinkServiceConnectionStateArgs;
    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 mhsmPrivateEndpointConnection = new MHSMPrivateEndpointConnection("mhsmPrivateEndpointConnection", MHSMPrivateEndpointConnectionArgs.builder()        
                .name("sample-mhsm")
                .privateEndpointConnectionName("sample-pec")
                .privateLinkServiceConnectionState(MHSMPrivateLinkServiceConnectionStateArgs.builder()
                    .description("My name is Joe and I'm approving this.")
                    .status("Approved")
                    .build())
                .resourceGroupName("sample-group")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    mhsm_private_endpoint_connection = azure_native.keyvault.MHSMPrivateEndpointConnection("mhsmPrivateEndpointConnection",
        name="sample-mhsm",
        private_endpoint_connection_name="sample-pec",
        private_link_service_connection_state=azure_native.keyvault.MHSMPrivateLinkServiceConnectionStateArgs(
            description="My name is Joe and I'm approving this.",
            status="Approved",
        ),
        resource_group_name="sample-group")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const mhsmPrivateEndpointConnection = new azure_native.keyvault.MHSMPrivateEndpointConnection("mhsmPrivateEndpointConnection", {
        name: "sample-mhsm",
        privateEndpointConnectionName: "sample-pec",
        privateLinkServiceConnectionState: {
            description: "My name is Joe and I'm approving this.",
            status: "Approved",
        },
        resourceGroupName: "sample-group",
    });
    
    resources:
      mhsmPrivateEndpointConnection:
        type: azure-native:keyvault:MHSMPrivateEndpointConnection
        properties:
          name: sample-mhsm
          privateEndpointConnectionName: sample-pec
          privateLinkServiceConnectionState:
            description: My name is Joe and I'm approving this.
            status: Approved
          resourceGroupName: sample-group
    

    Create MHSMPrivateEndpointConnection Resource

    new MHSMPrivateEndpointConnection(name: string, args: MHSMPrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def MHSMPrivateEndpointConnection(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      location: Optional[str] = None,
                                      name: Optional[str] = None,
                                      private_endpoint_connection_name: Optional[str] = None,
                                      private_link_service_connection_state: Optional[MHSMPrivateLinkServiceConnectionStateArgs] = None,
                                      resource_group_name: Optional[str] = None,
                                      sku: Optional[ManagedHsmSkuArgs] = None,
                                      tags: Optional[Mapping[str, str]] = None)
    @overload
    def MHSMPrivateEndpointConnection(resource_name: str,
                                      args: MHSMPrivateEndpointConnectionArgs,
                                      opts: Optional[ResourceOptions] = None)
    func NewMHSMPrivateEndpointConnection(ctx *Context, name string, args MHSMPrivateEndpointConnectionArgs, opts ...ResourceOption) (*MHSMPrivateEndpointConnection, error)
    public MHSMPrivateEndpointConnection(string name, MHSMPrivateEndpointConnectionArgs args, CustomResourceOptions? opts = null)
    public MHSMPrivateEndpointConnection(String name, MHSMPrivateEndpointConnectionArgs args)
    public MHSMPrivateEndpointConnection(String name, MHSMPrivateEndpointConnectionArgs args, CustomResourceOptions options)
    
    type: azure-native:keyvault:MHSMPrivateEndpointConnection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args MHSMPrivateEndpointConnectionArgs
    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 MHSMPrivateEndpointConnectionArgs
    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 MHSMPrivateEndpointConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MHSMPrivateEndpointConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MHSMPrivateEndpointConnectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    MHSMPrivateEndpointConnection 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 MHSMPrivateEndpointConnection resource accepts the following input properties:

    Name string
    Name of the managed HSM Pool
    ResourceGroupName string
    Name of the resource group that contains the managed HSM pool.
    Location string
    The supported Azure location where the managed HSM Pool should be created.
    PrivateEndpointConnectionName string
    Name of the private endpoint connection associated with the managed hsm pool.
    PrivateLinkServiceConnectionState Pulumi.AzureNative.KeyVault.Inputs.MHSMPrivateLinkServiceConnectionState
    Approval state of the private link connection.
    Sku Pulumi.AzureNative.KeyVault.Inputs.ManagedHsmSku
    SKU details
    Tags Dictionary<string, string>
    Resource tags
    Name string
    Name of the managed HSM Pool
    ResourceGroupName string
    Name of the resource group that contains the managed HSM pool.
    Location string
    The supported Azure location where the managed HSM Pool should be created.
    PrivateEndpointConnectionName string
    Name of the private endpoint connection associated with the managed hsm pool.
    PrivateLinkServiceConnectionState MHSMPrivateLinkServiceConnectionStateArgs
    Approval state of the private link connection.
    Sku ManagedHsmSkuArgs
    SKU details
    Tags map[string]string
    Resource tags
    name String
    Name of the managed HSM Pool
    resourceGroupName String
    Name of the resource group that contains the managed HSM pool.
    location String
    The supported Azure location where the managed HSM Pool should be created.
    privateEndpointConnectionName String
    Name of the private endpoint connection associated with the managed hsm pool.
    privateLinkServiceConnectionState MHSMPrivateLinkServiceConnectionState
    Approval state of the private link connection.
    sku ManagedHsmSku
    SKU details
    tags Map<String,String>
    Resource tags
    name string
    Name of the managed HSM Pool
    resourceGroupName string
    Name of the resource group that contains the managed HSM pool.
    location string
    The supported Azure location where the managed HSM Pool should be created.
    privateEndpointConnectionName string
    Name of the private endpoint connection associated with the managed hsm pool.
    privateLinkServiceConnectionState MHSMPrivateLinkServiceConnectionState
    Approval state of the private link connection.
    sku ManagedHsmSku
    SKU details
    tags {[key: string]: string}
    Resource tags
    name str
    Name of the managed HSM Pool
    resource_group_name str
    Name of the resource group that contains the managed HSM pool.
    location str
    The supported Azure location where the managed HSM Pool should be created.
    private_endpoint_connection_name str
    Name of the private endpoint connection associated with the managed hsm pool.
    private_link_service_connection_state MHSMPrivateLinkServiceConnectionStateArgs
    Approval state of the private link connection.
    sku ManagedHsmSkuArgs
    SKU details
    tags Mapping[str, str]
    Resource tags
    name String
    Name of the managed HSM Pool
    resourceGroupName String
    Name of the resource group that contains the managed HSM pool.
    location String
    The supported Azure location where the managed HSM Pool should be created.
    privateEndpointConnectionName String
    Name of the private endpoint connection associated with the managed hsm pool.
    privateLinkServiceConnectionState Property Map
    Approval state of the private link connection.
    sku Property Map
    SKU details
    tags Map<String>
    Resource tags

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MHSMPrivateEndpointConnection resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    ProvisioningState string
    Provisioning state of the private endpoint connection.
    SystemData Pulumi.AzureNative.KeyVault.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the key vault resource.
    Type string
    The resource type of the managed HSM Pool.
    Etag string
    Modified whenever there is a change in the state of private endpoint connection.
    PrivateEndpoint Pulumi.AzureNative.KeyVault.Outputs.MHSMPrivateEndpointResponse
    Properties of the private endpoint object.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProvisioningState string
    Provisioning state of the private endpoint connection.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the key vault resource.
    Type string
    The resource type of the managed HSM Pool.
    Etag string
    Modified whenever there is a change in the state of private endpoint connection.
    PrivateEndpoint MHSMPrivateEndpointResponse
    Properties of the private endpoint object.
    id String
    The provider-assigned unique ID for this managed resource.
    provisioningState String
    Provisioning state of the private endpoint connection.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the key vault resource.
    type String
    The resource type of the managed HSM Pool.
    etag String
    Modified whenever there is a change in the state of private endpoint connection.
    privateEndpoint MHSMPrivateEndpointResponse
    Properties of the private endpoint object.
    id string
    The provider-assigned unique ID for this managed resource.
    provisioningState string
    Provisioning state of the private endpoint connection.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the key vault resource.
    type string
    The resource type of the managed HSM Pool.
    etag string
    Modified whenever there is a change in the state of private endpoint connection.
    privateEndpoint MHSMPrivateEndpointResponse
    Properties of the private endpoint object.
    id str
    The provider-assigned unique ID for this managed resource.
    provisioning_state str
    Provisioning state of the private endpoint connection.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the key vault resource.
    type str
    The resource type of the managed HSM Pool.
    etag str
    Modified whenever there is a change in the state of private endpoint connection.
    private_endpoint MHSMPrivateEndpointResponse
    Properties of the private endpoint object.
    id String
    The provider-assigned unique ID for this managed resource.
    provisioningState String
    Provisioning state of the private endpoint connection.
    systemData Property Map
    Metadata pertaining to creation and last modification of the key vault resource.
    type String
    The resource type of the managed HSM Pool.
    etag String
    Modified whenever there is a change in the state of private endpoint connection.
    privateEndpoint Property Map
    Properties of the private endpoint object.

    Supporting Types

    ActionsRequired, ActionsRequiredArgs

    None
    None
    ActionsRequiredNone
    None
    None
    None
    None
    None
    NONE
    None
    "None"
    None

    MHSMPrivateEndpointResponse, MHSMPrivateEndpointResponseArgs

    Id string
    Full identifier of the private endpoint resource.
    Id string
    Full identifier of the private endpoint resource.
    id String
    Full identifier of the private endpoint resource.
    id string
    Full identifier of the private endpoint resource.
    id str
    Full identifier of the private endpoint resource.
    id String
    Full identifier of the private endpoint resource.

    MHSMPrivateLinkServiceConnectionState, MHSMPrivateLinkServiceConnectionStateArgs

    ActionsRequired string | Pulumi.AzureNative.KeyVault.ActionsRequired
    A message indicating if changes on the service provider require any updates on the consumer.
    Description string
    The reason for approval or rejection.
    Status string | Pulumi.AzureNative.KeyVault.PrivateEndpointServiceConnectionStatus
    Indicates whether the connection has been approved, rejected or removed by the key vault owner.
    ActionsRequired string | ActionsRequired
    A message indicating if changes on the service provider require any updates on the consumer.
    Description string
    The reason for approval or rejection.
    Status string | PrivateEndpointServiceConnectionStatus
    Indicates whether the connection has been approved, rejected or removed by the key vault owner.
    actionsRequired String | ActionsRequired
    A message indicating if changes on the service provider require any updates on the consumer.
    description String
    The reason for approval or rejection.
    status String | PrivateEndpointServiceConnectionStatus
    Indicates whether the connection has been approved, rejected or removed by the key vault owner.
    actionsRequired string | ActionsRequired
    A message indicating if changes on the service provider require any updates on the consumer.
    description string
    The reason for approval or rejection.
    status string | PrivateEndpointServiceConnectionStatus
    Indicates whether the connection has been approved, rejected or removed by the key vault owner.
    actions_required str | ActionsRequired
    A message indicating if changes on the service provider require any updates on the consumer.
    description str
    The reason for approval or rejection.
    status str | PrivateEndpointServiceConnectionStatus
    Indicates whether the connection has been approved, rejected or removed by the key vault owner.
    actionsRequired String | "None"
    A message indicating if changes on the service provider require any updates on the consumer.
    description String
    The reason for approval or rejection.
    status String | "Pending" | "Approved" | "Rejected" | "Disconnected"
    Indicates whether the connection has been approved, rejected or removed by the key vault owner.

    MHSMPrivateLinkServiceConnectionStateResponse, MHSMPrivateLinkServiceConnectionStateResponseArgs

    ActionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    Description string
    The reason for approval or rejection.
    Status string
    Indicates whether the connection has been approved, rejected or removed by the key vault owner.
    ActionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    Description string
    The reason for approval or rejection.
    Status string
    Indicates whether the connection has been approved, rejected or removed by the key vault owner.
    actionsRequired String
    A message indicating if changes on the service provider require any updates on the consumer.
    description String
    The reason for approval or rejection.
    status String
    Indicates whether the connection has been approved, rejected or removed by the key vault owner.
    actionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    description string
    The reason for approval or rejection.
    status string
    Indicates whether the connection has been approved, rejected or removed by the key vault owner.
    actions_required str
    A message indicating if changes on the service provider require any updates on the consumer.
    description str
    The reason for approval or rejection.
    status str
    Indicates whether the connection has been approved, rejected or removed by the key vault owner.
    actionsRequired String
    A message indicating if changes on the service provider require any updates on the consumer.
    description String
    The reason for approval or rejection.
    status String
    Indicates whether the connection has been approved, rejected or removed by the key vault owner.

    ManagedHsmSku, ManagedHsmSkuArgs

    Family string | Pulumi.AzureNative.KeyVault.ManagedHsmSkuFamily
    SKU Family of the managed HSM Pool
    Name Pulumi.AzureNative.KeyVault.ManagedHsmSkuName
    SKU of the managed HSM Pool
    Family string | ManagedHsmSkuFamily
    SKU Family of the managed HSM Pool
    Name ManagedHsmSkuName
    SKU of the managed HSM Pool
    family String | ManagedHsmSkuFamily
    SKU Family of the managed HSM Pool
    name ManagedHsmSkuName
    SKU of the managed HSM Pool
    family string | ManagedHsmSkuFamily
    SKU Family of the managed HSM Pool
    name ManagedHsmSkuName
    SKU of the managed HSM Pool
    family str | ManagedHsmSkuFamily
    SKU Family of the managed HSM Pool
    name ManagedHsmSkuName
    SKU of the managed HSM Pool
    family String | "B"
    SKU Family of the managed HSM Pool
    name "Standard_B1" | "Custom_B32" | "Custom_B6"
    SKU of the managed HSM Pool

    ManagedHsmSkuFamily, ManagedHsmSkuFamilyArgs

    B
    B
    ManagedHsmSkuFamilyB
    B
    B
    B
    B
    B
    B
    B
    "B"
    B

    ManagedHsmSkuName, ManagedHsmSkuNameArgs

    Standard_B1
    Standard_B1
    Custom_B32
    Custom_B32
    Custom_B6
    Custom_B6
    ManagedHsmSkuName_Standard_B1
    Standard_B1
    ManagedHsmSkuName_Custom_B32
    Custom_B32
    ManagedHsmSkuName_Custom_B6
    Custom_B6
    Standard_B1
    Standard_B1
    Custom_B32
    Custom_B32
    Custom_B6
    Custom_B6
    Standard_B1
    Standard_B1
    Custom_B32
    Custom_B32
    Custom_B6
    Custom_B6
    STANDARD_B1
    Standard_B1
    CUSTOM_B32
    Custom_B32
    CUSTOM_B6
    Custom_B6
    "Standard_B1"
    Standard_B1
    "Custom_B32"
    Custom_B32
    "Custom_B6"
    Custom_B6

    ManagedHsmSkuResponse, ManagedHsmSkuResponseArgs

    Family string
    SKU Family of the managed HSM Pool
    Name string
    SKU of the managed HSM Pool
    Family string
    SKU Family of the managed HSM Pool
    Name string
    SKU of the managed HSM Pool
    family String
    SKU Family of the managed HSM Pool
    name String
    SKU of the managed HSM Pool
    family string
    SKU Family of the managed HSM Pool
    name string
    SKU of the managed HSM Pool
    family str
    SKU Family of the managed HSM Pool
    name str
    SKU of the managed HSM Pool
    family String
    SKU Family of the managed HSM Pool
    name String
    SKU of the managed HSM Pool

    PrivateEndpointServiceConnectionStatus, PrivateEndpointServiceConnectionStatusArgs

    Pending
    Pending
    Approved
    Approved
    Rejected
    Rejected
    Disconnected
    Disconnected
    PrivateEndpointServiceConnectionStatusPending
    Pending
    PrivateEndpointServiceConnectionStatusApproved
    Approved
    PrivateEndpointServiceConnectionStatusRejected
    Rejected
    PrivateEndpointServiceConnectionStatusDisconnected
    Disconnected
    Pending
    Pending
    Approved
    Approved
    Rejected
    Rejected
    Disconnected
    Disconnected
    Pending
    Pending
    Approved
    Approved
    Rejected
    Rejected
    Disconnected
    Disconnected
    PENDING
    Pending
    APPROVED
    Approved
    REJECTED
    Rejected
    DISCONNECTED
    Disconnected
    "Pending"
    Pending
    "Approved"
    Approved
    "Rejected"
    Rejected
    "Disconnected"
    Disconnected

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of the key vault resource creation (UTC).
    CreatedBy string
    The identity that created the key vault resource.
    CreatedByType string
    The type of identity that created the key vault resource.
    LastModifiedAt string
    The timestamp of the key vault resource last modification (UTC).
    LastModifiedBy string
    The identity that last modified the key vault resource.
    LastModifiedByType string
    The type of identity that last modified the key vault resource.
    CreatedAt string
    The timestamp of the key vault resource creation (UTC).
    CreatedBy string
    The identity that created the key vault resource.
    CreatedByType string
    The type of identity that created the key vault resource.
    LastModifiedAt string
    The timestamp of the key vault resource last modification (UTC).
    LastModifiedBy string
    The identity that last modified the key vault resource.
    LastModifiedByType string
    The type of identity that last modified the key vault resource.
    createdAt String
    The timestamp of the key vault resource creation (UTC).
    createdBy String
    The identity that created the key vault resource.
    createdByType String
    The type of identity that created the key vault resource.
    lastModifiedAt String
    The timestamp of the key vault resource last modification (UTC).
    lastModifiedBy String
    The identity that last modified the key vault resource.
    lastModifiedByType String
    The type of identity that last modified the key vault resource.
    createdAt string
    The timestamp of the key vault resource creation (UTC).
    createdBy string
    The identity that created the key vault resource.
    createdByType string
    The type of identity that created the key vault resource.
    lastModifiedAt string
    The timestamp of the key vault resource last modification (UTC).
    lastModifiedBy string
    The identity that last modified the key vault resource.
    lastModifiedByType string
    The type of identity that last modified the key vault resource.
    created_at str
    The timestamp of the key vault resource creation (UTC).
    created_by str
    The identity that created the key vault resource.
    created_by_type str
    The type of identity that created the key vault resource.
    last_modified_at str
    The timestamp of the key vault resource last modification (UTC).
    last_modified_by str
    The identity that last modified the key vault resource.
    last_modified_by_type str
    The type of identity that last modified the key vault resource.
    createdAt String
    The timestamp of the key vault resource creation (UTC).
    createdBy String
    The identity that created the key vault resource.
    createdByType String
    The type of identity that created the key vault resource.
    lastModifiedAt String
    The timestamp of the key vault resource last modification (UTC).
    lastModifiedBy String
    The identity that last modified the key vault resource.
    lastModifiedByType String
    The type of identity that last modified the key vault resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:keyvault:MHSMPrivateEndpointConnection sample-pec /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}/privateEndpointConnections/{privateEndpointConnectionName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi