PrivateEndpointConnectionsForSCCPowershellArgs

data class PrivateEndpointConnectionsForSCCPowershellArgs(val privateEndpointConnectionName: Output<String>? = null, val privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, val resourceGroupName: Output<String>? = null, val resourceName: Output<String>? = null) : ConvertibleToJava<PrivateEndpointConnectionsForSCCPowershellArgs>

The Private Endpoint Connection resource. Uses Azure REST API version 2021-03-08. In version 1.x of the Azure Native provider, it used 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 privateEndpointConnectionsForSCCPowershell = new AzureNative.SecurityAndCompliance.PrivateEndpointConnectionsForSCCPowershell("privateEndpointConnectionsForSCCPowershell", new()
{
PrivateEndpointConnectionName = "myConnection",
PrivateLinkServiceConnectionState = new AzureNative.SecurityAndCompliance.Inputs.PrivateLinkServiceConnectionStateArgs
{
Description = "Auto-Approved",
Status = AzureNative.SecurityAndCompliance.PrivateEndpointServiceConnectionStatus.Approved,
},
ResourceGroupName = "rgname",
ResourceName = "service1",
});
});
package main
import (
securityandcompliance "github.com/pulumi/pulumi-azure-native-sdk/securityandcompliance/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := securityandcompliance.NewPrivateEndpointConnectionsForSCCPowershell(ctx, "privateEndpointConnectionsForSCCPowershell", &securityandcompliance.PrivateEndpointConnectionsForSCCPowershellArgs{
PrivateEndpointConnectionName: pulumi.String("myConnection"),
PrivateLinkServiceConnectionState: &securityandcompliance.PrivateLinkServiceConnectionStateArgs{
Description: pulumi.String("Auto-Approved"),
Status: pulumi.String(securityandcompliance.PrivateEndpointServiceConnectionStatusApproved),
},
ResourceGroupName: pulumi.String("rgname"),
ResourceName: pulumi.String("service1"),
})
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.securityandcompliance.PrivateEndpointConnectionsForSCCPowershell;
import com.pulumi.azurenative.securityandcompliance.PrivateEndpointConnectionsForSCCPowershellArgs;
import com.pulumi.azurenative.securityandcompliance.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 privateEndpointConnectionsForSCCPowershell = new PrivateEndpointConnectionsForSCCPowershell("privateEndpointConnectionsForSCCPowershell", PrivateEndpointConnectionsForSCCPowershellArgs.builder()
.privateEndpointConnectionName("myConnection")
.privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
.description("Auto-Approved")
.status("Approved")
.build())
.resourceGroupName("rgname")
.resourceName("service1")
.build());
}
}

Import

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

$ pulumi import azure-native:securityandcompliance:PrivateEndpointConnectionsForSCCPowershell myConnection /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}

Constructors

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
val resourceGroupName: Output<String>? = null

The name of the resource group that contains the service instance.

Link copied to clipboard
val resourceName: Output<String>? = null

The name of the service instance.

Functions

Link copied to clipboard
open override fun toJava(): PrivateEndpointConnectionsForSCCPowershellArgs