TableOperations Class
TableOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectTableOperations
Constructor
TableOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| create |
Creates a new table with the specified table name, under the specified account. |
| delete |
Deletes the table with the specified table name, under the specified account if it exists. |
| get |
Gets the table with the specified table name, under the specified account if it exists. |
| list |
Gets a list of all the tables under the specified storage account. |
| update |
Creates a new table with the specified table name, under the specified account. |
create
Creates a new table with the specified table name, under the specified account.
create(resource_group_name: str, account_name: str, table_name: str, **kwargs: Any) -> azure.mgmt.storage.v2021_06_01.models._models_py3.Table
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- account_name
- 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.
- table_name
- str
A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Table, or the result of cls(response)
Return type
Exceptions
delete
Deletes the table with the specified table name, under the specified account if it exists.
delete(resource_group_name: str, account_name: str, table_name: str, **kwargs: Any) -> None
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- account_name
- 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.
- table_name
- str
A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
get
Gets the table with the specified table name, under the specified account if it exists.
get(resource_group_name: str, account_name: str, table_name: str, **kwargs: Any) -> azure.mgmt.storage.v2021_06_01.models._models_py3.Table
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- account_name
- 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.
- table_name
- str
A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Table, or the result of cls(response)
Return type
Exceptions
list
Gets a list of all the tables under the specified storage account.
list(resource_group_name: str, account_name: str, **kwargs: Any) -> Iterable[azure.mgmt.storage.v2021_06_01.models._models_py3.ListTableResource]
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- account_name
- 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.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ListTableResource or the result of cls(response)
Return type
Exceptions
update
Creates a new table with the specified table name, under the specified account.
update(resource_group_name: str, account_name: str, table_name: str, **kwargs: Any) -> azure.mgmt.storage.v2021_06_01.models._models_py3.Table
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- account_name
- 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.
- table_name
- str
A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Table, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.storage.v2021_06_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\storage\\v2021_06_01\\models\\__init__.py'>
Feedback
Submit and view feedback for