PrivateEndpointConnection
The Private Endpoint Connection resource. Latest API Version: 2019-06-01.
Example Usage
StorageAccountPutPrivateEndpointConnection
using Pulumi;
using AzureNextGen = Pulumi.AzureNextGen;
class MyStack : Stack
{
public MyStack()
{
var privateEndpointConnection = new AzureNextGen.Storage.Latest.PrivateEndpointConnection("privateEndpointConnection", new AzureNextGen.Storage.Latest.PrivateEndpointConnectionArgs
{
AccountName = "sto9699",
PrivateEndpointConnectionName = "{privateEndpointConnectionName}",
PrivateLinkServiceConnectionState = new AzureNextGen.Storage.Latest.Inputs.PrivateLinkServiceConnectionStateArgs
{
Description = "Auto-Approved",
Status = "Approved",
},
ResourceGroupName = "res7687",
});
}
}
package main
import (
storage "github.com/pulumi/pulumi-azure-nextgen/sdk/go/azure/storage/latest"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := storage.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &storage.PrivateEndpointConnectionArgs{
AccountName: pulumi.String("sto9699"),
PrivateEndpointConnectionName: pulumi.String("{privateEndpointConnectionName}"),
PrivateLinkServiceConnectionState: &storage.PrivateLinkServiceConnectionStateArgs{
Description: pulumi.String("Auto-Approved"),
Status: pulumi.String("Approved"),
},
ResourceGroupName: pulumi.String("res7687"),
})
if err != nil {
return err
}
return nil
})
}
import pulumi
import pulumi_azure_nextgen as azure_nextgen
private_endpoint_connection = azure_nextgen.storage.latest.PrivateEndpointConnection("privateEndpointConnection",
account_name="sto9699",
private_endpoint_connection_name="{privateEndpointConnectionName}",
private_link_service_connection_state=azure_nextgen.storage.latest.PrivateLinkServiceConnectionStateArgs(
description="Auto-Approved",
status="Approved",
),
resource_group_name="res7687")
import * as pulumi from "@pulumi/pulumi";
import * as azure_nextgen from "@pulumi/azure-nextgen";
const privateEndpointConnection = new azure_nextgen.storage.latest.PrivateEndpointConnection("privateEndpointConnection", {
accountName: "sto9699",
privateEndpointConnectionName: "{privateEndpointConnectionName}",
privateLinkServiceConnectionState: {
description: "Auto-Approved",
status: "Approved",
},
resourceGroupName: "res7687",
});
Create a PrivateEndpointConnection Resource
new PrivateEndpointConnection(name: string, args: PrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
def PrivateEndpointConnection(resource_name: str, opts: Optional[ResourceOptions] = None, account_name: Optional[str] = None, private_endpoint_connection_name: Optional[str] = None, private_link_service_connection_state: Optional[PrivateLinkServiceConnectionStateArgs] = None, resource_group_name: Optional[str] = None)
func NewPrivateEndpointConnection(ctx *Context, name string, args PrivateEndpointConnectionArgs, opts ...ResourceOption) (*PrivateEndpointConnection, error)
public PrivateEndpointConnection(string name, PrivateEndpointConnectionArgs args, CustomResourceOptions? opts = null)
- name string
- The unique name of the resource.
- args PrivateEndpointConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PrivateEndpointConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateEndpointConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
PrivateEndpointConnection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The PrivateEndpointConnection resource accepts the following input properties:
- Account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Private
Endpoint stringConnection Name - The name of the private endpoint connection associated with the Azure resource
- Private
Link Pulumi.Service Connection State Azure Next Gen. Storage. Inputs. Private Link Service Connection State Args - A collection of information about the state of the connection between service consumer and provider.
- Resource
Group stringName - The name of the resource group within the user’s subscription. The name is case insensitive.
- Account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- Private
Endpoint stringConnection Name - The name of the private endpoint connection associated with the Azure resource
- Private
Link PrivateService Connection State Link Service Connection State - A collection of information about the state of the connection between service consumer and provider.
- Resource
Group stringName - The name of the resource group within the user’s subscription. The name is case insensitive.
- account
Name string - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- private
Endpoint stringConnection Name - The name of the private endpoint connection associated with the Azure resource
- private
Link PrivateService Connection State Link Service Connection State - A collection of information about the state of the connection between service consumer and provider.
- resource
Group stringName - The name of the resource group within the user’s subscription. The name is case insensitive.
- account_
name str - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- private_
endpoint_ strconnection_ name - The name of the private endpoint connection associated with the Azure resource
- private_
link_ Privateservice_ connection_ state Link Service Connection State Args - A collection of information about the state of the connection between service consumer and provider.
- resource_
group_ strname - The name of the resource group within the user’s subscription. The name is case insensitive.
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 - The provisioning state of the private endpoint connection resource.
- Type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- Private
Endpoint Pulumi.Azure Next Gen. Storage. Outputs. Private Endpoint Response - The resource of private end point.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the private endpoint connection resource.
- Type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- Private
Endpoint PrivateEndpoint Response - The resource of private end point.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - The provisioning state of the private endpoint connection resource.
- type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- private
Endpoint PrivateEndpoint Response - The resource of private end point.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - The provisioning state of the private endpoint connection resource.
- type str
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- private_
endpoint PrivateEndpoint Response - The resource of private end point.
Supporting Types
PrivateEndpointResponse
- Id string
- The ARM identifier for Private Endpoint
- Id string
- The ARM identifier for Private Endpoint
- id string
- The ARM identifier for Private Endpoint
- id str
- The ARM identifier for Private Endpoint
PrivateEndpointServiceConnectionStatus
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- Private
Endpoint Service Connection Status Pending - Pending
- Private
Endpoint Service Connection Status Approved - Approved
- Private
Endpoint Service Connection Status Rejected - Rejected
- Pending
- Pending
- Approved
- Approved
- Rejected
- Rejected
- PENDING
- Pending
- APPROVED
- Approved
- REJECTED
- Rejected
PrivateLinkServiceConnectionState
- Action
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- Description string
- The reason for approval/rejection of the connection.
- Status
string | Pulumi.
Azure Next Gen. Storage. Private Endpoint Service Connection Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- Action
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- Description string
- The reason for approval/rejection of the connection.
- Status
string | Private
Endpoint Service Connection Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- action
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- description string
- The reason for approval/rejection of the connection.
- status
string | Private
Endpoint Service Connection Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- action_
required str - A message indicating if changes on the service provider require any updates on the consumer.
- description str
- The reason for approval/rejection of the connection.
- status
str | Private
Endpoint Service Connection Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
PrivateLinkServiceConnectionStateResponse
- Action
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- Description string
- The reason for approval/rejection of the connection.
- Status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- Action
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- Description string
- The reason for approval/rejection of the connection.
- Status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- action
Required string - A message indicating if changes on the service provider require any updates on the consumer.
- description string
- The reason for approval/rejection of the connection.
- status string
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- action_
required str - A message indicating if changes on the service provider require any updates on the consumer.
- description str
- The reason for approval/rejection of the connection.
- status str
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-nextgen:storage/latest:PrivateEndpointConnection {privateEndpointConnectionName} /subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure-nextgen
- License
- Apache-2.0