@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.82 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* A private link scoped resource
*
* Uses Azure REST API version 2023-06-01-preview.
*
* Other available API versions: 2021-07-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native monitor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare class PrivateLinkScopedResource extends pulumi.CustomResource {
/**
* Get an existing PrivateLinkScopedResource 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 opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PrivateLinkScopedResource;
/**
* Returns true if the given object is an instance of PrivateLinkScopedResource. 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 PrivateLinkScopedResource;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* The kind of scoped Azure monitor resource.
*/
readonly kind: pulumi.Output<string | undefined>;
/**
* The resource id of the scoped Azure monitor resource.
*/
readonly linkedResourceId: pulumi.Output<string | undefined>;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* State of the Azure monitor resource.
*/
readonly provisioningState: pulumi.Output<string>;
/**
* The location of a scoped subscription. Only needs to be specified for metric dataplane subscriptions.
*/
readonly subscriptionLocation: pulumi.Output<string | undefined>;
/**
* System data
*/
readonly systemData: pulumi.Output<outputs.monitor.SystemDataResponse>;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: pulumi.Output<string>;
/**
* Create a PrivateLinkScopedResource 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: PrivateLinkScopedResourceArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a PrivateLinkScopedResource resource.
*/
export interface PrivateLinkScopedResourceArgs {
/**
* The kind of scoped Azure monitor resource.
*/
kind?: pulumi.Input<string | enums.monitor.ScopedResourceKind>;
/**
* The resource id of the scoped Azure monitor resource.
*/
linkedResourceId?: pulumi.Input<string>;
/**
* The name of the scoped resource object.
*/
name?: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the Azure Monitor PrivateLinkScope resource.
*/
scopeName: pulumi.Input<string>;
/**
* The location of a scoped subscription. Only needs to be specified for metric dataplane subscriptions.
*/
subscriptionLocation?: pulumi.Input<string>;
}