azure-native-v2.aadiam.PrivateEndpointConnection
Explore with Pulumi AI
Private endpoint connection resource. Azure REST API version: 2020-03-01. Prior API version in Azure Native 1.x: 2020-03-01.
Create PrivateEndpointConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateEndpointConnection(name: string, args: PrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def PrivateEndpointConnection(resource_name: str,
args: PrivateEndpointConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateEndpointConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
policy_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
private_endpoint: Optional[PrivateEndpointArgs] = None,
private_endpoint_connection_name: Optional[str] = None,
private_link_connection_tags: Optional[TagsResourceArgs] = None,
private_link_service_connection_state: Optional[PrivateLinkServiceConnectionStateArgs] = None)
func NewPrivateEndpointConnection(ctx *Context, name string, args PrivateEndpointConnectionArgs, opts ...ResourceOption) (*PrivateEndpointConnection, error)
public PrivateEndpointConnection(string name, PrivateEndpointConnectionArgs args, CustomResourceOptions? opts = null)
public PrivateEndpointConnection(String name, PrivateEndpointConnectionArgs args)
public PrivateEndpointConnection(String name, PrivateEndpointConnectionArgs args, CustomResourceOptions options)
type: azure-native:aadiam:PrivateEndpointConnection
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. PrivateEndpointConnectionArgs - 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. PrivateEndpointConnectionArgs - 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. PrivateEndpointConnectionArgs - 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. PrivateEndpointConnectionArgs - 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. PrivateEndpointConnectionArgs - 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 privateEndpointConnectionResource = new AzureNative.Aadiam.PrivateEndpointConnection("privateEndpointConnectionResource", new()
{
PolicyName = "string",
ResourceGroupName = "string",
PrivateEndpoint =
{
{ "id", "string" },
},
PrivateEndpointConnectionName = "string",
PrivateLinkConnectionTags =
{
{ "tags",
{
{ "string", "string" },
} },
},
PrivateLinkServiceConnectionState =
{
{ "actionsRequired", "string" },
{ "description", "string" },
{ "status", "string" },
},
});
example, err := aadiam.NewPrivateEndpointConnection(ctx, "privateEndpointConnectionResource", &aadiam.PrivateEndpointConnectionArgs{
PolicyName: "string",
ResourceGroupName: "string",
PrivateEndpoint: map[string]interface{}{
"id": "string",
},
PrivateEndpointConnectionName: "string",
PrivateLinkConnectionTags: map[string]interface{}{
"tags": map[string]interface{}{
"string": "string",
},
},
PrivateLinkServiceConnectionState: map[string]interface{}{
"actionsRequired": "string",
"description": "string",
"status": "string",
},
})
var privateEndpointConnectionResource = new PrivateEndpointConnection("privateEndpointConnectionResource", PrivateEndpointConnectionArgs.builder()
.policyName("string")
.resourceGroupName("string")
.privateEndpoint(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.privateEndpointConnectionName("string")
.privateLinkConnectionTags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.privateLinkServiceConnectionState(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
private_endpoint_connection_resource = azure_native.aadiam.PrivateEndpointConnection("privateEndpointConnectionResource",
policy_name=string,
resource_group_name=string,
private_endpoint={
id: string,
},
private_endpoint_connection_name=string,
private_link_connection_tags={
tags: {
string: string,
},
},
private_link_service_connection_state={
actionsRequired: string,
description: string,
status: string,
})
const privateEndpointConnectionResource = new azure_native.aadiam.PrivateEndpointConnection("privateEndpointConnectionResource", {
policyName: "string",
resourceGroupName: "string",
privateEndpoint: {
id: "string",
},
privateEndpointConnectionName: "string",
privateLinkConnectionTags: {
tags: {
string: "string",
},
},
privateLinkServiceConnectionState: {
actionsRequired: "string",
description: "string",
status: "string",
},
});
type: azure-native:aadiam:PrivateEndpointConnection
properties:
policyName: string
privateEndpoint:
id: string
privateEndpointConnectionName: string
privateLinkConnectionTags:
tags:
string: string
privateLinkServiceConnectionState:
actionsRequired: string
description: string
status: string
resourceGroupName: string
PrivateEndpointConnection 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 PrivateEndpointConnection resource accepts the following input properties:
- Policy
Name This property is required. Changes to this property will trigger replacement.
- The name of the private link policy in Azure AD.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure resource group.
- Private
Endpoint Pulumi.Azure Native. Aad Iam. Inputs. Private Endpoint - Properties of the private endpoint object.
- Private
Endpoint Connection Name Changes to this property will trigger replacement.
- The PrivateEndpointConnection name.
- Pulumi.
Azure Native. Aad Iam. Inputs. Tags Resource - Updated tag information to set into the PrivateLinkConnection instance.
- Private
Link Pulumi.Service Connection State Azure Native. Aad Iam. Inputs. Private Link Service Connection State - Approval state of the private link connection.
- Policy
Name This property is required. Changes to this property will trigger replacement.
- The name of the private link policy in Azure AD.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure resource group.
- Private
Endpoint PrivateEndpoint Args - Properties of the private endpoint object.
- Private
Endpoint Connection Name Changes to this property will trigger replacement.
- The PrivateEndpointConnection name.
- Tags
Resource Args - Updated tag information to set into the PrivateLinkConnection instance.
- Private
Link PrivateService Connection State Link Service Connection State Args - Approval state of the private link connection.
- policy
Name This property is required. Changes to this property will trigger replacement.
- The name of the private link policy in Azure AD.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure resource group.
- private
Endpoint PrivateEndpoint - Properties of the private endpoint object.
- private
Endpoint Connection Name Changes to this property will trigger replacement.
- The PrivateEndpointConnection name.
- Tags
Resource - Updated tag information to set into the PrivateLinkConnection instance.
- private
Link PrivateService Connection State Link Service Connection State - Approval state of the private link connection.
- policy
Name This property is required. Changes to this property will trigger replacement.
- The name of the private link policy in Azure AD.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure resource group.
- private
Endpoint PrivateEndpoint - Properties of the private endpoint object.
- private
Endpoint Connection Name Changes to this property will trigger replacement.
- The PrivateEndpointConnection name.
- Tags
Resource - Updated tag information to set into the PrivateLinkConnection instance.
- private
Link PrivateService Connection State Link Service Connection State - Approval state of the private link connection.
- policy_
name This property is required. Changes to this property will trigger replacement.
- The name of the private link policy in Azure AD.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of an Azure resource group.
- private_
endpoint PrivateEndpoint Args - Properties of the private endpoint object.
- private_
endpoint_ connection_ name Changes to this property will trigger replacement.
- The PrivateEndpointConnection name.
- Tags
Resource Args - Updated tag information to set into the PrivateLinkConnection instance.
- private_
link_ Privateservice_ connection_ state Link Service Connection State Args - Approval state of the private link connection.
- policy
Name This property is required. Changes to this property will trigger replacement.
- The name of the private link policy in Azure AD.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of an Azure resource group.
- private
Endpoint Property Map - Properties of the private endpoint object.
- private
Endpoint Connection Name Changes to this property will trigger replacement.
- The PrivateEndpointConnection name.
- Property Map
- Updated tag information to set into the PrivateLinkConnection instance.
- private
Link Property MapService Connection State - Approval state of the private link connection.
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateEndpointConnection 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 - Provisioning state of the private endpoint connection.
- 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 - Provisioning state of the private endpoint connection.
- 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 - Provisioning state of the private endpoint connection.
- 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 - Provisioning state of the private endpoint connection.
- 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 - Provisioning state of the private endpoint connection.
- 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 - Provisioning state of the private endpoint connection.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
PrivateEndpoint, PrivateEndpointArgs
- 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.
PrivateEndpointResponse, PrivateEndpointResponseArgs
- 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.
PrivateEndpointServiceConnectionStatus, PrivateEndpointServiceConnectionStatusArgs
- Approved
- Approved
- Pending
- Pending
- Rejected
- Rejected
- Disconnected
- Disconnected
- Private
Endpoint Service Connection Status Approved - Approved
- Private
Endpoint Service Connection Status Pending - Pending
- Private
Endpoint Service Connection Status Rejected - Rejected
- Private
Endpoint Service Connection Status Disconnected - Disconnected
- Approved
- Approved
- Pending
- Pending
- Rejected
- Rejected
- Disconnected
- Disconnected
- Approved
- Approved
- Pending
- Pending
- Rejected
- Rejected
- Disconnected
- Disconnected
- APPROVED
- Approved
- PENDING
- Pending
- REJECTED
- Rejected
- DISCONNECTED
- Disconnected
- "Approved"
- Approved
- "Pending"
- Pending
- "Rejected"
- Rejected
- "Disconnected"
- Disconnected
PrivateLinkServiceConnectionState, PrivateLinkServiceConnectionStateArgs
- 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 | Pulumi.
Azure Native. Aad Iam. Private Endpoint Service Connection Status - Indicates whether the connection has been approved, rejected or removed by the given policy 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 | Private
Endpoint Service Connection Status - Indicates whether the connection has been approved, rejected or removed by the given policy 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 | Private
Endpoint Service Connection Status - Indicates whether the connection has been approved, rejected or removed by the given policy 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 | Private
Endpoint Service Connection Status - Indicates whether the connection has been approved, rejected or removed by the given policy 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 | Private
Endpoint Service Connection Status - Indicates whether the connection has been approved, rejected or removed by the given policy 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 | "Approved" | "Pending" | "Rejected" | "Disconnected"
- Indicates whether the connection has been approved, rejected or removed by the given policy owner.
PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs
- 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 given policy 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 given policy 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 given policy 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 given policy 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 given policy 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 given policy owner.
TagsResource, TagsResourceArgs
- Dictionary<string, string>
- Resource tags
- map[string]string
- Resource tags
- Map<String,String>
- Resource tags
- {[key: string]: string}
- Resource tags
- Mapping[str, str]
- Resource tags
- Map<String>
- Resource tags
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:aadiam:PrivateEndpointConnection {privateEndpointConnection name} /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.aadiam/privateLinkForAzureAd/{policyName}/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