import * as pulumi from "@pulumi/pulumi"; /** * Manages a Resource Management Private Link to restrict access for managing resources in the tenant. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const examplePrivateLink = new azure.management.PrivateLink("example", { * name: "example", * resourceGroupName: example.name, * location: example.location, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Authorization` - 2020-05-01 * * ## Import * * An existing Resource Management Private Link can be imported into Pulumi using the `resource id`, e.g. * * ```sh * $ pulumi import azure:management/privateLink:PrivateLink example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Authorization/resourceManagementPrivateLinks/link1 * ``` */ export declare class PrivateLink extends pulumi.CustomResource { /** * Get an existing PrivateLink resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: PrivateLinkState, opts?: pulumi.CustomResourceOptions): PrivateLink; /** * Returns true if the given object is an instance of PrivateLink. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is PrivateLink; /** * The Azure Region where the Resource Management Private Link should exist. Changing this forces a new Resource Management Private Link to be created. */ readonly location: pulumi.Output; /** * Specifies the name of this Resource Management Private Link. Changing this forces a new Resource Management Private Link to be created. */ readonly name: pulumi.Output; /** * Specifies the name of the Resource Group within which this Resource Management Private Link should exist. Changing this forces a new Resource Management Private Link to be created. */ readonly resourceGroupName: pulumi.Output; /** * Create a PrivateLink resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PrivateLinkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PrivateLink resources. */ export interface PrivateLinkState { /** * The Azure Region where the Resource Management Private Link should exist. Changing this forces a new Resource Management Private Link to be created. */ location?: pulumi.Input; /** * Specifies the name of this Resource Management Private Link. Changing this forces a new Resource Management Private Link to be created. */ name?: pulumi.Input; /** * Specifies the name of the Resource Group within which this Resource Management Private Link should exist. Changing this forces a new Resource Management Private Link to be created. */ resourceGroupName?: pulumi.Input; } /** * The set of arguments for constructing a PrivateLink resource. */ export interface PrivateLinkArgs { /** * The Azure Region where the Resource Management Private Link should exist. Changing this forces a new Resource Management Private Link to be created. */ location?: pulumi.Input; /** * Specifies the name of this Resource Management Private Link. Changing this forces a new Resource Management Private Link to be created. */ name?: pulumi.Input; /** * Specifies the name of the Resource Group within which this Resource Management Private Link should exist. Changing this forces a new Resource Management Private Link to be created. */ resourceGroupName: pulumi.Input; }