Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.1 published on Wednesday, May 18, 2022 by Pulumi

DiskAccessAPrivateEndpointConnection

The Private Endpoint Connection resource. API Version: 2020-12-01.

Example Usage

Approve a Private Endpoint Connection under a disk access resource.

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var diskAccessAPrivateEndpointConnection = new AzureNative.Compute.DiskAccessAPrivateEndpointConnection("diskAccessAPrivateEndpointConnection", new AzureNative.Compute.DiskAccessAPrivateEndpointConnectionArgs
        {
            DiskAccessName = "myDiskAccess",
            PrivateEndpointConnectionName = "myPrivateEndpointConnection",
            PrivateLinkServiceConnectionState = new AzureNative.Compute.Inputs.PrivateLinkServiceConnectionStateArgs
            {
                Description = "Approving myPrivateEndpointConnection",
                Status = "Approved",
            },
            ResourceGroupName = "myResourceGroup",
        });
    }

}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewDiskAccessAPrivateEndpointConnection(ctx, "diskAccessAPrivateEndpointConnection", &compute.DiskAccessAPrivateEndpointConnectionArgs{
			DiskAccessName:                pulumi.String("myDiskAccess"),
			PrivateEndpointConnectionName: pulumi.String("myPrivateEndpointConnection"),
			PrivateLinkServiceConnectionState: &compute.PrivateLinkServiceConnectionStateArgs{
				Description: pulumi.String("Approving myPrivateEndpointConnection"),
				Status:      pulumi.String("Approved"),
			},
			ResourceGroupName: pulumi.String("myResourceGroup"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var diskAccessAPrivateEndpointConnection = new DiskAccessAPrivateEndpointConnection("diskAccessAPrivateEndpointConnection", DiskAccessAPrivateEndpointConnectionArgs.builder()        
            .diskAccessName("myDiskAccess")
            .privateEndpointConnectionName("myPrivateEndpointConnection")
            .privateLinkServiceConnectionState(Map.ofEntries(
                Map.entry("description", "Approving myPrivateEndpointConnection"),
                Map.entry("status", "Approved")
            ))
            .resourceGroupName("myResourceGroup")
            .build());

        }
}
import pulumi
import pulumi_azure_native as azure_native

disk_access_a_private_endpoint_connection = azure_native.compute.DiskAccessAPrivateEndpointConnection("diskAccessAPrivateEndpointConnection",
    disk_access_name="myDiskAccess",
    private_endpoint_connection_name="myPrivateEndpointConnection",
    private_link_service_connection_state=azure_native.compute.PrivateLinkServiceConnectionStateArgs(
        description="Approving myPrivateEndpointConnection",
        status="Approved",
    ),
    resource_group_name="myResourceGroup")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const diskAccessAPrivateEndpointConnection = new azure_native.compute.DiskAccessAPrivateEndpointConnection("diskAccessAPrivateEndpointConnection", {
    diskAccessName: "myDiskAccess",
    privateEndpointConnectionName: "myPrivateEndpointConnection",
    privateLinkServiceConnectionState: {
        description: "Approving myPrivateEndpointConnection",
        status: "Approved",
    },
    resourceGroupName: "myResourceGroup",
});
resources:
  diskAccessAPrivateEndpointConnection:
    type: azure-native:compute:DiskAccessAPrivateEndpointConnection
    properties:
      diskAccessName: myDiskAccess
      privateEndpointConnectionName: myPrivateEndpointConnection
      privateLinkServiceConnectionState:
        description: Approving myPrivateEndpointConnection
        status: Approved
      resourceGroupName: myResourceGroup

Create a DiskAccessAPrivateEndpointConnection Resource

new DiskAccessAPrivateEndpointConnection(name: string, args: DiskAccessAPrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def DiskAccessAPrivateEndpointConnection(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         disk_access_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)
@overload
def DiskAccessAPrivateEndpointConnection(resource_name: str,
                                         args: DiskAccessAPrivateEndpointConnectionArgs,
                                         opts: Optional[ResourceOptions] = None)
func NewDiskAccessAPrivateEndpointConnection(ctx *Context, name string, args DiskAccessAPrivateEndpointConnectionArgs, opts ...ResourceOption) (*DiskAccessAPrivateEndpointConnection, error)
public DiskAccessAPrivateEndpointConnection(string name, DiskAccessAPrivateEndpointConnectionArgs args, CustomResourceOptions? opts = null)
public DiskAccessAPrivateEndpointConnection(String name, DiskAccessAPrivateEndpointConnectionArgs args)
public DiskAccessAPrivateEndpointConnection(String name, DiskAccessAPrivateEndpointConnectionArgs args, CustomResourceOptions options)
type: azure-native:compute:DiskAccessAPrivateEndpointConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DiskAccessAPrivateEndpointConnectionArgs
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 DiskAccessAPrivateEndpointConnectionArgs
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 DiskAccessAPrivateEndpointConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DiskAccessAPrivateEndpointConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DiskAccessAPrivateEndpointConnectionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

DiskAccessName string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.

PrivateLinkServiceConnectionState Pulumi.AzureNative.Compute.Inputs.PrivateLinkServiceConnectionStateArgs

A collection of information about the state of the connection between DiskAccess and Virtual Network.

ResourceGroupName string

The name of the resource group.

PrivateEndpointConnectionName string

The name of the private endpoint connection

DiskAccessName string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.

PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateArgs

A collection of information about the state of the connection between DiskAccess and Virtual Network.

ResourceGroupName string

The name of the resource group.

PrivateEndpointConnectionName string

The name of the private endpoint connection

diskAccessName String

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateArgs

A collection of information about the state of the connection between DiskAccess and Virtual Network.

resourceGroupName String

The name of the resource group.

privateEndpointConnectionName String

The name of the private endpoint connection

diskAccessName string

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateArgs

A collection of information about the state of the connection between DiskAccess and Virtual Network.

resourceGroupName string

The name of the resource group.

privateEndpointConnectionName string

The name of the private endpoint connection

disk_access_name str

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.

private_link_service_connection_state PrivateLinkServiceConnectionStateArgs

A collection of information about the state of the connection between DiskAccess and Virtual Network.

resource_group_name str

The name of the resource group.

private_endpoint_connection_name str

The name of the private endpoint connection

diskAccessName String

The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.

privateLinkServiceConnectionState Property Map

A collection of information about the state of the connection between DiskAccess and Virtual Network.

resourceGroupName String

The name of the resource group.

privateEndpointConnectionName String

The name of the private endpoint connection

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

private endpoint connection name

PrivateEndpoint Pulumi.AzureNative.Compute.Outputs.PrivateEndpointResponse

The resource of private end point.

ProvisioningState string

The provisioning state of the private endpoint connection resource.

Type string

private endpoint connection type

Id string

The provider-assigned unique ID for this managed resource.

Name string

private endpoint connection name

PrivateEndpoint PrivateEndpointResponse

The resource of private end point.

ProvisioningState string

The provisioning state of the private endpoint connection resource.

Type string

private endpoint connection type

id String

The provider-assigned unique ID for this managed resource.

name String

private endpoint connection name

privateEndpoint PrivateEndpointResponse

The resource of private end point.

provisioningState String

The provisioning state of the private endpoint connection resource.

type String

private endpoint connection type

id string

The provider-assigned unique ID for this managed resource.

name string

private endpoint connection name

privateEndpoint PrivateEndpointResponse

The resource of private end point.

provisioningState string

The provisioning state of the private endpoint connection resource.

type string

private endpoint connection type

id str

The provider-assigned unique ID for this managed resource.

name str

private endpoint connection name

private_endpoint PrivateEndpointResponse

The resource of private end point.

provisioning_state str

The provisioning state of the private endpoint connection resource.

type str

private endpoint connection type

id String

The provider-assigned unique ID for this managed resource.

name String

private endpoint connection name

privateEndpoint Property Map

The resource of private end point.

provisioningState String

The provisioning state of the private endpoint connection resource.

type String

private endpoint connection type

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 string

The ARM identifier for Private Endpoint

id str

The ARM identifier for Private Endpoint

id String

The ARM identifier for Private Endpoint

PrivateEndpointServiceConnectionStatus

Pending
Pending
Approved
Approved
Rejected
Rejected
PrivateEndpointServiceConnectionStatusPending
Pending
PrivateEndpointServiceConnectionStatusApproved
Approved
PrivateEndpointServiceConnectionStatusRejected
Rejected
Pending
Pending
Approved
Approved
Rejected
Rejected
Pending
Pending
Approved
Approved
Rejected
Rejected
PENDING
Pending
APPROVED
Approved
REJECTED
Rejected
"Pending"
Pending
"Approved"
Approved
"Rejected"
Rejected

PrivateLinkServiceConnectionState

ActionsRequired 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.AzureNative.Compute.PrivateEndpointServiceConnectionStatus

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

ActionsRequired 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 | PrivateEndpointServiceConnectionStatus

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

actionsRequired 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 | PrivateEndpointServiceConnectionStatus

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

actionsRequired 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 | PrivateEndpointServiceConnectionStatus

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

actions_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 | PrivateEndpointServiceConnectionStatus

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

actionsRequired 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 | "Pending" | "Approved" | "Rejected"

Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

PrivateLinkServiceConnectionStateResponse

ActionsRequired 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.

ActionsRequired 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.

actionsRequired 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.

actionsRequired 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.

actions_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.

actionsRequired 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.

Import

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

$ pulumi import azure-native:compute:DiskAccessAPrivateEndpointConnection myPrivateEndpointConnectionName /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskAccesses/myDiskAccess/privateEndpoinConnections/myPrivateEndpointConnectionName 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0