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

103 lines (102 loc) 4.03 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Data store. * * Uses Azure REST API version 2019-06-01. In version 2.x of the Azure Native provider, it used API version 2019-06-01. */ export declare class DataStore extends pulumi.CustomResource { /** * Get an existing DataStore resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DataStore; /** * Returns true if the given object is an instance of DataStore. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DataStore; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<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: pulumi.Output<outputs.hybriddata.CustomerSecretResponse[] | undefined>; /** * The arm id of the data store type. */ readonly dataStoreTypeId: pulumi.Output<string>; /** * A generic json used differently by each data source type. */ readonly extendedProperties: pulumi.Output<any | undefined>; /** * Name of the object. */ readonly name: pulumi.Output<string>; /** * Arm Id for the manager resource to which the data source is associated. This is optional. */ readonly repositoryId: pulumi.Output<string | undefined>; /** * State of the data source. */ readonly state: pulumi.Output<string>; /** * Type of the object. */ readonly type: pulumi.Output<string>; /** * Create a DataStore resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DataStoreArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DataStore resource. */ export interface DataStoreArgs { /** * 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. */ customerSecrets?: pulumi.Input<pulumi.Input<inputs.hybriddata.CustomerSecretArgs>[]>; /** * 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 to be created or updated. */ dataStoreName?: pulumi.Input<string>; /** * The arm id of the data store type. */ dataStoreTypeId: pulumi.Input<string>; /** * A generic json used differently by each data source type. */ extendedProperties?: any; /** * Arm Id for the manager resource to which the data source is associated. This is optional. */ repositoryId?: pulumi.Input<string>; /** * The Resource Group Name */ resourceGroupName: pulumi.Input<string>; /** * State of the data source. */ state: pulumi.Input<enums.hybriddata.State>; }