azure-native.insights.PrivateLinkScope
Explore with Pulumi AI
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PrivateLinkScope resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- Resource location
- Scope
Name string - The name of the Azure Monitor PrivateLinkScope resource.
- Dictionary<string, string>
- Resource tags
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- Resource location
- Scope
Name string - The name of the Azure Monitor PrivateLinkScope resource.
- map[string]string
- Resource tags
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- Resource location
- scope
Name String - The name of the Azure Monitor PrivateLinkScope resource.
- Map<String,String>
- Resource tags
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- location string
- Resource location
- scope
Name string - The name of the Azure Monitor PrivateLinkScope resource.
- {[key: string]: string}
- Resource tags
- resource_
group_ strname - 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.
- Mapping[str, str]
- Resource tags
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- Resource location
- scope
Name String - The name of the Azure Monitor PrivateLinkScope resource.
- 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
- Private
Endpoint List<Pulumi.Connections Azure Native. Insights. Outputs. Private Endpoint Connection Response> - List of private endpoint connections.
- Provisioning
State 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
- Private
Endpoint []PrivateConnections Endpoint Connection Response - List of private endpoint connections.
- Provisioning
State 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
- private
Endpoint List<PrivateConnections Endpoint Connection Response> - List of private endpoint connections.
- provisioning
State 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
- private
Endpoint PrivateConnections Endpoint Connection Response[] - List of private endpoint connections.
- provisioning
State 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_ Sequence[Privateconnections Endpoint Connection Response] - 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
- private
Endpoint List<Property Map>Connections - List of private endpoint connections.
- provisioning
State 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
- Provisioning
State string - State of the private endpoint connection.
- Type string
- Azure resource type
- Private
Endpoint Pulumi.Azure Native. Insights. Inputs. Private Endpoint Property Response - Private endpoint which the connection belongs to.
- Private
Link Pulumi.Service Connection State Azure Native. Insights. Inputs. Private Link Service Connection State Property Response - Connection state of the private endpoint connection.
- Id string
- Azure resource Id
- Name string
- Azure resource name
- Provisioning
State string - State of the private endpoint connection.
- Type string
- Azure resource type
- Private
Endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- Private
Link PrivateService Connection State Link Service Connection State Property Response - Connection state of the private endpoint connection.
- id String
- Azure resource Id
- name String
- Azure resource name
- provisioning
State String - State of the private endpoint connection.
- type String
- Azure resource type
- private
Endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- private
Link PrivateService Connection State Link Service Connection State Property Response - Connection state of the private endpoint connection.
- id string
- Azure resource Id
- name string
- Azure resource name
- provisioning
State string - State of the private endpoint connection.
- type string
- Azure resource type
- private
Endpoint PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- private
Link PrivateService Connection State Link Service Connection State Property Response - 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 PrivateEndpoint Property Response - Private endpoint which the connection belongs to.
- private_
link_ Privateservice_ connection_ state Link Service Connection State Property Response - Connection state of the private endpoint connection.
- id String
- Azure resource Id
- name String
- Azure resource name
- provisioning
State String - State of the private endpoint connection.
- type String
- Azure resource type
- private
Endpoint Property Map - Private endpoint which the connection belongs to.
- private
Link Property MapService Connection State - 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
- Actions
Required 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 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 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 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.
- actions
Required 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