Private Endpoint Connections For SCCPowershell Args
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-25-preview. In version 1.x of the Azure Native provider, it used API version 2021-03-25-preview.
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.M365SecurityAndCompliance.PrivateEndpointConnectionsForSCCPowershell("privateEndpointConnectionsForSCCPowershell", new()
{
PrivateEndpointConnectionName = "myConnection",
PrivateLinkServiceConnectionState = new AzureNative.M365SecurityAndCompliance.Inputs.PrivateLinkServiceConnectionStateArgs
{
Description = "Auto-Approved",
Status = AzureNative.M365SecurityAndCompliance.PrivateEndpointServiceConnectionStatus.Approved,
},
ResourceGroupName = "rgname",
ResourceName = "service1",
});
});
Content copied to clipboard
package main
import (
m365securityandcompliance "github.com/pulumi/pulumi-azure-native-sdk/m365securityandcompliance/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := m365securityandcompliance.NewPrivateEndpointConnectionsForSCCPowershell(ctx, "privateEndpointConnectionsForSCCPowershell", &m365securityandcompliance.PrivateEndpointConnectionsForSCCPowershellArgs{
PrivateEndpointConnectionName: pulumi.String("myConnection"),
PrivateLinkServiceConnectionState: &m365securityandcompliance.PrivateLinkServiceConnectionStateArgs{
Description: pulumi.String("Auto-Approved"),
Status: pulumi.String(m365securityandcompliance.PrivateEndpointServiceConnectionStatusApproved),
},
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.m365securityandcompliance.PrivateEndpointConnectionsForSCCPowershell;
import com.pulumi.azurenative.m365securityandcompliance.PrivateEndpointConnectionsForSCCPowershellArgs;
import com.pulumi.azurenative.m365securityandcompliance.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());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:m365securityandcompliance:PrivateEndpointConnectionsForSCCPowershell myConnection /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.M365SecurityAndCompliance/privateLinkServicesForSCCPowershell/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
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.