@azure/data-tables
Version:
An isomorphic client library for the Azure Tables service.
32 lines • 1.84 kB
TypeScript
import { Service } from "../operationsInterfaces/index.js";
import { GeneratedClient } from "../generatedClient.js";
import { TableServiceProperties, ServiceSetPropertiesOptionalParams, ServiceSetPropertiesResponse, ServiceGetPropertiesOptionalParams, ServiceGetPropertiesResponse, ServiceGetStatisticsOptionalParams, ServiceGetStatisticsResponse } from "../models/index.js";
/** Class containing Service operations. */
export declare class ServiceImpl implements Service {
private readonly client;
/**
* Initialize a new instance of the class Service class.
* @param client Reference to the service client
*/
constructor(client: GeneratedClient);
/**
* Sets properties for an account's Table service endpoint, including properties for Analytics and CORS
* (Cross-Origin Resource Sharing) rules.
* @param tableServiceProperties The Table Service properties.
* @param options The options parameters.
*/
setProperties(tableServiceProperties: TableServiceProperties, options?: ServiceSetPropertiesOptionalParams): Promise<ServiceSetPropertiesResponse>;
/**
* Gets the properties of an account's Table service, including properties for Analytics and CORS
* (Cross-Origin Resource Sharing) rules.
* @param options The options parameters.
*/
getProperties(options?: ServiceGetPropertiesOptionalParams): Promise<ServiceGetPropertiesResponse>;
/**
* Retrieves statistics related to replication for the Table service. It is only available on the
* secondary location endpoint when read-access geo-redundant replication is enabled for the account.
* @param options The options parameters.
*/
getStatistics(options?: ServiceGetStatisticsOptionalParams): Promise<ServiceGetStatisticsResponse>;
}
//# sourceMappingURL=service.d.ts.map