azure-native-v2.keyvault.MHSMPrivateEndpointConnection
Explore with Pulumi AI
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, 2024-04-01-preview.
Create MHSMPrivateEndpointConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MHSMPrivateEndpointConnection(name: string, args: MHSMPrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def MHSMPrivateEndpointConnection(resource_name: str,
args: MHSMPrivateEndpointConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MHSMPrivateEndpointConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
private_endpoint_connection_name: Optional[str] = None,
private_link_service_connection_state: Optional[MHSMPrivateLinkServiceConnectionStateArgs] = None,
sku: Optional[ManagedHsmSkuArgs] = None,
tags: Optional[Mapping[str, str]] = 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.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. MHSMPrivateEndpointConnectionArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. MHSMPrivateEndpointConnectionArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. MHSMPrivateEndpointConnectionArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. MHSMPrivateEndpointConnectionArgs - 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 mhsmprivateEndpointConnectionResource = new AzureNative.Keyvault.MHSMPrivateEndpointConnection("mhsmprivateEndpointConnectionResource", new()
{
Name = "string",
ResourceGroupName = "string",
Location = "string",
PrivateEndpointConnectionName = "string",
PrivateLinkServiceConnectionState =
{
{ "actionsRequired", "string" },
{ "description", "string" },
{ "status", "string" },
},
Sku =
{
{ "family", "string" },
{ "name", "Standard_B1" },
},
Tags =
{
{ "string", "string" },
},
});
example, err := keyvault.NewMHSMPrivateEndpointConnection(ctx, "mhsmprivateEndpointConnectionResource", &keyvault.MHSMPrivateEndpointConnectionArgs{
Name: "string",
ResourceGroupName: "string",
Location: "string",
PrivateEndpointConnectionName: "string",
PrivateLinkServiceConnectionState: map[string]interface{}{
"actionsRequired": "string",
"description": "string",
"status": "string",
},
Sku: map[string]interface{}{
"family": "string",
"name": "Standard_B1",
},
Tags: map[string]interface{}{
"string": "string",
},
})
var mhsmprivateEndpointConnectionResource = new MHSMPrivateEndpointConnection("mhsmprivateEndpointConnectionResource", MHSMPrivateEndpointConnectionArgs.builder()
.name("string")
.resourceGroupName("string")
.location("string")
.privateEndpointConnectionName("string")
.privateLinkServiceConnectionState(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
mhsmprivate_endpoint_connection_resource = azure_native.keyvault.MHSMPrivateEndpointConnection("mhsmprivateEndpointConnectionResource",
name=string,
resource_group_name=string,
location=string,
private_endpoint_connection_name=string,
private_link_service_connection_state={
actionsRequired: string,
description: string,
status: string,
},
sku={
family: string,
name: Standard_B1,
},
tags={
string: string,
})
const mhsmprivateEndpointConnectionResource = new azure_native.keyvault.MHSMPrivateEndpointConnection("mhsmprivateEndpointConnectionResource", {
name: "string",
resourceGroupName: "string",
location: "string",
privateEndpointConnectionName: "string",
privateLinkServiceConnectionState: {
actionsRequired: "string",
description: "string",
status: "string",
},
sku: {
family: "string",
name: "Standard_B1",
},
tags: {
string: "string",
},
});
type: azure-native:keyvault:MHSMPrivateEndpointConnection
properties:
location: string
name: string
privateEndpointConnectionName: string
privateLinkServiceConnectionState:
actionsRequired: string
description: string
status: string
resourceGroupName: string
sku:
family: string
name: Standard_B1
tags:
string: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MHSMPrivateEndpointConnection resource accepts the following input properties:
- Name
This property is required. Changes to this property will trigger replacement.
- Name of the managed HSM Pool
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group that contains the managed HSM pool.
- Location
Changes to this property will trigger replacement.
- The supported Azure location where the managed HSM Pool should be created.
- Private
Endpoint Connection Name Changes to this property will trigger replacement.
- Name of the private endpoint connection associated with the managed hsm pool.
- Private
Link Pulumi.Service Connection State Azure Native. Key Vault. Inputs. MHSMPrivate Link Service Connection State - Approval state of the private link connection.
- Sku
Pulumi.
Azure Native. Key Vault. Inputs. Managed Hsm Sku - SKU details
- Dictionary<string, string>
- Resource tags
- Name
This property is required. Changes to this property will trigger replacement.
- Name of the managed HSM Pool
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group that contains the managed HSM pool.
- Location
Changes to this property will trigger replacement.
- The supported Azure location where the managed HSM Pool should be created.
- Private
Endpoint Connection Name Changes to this property will trigger replacement.
- Name of the private endpoint connection associated with the managed hsm pool.
- Private
Link MHSMPrivateService Connection State Link Service Connection State Args - Approval state of the private link connection.
- Sku
Managed
Hsm Sku Args - SKU details
- map[string]string
- Resource tags
- name
This property is required. Changes to this property will trigger replacement.
- Name of the managed HSM Pool
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group that contains the managed HSM pool.
- location
Changes to this property will trigger replacement.
- The supported Azure location where the managed HSM Pool should be created.
- private
Endpoint Connection Name Changes to this property will trigger replacement.
- Name of the private endpoint connection associated with the managed hsm pool.
- private
Link MHSMPrivateService Connection State Link Service Connection State - Approval state of the private link connection.
- sku
Managed
Hsm Sku - SKU details
- Map<String,String>
- Resource tags
- name
This property is required. Changes to this property will trigger replacement.
- Name of the managed HSM Pool
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group that contains the managed HSM pool.
- location
Changes to this property will trigger replacement.
- The supported Azure location where the managed HSM Pool should be created.
- private
Endpoint Connection Name Changes to this property will trigger replacement.
- Name of the private endpoint connection associated with the managed hsm pool.
- private
Link MHSMPrivateService Connection State Link Service Connection State - Approval state of the private link connection.
- sku
Managed
Hsm Sku - SKU details
- {[key: string]: string}
- Resource tags
- name
This property is required. Changes to this property will trigger replacement.
- Name of the managed HSM Pool
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of the resource group that contains the managed HSM pool.
- location
Changes to this property will trigger replacement.
- The supported Azure location where the managed HSM Pool should be created.
- private_
endpoint_ connection_ name Changes to this property will trigger replacement.
- Name of the private endpoint connection associated with the managed hsm pool.
- private_
link_ MHSMPrivateservice_ connection_ state Link Service Connection State Args - Approval state of the private link connection.
- sku
Managed
Hsm Sku Args - SKU details
- Mapping[str, str]
- Resource tags
- name
This property is required. Changes to this property will trigger replacement.
- Name of the managed HSM Pool
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group that contains the managed HSM pool.
- location
Changes to this property will trigger replacement.
- The supported Azure location where the managed HSM Pool should be created.
- private
Endpoint Connection Name Changes to this property will trigger replacement.
- Name of the private endpoint connection associated with the managed hsm pool.
- private
Link Property MapService Connection State - Approval state of the private link connection.
- sku Property Map
- SKU details
- 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.
- Provisioning
State string - Provisioning state of the private endpoint connection.
- System
Data Pulumi.Azure Native. Key Vault. Outputs. System Data Response - 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.
- Private
Endpoint Pulumi.Azure Native. Key Vault. Outputs. MHSMPrivate Endpoint Response - Properties of the private endpoint object.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - Provisioning state of the private endpoint connection.
- System
Data SystemData Response - 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.
- Private
Endpoint MHSMPrivateEndpoint Response - Properties of the private endpoint object.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - Provisioning state of the private endpoint connection.
- system
Data SystemData Response - 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.
- private
Endpoint MHSMPrivateEndpoint Response - Properties of the private endpoint object.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
State string - Provisioning state of the private endpoint connection.
- system
Data SystemData Response - 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.
- private
Endpoint MHSMPrivateEndpoint Response - 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 SystemData Response - 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 MHSMPrivateEndpoint Response - Properties of the private endpoint object.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - Provisioning state of the private endpoint connection.
- system
Data 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.
- private
Endpoint Property Map - Properties of the private endpoint object.
Supporting Types
ActionsRequired, ActionsRequiredArgs
- None
- None
- Actions
Required None - None
- None
- None
- None
- None
- NONE
- None
- "None"
- None
MHSMPrivateEndpointResponse, MHSMPrivateEndpointResponseArgs
- Id
This property is required. string - Full identifier of the private endpoint resource.
- Id
This property is required. string - Full identifier of the private endpoint resource.
- id
This property is required. String - Full identifier of the private endpoint resource.
- id
This property is required. string - Full identifier of the private endpoint resource.
- id
This property is required. str - Full identifier of the private endpoint resource.
- id
This property is required. String - Full identifier of the private endpoint resource.
MHSMPrivateLinkServiceConnectionState, MHSMPrivateLinkServiceConnectionStateArgs
- Actions
Required string | Pulumi.Azure Native. Key Vault. Actions Required - 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.
Azure Native. Key Vault. Private Endpoint Service Connection Status - Indicates whether the connection has been approved, rejected or removed by the key vault owner.
- Actions
Required 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 | Private
Endpoint Service Connection Status - Indicates whether the connection has been approved, rejected or removed by the key vault owner.
- actions
Required 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 | Private
Endpoint Service Connection Status - Indicates whether the connection has been approved, rejected or removed by the key vault owner.
- actions
Required 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 | Private
Endpoint Service Connection Status - 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 | Private
Endpoint Service Connection Status - Indicates whether the connection has been approved, rejected or removed by the key vault owner.
- actions
Required 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
- Actions
Required 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 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 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 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.
- actions
Required 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
This property is required. string | Pulumi.Azure Native. Key Vault. Managed Hsm Sku Family - SKU Family of the managed HSM Pool
- Name
This property is required. Pulumi.Azure Native. Key Vault. Managed Hsm Sku Name - SKU of the managed HSM Pool
- Family
This property is required. string | ManagedHsm Sku Family - SKU Family of the managed HSM Pool
- Name
This property is required. ManagedHsm Sku Name - SKU of the managed HSM Pool
- family
This property is required. String | ManagedHsm Sku Family - SKU Family of the managed HSM Pool
- name
This property is required. ManagedHsm Sku Name - SKU of the managed HSM Pool
- family
This property is required. string | ManagedHsm Sku Family - SKU Family of the managed HSM Pool
- name
This property is required. ManagedHsm Sku Name - SKU of the managed HSM Pool
- family
This property is required. str | ManagedHsm Sku Family - SKU Family of the managed HSM Pool
- name
This property is required. ManagedHsm Sku Name - SKU of the managed HSM Pool
- family
This property is required. String | "B" - SKU Family of the managed HSM Pool
- name
This property is required. "Standard_B1" | "Custom_B32" | "Custom_B6" - SKU of the managed HSM Pool
ManagedHsmSkuFamily, ManagedHsmSkuFamilyArgs
- B
- B
- Managed
Hsm Sku Family B - B
- B
- B
- B
- B
- B
- B
- "B"
- B
ManagedHsmSkuName, ManagedHsmSkuNameArgs
- Standard_B1
- Standard_B1
- Custom_B32
- Custom_B32
- Custom_B6
- Custom_B6
- Managed
Hsm Sku Name_Standard_B1 - Standard_B1
- Managed
Hsm Sku Name_Custom_B32 - Custom_B32
- Managed
Hsm Sku Name_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
PrivateEndpointServiceConnectionStatus, PrivateEndpointServiceConnectionStatusArgs
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Disconnected
- Disconnected
- Private
Endpoint Service Connection Status Pending - Pending
- Private
Endpoint Service Connection Status Approved - Approved
- Private
Endpoint Service Connection Status Rejected - Rejected
- Private
Endpoint Service Connection Status 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
- "Pending"
- Pending
- "Approved"
- Approved
- "Rejected"
- Rejected
- "Disconnected"
- Disconnected
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of the key vault resource creation (UTC).
- Created
By string - The identity that created the key vault resource.
- Created
By stringType - The type of identity that created the key vault resource.
- Last
Modified stringAt - The timestamp of the key vault resource last modification (UTC).
- Last
Modified stringBy - The identity that last modified the key vault resource.
- Last
Modified stringBy Type - The type of identity that last modified the key vault resource.
- Created
At string - The timestamp of the key vault resource creation (UTC).
- Created
By string - The identity that created the key vault resource.
- Created
By stringType - The type of identity that created the key vault resource.
- Last
Modified stringAt - The timestamp of the key vault resource last modification (UTC).
- Last
Modified stringBy - The identity that last modified the key vault resource.
- Last
Modified stringBy Type - The type of identity that last modified the key vault resource.
- created
At String - The timestamp of the key vault resource creation (UTC).
- created
By String - The identity that created the key vault resource.
- created
By StringType - The type of identity that created the key vault resource.
- last
Modified StringAt - The timestamp of the key vault resource last modification (UTC).
- last
Modified StringBy - The identity that last modified the key vault resource.
- last
Modified StringBy Type - The type of identity that last modified the key vault resource.
- created
At string - The timestamp of the key vault resource creation (UTC).
- created
By string - The identity that created the key vault resource.
- created
By stringType - The type of identity that created the key vault resource.
- last
Modified stringAt - The timestamp of the key vault resource last modification (UTC).
- last
Modified stringBy - The identity that last modified the key vault resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the key vault resource.
- last_
modified_ strat - The timestamp of the key vault resource last modification (UTC).
- last_
modified_ strby - The identity that last modified the key vault resource.
- last_
modified_ strby_ type - The type of identity that last modified the key vault resource.
- created
At String - The timestamp of the key vault resource creation (UTC).
- created
By String - The identity that created the key vault resource.
- created
By StringType - The type of identity that created the key vault resource.
- last
Modified StringAt - The timestamp of the key vault resource last modification (UTC).
- last
Modified StringBy - The identity that last modified the key vault resource.
- last
Modified StringBy Type - 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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0