TableServicesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

StorageManagementClient's

<xref:table_services> attribute.

Inheritance
builtins.object
TableServicesOperations

Constructor

TableServicesOperations(*args, **kwargs)

Methods

get_service_properties

Gets the properties of a storage account's Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.

list

List all table services for the storage account.

set_service_properties

Sets the properties of a storage account's Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.

get_service_properties

Gets the properties of a storage account's Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.

get_service_properties(resource_group_name: str, account_name: str, **kwargs: Any) -> TableServiceProperties

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the user's subscription. The name is case insensitive. Required.

account_name
Required
str

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. Required.

Returns

Type Description

TableServiceProperties or the result of cls(response)

Exceptions

Type Description

list

List all table services for the storage account.

list(resource_group_name: str, account_name: str, **kwargs: Any) -> ListTableServices

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the user's subscription. The name is case insensitive. Required.

account_name
Required
str

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. Required.

Returns

Type Description

ListTableServices or the result of cls(response)

Exceptions

Type Description

set_service_properties

Sets the properties of a storage account's Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.

set_service_properties(resource_group_name: str, account_name: str, parameters: _models.TableServiceProperties, *, content_type: str = 'application/json', **kwargs: Any) -> _models.TableServiceProperties

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group within the user's subscription. The name is case insensitive. Required.

account_name
Required
str

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. Required.

parameters
Required

The properties of a storage account's Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified. Is either a TableServiceProperties type or a IO[bytes] type. Required.

Returns

Type Description

TableServiceProperties or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.storage.v2021_08_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\storage\\v2021_08_01\\models\\__init__.py'>