@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.74 kB
TypeScript
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 getReadOnlyFollowingDatabase(args: GetReadOnlyFollowingDatabaseArgs, opts?: pulumi.InvokeOptions): Promise<GetReadOnlyFollowingDatabaseResult>;
export interface GetReadOnlyFollowingDatabaseArgs {
/**
* 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 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 origin of the following setup.
*/
readonly databaseShareOrigin: 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 original database name, before databaseNameOverride or databaseNamePrefix where applied.
*/
readonly originalDatabaseName: 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.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;
/**
* Table level sharing specifications
*/
readonly tableLevelSharingProperties: outputs.kusto.TableLevelSharingPropertiesResponse;
/**
* 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 getReadOnlyFollowingDatabaseOutput(args: GetReadOnlyFollowingDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetReadOnlyFollowingDatabaseResult>;
export interface GetReadOnlyFollowingDatabaseOutputArgs {
/**
* 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>;
}