Azure Native

v1.88.1 published on Thursday, Dec 1, 2022 by Pulumi

PrivateEndpointConnection

REST model used to encapsulate the user visible state of a PrivateEndpoint. API Version: 2020-07-07.

Example Usage

Put privateEndpointConnection

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

return await Deployment.RunAsync(() => 
{
    var privateEndpointConnection = new AzureNative.OffAzure.PrivateEndpointConnection("privateEndpointConnection", new()
    {
        PeConnectionName = "privateendpt1938mastersit9007pe.4f2f2970-0bfa-45d4-9ee1-d9f79502fc6f",
        ResourceGroupName = "ayagrawrg",
        SiteName = "privateendpt1938mastersite",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := offazure.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &offazure.PrivateEndpointConnectionArgs{
			PeConnectionName:  pulumi.String("privateendpt1938mastersit9007pe.4f2f2970-0bfa-45d4-9ee1-d9f79502fc6f"),
			ResourceGroupName: pulumi.String("ayagrawrg"),
			SiteName:          pulumi.String("privateendpt1938mastersite"),
		})
		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.offazure.PrivateEndpointConnection;
import com.pulumi.azurenative.offazure.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()        
            .peConnectionName("privateendpt1938mastersit9007pe.4f2f2970-0bfa-45d4-9ee1-d9f79502fc6f")
            .resourceGroupName("ayagrawrg")
            .siteName("privateendpt1938mastersite")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

private_endpoint_connection = azure_native.offazure.PrivateEndpointConnection("privateEndpointConnection",
    pe_connection_name="privateendpt1938mastersit9007pe.4f2f2970-0bfa-45d4-9ee1-d9f79502fc6f",
    resource_group_name="ayagrawrg",
    site_name="privateendpt1938mastersite")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const privateEndpointConnection = new azure_native.offazure.PrivateEndpointConnection("privateEndpointConnection", {
    peConnectionName: "privateendpt1938mastersit9007pe.4f2f2970-0bfa-45d4-9ee1-d9f79502fc6f",
    resourceGroupName: "ayagrawrg",
    siteName: "privateendpt1938mastersite",
});
resources:
  privateEndpointConnection:
    type: azure-native:offazure:PrivateEndpointConnection
    properties:
      peConnectionName: privateendpt1938mastersit9007pe.4f2f2970-0bfa-45d4-9ee1-d9f79502fc6f
      resourceGroupName: ayagrawrg
      siteName: privateendpt1938mastersite

Create PrivateEndpointConnection Resource

new PrivateEndpointConnection(name: string, args: PrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def PrivateEndpointConnection(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              pe_connection_name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              site_name: Optional[str] = None)
@overload
def PrivateEndpointConnection(resource_name: str,
                              args: PrivateEndpointConnectionArgs,
                              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:offazure: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 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 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. The name is case insensitive.

SiteName string

Site name.

PeConnectionName string

Private link resource name.

ResourceGroupName string

The name of the resource group. The name is case insensitive.

SiteName string

Site name.

PeConnectionName string

Private link resource name.

resourceGroupName String

The name of the resource group. The name is case insensitive.

siteName String

Site name.

peConnectionName String

Private link resource name.

resourceGroupName string

The name of the resource group. The name is case insensitive.

siteName string

Site name.

peConnectionName string

Private link resource name.

resource_group_name str

The name of the resource group. The name is case insensitive.

site_name str

Site name.

pe_connection_name str

Private link resource name.

resourceGroupName String

The name of the resource group. The name is case insensitive.

siteName String

Site name.

peConnectionName String

Private link resource name.

Outputs

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

ETag string

Gets the tag for optimistic concurrency control.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Gets the name of the resource.

Properties Pulumi.AzureNative.OffAzure.Outputs.PrivateEndpointConnectionPropertiesResponse

Gets the properties of the object.

SystemData Pulumi.AzureNative.OffAzure.Outputs.SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

Type string

Gets the resource type.

ETag string

Gets the tag for optimistic concurrency control.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Gets the name of the resource.

Properties PrivateEndpointConnectionPropertiesResponse

Gets the properties of the object.

SystemData SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

Type string

Gets the resource type.

eTag String

Gets the tag for optimistic concurrency control.

id String

The provider-assigned unique ID for this managed resource.

name String

Gets the name of the resource.

properties PrivateEndpointConnectionPropertiesResponse

Gets the properties of the object.

systemData SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

type String

Gets the resource type.

eTag string

Gets the tag for optimistic concurrency control.

id string

The provider-assigned unique ID for this managed resource.

name string

Gets the name of the resource.

properties PrivateEndpointConnectionPropertiesResponse

Gets the properties of the object.

systemData SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

type string

Gets the resource type.

e_tag str

Gets the tag for optimistic concurrency control.

id str

The provider-assigned unique ID for this managed resource.

name str

Gets the name of the resource.

properties PrivateEndpointConnectionPropertiesResponse

Gets the properties of the object.

system_data SystemDataResponse

Metadata pertaining to creation and last modification of the resource.

type str

Gets the resource type.

eTag String

Gets the tag for optimistic concurrency control.

id String

The provider-assigned unique ID for this managed resource.

name String

Gets the name of the resource.

properties Property Map

Gets the properties of the object.

systemData Property Map

Metadata pertaining to creation and last modification of the resource.

type String

Gets the resource type.

Supporting Types

PrivateEndpointConnectionPropertiesResponse

PrivateLinkServiceConnectionStateResponse

ResourceIdResponse

Id string
Id string
id String
id string
id str
id String

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The type of identity that last modified the resource.

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The type of identity that last modified the resource.

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The type of identity that last modified the resource.

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The type of identity that last modified the resource.

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

The type of identity that last modified the resource.

created_at str

The timestamp of resource creation (UTC).

created_by str

The identity that created the resource.

created_by_type str

The type of identity that created the resource.

last_modified_at str

The type of identity that last modified the resource.

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The type of identity that last modified the resource.

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

Import

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

$ pulumi import azure-native:offazure:PrivateEndpointConnection privateendpt1938mastersit9007pe.4f2f2970-0bfa-45d4-9ee1-d9f79502fc6f /subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.OffAzure/MasterSites/privateendpt1938mastersite/privateEndpointConnections/privateendpt1938mastersit9007pe.4f2f2970-0bfa-45d4-9ee1-d9f79502fc6f 

Package Details

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