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

84 lines (83 loc) 2.62 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This method gets the data store/repository by name. * * Uses Azure REST API version 2019-06-01. */ export declare function getDataStore(args: GetDataStoreArgs, opts?: pulumi.InvokeOptions): Promise<GetDataStoreResult>; export interface GetDataStoreArgs { /** * The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only */ dataManagerName: string; /** * The data store/repository name queried. */ dataStoreName: string; /** * The Resource Group Name */ resourceGroupName: string; } /** * Data store. */ export interface GetDataStoreResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys. */ readonly customerSecrets?: outputs.hybriddata.CustomerSecretResponse[]; /** * The arm id of the data store type. */ readonly dataStoreTypeId: string; /** * A generic json used differently by each data source type. */ readonly extendedProperties?: any; /** * Id of the object. */ readonly id: string; /** * Name of the object. */ readonly name: string; /** * Arm Id for the manager resource to which the data source is associated. This is optional. */ readonly repositoryId?: string; /** * State of the data source. */ readonly state: string; /** * Type of the object. */ readonly type: string; } /** * This method gets the data store/repository by name. * * Uses Azure REST API version 2019-06-01. */ export declare function getDataStoreOutput(args: GetDataStoreOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDataStoreResult>; export interface GetDataStoreOutputArgs { /** * The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only */ dataManagerName: pulumi.Input<string>; /** * The data store/repository name queried. */ dataStoreName: pulumi.Input<string>; /** * The Resource Group Name */ resourceGroupName: pulumi.Input<string>; }