import type { CosmosDBManagementContext } from "../../api/cosmosDBManagementContext.js"; import type { TableResourcesListTableRoleAssignmentsOptionalParams, TableResourcesDeleteTableRoleAssignmentOptionalParams, TableResourcesCreateUpdateTableRoleAssignmentOptionalParams, TableResourcesGetTableRoleAssignmentOptionalParams, TableResourcesListTableRoleDefinitionsOptionalParams, TableResourcesDeleteTableRoleDefinitionOptionalParams, TableResourcesCreateUpdateTableRoleDefinitionOptionalParams, TableResourcesGetTableRoleDefinitionOptionalParams, TableResourcesRetrieveContinuousBackupInformationOptionalParams, TableResourcesListTablesOptionalParams, TableResourcesDeleteTableOptionalParams, TableResourcesCreateUpdateTableOptionalParams, TableResourcesGetTableOptionalParams, TableResourcesMigrateTableToManualThroughputOptionalParams, TableResourcesMigrateTableToAutoscaleOptionalParams, TableResourcesUpdateTableThroughputOptionalParams, TableResourcesGetTableThroughputOptionalParams } from "../../api/tableResources/options.js"; import type { ThroughputSettingsGetResults, ThroughputSettingsUpdateParameters, ContinuousBackupRestoreLocation, BackupInformation, TableGetResults, TableCreateUpdateParameters, TableRoleDefinitionResource, TableRoleAssignmentResource } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { SimplePollerLike } from "../../static-helpers/simplePollerHelpers.js"; import type { PollerLike, OperationState } from "@azure/core-lro"; /** Interface representing a TableResources operations. */ export interface TableResourcesOperations { /** Retrieves the list of all Azure Cosmos DB Table Role Assignments. */ listTableRoleAssignments: (resourceGroupName: string, accountName: string, options?: TableResourcesListTableRoleAssignmentsOptionalParams) => PagedAsyncIterableIterator; /** Deletes an existing Azure Cosmos DB Table Role Assignment. */ deleteTableRoleAssignment: (resourceGroupName: string, accountName: string, roleAssignmentId: string, options?: TableResourcesDeleteTableRoleAssignmentOptionalParams) => PollerLike, void>; /** @deprecated use deleteTableRoleAssignment instead */ beginDeleteTableRoleAssignment: (resourceGroupName: string, accountName: string, roleAssignmentId: string, options?: TableResourcesDeleteTableRoleAssignmentOptionalParams) => Promise, void>>; /** @deprecated use deleteTableRoleAssignment instead */ beginDeleteTableRoleAssignmentAndWait: (resourceGroupName: string, accountName: string, roleAssignmentId: string, options?: TableResourcesDeleteTableRoleAssignmentOptionalParams) => Promise; /** Creates or updates an Azure Cosmos DB Table Role Assignment. */ createUpdateTableRoleAssignment: (resourceGroupName: string, accountName: string, roleAssignmentId: string, createUpdateTableRoleAssignmentParameters: TableRoleAssignmentResource, options?: TableResourcesCreateUpdateTableRoleAssignmentOptionalParams) => PollerLike, TableRoleAssignmentResource>; /** @deprecated use createUpdateTableRoleAssignment instead */ beginCreateUpdateTableRoleAssignment: (resourceGroupName: string, accountName: string, roleAssignmentId: string, createUpdateTableRoleAssignmentParameters: TableRoleAssignmentResource, options?: TableResourcesCreateUpdateTableRoleAssignmentOptionalParams) => Promise, TableRoleAssignmentResource>>; /** @deprecated use createUpdateTableRoleAssignment instead */ beginCreateUpdateTableRoleAssignmentAndWait: (resourceGroupName: string, accountName: string, roleAssignmentId: string, createUpdateTableRoleAssignmentParameters: TableRoleAssignmentResource, options?: TableResourcesCreateUpdateTableRoleAssignmentOptionalParams) => Promise; /** Retrieves the properties of an existing Azure Cosmos DB Table Role Assignment with the given Id. */ getTableRoleAssignment: (resourceGroupName: string, accountName: string, roleAssignmentId: string, options?: TableResourcesGetTableRoleAssignmentOptionalParams) => Promise; /** Retrieves the list of all Azure Cosmos DB Table Role Definitions. */ listTableRoleDefinitions: (resourceGroupName: string, accountName: string, options?: TableResourcesListTableRoleDefinitionsOptionalParams) => PagedAsyncIterableIterator; /** Deletes an existing Azure Cosmos DB Table Role Definition. */ deleteTableRoleDefinition: (resourceGroupName: string, accountName: string, roleDefinitionId: string, options?: TableResourcesDeleteTableRoleDefinitionOptionalParams) => PollerLike, void>; /** @deprecated use deleteTableRoleDefinition instead */ beginDeleteTableRoleDefinition: (resourceGroupName: string, accountName: string, roleDefinitionId: string, options?: TableResourcesDeleteTableRoleDefinitionOptionalParams) => Promise, void>>; /** @deprecated use deleteTableRoleDefinition instead */ beginDeleteTableRoleDefinitionAndWait: (resourceGroupName: string, accountName: string, roleDefinitionId: string, options?: TableResourcesDeleteTableRoleDefinitionOptionalParams) => Promise; /** Creates or updates an Azure Cosmos DB Table Role Definition. */ createUpdateTableRoleDefinition: (resourceGroupName: string, accountName: string, roleDefinitionId: string, createUpdateTableRoleDefinitionParameters: TableRoleDefinitionResource, options?: TableResourcesCreateUpdateTableRoleDefinitionOptionalParams) => PollerLike, TableRoleDefinitionResource>; /** @deprecated use createUpdateTableRoleDefinition instead */ beginCreateUpdateTableRoleDefinition: (resourceGroupName: string, accountName: string, roleDefinitionId: string, createUpdateTableRoleDefinitionParameters: TableRoleDefinitionResource, options?: TableResourcesCreateUpdateTableRoleDefinitionOptionalParams) => Promise, TableRoleDefinitionResource>>; /** @deprecated use createUpdateTableRoleDefinition instead */ beginCreateUpdateTableRoleDefinitionAndWait: (resourceGroupName: string, accountName: string, roleDefinitionId: string, createUpdateTableRoleDefinitionParameters: TableRoleDefinitionResource, options?: TableResourcesCreateUpdateTableRoleDefinitionOptionalParams) => Promise; /** Retrieves the properties of an existing Azure Cosmos DB Table Role Definition with the given Id. */ getTableRoleDefinition: (resourceGroupName: string, accountName: string, roleDefinitionId: string, options?: TableResourcesGetTableRoleDefinitionOptionalParams) => Promise; /** Retrieves continuous backup information for a table. */ retrieveContinuousBackupInformation: (resourceGroupName: string, accountName: string, tableName: string, location: ContinuousBackupRestoreLocation, options?: TableResourcesRetrieveContinuousBackupInformationOptionalParams) => PollerLike, BackupInformation>; /** @deprecated use retrieveContinuousBackupInformation instead */ beginRetrieveContinuousBackupInformation: (resourceGroupName: string, accountName: string, tableName: string, location: ContinuousBackupRestoreLocation, options?: TableResourcesRetrieveContinuousBackupInformationOptionalParams) => Promise, BackupInformation>>; /** @deprecated use retrieveContinuousBackupInformation instead */ beginRetrieveContinuousBackupInformationAndWait: (resourceGroupName: string, accountName: string, tableName: string, location: ContinuousBackupRestoreLocation, options?: TableResourcesRetrieveContinuousBackupInformationOptionalParams) => Promise; /** Lists the Tables under an existing Azure Cosmos DB database account. */ listTables: (resourceGroupName: string, accountName: string, options?: TableResourcesListTablesOptionalParams) => PagedAsyncIterableIterator; /** Deletes an existing Azure Cosmos DB Table. */ deleteTable: (resourceGroupName: string, accountName: string, tableName: string, options?: TableResourcesDeleteTableOptionalParams) => PollerLike, void>; /** @deprecated use deleteTable instead */ beginDeleteTable: (resourceGroupName: string, accountName: string, tableName: string, options?: TableResourcesDeleteTableOptionalParams) => Promise, void>>; /** @deprecated use deleteTable instead */ beginDeleteTableAndWait: (resourceGroupName: string, accountName: string, tableName: string, options?: TableResourcesDeleteTableOptionalParams) => Promise; /** Create or update an Azure Cosmos DB Table */ createUpdateTable: (resourceGroupName: string, accountName: string, tableName: string, createUpdateTableParameters: TableCreateUpdateParameters, options?: TableResourcesCreateUpdateTableOptionalParams) => PollerLike, TableGetResults>; /** @deprecated use createUpdateTable instead */ beginCreateUpdateTable: (resourceGroupName: string, accountName: string, tableName: string, createUpdateTableParameters: TableCreateUpdateParameters, options?: TableResourcesCreateUpdateTableOptionalParams) => Promise, TableGetResults>>; /** @deprecated use createUpdateTable instead */ beginCreateUpdateTableAndWait: (resourceGroupName: string, accountName: string, tableName: string, createUpdateTableParameters: TableCreateUpdateParameters, options?: TableResourcesCreateUpdateTableOptionalParams) => Promise; /** Gets the Tables under an existing Azure Cosmos DB database account with the provided name. */ getTable: (resourceGroupName: string, accountName: string, tableName: string, options?: TableResourcesGetTableOptionalParams) => Promise; /** Migrate an Azure Cosmos DB Table from autoscale to manual throughput */ migrateTableToManualThroughput: (resourceGroupName: string, accountName: string, tableName: string, options?: TableResourcesMigrateTableToManualThroughputOptionalParams) => PollerLike, ThroughputSettingsGetResults>; /** @deprecated use migrateTableToManualThroughput instead */ beginMigrateTableToManualThroughput: (resourceGroupName: string, accountName: string, tableName: string, options?: TableResourcesMigrateTableToManualThroughputOptionalParams) => Promise, ThroughputSettingsGetResults>>; /** @deprecated use migrateTableToManualThroughput instead */ beginMigrateTableToManualThroughputAndWait: (resourceGroupName: string, accountName: string, tableName: string, options?: TableResourcesMigrateTableToManualThroughputOptionalParams) => Promise; /** Migrate an Azure Cosmos DB Table from manual throughput to autoscale */ migrateTableToAutoscale: (resourceGroupName: string, accountName: string, tableName: string, options?: TableResourcesMigrateTableToAutoscaleOptionalParams) => PollerLike, ThroughputSettingsGetResults>; /** @deprecated use migrateTableToAutoscale instead */ beginMigrateTableToAutoscale: (resourceGroupName: string, accountName: string, tableName: string, options?: TableResourcesMigrateTableToAutoscaleOptionalParams) => Promise, ThroughputSettingsGetResults>>; /** @deprecated use migrateTableToAutoscale instead */ beginMigrateTableToAutoscaleAndWait: (resourceGroupName: string, accountName: string, tableName: string, options?: TableResourcesMigrateTableToAutoscaleOptionalParams) => Promise; /** Update RUs per second of an Azure Cosmos DB Table */ updateTableThroughput: (resourceGroupName: string, accountName: string, tableName: string, updateThroughputParameters: ThroughputSettingsUpdateParameters, options?: TableResourcesUpdateTableThroughputOptionalParams) => PollerLike, ThroughputSettingsGetResults>; /** @deprecated use updateTableThroughput instead */ beginUpdateTableThroughput: (resourceGroupName: string, accountName: string, tableName: string, updateThroughputParameters: ThroughputSettingsUpdateParameters, options?: TableResourcesUpdateTableThroughputOptionalParams) => Promise, ThroughputSettingsGetResults>>; /** @deprecated use updateTableThroughput instead */ beginUpdateTableThroughputAndWait: (resourceGroupName: string, accountName: string, tableName: string, updateThroughputParameters: ThroughputSettingsUpdateParameters, options?: TableResourcesUpdateTableThroughputOptionalParams) => Promise; /** Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name. */ getTableThroughput: (resourceGroupName: string, accountName: string, tableName: string, options?: TableResourcesGetTableThroughputOptionalParams) => Promise; } export declare function _getTableResourcesOperations(context: CosmosDBManagementContext): TableResourcesOperations; //# sourceMappingURL=index.d.ts.map