ResourceManagementPrivateLinkArgs

data class ResourceManagementPrivateLinkArgs(val location: Output<String>? = null, val resourceGroupName: Output<String>? = null, val rmplName: Output<String>? = null) : ConvertibleToJava<ResourceManagementPrivateLinkArgs>

Uses Azure REST API version 2020-05-01. In version 2.x of the Azure Native provider, it used API version 2020-05-01.

Example Usage

Create Resource Management Private Link.

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var resourceManagementPrivateLink = new AzureNative.Authorization.ResourceManagementPrivateLink("resourceManagementPrivateLink", new()
{
Location = "eastus",
ResourceGroupName = "my-resource-group",
RmplName = "my-rmplName",
});
});
package main
import (
authorization "github.com/pulumi/pulumi-azure-native-sdk/authorization/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := authorization.NewResourceManagementPrivateLink(ctx, "resourceManagementPrivateLink", &authorization.ResourceManagementPrivateLinkArgs{
Location: pulumi.String("eastus"),
ResourceGroupName: pulumi.String("my-resource-group"),
RmplName: pulumi.String("my-rmplName"),
})
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.authorization.ResourceManagementPrivateLink;
import com.pulumi.azurenative.authorization.ResourceManagementPrivateLinkArgs;
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 resourceManagementPrivateLink = new ResourceManagementPrivateLink("resourceManagementPrivateLink", ResourceManagementPrivateLinkArgs.builder()
.location("eastus")
.resourceGroupName("my-resource-group")
.rmplName("my-rmplName")
.build());
}
}

Import

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

$ pulumi import azure-native:authorization:ResourceManagementPrivateLink my-pla /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/resourceManagementPrivateLinks/{rmplName}

Constructors

Link copied to clipboard
constructor(location: Output<String>? = null, resourceGroupName: Output<String>? = null, rmplName: Output<String>? = null)

Properties

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

the region to create private link association.

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

The name of the resource group. The name is case insensitive.

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

The name of the resource management private link.

Functions

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