Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Azure Native

v1.42.0 published on Monday, Oct 25, 2021 by Pulumi

PrivateLinkScope

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

Example Usage

PrivateLinkScopeCreate

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var privateLinkScope = new AzureNative.Insights.PrivateLinkScope("privateLinkScope", new AzureNative.Insights.PrivateLinkScopeArgs
        {
            Location = "Global",
            ResourceGroupName = "my-resource-group",
            ScopeName = "my-privatelinkscope",
        });
    }

}

package main

import (
	insights "github.com/pulumi/pulumi-azure-native/sdk/go/azure/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
	})
}

import pulumi
import pulumi_azure_native as azure_native

private_link_scope = azure_native.insights.PrivateLinkScope("privateLinkScope",
    location="Global",
    resource_group_name="my-resource-group",
    scope_name="my-privatelinkscope")

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const privateLinkScope = new azure_native.insights.PrivateLinkScope("privateLinkScope", {
    location: "Global",
    resourceGroupName: "my-resource-group",
    scopeName: "my-privatelinkscope",
});

PrivateLinkScopeUpdate

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var privateLinkScope = new AzureNative.Insights.PrivateLinkScope("privateLinkScope", new AzureNative.Insights.PrivateLinkScopeArgs
        {
            Location = "Global",
            ResourceGroupName = "my-resource-group",
            ScopeName = "my-privatelinkscope",
            Tags = 
            {
                { "Tag1", "Value1" },
            },
        });
    }

}

package main

import (
	insights "github.com/pulumi/pulumi-azure-native/sdk/go/azure/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
	})
}

import pulumi
import pulumi_azure_native as azure_native

private_link_scope = azure_native.insights.PrivateLinkScope("privateLinkScope",
    location="Global",
    resource_group_name="my-resource-group",
    scope_name="my-privatelinkscope",
    tags={
        "Tag1": "Value1",
    })

import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const privateLinkScope = new azure_native.insights.PrivateLinkScope("privateLinkScope", {
    location: "Global",
    resourceGroupName: "my-resource-group",
    scopeName: "my-privatelinkscope",
    tags: {
        Tag1: "Value1",
    },
});

Create a PrivateLinkScope Resource

new PrivateLinkScope(name: string, args: PrivateLinkScopeArgs, opts?: CustomResourceOptions);
@overload
def PrivateLinkScope(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     location: Optional[str] = None,
                     resource_group_name: Optional[str] = None,
                     scope_name: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None)
@overload
def PrivateLinkScope(resource_name: str,
                     args: PrivateLinkScopeArgs,
                     opts: Optional[ResourceOptions] = None)
func NewPrivateLinkScope(ctx *Context, name string, args PrivateLinkScopeArgs, opts ...ResourceOption) (*PrivateLinkScope, error)
public PrivateLinkScope(string name, PrivateLinkScopeArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args PrivateLinkScopeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args PrivateLinkScopeArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args PrivateLinkScopeArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args PrivateLinkScopeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

PrivateLinkScope Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The PrivateLinkScope resource accepts the following input properties:

ResourceGroupName string
The name of the resource group.
Location string
Resource location
ScopeName string
The name of the Azure Monitor PrivateLinkScope resource.
Tags Dictionary<string, string>
Resource tags
ResourceGroupName string
The name of the resource group.
Location string
Resource location
ScopeName string
The name of the Azure Monitor PrivateLinkScope resource.
Tags map[string]string
Resource tags
resourceGroupName string
The name of the resource group.
location string
Resource location
scopeName string
The name of the Azure Monitor PrivateLinkScope resource.
tags {[key: string]: string}
Resource tags
resource_group_name str
The name of the resource group.
location str
Resource location
scope_name str
The name of the Azure Monitor PrivateLinkScope resource.
tags Mapping[str, str]
Resource tags

Outputs

All input properties are implicitly available as output properties. Additionally, the PrivateLinkScope resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
Azure resource name
PrivateEndpointConnections List<Pulumi.AzureNative.Insights.Outputs.PrivateEndpointConnectionResponse>
List of private endpoint connections.
ProvisioningState string
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.
Type string
Azure resource type
Id string
The provider-assigned unique ID for this managed resource.
Name string
Azure resource name
PrivateEndpointConnections []PrivateEndpointConnectionResponse
List of private endpoint connections.
ProvisioningState string
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.
Type string
Azure resource type
id string
The provider-assigned unique ID for this managed resource.
name string
Azure resource name
privateEndpointConnections PrivateEndpointConnectionResponse[]
List of private endpoint connections.
provisioningState string
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.
type string
Azure resource type
id str
The provider-assigned unique ID for this managed resource.
name str
Azure resource name
private_endpoint_connections Sequence[PrivateEndpointConnectionResponse]
List of private endpoint connections.
provisioning_state str
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.
type str
Azure resource type

Supporting Types

PrivateEndpointConnectionResponse

Id string
Azure resource Id
Name string
Azure resource name
ProvisioningState string
State of the private endpoint connection.
Type string
Azure resource type
PrivateEndpoint Pulumi.AzureNative.Insights.Inputs.PrivateEndpointPropertyResponse
Private endpoint which the connection belongs to.
PrivateLinkServiceConnectionState Pulumi.AzureNative.Insights.Inputs.PrivateLinkServiceConnectionStatePropertyResponse
Connection state of the private endpoint connection.
Id string
Azure resource Id
Name string
Azure resource name
ProvisioningState string
State of the private endpoint connection.
Type string
Azure resource type
PrivateEndpoint PrivateEndpointPropertyResponse
Private endpoint which the connection belongs to.
PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStatePropertyResponse
Connection state of the private endpoint connection.
id string
Azure resource Id
name string
Azure resource name
provisioningState string
State of the private endpoint connection.
type string
Azure resource type
privateEndpoint PrivateEndpointPropertyResponse
Private endpoint which the connection belongs to.
privateLinkServiceConnectionState PrivateLinkServiceConnectionStatePropertyResponse
Connection state of the private endpoint connection.
id str
Azure resource Id
name str
Azure resource name
provisioning_state str
State of the private endpoint connection.
type str
Azure resource type
private_endpoint PrivateEndpointPropertyResponse
Private endpoint which the connection belongs to.
private_link_service_connection_state PrivateLinkServiceConnectionStatePropertyResponse
Connection state of the private endpoint connection.

PrivateEndpointPropertyResponse

Id string
Resource id of the private endpoint.
Id string
Resource id of the private endpoint.
id string
Resource id of the private endpoint.
id str
Resource id of the private endpoint.

PrivateLinkServiceConnectionStatePropertyResponse

ActionsRequired string
The actions required for private link service connection.
Description string
The private link service connection description.
Status string
The private link service connection status.
ActionsRequired string
The actions required for private link service connection.
Description string
The private link service connection description.
Status string
The private link service connection status.
actionsRequired string
The actions required for private link service connection.
description string
The private link service connection description.
status string
The private link service connection status.
actions_required str
The actions required for private link service connection.
description str
The private link service connection description.
status str
The private link service connection status.

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 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0