import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Log Analytics Workspace Table. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.loganalytics.getWorkspaceTable({ * name: "InsightsMetrics", * workspaceId: exampleAzurermLogAnalyticsWorkspace.id, * }); * export const retentionInDays = example.then(example => example.retentionInDays); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.OperationalInsights` - 2022-10-01 */ export declare function getWorkspaceTable(args: GetWorkspaceTableArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getWorkspaceTable. */ export interface GetWorkspaceTableArgs { /** * The name of this Log Analytics Workspace Table. */ name: string; /** * The ID of the Log Analytics Workspace the table belongs to. */ workspaceId: string; } /** * A collection of values returned by getWorkspaceTable. */ export interface GetWorkspaceTableResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; /** * The billing plan information for the Log Analytics Workspace Table. */ readonly plan: string; /** * The table's data retention in days. */ readonly retentionInDays: number; /** * The table's total data retention in days. */ readonly totalRetentionInDays: number; readonly workspaceId: string; } /** * Use this data source to access information about an existing Log Analytics Workspace Table. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.loganalytics.getWorkspaceTable({ * name: "InsightsMetrics", * workspaceId: exampleAzurermLogAnalyticsWorkspace.id, * }); * export const retentionInDays = example.then(example => example.retentionInDays); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.OperationalInsights` - 2022-10-01 */ export declare function getWorkspaceTableOutput(args: GetWorkspaceTableOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getWorkspaceTable. */ export interface GetWorkspaceTableOutputArgs { /** * The name of this Log Analytics Workspace Table. */ name: pulumi.Input; /** * The ID of the Log Analytics Workspace the table belongs to. */ workspaceId: pulumi.Input; }