azure-native.offazure.PrivateEndpointConnection
Explore with Pulumi AI
REST model used to encapsulate the user visible state of a PrivateEndpoint. Azure REST API version: 2020-07-07. Prior API version in Azure Native 1.x: 2020-07-07.
Example Usage
Put privateEndpointConnection
using System.Collections.Generic;
using System.Linq;
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/offazure/v2"
"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
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,
resource_group_name: Optional[str] = None,
site_name: Optional[str] = None,
pe_connection_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)
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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleprivateEndpointConnectionResourceResourceFromOffazure = new AzureNative.OffAzure.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromOffazure", new()
{
ResourceGroupName = "string",
SiteName = "string",
PeConnectionName = "string",
});
example, err := offazure.NewPrivateEndpointConnection(ctx, "exampleprivateEndpointConnectionResourceResourceFromOffazure", &offazure.PrivateEndpointConnectionArgs{
ResourceGroupName: pulumi.String("string"),
SiteName: pulumi.String("string"),
PeConnectionName: pulumi.String("string"),
})
var exampleprivateEndpointConnectionResourceResourceFromOffazure = new PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromOffazure", PrivateEndpointConnectionArgs.builder()
.resourceGroupName("string")
.siteName("string")
.peConnectionName("string")
.build());
exampleprivate_endpoint_connection_resource_resource_from_offazure = azure_native.offazure.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromOffazure",
resource_group_name="string",
site_name="string",
pe_connection_name="string")
const exampleprivateEndpointConnectionResourceResourceFromOffazure = new azure_native.offazure.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromOffazure", {
resourceGroupName: "string",
siteName: "string",
peConnectionName: "string",
});
type: azure-native:offazure:PrivateEndpointConnection
properties:
peConnectionName: string
resourceGroupName: string
siteName: 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
The PrivateEndpointConnection resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Site
Name string - Site name.
- Pe
Connection stringName - Private link resource name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Site
Name string - Site name.
- Pe
Connection stringName - Private link resource name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- site
Name String - Site name.
- pe
Connection StringName - Private link resource name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- site
Name string - Site name.
- pe
Connection stringName - Private link resource name.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- site_
name str - Site name.
- pe_
connection_ strname - Private link resource name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- site
Name String - Site name.
- pe
Connection StringName - 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.
Azure Native. Off Azure. Outputs. Private Endpoint Connection Properties Response - Gets the properties of the object.
- System
Data Pulumi.Azure Native. Off Azure. Outputs. System Data Response - 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
Private
Endpoint Connection Properties Response - Gets the properties of the object.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- Gets the resource type.
- e
Tag 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
Private
Endpoint Connection Properties Response - Gets the properties of the object.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- Gets the resource type.
- e
Tag 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
Private
Endpoint Connection Properties Response - Gets the properties of the object.
- system
Data SystemData Response - 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
Private
Endpoint Connection Properties Response - Gets the properties of the object.
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- Gets the resource type.
- e
Tag 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.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- Gets the resource type.
Supporting Types
PrivateEndpointConnectionPropertiesResponse, PrivateEndpointConnectionPropertiesResponseArgs
PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs
- Actions
Required string - actions required
- Description string
- description string
- Status string
- state status
- Actions
Required string - actions required
- Description string
- description string
- Status string
- state status
- actions
Required String - actions required
- description String
- description string
- status String
- state status
- actions
Required string - actions required
- description string
- description string
- status string
- state status
- actions_
required str - actions required
- description str
- description string
- status str
- state status
- actions
Required String - actions required
- description String
- description string
- status String
- state status
ResourceIdResponse, ResourceIdResponseArgs
- Id string
- id name
- Id string
- id name
- id String
- id name
- id string
- id name
- id str
- id name
- id String
- id name
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/masterSites/{siteName}/privateEndpointConnections/{peConnectionName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0