@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.26 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a scoped resource in a private link scope.
*
* 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 function getPrivateLinkScopedResource(args: GetPrivateLinkScopedResourceArgs, opts?: pulumi.InvokeOptions): Promise<GetPrivateLinkScopedResourceResult>;
export interface GetPrivateLinkScopedResourceArgs {
/**
* The name of the scoped resource object.
*/
name: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the Azure Monitor PrivateLinkScope resource.
*/
scopeName: string;
}
/**
* A private link scoped resource
*/
export interface GetPrivateLinkScopedResourceResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The kind of scoped Azure monitor resource.
*/
readonly kind?: string;
/**
* The resource id of the scoped Azure monitor resource.
*/
readonly linkedResourceId?: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* State of the Azure monitor resource.
*/
readonly provisioningState: string;
/**
* The location of a scoped subscription. Only needs to be specified for metric dataplane subscriptions.
*/
readonly subscriptionLocation?: string;
/**
* System data
*/
readonly systemData: outputs.monitor.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Gets a scoped resource in a private link scope.
*
* 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 function getPrivateLinkScopedResourceOutput(args: GetPrivateLinkScopedResourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPrivateLinkScopedResourceResult>;
export interface GetPrivateLinkScopedResourceOutputArgs {
/**
* 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>;
}