1. Packages
  2. Azure Native v1
  3. API Docs
  4. insights
  5. PrivateLinkScope
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.insights.PrivateLinkScope

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    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());
    
        }
    }
    
    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",
    });
    
    resources:
      privateLinkScope:
        type: azure-native:insights:PrivateLinkScope
        properties:
          location: Global
          resourceGroupName: my-resource-group
          scopeName: my-privatelinkscope
    

    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 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",
        },
    });
    
    resources:
      privateLinkScope:
        type: azure-native:insights:PrivateLinkScope
        properties:
          location: Global
          resourceGroupName: my-resource-group
          scopeName: my-privatelinkscope
          tags:
            Tag1: Value1
    

    Create PrivateLinkScope Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

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

    Parameters

    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.
    name String
    The unique name of the resource.
    args PrivateLinkScopeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var azure_nativePrivateLinkScopeResource = new AzureNative.Insights.PrivateLinkScope("azure-nativePrivateLinkScopeResource", new()
    {
        ResourceGroupName = "string",
        Location = "string",
        ScopeName = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := insights.NewPrivateLinkScope(ctx, "azure-nativePrivateLinkScopeResource", &insights.PrivateLinkScopeArgs{
    	ResourceGroupName: "string",
    	Location:          "string",
    	ScopeName:         "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var azure_nativePrivateLinkScopeResource = new PrivateLinkScope("azure-nativePrivateLinkScopeResource", PrivateLinkScopeArgs.builder()
        .resourceGroupName("string")
        .location("string")
        .scopeName("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    azure_native_private_link_scope_resource = azure_native.insights.PrivateLinkScope("azure-nativePrivateLinkScopeResource",
        resource_group_name=string,
        location=string,
        scope_name=string,
        tags={
            string: string,
        })
    
    const azure_nativePrivateLinkScopeResource = new azure_native.insights.PrivateLinkScope("azure-nativePrivateLinkScopeResource", {
        resourceGroupName: "string",
        location: "string",
        scopeName: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:insights:PrivateLinkScope
    properties:
        location: string
        resourceGroupName: string
        scopeName: string
        tags:
            string: string
    

    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. The name is case insensitive.
    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. The name is case insensitive.
    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. The name is case insensitive.
    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. The name is case insensitive.
    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. The name is case insensitive.
    location str
    Resource location
    scope_name str
    The name of the Azure Monitor PrivateLinkScope resource.
    tags Mapping[str, str]
    Resource tags
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    location String
    Resource location
    scopeName String
    The name of the Azure Monitor PrivateLinkScope resource.
    tags Map<String>
    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 List<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
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Azure resource name
    privateEndpointConnections List<Property Map>
    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

    Supporting Types

    PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs

    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 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.
    id String
    Azure resource Id
    name String
    Azure resource name
    provisioningState String
    State of the private endpoint connection.
    type String
    Azure resource type
    privateEndpoint Property Map
    Private endpoint which the connection belongs to.
    privateLinkServiceConnectionState Property Map
    Connection state of the private endpoint connection.

    PrivateEndpointPropertyResponse, PrivateEndpointPropertyResponseArgs

    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 string
    Resource id of the private endpoint.
    id str
    Resource id of the private endpoint.
    id String
    Resource id of the private endpoint.

    PrivateLinkServiceConnectionStatePropertyResponse, PrivateLinkServiceConnectionStatePropertyResponseArgs

    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.
    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.
    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.

    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 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi