Private Endpoint Connections Comp Args
data class PrivateEndpointConnectionsCompArgs(val privateEndpointConnectionName: Output<String>? = null, val privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, val resourceGroupName: Output<String>? = null, val resourceName: Output<String>? = null) : ConvertibleToJava<PrivateEndpointConnectionsCompArgs>
The Private Endpoint Connection resource. API Version: 2021-03-08.
Example Usage
PrivateEndpointConnection_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateEndpointConnectionsComp = new AzureNative.SecurityAndCompliance.PrivateEndpointConnectionsComp("privateEndpointConnectionsComp", new()
{
PrivateEndpointConnectionName = "myConnection",
PrivateLinkServiceConnectionState = new AzureNative.SecurityAndCompliance.Inputs.PrivateLinkServiceConnectionStateArgs
{
Description = "Auto-Approved",
Status = "Approved",
},
ResourceGroupName = "rgname",
ResourceName = "service1",
});
});
Content copied to clipboard
package main
import (
securityandcompliance "github.com/pulumi/pulumi-azure-native-sdk/securityandcompliance"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := securityandcompliance.NewPrivateEndpointConnectionsComp(ctx, "privateEndpointConnectionsComp", &securityandcompliance.PrivateEndpointConnectionsCompArgs{
PrivateEndpointConnectionName: pulumi.String("myConnection"),
PrivateLinkServiceConnectionState: &securityandcompliance.PrivateLinkServiceConnectionStateArgs{
Description: pulumi.String("Auto-Approved"),
Status: pulumi.String("Approved"),
},
ResourceGroupName: pulumi.String("rgname"),
ResourceName: pulumi.String("service1"),
})
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.securityandcompliance.PrivateEndpointConnectionsComp;
import com.pulumi.azurenative.securityandcompliance.PrivateEndpointConnectionsCompArgs;
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 privateEndpointConnectionsComp = new PrivateEndpointConnectionsComp("privateEndpointConnectionsComp", PrivateEndpointConnectionsCompArgs.builder()
.privateEndpointConnectionName("myConnection")
.privateLinkServiceConnectionState(Map.ofEntries(
Map.entry("description", "Auto-Approved"),
Map.entry("status", "Approved")
))
.resourceGroupName("rgname")
.resourceName("service1")
.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:securityandcompliance:PrivateEndpointConnectionsComp myConnection /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1/privateEndpointConnections/myConnection
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(privateEndpointConnectionName: Output<String>? = null, privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, resourceGroupName: Output<String>? = null, resourceName: Output<String>? = null)
Properties
Link copied to clipboard
The name of the private endpoint connection associated with the Azure resource
Link copied to clipboard
A collection of information about the state of the connection between service consumer and provider.
Link copied to clipboard
The name of the resource group that contains the service instance.
Link copied to clipboard
The name of the service instance.