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

104 lines (103 loc) 4.34 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Returns an attached database configuration. * * Uses Azure REST API version 2024-04-13. * * Other available API versions: 2019-09-07, 2019-11-09, 2020-02-15, 2020-06-14, 2020-09-18, 2021-01-01, 2021-08-27, 2022-02-01, 2022-07-07, 2022-11-11, 2022-12-29, 2023-05-02, 2023-08-15. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native kusto [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getAttachedDatabaseConfiguration(args: GetAttachedDatabaseConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetAttachedDatabaseConfigurationResult>; export interface GetAttachedDatabaseConfigurationArgs { /** * The name of the attached database configuration. */ attachedDatabaseConfigurationName: string; /** * The name of the Kusto cluster. */ clusterName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Class representing an attached database configuration. */ export interface GetAttachedDatabaseConfigurationResult { /** * The list of databases from the clusterResourceId which are currently attached to the cluster. */ readonly attachedDatabaseNames: string[]; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The resource id of the cluster where the databases you would like to attach reside. */ readonly clusterResourceId: string; /** * The name of the database which you would like to attach, use * if you want to follow all current and future databases. */ readonly databaseName: string; /** * Overrides the original database name. Relevant only when attaching to a specific database. */ readonly databaseNameOverride?: string; /** * Adds a prefix to the attached databases name. When following an entire cluster, that prefix would be added to all of the databases original names from leader cluster. */ readonly databaseNamePrefix?: string; /** * The default principals modification kind */ readonly defaultPrincipalsModificationKind: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * Resource location. */ readonly location?: string; /** * The name of the resource */ readonly name: string; /** * The provisioned state of the resource. */ readonly provisioningState: string; /** * 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 an attached database configuration. * * Uses Azure REST API version 2024-04-13. * * Other available API versions: 2019-09-07, 2019-11-09, 2020-02-15, 2020-06-14, 2020-09-18, 2021-01-01, 2021-08-27, 2022-02-01, 2022-07-07, 2022-11-11, 2022-12-29, 2023-05-02, 2023-08-15. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native kusto [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getAttachedDatabaseConfigurationOutput(args: GetAttachedDatabaseConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAttachedDatabaseConfigurationResult>; export interface GetAttachedDatabaseConfigurationOutputArgs { /** * The name of the attached database configuration. */ attachedDatabaseConfigurationName: pulumi.Input<string>; /** * The name of the Kusto cluster. */ clusterName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }