UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

71 lines (70 loc) 2.2 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets a scoped resource in a private link scope. * * Uses Azure REST API version 2020-08-15-preview. */ 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. */ resourceGroupName: string; /** * The name of the Azure Arc 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 resource id of the scoped Azure monitor resource. */ readonly linkedResourceId?: string; /** * The name of the resource */ readonly name: string; /** * State of the private endpoint connection. */ readonly provisioningState: string; /** * 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 2020-08-15-preview. */ 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. */ resourceGroupName: pulumi.Input<string>; /** * The name of the Azure Arc PrivateLinkScope resource. */ scopeName: pulumi.Input<string>; }