TableServices interface
Interface representing a TableServices.
Methods
get |
Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. |
list(string, string, Table |
List all table services for the storage account. |
set |
Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. |
Method Details
getServiceProperties(string, string, TableServicesGetServicePropertiesOptionalParams)
Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
function getServiceProperties(resourceGroupName: string, accountName: string, options?: TableServicesGetServicePropertiesOptionalParams): Promise<TableServiceProperties>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- accountName
-
string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
The options parameters.
Returns
Promise<TableServiceProperties>
list(string, string, TableServicesListOptionalParams)
List all table services for the storage account.
function list(resourceGroupName: string, accountName: string, options?: TableServicesListOptionalParams): Promise<ListTableServices>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- accountName
-
string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- options
- TableServicesListOptionalParams
The options parameters.
Returns
Promise<ListTableServices>
setServiceProperties(string, string, TableServiceProperties, TableServicesSetServicePropertiesOptionalParams)
Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
function setServiceProperties(resourceGroupName: string, accountName: string, parameters: TableServiceProperties, options?: TableServicesSetServicePropertiesOptionalParams): Promise<TableServiceProperties>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- accountName
-
string
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- parameters
- TableServiceProperties
The properties of a storage account’s Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.
The options parameters.
Returns
Promise<TableServiceProperties>