azure-native.authorization.ResourceManagementPrivateLink
Explore with Pulumi AI
Azure REST API version: 2020-05-01. Prior API version in Azure Native 1.x: 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 pulumi
import pulumi_azure_native as azure_native
resource_management_private_link = azure_native.authorization.ResourceManagementPrivateLink("resourceManagementPrivateLink",
location="eastus",
resource_group_name="my-resource-group",
rmpl_name="my-rmplName")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const resourceManagementPrivateLink = new azure_native.authorization.ResourceManagementPrivateLink("resourceManagementPrivateLink", {
location: "eastus",
resourceGroupName: "my-resource-group",
rmplName: "my-rmplName",
});
resources:
resourceManagementPrivateLink:
type: azure-native:authorization:ResourceManagementPrivateLink
properties:
location: eastus
resourceGroupName: my-resource-group
rmplName: my-rmplName
Create ResourceManagementPrivateLink Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ResourceManagementPrivateLink(name: string, args: ResourceManagementPrivateLinkArgs, opts?: CustomResourceOptions);
@overload
def ResourceManagementPrivateLink(resource_name: str,
args: ResourceManagementPrivateLinkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ResourceManagementPrivateLink(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
rmpl_name: Optional[str] = None)
func NewResourceManagementPrivateLink(ctx *Context, name string, args ResourceManagementPrivateLinkArgs, opts ...ResourceOption) (*ResourceManagementPrivateLink, error)
public ResourceManagementPrivateLink(string name, ResourceManagementPrivateLinkArgs args, CustomResourceOptions? opts = null)
public ResourceManagementPrivateLink(String name, ResourceManagementPrivateLinkArgs args)
public ResourceManagementPrivateLink(String name, ResourceManagementPrivateLinkArgs args, CustomResourceOptions options)
type: azure-native:authorization:ResourceManagementPrivateLink
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 ResourceManagementPrivateLinkArgs
- 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 ResourceManagementPrivateLinkArgs
- 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 ResourceManagementPrivateLinkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResourceManagementPrivateLinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ResourceManagementPrivateLinkArgs
- 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 resourceManagementPrivateLinkResource = new AzureNative.Authorization.ResourceManagementPrivateLink("resourceManagementPrivateLinkResource", new()
{
ResourceGroupName = "string",
Location = "string",
RmplName = "string",
});
example, err := authorization.NewResourceManagementPrivateLink(ctx, "resourceManagementPrivateLinkResource", &authorization.ResourceManagementPrivateLinkArgs{
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
RmplName: pulumi.String("string"),
})
var resourceManagementPrivateLinkResource = new ResourceManagementPrivateLink("resourceManagementPrivateLinkResource", ResourceManagementPrivateLinkArgs.builder()
.resourceGroupName("string")
.location("string")
.rmplName("string")
.build());
resource_management_private_link_resource = azure_native.authorization.ResourceManagementPrivateLink("resourceManagementPrivateLinkResource",
resource_group_name="string",
location="string",
rmpl_name="string")
const resourceManagementPrivateLinkResource = new azure_native.authorization.ResourceManagementPrivateLink("resourceManagementPrivateLinkResource", {
resourceGroupName: "string",
location: "string",
rmplName: "string",
});
type: azure-native:authorization:ResourceManagementPrivateLink
properties:
location: string
resourceGroupName: string
rmplName: string
ResourceManagementPrivateLink 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 ResourceManagementPrivateLink resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- the region to create private link association.
- Rmpl
Name string - The name of the resource management private link.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- the region to create private link association.
- Rmpl
Name string - The name of the resource management private link.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- the region to create private link association.
- rmpl
Name String - The name of the resource management private link.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- location string
- the region to create private link association.
- rmpl
Name string - The name of the resource management private link.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- location str
- the region to create private link association.
- rmpl_
name str - The name of the resource management private link.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- the region to create private link association.
- rmpl
Name String - The name of the resource management private link.
Outputs
All input properties are implicitly available as output properties. Additionally, the ResourceManagementPrivateLink resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The rmpl Name.
- Properties
Pulumi.
Azure Native. Authorization. Outputs. Resource Management Private Link Endpoint Connections Response - Type string
- The operation type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The rmpl Name.
- Properties
Resource
Management Private Link Endpoint Connections Response - Type string
- The operation type.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The rmpl Name.
- properties
Resource
Management Private Link Endpoint Connections Response - type String
- The operation type.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The rmpl Name.
- properties
Resource
Management Private Link Endpoint Connections Response - type string
- The operation type.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The rmpl Name.
- properties
Resource
Management Private Link Endpoint Connections Response - type str
- The operation type.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The rmpl Name.
- properties Property Map
- type String
- The operation type.
Supporting Types
ResourceManagementPrivateLinkEndpointConnectionsResponse, ResourceManagementPrivateLinkEndpointConnectionsResponseArgs
- Private
Endpoint List<string>Connections - The private endpoint connections.
- Private
Endpoint []stringConnections - The private endpoint connections.
- private
Endpoint List<String>Connections - The private endpoint connections.
- private
Endpoint string[]Connections - The private endpoint connections.
- private_
endpoint_ Sequence[str]connections - The private endpoint connections.
- private
Endpoint List<String>Connections - The private endpoint connections.
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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0