azure-native.recoveryservices.PrivateEndpointConnection

Explore with Pulumi AI

Private Endpoint Connection Response Properties API Version: 2021-02-01.

Example Usage

Update PrivateEndpointConnection

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var privateEndpointConnection = new AzureNative.RecoveryServices.PrivateEndpointConnection("privateEndpointConnection", new()
    {
        PrivateEndpointConnectionName = "gaallatestpe2.5704c932-249a-490b-a142-1396838cd3b",
        Properties = new AzureNative.RecoveryServices.Inputs.PrivateEndpointConnectionArgs
        {
            PrivateEndpoint = new AzureNative.RecoveryServices.Inputs.PrivateEndpointArgs
            {
                Id = "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/gaallaRG/providers/Microsoft.Network/privateEndpoints/gaallatestpe3",
            },
            PrivateLinkServiceConnectionState = new AzureNative.RecoveryServices.Inputs.PrivateLinkServiceConnectionStateArgs
            {
                Description = "Approved by johndoe@company.com",
                Status = "Approved",
            },
            ProvisioningState = "Succeeded",
        },
        ResourceGroupName = "gaallaRG",
        VaultName = "gaallavaultbvtd2msi",
    });

});
package main

import (
	recoveryservices "github.com/pulumi/pulumi-azure-native-sdk/recoveryservices"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := recoveryservices.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &recoveryservices.PrivateEndpointConnectionArgs{
			PrivateEndpointConnectionName: pulumi.String("gaallatestpe2.5704c932-249a-490b-a142-1396838cd3b"),
			Properties: recoveryservices.PrivateEndpointConnectionResponse{
				PrivateEndpoint: &recoveryservices.PrivateEndpointArgs{
					Id: pulumi.String("/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/gaallaRG/providers/Microsoft.Network/privateEndpoints/gaallatestpe3"),
				},
				PrivateLinkServiceConnectionState: &recoveryservices.PrivateLinkServiceConnectionStateArgs{
					Description: pulumi.String("Approved by johndoe@company.com"),
					Status:      pulumi.String("Approved"),
				},
				ProvisioningState: pulumi.String("Succeeded"),
			},
			ResourceGroupName: pulumi.String("gaallaRG"),
			VaultName:         pulumi.String("gaallavaultbvtd2msi"),
		})
		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.recoveryservices.PrivateEndpointConnection;
import com.pulumi.azurenative.recoveryservices.PrivateEndpointConnectionArgs;
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 privateEndpointConnection = new PrivateEndpointConnection("privateEndpointConnection", PrivateEndpointConnectionArgs.builder()        
            .privateEndpointConnectionName("gaallatestpe2.5704c932-249a-490b-a142-1396838cd3b")
            .properties(Map.ofEntries(
                Map.entry("privateEndpoint", Map.of("id", "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/gaallaRG/providers/Microsoft.Network/privateEndpoints/gaallatestpe3")),
                Map.entry("privateLinkServiceConnectionState", Map.ofEntries(
                    Map.entry("description", "Approved by johndoe@company.com"),
                    Map.entry("status", "Approved")
                )),
                Map.entry("provisioningState", "Succeeded")
            ))
            .resourceGroupName("gaallaRG")
            .vaultName("gaallavaultbvtd2msi")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

private_endpoint_connection = azure_native.recoveryservices.PrivateEndpointConnection("privateEndpointConnection",
    private_endpoint_connection_name="gaallatestpe2.5704c932-249a-490b-a142-1396838cd3b",
    properties=azure_native.recoveryservices.PrivateEndpointConnectionResponseArgs(
        private_endpoint=azure_native.recoveryservices.PrivateEndpointArgs(
            id="/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/gaallaRG/providers/Microsoft.Network/privateEndpoints/gaallatestpe3",
        ),
        private_link_service_connection_state=azure_native.recoveryservices.PrivateLinkServiceConnectionStateArgs(
            description="Approved by johndoe@company.com",
            status="Approved",
        ),
        provisioning_state="Succeeded",
    ),
    resource_group_name="gaallaRG",
    vault_name="gaallavaultbvtd2msi")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const privateEndpointConnection = new azure_native.recoveryservices.PrivateEndpointConnection("privateEndpointConnection", {
    privateEndpointConnectionName: "gaallatestpe2.5704c932-249a-490b-a142-1396838cd3b",
    properties: {
        privateEndpoint: {
            id: "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/gaallaRG/providers/Microsoft.Network/privateEndpoints/gaallatestpe3",
        },
        privateLinkServiceConnectionState: {
            description: "Approved by johndoe@company.com",
            status: "Approved",
        },
        provisioningState: "Succeeded",
    },
    resourceGroupName: "gaallaRG",
    vaultName: "gaallavaultbvtd2msi",
});
resources:
  privateEndpointConnection:
    type: azure-native:recoveryservices:PrivateEndpointConnection
    properties:
      privateEndpointConnectionName: gaallatestpe2.5704c932-249a-490b-a142-1396838cd3b
      properties:
        privateEndpoint:
          id: /subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/gaallaRG/providers/Microsoft.Network/privateEndpoints/gaallatestpe3
        privateLinkServiceConnectionState:
          description: Approved by johndoe@company.com
          status: Approved
        provisioningState: Succeeded
      resourceGroupName: gaallaRG
      vaultName: gaallavaultbvtd2msi

Create PrivateEndpointConnection Resource

new PrivateEndpointConnection(name: string, args: PrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def PrivateEndpointConnection(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              e_tag: Optional[str] = None,
                              location: Optional[str] = None,
                              private_endpoint_connection_name: Optional[str] = None,
                              properties: Optional[PrivateEndpointConnectionArgs] = None,
                              resource_group_name: Optional[str] = None,
                              tags: Optional[Mapping[str, str]] = None,
                              vault_name: Optional[str] = None)
@overload
def PrivateEndpointConnection(resource_name: str,
                              args: PrivateEndpointConnectionInitArgs,
                              opts: Optional[ResourceOptions] = 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:recoveryservices:PrivateEndpointConnection
properties: # The arguments to resource properties.
options: # 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.
resource_name str
The unique name of the resource.
args PrivateEndpointConnectionInitArgs
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 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.
name String
The unique name of the resource.
args PrivateEndpointConnectionArgs
The arguments to resource properties.
options 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 Architecture and Concepts docs.

Inputs

The PrivateEndpointConnection resource accepts the following input properties:

ResourceGroupName string

The name of the resource group where the recovery services vault is present.

VaultName string

The name of the recovery services vault.

ETag string

Optional ETag.

Location string

Resource location.

PrivateEndpointConnectionName string

The name of the private endpoint connection.

Properties Pulumi.AzureNative.RecoveryServices.Inputs.PrivateEndpointConnectionArgs

PrivateEndpointConnectionResource properties

Tags Dictionary<string, string>

Resource tags.

ResourceGroupName string

The name of the resource group where the recovery services vault is present.

VaultName string

The name of the recovery services vault.

ETag string

Optional ETag.

Location string

Resource location.

PrivateEndpointConnectionName string

The name of the private endpoint connection.

Properties PrivateEndpointConnectionTypeArgs

PrivateEndpointConnectionResource properties

Tags map[string]string

Resource tags.

resourceGroupName String

The name of the resource group where the recovery services vault is present.

vaultName String

The name of the recovery services vault.

eTag String

Optional ETag.

location String

Resource location.

privateEndpointConnectionName String

The name of the private endpoint connection.

properties PrivateEndpointConnectionArgs

PrivateEndpointConnectionResource properties

tags Map<String,String>

Resource tags.

resourceGroupName string

The name of the resource group where the recovery services vault is present.

vaultName string

The name of the recovery services vault.

eTag string

Optional ETag.

location string

Resource location.

privateEndpointConnectionName string

The name of the private endpoint connection.

properties PrivateEndpointConnectionArgs

PrivateEndpointConnectionResource properties

tags {[key: string]: string}

Resource tags.

resource_group_name str

The name of the resource group where the recovery services vault is present.

vault_name str

The name of the recovery services vault.

e_tag str

Optional ETag.

location str

Resource location.

private_endpoint_connection_name str

The name of the private endpoint connection.

properties PrivateEndpointConnectionArgs

PrivateEndpointConnectionResource properties

tags Mapping[str, str]

Resource tags.

resourceGroupName String

The name of the resource group where the recovery services vault is present.

vaultName String

The name of the recovery services vault.

eTag String

Optional ETag.

location String

Resource location.

privateEndpointConnectionName String

The name of the private endpoint connection.

properties Property Map

PrivateEndpointConnectionResource properties

tags Map<String>

Resource tags.

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

Resource name associated with the resource.

Type string

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name associated with the resource.

Type string

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name associated with the resource.

type String

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

id string

The provider-assigned unique ID for this managed resource.

name string

Resource name associated with the resource.

type string

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

id str

The provider-assigned unique ID for this managed resource.

name str

Resource name associated with the resource.

type str

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name associated with the resource.

type String

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

Supporting Types

PrivateEndpoint

Id string

Gets or sets id

Id string

Gets or sets id

id String

Gets or sets id

id string

Gets or sets id

id str

Gets or sets id

id String

Gets or sets id

PrivateEndpointConnection

PrivateEndpoint Pulumi.AzureNative.RecoveryServices.Inputs.PrivateEndpoint

Gets or sets private endpoint associated with the private endpoint connection

PrivateLinkServiceConnectionState Pulumi.AzureNative.RecoveryServices.Inputs.PrivateLinkServiceConnectionState

Gets or sets private link service connection state

ProvisioningState string | Pulumi.AzureNative.RecoveryServices.ProvisioningState

Gets or sets provisioning state of the private endpoint connection

PrivateEndpoint PrivateEndpoint

Gets or sets private endpoint associated with the private endpoint connection

PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState

Gets or sets private link service connection state

ProvisioningState string | ProvisioningState

Gets or sets provisioning state of the private endpoint connection

privateEndpoint PrivateEndpoint

Gets or sets private endpoint associated with the private endpoint connection

privateLinkServiceConnectionState PrivateLinkServiceConnectionState

Gets or sets private link service connection state

provisioningState String | ProvisioningState

Gets or sets provisioning state of the private endpoint connection

privateEndpoint PrivateEndpoint

Gets or sets private endpoint associated with the private endpoint connection

privateLinkServiceConnectionState PrivateLinkServiceConnectionState

Gets or sets private link service connection state

provisioningState string | ProvisioningState

Gets or sets provisioning state of the private endpoint connection

private_endpoint PrivateEndpoint

Gets or sets private endpoint associated with the private endpoint connection

private_link_service_connection_state PrivateLinkServiceConnectionState

Gets or sets private link service connection state

provisioning_state str | ProvisioningState

Gets or sets provisioning state of the private endpoint connection

privateEndpoint Property Map

Gets or sets private endpoint associated with the private endpoint connection

privateLinkServiceConnectionState Property Map

Gets or sets private link service connection state

provisioningState String | "Succeeded" | "Deleting" | "Failed" | "Pending"

Gets or sets provisioning state of the private endpoint connection

PrivateEndpointConnectionResponse

PrivateEndpoint Pulumi.AzureNative.RecoveryServices.Inputs.PrivateEndpointResponse

Gets or sets private endpoint associated with the private endpoint connection

PrivateLinkServiceConnectionState Pulumi.AzureNative.RecoveryServices.Inputs.PrivateLinkServiceConnectionStateResponse

Gets or sets private link service connection state

ProvisioningState string

Gets or sets provisioning state of the private endpoint connection

PrivateEndpoint PrivateEndpointResponse

Gets or sets private endpoint associated with the private endpoint connection

PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse

Gets or sets private link service connection state

ProvisioningState string

Gets or sets provisioning state of the private endpoint connection

privateEndpoint PrivateEndpointResponse

Gets or sets private endpoint associated with the private endpoint connection

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse

Gets or sets private link service connection state

provisioningState String

Gets or sets provisioning state of the private endpoint connection

privateEndpoint PrivateEndpointResponse

Gets or sets private endpoint associated with the private endpoint connection

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse

Gets or sets private link service connection state

provisioningState string

Gets or sets provisioning state of the private endpoint connection

private_endpoint PrivateEndpointResponse

Gets or sets private endpoint associated with the private endpoint connection

private_link_service_connection_state PrivateLinkServiceConnectionStateResponse

Gets or sets private link service connection state

provisioning_state str

Gets or sets provisioning state of the private endpoint connection

privateEndpoint Property Map

Gets or sets private endpoint associated with the private endpoint connection

privateLinkServiceConnectionState Property Map

Gets or sets private link service connection state

provisioningState String

Gets or sets provisioning state of the private endpoint connection

PrivateEndpointConnectionStatus

Pending
Pending
Approved
Approved
Rejected
Rejected
Disconnected
Disconnected
PrivateEndpointConnectionStatusPending
Pending
PrivateEndpointConnectionStatusApproved
Approved
PrivateEndpointConnectionStatusRejected
Rejected
PrivateEndpointConnectionStatusDisconnected
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

PrivateEndpointResponse

Id string

Gets or sets id.

Id string

Gets or sets id.

id String

Gets or sets id.

id string

Gets or sets id.

id str

Gets or sets id.

id String

Gets or sets id.

PrivateLinkServiceConnectionState

ActionRequired string

Gets or sets actions required

Description string

Gets or sets description

Status string | Pulumi.AzureNative.RecoveryServices.PrivateEndpointConnectionStatus

Gets or sets the status

ActionRequired string

Gets or sets actions required

Description string

Gets or sets description

Status string | PrivateEndpointConnectionStatus

Gets or sets the status

actionRequired String

Gets or sets actions required

description String

Gets or sets description

status String | PrivateEndpointConnectionStatus

Gets or sets the status

actionRequired string

Gets or sets actions required

description string

Gets or sets description

status string | PrivateEndpointConnectionStatus

Gets or sets the status

action_required str

Gets or sets actions required

description str

Gets or sets description

status str | PrivateEndpointConnectionStatus

Gets or sets the status

actionRequired String

Gets or sets actions required

description String

Gets or sets description

status String | "Pending" | "Approved" | "Rejected" | "Disconnected"

Gets or sets the status

PrivateLinkServiceConnectionStateResponse

ActionRequired string

Gets or sets actions required

Description string

Gets or sets description

Status string

Gets or sets the status

ActionRequired string

Gets or sets actions required

Description string

Gets or sets description

Status string

Gets or sets the status

actionRequired String

Gets or sets actions required

description String

Gets or sets description

status String

Gets or sets the status

actionRequired string

Gets or sets actions required

description string

Gets or sets description

status string

Gets or sets the status

action_required str

Gets or sets actions required

description str

Gets or sets description

status str

Gets or sets the status

actionRequired String

Gets or sets actions required

description String

Gets or sets description

status String

Gets or sets the status

ProvisioningState

Succeeded
Succeeded
Deleting
Deleting
Failed
Failed
Pending
Pending
ProvisioningStateSucceeded
Succeeded
ProvisioningStateDeleting
Deleting
ProvisioningStateFailed
Failed
ProvisioningStatePending
Pending
Succeeded
Succeeded
Deleting
Deleting
Failed
Failed
Pending
Pending
Succeeded
Succeeded
Deleting
Deleting
Failed
Failed
Pending
Pending
SUCCEEDED
Succeeded
DELETING
Deleting
FAILED
Failed
PENDING
Pending
"Succeeded"
Succeeded
"Deleting"
Deleting
"Failed"
Failed
"Pending"
Pending

Import

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

$ pulumi import azure-native:recoveryservices:PrivateEndpointConnection gaallatestpe1.3592346090307038890.backup.5704c932-249a-490b-a142-1396838cd3b /subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/gaallaRG/providers/Microsoft.RecoveryServicesBVTD2/vaults/gaallavaultbvtd2msi/privateEndpointConnections/gaallatestpe3.3592346090307038890.backup.5704c932-249a-490b-a142-1396838cd3b 

Package Details

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