Private Endpoint Connection Operation Args
data class PrivateEndpointConnectionOperationArgs(val privateEndpointConnectionName: Output<String>? = null, val privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, val projectName: Output<String>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<PrivateEndpointConnectionOperationArgs>
Private endpoint connection resource. Uses Azure REST API version 2023-03-15. Other available API versions: 2023-04-01-preview, 2023-05-01-preview, 2023-09-09-preview, 2024-01-01-preview.
Example Usage
PrivateEndpointConnectionOperations_Update_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateEndpointConnectionOperation = new AzureNative.Migrate.PrivateEndpointConnectionOperation("privateEndpointConnectionOperation", new()
{
PrivateEndpointConnectionName = "sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7",
PrivateLinkServiceConnectionState = new AzureNative.Migrate.Inputs.PrivateLinkServiceConnectionStateArgs
{
ActionsRequired = "",
Status = AzureNative.Migrate.PrivateEndpointServiceConnectionStatus.Approved,
},
ProjectName = "sakanwar1204project",
ResourceGroupName = "sakanwar",
});
});
Content copied to clipboard
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.NewPrivateEndpointConnectionOperation(ctx, "privateEndpointConnectionOperation", &migrate.PrivateEndpointConnectionOperationArgs{
PrivateEndpointConnectionName: pulumi.String("sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7"),
PrivateLinkServiceConnectionState: &migrate.PrivateLinkServiceConnectionStateArgs{
ActionsRequired: pulumi.String(""),
Status: pulumi.String(migrate.PrivateEndpointServiceConnectionStatusApproved),
},
ProjectName: pulumi.String("sakanwar1204project"),
ResourceGroupName: pulumi.String("sakanwar"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.migrate.PrivateEndpointConnectionOperation;
import com.pulumi.azurenative.migrate.PrivateEndpointConnectionOperationArgs;
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 privateEndpointConnectionOperation = new PrivateEndpointConnectionOperation("privateEndpointConnectionOperation", PrivateEndpointConnectionOperationArgs.builder()
.privateEndpointConnectionName("sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7")
.privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
.actionsRequired("")
.status("Approved")
.build())
.projectName("sakanwar1204project")
.resourceGroupName("sakanwar")
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:migrate:PrivateEndpointConnectionOperation sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/privateEndpointConnections/{privateEndpointConnectionName}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(privateEndpointConnectionName: Output<String>? = null, privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, projectName: Output<String>? = null, resourceGroupName: Output<String>? = null)
Properties
Link copied to clipboard
Private endpoint connection ARM name
Link copied to clipboard
A collection of information about the state of the connection between service consumer and provider.
Link copied to clipboard
Assessment Project Name
Link copied to clipboard
The name of the resource group. The name is case insensitive.