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

70 lines (69 loc) 2.19 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the information about the secret resource with the given name. The information include the description and other properties of the secret. * * Uses Azure REST API version 2018-09-01-preview. */ export declare function getSecret(args: GetSecretArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretResult>; export interface GetSecretArgs { /** * Azure resource group name */ resourceGroupName: string; /** * The name of the secret resource. */ secretResourceName: string; } /** * This type describes a secret resource. */ export interface GetSecretResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * Describes the properties of a secret resource. */ readonly properties: outputs.servicefabricmesh.SecretResourcePropertiesResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. */ readonly type: string; } /** * Gets the information about the secret resource with the given name. The information include the description and other properties of the secret. * * Uses Azure REST API version 2018-09-01-preview. */ export declare function getSecretOutput(args: GetSecretOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecretResult>; export interface GetSecretOutputArgs { /** * Azure resource group name */ resourceGroupName: pulumi.Input<string>; /** * The name of the secret resource. */ secretResourceName: pulumi.Input<string>; }