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

81 lines (80 loc) 2.61 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get the information about the specified named secret value resources. The information does not include the actual value of the secret. * * Uses Azure REST API version 2018-09-01-preview. */ export declare function getSecretValue(args: GetSecretValueArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretValueResult>; export interface GetSecretValueArgs { /** * Azure resource group name */ resourceGroupName: string; /** * The name of the secret resource. */ secretResourceName: string; /** * The name of the secret resource value which is typically the version identifier for the value. */ secretValueResourceName: string; } /** * This type describes a value of a secret resource. The name of this resource is the version identifier corresponding to this secret value. */ export interface GetSecretValueResult { /** * 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; /** * State of the resource. */ readonly provisioningState: string; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. */ readonly type: string; /** * The actual value of the secret. */ readonly value?: string; } /** * Get the information about the specified named secret value resources. The information does not include the actual value of the secret. * * Uses Azure REST API version 2018-09-01-preview. */ export declare function getSecretValueOutput(args: GetSecretValueOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecretValueResult>; export interface GetSecretValueOutputArgs { /** * Azure resource group name */ resourceGroupName: pulumi.Input<string>; /** * The name of the secret resource. */ secretResourceName: pulumi.Input<string>; /** * The name of the secret resource value which is typically the version identifier for the value. */ secretValueResourceName: pulumi.Input<string>; }