PrivateLinkScope

class PrivateLinkScope : KotlinCustomResource

An Azure Monitor PrivateLinkScope definition. API Version: 2019-10-17-preview.

Example Usage

PrivateLinkScopeCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateLinkScope = new AzureNative.Insights.PrivateLinkScope("privateLinkScope", new()
{
Location = "Global",
ResourceGroupName = "my-resource-group",
ScopeName = "my-privatelinkscope",
});
});
package main
import (
insights "github.com/pulumi/pulumi-azure-native-sdk/insights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := insights.NewPrivateLinkScope(ctx, "privateLinkScope", &insights.PrivateLinkScopeArgs{
Location: pulumi.String("Global"),
ResourceGroupName: pulumi.String("my-resource-group"),
ScopeName: pulumi.String("my-privatelinkscope"),
})
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.insights.PrivateLinkScope;
import com.pulumi.azurenative.insights.PrivateLinkScopeArgs;
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 privateLinkScope = new PrivateLinkScope("privateLinkScope", PrivateLinkScopeArgs.builder()
.location("Global")
.resourceGroupName("my-resource-group")
.scopeName("my-privatelinkscope")
.build());
}
}

PrivateLinkScopeUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateLinkScope = new AzureNative.Insights.PrivateLinkScope("privateLinkScope", new()
{
Location = "Global",
ResourceGroupName = "my-resource-group",
ScopeName = "my-privatelinkscope",
Tags =
{
{ "Tag1", "Value1" },
},
});
});
package main
import (
insights "github.com/pulumi/pulumi-azure-native-sdk/insights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := insights.NewPrivateLinkScope(ctx, "privateLinkScope", &insights.PrivateLinkScopeArgs{
Location: pulumi.String("Global"),
ResourceGroupName: pulumi.String("my-resource-group"),
ScopeName: pulumi.String("my-privatelinkscope"),
Tags: pulumi.StringMap{
"Tag1": pulumi.String("Value1"),
},
})
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.insights.PrivateLinkScope;
import com.pulumi.azurenative.insights.PrivateLinkScopeArgs;
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 privateLinkScope = new PrivateLinkScope("privateLinkScope", PrivateLinkScopeArgs.builder()
.location("Global")
.resourceGroupName("my-resource-group")
.scopeName("my-privatelinkscope")
.tags(Map.of("Tag1", "Value1"))
.build());
}
}

Import

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

$ pulumi import azure-native:insights:PrivateLinkScope my-privatelinkscope /subscriptions/86dc51d3-92ed-4d7e-947a-775ea79b4919/resourceGroups/my-resource-group/providers/microsoft.insights/privateLinkScopes/my-privatelinkscope

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

Resource location

Link copied to clipboard
val name: Output<String>

Azure resource name

Link copied to clipboard

List of private endpoint connections.

Link copied to clipboard

Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags

Link copied to clipboard
val type: Output<String>

Azure resource type

Link copied to clipboard
val urn: Output<String>