@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.4 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the details of the vault.
*
* Uses Azure REST API version 2021-02-16-preview.
*
* Other available API versions: 2024-09-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native datareplication [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getVault(args: GetVaultArgs, opts?: pulumi.InvokeOptions): Promise<GetVaultResult>;
export interface GetVaultArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The vault name.
*/
vaultName: string;
}
/**
* Vault model.
*/
export interface GetVaultResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Gets or sets the Id of the resource.
*/
readonly id: string;
/**
* Gets or sets the location of the vault.
*/
readonly location: string;
/**
* Gets or sets the name of the resource.
*/
readonly name: string;
/**
* Vault properties.
*/
readonly properties: outputs.datareplication.VaultModelPropertiesResponse;
readonly systemData: outputs.datareplication.VaultModelResponseSystemData;
/**
* Gets or sets the resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Gets or sets the type of the resource.
*/
readonly type: string;
}
/**
* Gets the details of the vault.
*
* Uses Azure REST API version 2021-02-16-preview.
*
* Other available API versions: 2024-09-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native datareplication [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getVaultOutput(args: GetVaultOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVaultResult>;
export interface GetVaultOutputArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The vault name.
*/
vaultName: pulumi.Input<string>;
}