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

101 lines (100 loc) 3.12 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Returns a database. * * Uses Azure REST API version 2024-04-13. */ export declare function getReadWriteDatabase(args: GetReadWriteDatabaseArgs, opts?: pulumi.InvokeOptions): Promise<GetReadWriteDatabaseResult>; export interface GetReadWriteDatabaseArgs { /** * The name of the Kusto cluster. */ clusterName: string; /** * The name of the database in the Kusto cluster. */ databaseName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Class representing a read write database. */ export interface GetReadWriteDatabaseResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The time the data should be kept in cache for fast queries in TimeSpan. */ readonly hotCachePeriod?: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * Indicates whether the database is followed. */ readonly isFollowed: boolean; /** * KeyVault properties for the database encryption. */ readonly keyVaultProperties?: outputs.kusto.KeyVaultPropertiesResponse; /** * Kind of the database * Expected value is 'ReadWrite'. */ readonly kind: "ReadWrite"; /** * Resource location. */ readonly location?: string; /** * The name of the resource */ readonly name: string; /** * The provisioned state of the resource. */ readonly provisioningState: string; /** * The time the data should be kept before it stops being accessible to queries in TimeSpan. */ readonly softDeletePeriod?: string; /** * The statistics of the database. */ readonly statistics: outputs.kusto.DatabaseStatisticsResponse; /** * The database suspension details. If the database is suspended, this object contains information related to the database's suspension state. */ readonly suspensionDetails: outputs.kusto.SuspensionDetailsResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Returns a database. * * Uses Azure REST API version 2024-04-13. */ export declare function getReadWriteDatabaseOutput(args: GetReadWriteDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetReadWriteDatabaseResult>; export interface GetReadWriteDatabaseOutputArgs { /** * The name of the Kusto cluster. */ clusterName: pulumi.Input<string>; /** * The name of the database in the Kusto cluster. */ databaseName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }