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.33 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get secret. * * Uses Azure REST API version 2018-09-15. */ export declare function getSecret(args: GetSecretArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretResult>; export interface GetSecretArgs { /** * Specify the $expand query. Example: 'properties($select=value)' */ expand?: string; /** * The name of the lab. */ labName: string; /** * The name of the Secret */ name: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the user profile. */ userName: string; } /** * A secret. */ export interface GetSecretResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The identifier of the resource. */ readonly id: string; /** * The location of the resource. */ readonly location?: string; /** * The name of the resource. */ readonly name: string; /** * The provisioning status of the resource. */ readonly provisioningState: string; /** * The tags of the resource. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. */ readonly type: string; /** * The unique immutable identifier of a resource (Guid). */ readonly uniqueIdentifier: string; /** * The value of the secret for secret creation. */ readonly value?: string; } /** * Get secret. * * Uses Azure REST API version 2018-09-15. */ export declare function getSecretOutput(args: GetSecretOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecretResult>; export interface GetSecretOutputArgs { /** * Specify the $expand query. Example: 'properties($select=value)' */ expand?: pulumi.Input<string>; /** * The name of the lab. */ labName: pulumi.Input<string>; /** * The name of the Secret */ name: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the user profile. */ userName: pulumi.Input<string>; }