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

113 lines (112 loc) 3.43 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Returns a database. * * Uses Azure REST API version 2021-06-01-preview. */ export declare function getReadOnlyFollowingDatabase(args: GetReadOnlyFollowingDatabaseArgs, opts?: pulumi.InvokeOptions): Promise<GetReadOnlyFollowingDatabaseResult>; export interface GetReadOnlyFollowingDatabaseArgs { /** * The name of the database in the Kusto pool. */ databaseName: string; /** * The name of the Kusto pool. */ kustoPoolName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the workspace. */ workspaceName: string; } /** * Class representing a read only following database. */ export interface GetReadOnlyFollowingDatabaseResult { /** * The name of the attached database configuration cluster */ readonly attachedDatabaseConfigurationName: string; /** * 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; /** * Kind of the database * Expected value is 'ReadOnlyFollowing'. */ readonly kind: "ReadOnlyFollowing"; /** * The name of the leader cluster */ readonly leaderClusterResourceId: string; /** * Resource location. */ readonly location?: string; /** * The name of the resource */ readonly name: string; /** * The principals modification kind of the database */ readonly principalsModificationKind: 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.synapse.DatabaseStatisticsResponse; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.synapse.SystemDataResponse; /** * 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 2021-06-01-preview. */ export declare function getReadOnlyFollowingDatabaseOutput(args: GetReadOnlyFollowingDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetReadOnlyFollowingDatabaseResult>; export interface GetReadOnlyFollowingDatabaseOutputArgs { /** * The name of the database in the Kusto pool. */ databaseName: pulumi.Input<string>; /** * The name of the Kusto pool. */ kustoPoolName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the workspace. */ workspaceName: pulumi.Input<string>; }