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

141 lines (140 loc) 5.93 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Workspace data table definition. * * Uses Azure REST API version 2023-09-01. In version 2.x of the Azure Native provider, it used API version 2022-10-01. * * Other available API versions: 2021-12-01-preview, 2022-10-01, 2025-02-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native operationalinsights [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class Table extends pulumi.CustomResource { /** * Get an existing Table resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Table; /** * Returns true if the given object is an instance of Table. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Table; /** * The table data archive retention in days. Calculated as (totalRetentionInDays-retentionInDays) */ readonly archiveRetentionInDays: pulumi.Output<number>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * The timestamp that table plan was last modified (UTC). */ readonly lastPlanModifiedDate: pulumi.Output<string>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * Instruct the system how to handle and charge the logs ingested to this table. */ readonly plan: pulumi.Output<string | undefined>; /** * Table's current provisioning state. If set to 'updating', indicates a resource lock due to ongoing operation, forbidding any update to the table until the ongoing operation is concluded. */ readonly provisioningState: pulumi.Output<string>; /** * Parameters of the restore operation that initiated this table. */ readonly restoredLogs: pulumi.Output<outputs.operationalinsights.RestoredLogsResponse | undefined>; /** * Search job execution statistics. */ readonly resultStatistics: pulumi.Output<outputs.operationalinsights.ResultStatisticsResponse>; /** * The table retention in days, between 4 and 730. Setting this property to -1 will default to the workspace retention. */ readonly retentionInDays: pulumi.Output<number | undefined>; /** * True - Value originates from workspace retention in days, False - Customer specific. */ readonly retentionInDaysAsDefault: pulumi.Output<boolean>; /** * Table schema. */ readonly schema: pulumi.Output<outputs.operationalinsights.SchemaResponse | undefined>; /** * Parameters of the search job that initiated this table. */ readonly searchResults: pulumi.Output<outputs.operationalinsights.SearchResultsResponse | undefined>; /** * Metadata pertaining to creation and last modification of the resource. */ readonly systemData: pulumi.Output<outputs.operationalinsights.SystemDataResponse>; /** * The table total retention in days, between 4 and 4383. Setting this property to -1 will default to table retention. */ readonly totalRetentionInDays: pulumi.Output<number | undefined>; /** * True - Value originates from retention in days, False - Customer specific. */ readonly totalRetentionInDaysAsDefault: pulumi.Output<boolean>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Create a Table resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: TableArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Table resource. */ export interface TableArgs { /** * Instruct the system how to handle and charge the logs ingested to this table. */ plan?: pulumi.Input<string | enums.operationalinsights.TablePlanEnum>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Parameters of the restore operation that initiated this table. */ restoredLogs?: pulumi.Input<inputs.operationalinsights.RestoredLogsArgs>; /** * The table retention in days, between 4 and 730. Setting this property to -1 will default to the workspace retention. */ retentionInDays?: pulumi.Input<number>; /** * Table schema. */ schema?: pulumi.Input<inputs.operationalinsights.SchemaArgs>; /** * Parameters of the search job that initiated this table. */ searchResults?: pulumi.Input<inputs.operationalinsights.SearchResultsArgs>; /** * The name of the table. */ tableName?: pulumi.Input<string>; /** * The table total retention in days, between 4 and 4383. Setting this property to -1 will default to table retention. */ totalRetentionInDays?: pulumi.Input<number>; /** * The name of the workspace. */ workspaceName: pulumi.Input<string>; }