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

101 lines (100 loc) 2.13 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets a view in the hub. * * Uses Azure REST API version 2017-04-26. */ export declare function getView(args: GetViewArgs, opts?: pulumi.InvokeOptions): Promise<GetViewResult>; export interface GetViewArgs { /** * The name of the hub. */ hubName: string; /** * The name of the resource group. */ resourceGroupName: string; /** * The user ID. Use * to retrieve hub level view. */ userId: string; /** * The name of the view. */ viewName: string; } /** * The view resource format. */ export interface GetViewResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Date time when view was last modified. */ readonly changed: string; /** * Date time when view was created. */ readonly created: string; /** * View definition. */ readonly definition: string; /** * Localized display name for the view. */ readonly displayName?: { [key: string]: string; }; /** * Resource ID. */ readonly id: string; /** * Resource name. */ readonly name: string; /** * the hub name. */ readonly tenantId: string; /** * Resource type. */ readonly type: string; /** * the user ID. */ readonly userId?: string; /** * Name of the view. */ readonly viewName: string; } /** * Gets a view in the hub. * * Uses Azure REST API version 2017-04-26. */ export declare function getViewOutput(args: GetViewOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetViewResult>; export interface GetViewOutputArgs { /** * The name of the hub. */ hubName: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; /** * The user ID. Use * to retrieve hub level view. */ userId: pulumi.Input<string>; /** * The name of the view. */ viewName: pulumi.Input<string>; }