azure-native.migrate.PrivateEndpointConnectionControllerPrivateEndpointConnection
Explore with Pulumi AI
REST model used to encapsulate the user visible state of a PrivateEndpoint. Azure REST API version: 2020-05-01.
Other available API versions: 2023-01-01.
Example Usage
PrivateEndpointConnection_Put
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateEndpointConnectionControllerPrivateEndpointConnection = new AzureNative.Migrate.PrivateEndpointConnectionControllerPrivateEndpointConnection("privateEndpointConnectionControllerPrivateEndpointConnection", new()
{
MigrateProjectName = "proj567",
PeConnectionName = "proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6",
Properties = new AzureNative.Migrate.Inputs.ConnectionStateRequestBodyPropertiesArgs
{
PrivateLinkServiceConnectionState = new AzureNative.Migrate.Inputs.PrivateLinkServiceConnectionStateArgs
{
ActionsRequired = "",
Status = AzureNative.Migrate.PrivateEndpointServiceConnectionStatus.Approved,
},
},
ResourceGroupName = "pajindTest1",
});
});
package main
import (
migrate "github.com/pulumi/pulumi-azure-native-sdk/migrate/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := migrate.NewPrivateEndpointConnectionControllerPrivateEndpointConnection(ctx, "privateEndpointConnectionControllerPrivateEndpointConnection", &migrate.PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs{
MigrateProjectName: pulumi.String("proj567"),
PeConnectionName: pulumi.String("proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6"),
Properties: &migrate.ConnectionStateRequestBodyPropertiesArgs{
PrivateLinkServiceConnectionState: &migrate.PrivateLinkServiceConnectionStateArgs{
ActionsRequired: pulumi.String(""),
Status: pulumi.String(migrate.PrivateEndpointServiceConnectionStatusApproved),
},
},
ResourceGroupName: pulumi.String("pajindTest1"),
})
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.migrate.PrivateEndpointConnectionControllerPrivateEndpointConnection;
import com.pulumi.azurenative.migrate.PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs;
import com.pulumi.azurenative.migrate.inputs.ConnectionStateRequestBodyPropertiesArgs;
import com.pulumi.azurenative.migrate.inputs.PrivateLinkServiceConnectionStateArgs;
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 privateEndpointConnectionControllerPrivateEndpointConnection = new PrivateEndpointConnectionControllerPrivateEndpointConnection("privateEndpointConnectionControllerPrivateEndpointConnection", PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs.builder()
.migrateProjectName("proj567")
.peConnectionName("proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6")
.properties(ConnectionStateRequestBodyPropertiesArgs.builder()
.privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
.actionsRequired("")
.status("Approved")
.build())
.build())
.resourceGroupName("pajindTest1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_endpoint_connection_controller_private_endpoint_connection = azure_native.migrate.PrivateEndpointConnectionControllerPrivateEndpointConnection("privateEndpointConnectionControllerPrivateEndpointConnection",
migrate_project_name="proj567",
pe_connection_name="proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6",
properties={
"private_link_service_connection_state": {
"actions_required": "",
"status": azure_native.migrate.PrivateEndpointServiceConnectionStatus.APPROVED,
},
},
resource_group_name="pajindTest1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateEndpointConnectionControllerPrivateEndpointConnection = new azure_native.migrate.PrivateEndpointConnectionControllerPrivateEndpointConnection("privateEndpointConnectionControllerPrivateEndpointConnection", {
migrateProjectName: "proj567",
peConnectionName: "proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6",
properties: {
privateLinkServiceConnectionState: {
actionsRequired: "",
status: azure_native.migrate.PrivateEndpointServiceConnectionStatus.Approved,
},
},
resourceGroupName: "pajindTest1",
});
resources:
privateEndpointConnectionControllerPrivateEndpointConnection:
type: azure-native:migrate:PrivateEndpointConnectionControllerPrivateEndpointConnection
properties:
migrateProjectName: proj567
peConnectionName: proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6
properties:
privateLinkServiceConnectionState:
actionsRequired:
status: Approved
resourceGroupName: pajindTest1
Create PrivateEndpointConnectionControllerPrivateEndpointConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateEndpointConnectionControllerPrivateEndpointConnection(name: string, args: PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def PrivateEndpointConnectionControllerPrivateEndpointConnection(resource_name: str,
args: PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateEndpointConnectionControllerPrivateEndpointConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
migrate_project_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
e_tag: Optional[str] = None,
pe_connection_name: Optional[str] = None,
properties: Optional[ConnectionStateRequestBodyPropertiesArgs] = None)
func NewPrivateEndpointConnectionControllerPrivateEndpointConnection(ctx *Context, name string, args PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs, opts ...ResourceOption) (*PrivateEndpointConnectionControllerPrivateEndpointConnection, error)
public PrivateEndpointConnectionControllerPrivateEndpointConnection(string name, PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs args, CustomResourceOptions? opts = null)
public PrivateEndpointConnectionControllerPrivateEndpointConnection(String name, PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs args)
public PrivateEndpointConnectionControllerPrivateEndpointConnection(String name, PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs args, CustomResourceOptions options)
type: azure-native:migrate:PrivateEndpointConnectionControllerPrivateEndpointConnection
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 PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs
- 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 PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs
- 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 PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs
- 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 privateEndpointConnectionControllerPrivateEndpointConnectionResource = new AzureNative.Migrate.PrivateEndpointConnectionControllerPrivateEndpointConnection("privateEndpointConnectionControllerPrivateEndpointConnectionResource", new()
{
MigrateProjectName = "string",
ResourceGroupName = "string",
ETag = "string",
PeConnectionName = "string",
Properties = new AzureNative.Migrate.Inputs.ConnectionStateRequestBodyPropertiesArgs
{
PrivateLinkServiceConnectionState = new AzureNative.Migrate.Inputs.PrivateLinkServiceConnectionStateArgs
{
ActionsRequired = "string",
Description = "string",
Status = "string",
},
},
});
example, err := migrate.NewPrivateEndpointConnectionControllerPrivateEndpointConnection(ctx, "privateEndpointConnectionControllerPrivateEndpointConnectionResource", &migrate.PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs{
MigrateProjectName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
ETag: pulumi.String("string"),
PeConnectionName: pulumi.String("string"),
Properties: &migrate.ConnectionStateRequestBodyPropertiesArgs{
PrivateLinkServiceConnectionState: &migrate.PrivateLinkServiceConnectionStateArgs{
ActionsRequired: pulumi.String("string"),
Description: pulumi.String("string"),
Status: pulumi.String("string"),
},
},
})
var privateEndpointConnectionControllerPrivateEndpointConnectionResource = new PrivateEndpointConnectionControllerPrivateEndpointConnection("privateEndpointConnectionControllerPrivateEndpointConnectionResource", PrivateEndpointConnectionControllerPrivateEndpointConnectionArgs.builder()
.migrateProjectName("string")
.resourceGroupName("string")
.eTag("string")
.peConnectionName("string")
.properties(ConnectionStateRequestBodyPropertiesArgs.builder()
.privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
.actionsRequired("string")
.description("string")
.status("string")
.build())
.build())
.build());
private_endpoint_connection_controller_private_endpoint_connection_resource = azure_native.migrate.PrivateEndpointConnectionControllerPrivateEndpointConnection("privateEndpointConnectionControllerPrivateEndpointConnectionResource",
migrate_project_name="string",
resource_group_name="string",
e_tag="string",
pe_connection_name="string",
properties={
"privateLinkServiceConnectionState": {
"actionsRequired": "string",
"description": "string",
"status": "string",
},
})
const privateEndpointConnectionControllerPrivateEndpointConnectionResource = new azure_native.migrate.PrivateEndpointConnectionControllerPrivateEndpointConnection("privateEndpointConnectionControllerPrivateEndpointConnectionResource", {
migrateProjectName: "string",
resourceGroupName: "string",
eTag: "string",
peConnectionName: "string",
properties: {
privateLinkServiceConnectionState: {
actionsRequired: "string",
description: "string",
status: "string",
},
},
});
type: azure-native:migrate:PrivateEndpointConnectionControllerPrivateEndpointConnection
properties:
eTag: string
migrateProjectName: string
peConnectionName: string
properties:
privateLinkServiceConnectionState:
actionsRequired: string
description: string
status: string
resourceGroupName: string
PrivateEndpointConnectionControllerPrivateEndpointConnection 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 PrivateEndpointConnectionControllerPrivateEndpointConnection resource accepts the following input properties:
- Migrate
Project stringName - Migrate project name.
- Resource
Group stringName - Name of the Azure Resource Group that project is part of.
- ETag string
- Gets the tag for optimistic concurrency control.
- Pe
Connection stringName - Private endpoint connection name.
- Properties
Pulumi.
Azure Native. Migrate. Inputs. Connection State Request Body Properties - Properties of Connection state request.
- Migrate
Project stringName - Migrate project name.
- Resource
Group stringName - Name of the Azure Resource Group that project is part of.
- ETag string
- Gets the tag for optimistic concurrency control.
- Pe
Connection stringName - Private endpoint connection name.
- Properties
Connection
State Request Body Properties Args - Properties of Connection state request.
- migrate
Project StringName - Migrate project name.
- resource
Group StringName - Name of the Azure Resource Group that project is part of.
- e
Tag String - Gets the tag for optimistic concurrency control.
- pe
Connection StringName - Private endpoint connection name.
- properties
Connection
State Request Body Properties - Properties of Connection state request.
- migrate
Project stringName - Migrate project name.
- resource
Group stringName - Name of the Azure Resource Group that project is part of.
- e
Tag string - Gets the tag for optimistic concurrency control.
- pe
Connection stringName - Private endpoint connection name.
- properties
Connection
State Request Body Properties - Properties of Connection state request.
- migrate_
project_ strname - Migrate project name.
- resource_
group_ strname - Name of the Azure Resource Group that project is part of.
- e_
tag str - Gets the tag for optimistic concurrency control.
- pe_
connection_ strname - Private endpoint connection name.
- properties
Connection
State Request Body Properties Args - Properties of Connection state request.
- migrate
Project StringName - Migrate project name.
- resource
Group StringName - Name of the Azure Resource Group that project is part of.
- e
Tag String - Gets the tag for optimistic concurrency control.
- pe
Connection StringName - Private endpoint connection name.
- properties Property Map
- Properties of Connection state request.
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateEndpointConnectionControllerPrivateEndpointConnection resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Gets the name of the resource.
- System
Data Pulumi.Azure Native. Migrate. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- Gets the resource type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Gets the name of the resource.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- Gets the resource type.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Gets the name of the resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- Gets the resource type.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Gets the name of the resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- Gets the resource type.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Gets the name of the resource.
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- Gets the resource type.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Gets the name of the resource.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- Gets the resource type.
Supporting Types
ConnectionStateRequestBodyProperties, ConnectionStateRequestBodyPropertiesArgs
- Private
Link Pulumi.Service Connection State Azure Native. Migrate. Inputs. Private Link Service Connection State - Private endpoint connection state.
- Private
Link PrivateService Connection State Link Service Connection State - Private endpoint connection state.
- private
Link PrivateService Connection State Link Service Connection State - Private endpoint connection state.
- private
Link PrivateService Connection State Link Service Connection State - Private endpoint connection state.
- private_
link_ Privateservice_ connection_ state Link Service Connection State - Private endpoint connection state.
- private
Link Property MapService Connection State - Private endpoint connection state.
PrivateEndpointConnectionPropertiesResponse, PrivateEndpointConnectionPropertiesResponseArgs
- Private
Endpoint Pulumi.Azure Native. Migrate. Inputs. Resource Id Response - ARM id for the private endpoint resource corresponding to the connection.
- Provisioning
State string - Indicates whether there is an ongoing operation on the private endpoint.
- Private
Link Pulumi.Service Connection State Azure Native. Migrate. Inputs. Private Link Service Connection State Response - State of the private endpoint connection.
- Private
Endpoint ResourceId Response - ARM id for the private endpoint resource corresponding to the connection.
- Provisioning
State string - Indicates whether there is an ongoing operation on the private endpoint.
- Private
Link PrivateService Connection State Link Service Connection State Response - State of the private endpoint connection.
- private
Endpoint ResourceId Response - ARM id for the private endpoint resource corresponding to the connection.
- provisioning
State String - Indicates whether there is an ongoing operation on the private endpoint.
- private
Link PrivateService Connection State Link Service Connection State Response - State of the private endpoint connection.
- private
Endpoint ResourceId Response - ARM id for the private endpoint resource corresponding to the connection.
- provisioning
State string - Indicates whether there is an ongoing operation on the private endpoint.
- private
Link PrivateService Connection State Link Service Connection State Response - State of the private endpoint connection.
- private_
endpoint ResourceId Response - ARM id for the private endpoint resource corresponding to the connection.
- provisioning_
state str - Indicates whether there is an ongoing operation on the private endpoint.
- private_
link_ Privateservice_ connection_ state Link Service Connection State Response - State of the private endpoint connection.
- private
Endpoint Property Map - ARM id for the private endpoint resource corresponding to the connection.
- provisioning
State String - Indicates whether there is an ongoing operation on the private endpoint.
- private
Link Property MapService Connection State - State of the private endpoint connection.
PrivateEndpointServiceConnectionStatus, PrivateEndpointServiceConnectionStatusArgs
- 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
- PENDING
- Pending
- APPROVED
- Approved
- REJECTED
- Rejected
- "Pending"
- Pending
- "Approved"
- Approved
- "Rejected"
- Rejected
PrivateLinkServiceConnectionState, PrivateLinkServiceConnectionStateArgs
- Actions
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 | Pulumi.Native. Migrate. Private Endpoint Service Connection Status Azure Native. Migrate. Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- Actions
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 | StatusService Connection Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
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 | StatusService Connection Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
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 | StatusService Connection Status - 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 | Private
Endpoint | StatusService Connection Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
- actions
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 | "Pending" | "Approved" | "Rejected" | "Inactive" | "Active"
- Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs
- Actions
Required string - Actions required on the private endpoint connection.
- Description string
- Description of the private endpoint connection.
- Status string
- Connection status of the private endpoint connection.
- Actions
Required string - Actions required on the private endpoint connection.
- Description string
- Description of the private endpoint connection.
- Status string
- Connection status of the private endpoint connection.
- actions
Required String - Actions required on the private endpoint connection.
- description String
- Description of the private endpoint connection.
- status String
- Connection status of the private endpoint connection.
- actions
Required string - Actions required on the private endpoint connection.
- description string
- Description of the private endpoint connection.
- status string
- Connection status of the private endpoint connection.
- actions_
required str - Actions required on the private endpoint connection.
- description str
- Description of the private endpoint connection.
- status str
- Connection status of the private endpoint connection.
- actions
Required String - Actions required on the private endpoint connection.
- description String
- Description of the private endpoint connection.
- status String
- Connection status of the private endpoint connection.
ResourceIdResponse, ResourceIdResponseArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
Status, StatusArgs
- Inactive
- Inactive
- Active
- Active
- Status
Inactive - Inactive
- Status
Active - Active
- Inactive
- Inactive
- Active
- Active
- Inactive
- Inactive
- Active
- Active
- INACTIVE
- Inactive
- ACTIVE
- Active
- "Inactive"
- Inactive
- "Active"
- Active
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:migrate:PrivateEndpointConnectionControllerPrivateEndpointConnection proj5675162pe.fdccace0-e303-4a79-80c8-3aa7c1f09cc6 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/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