DataSetsOperations Class
DataSetsOperations async 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.objectDataSetsOperations
Constructor
DataSetsOperations(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
| begin_delete |
Delete DataSet in a share. Delete a DataSet in a share. |
| create |
Adds a new data set to an existing share. Create a DataSet. |
| get |
Get DataSet in a share. Get a DataSet in a share. |
| list_by_share |
List DataSets in a share. List DataSets in a share. |
begin_delete
Delete DataSet in a share.
Delete a DataSet in a share.
async begin_delete(resource_group_name: str, account_name: str, share_name: str, data_set_name: str, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[None]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or AsyncPollingMethod
Pass in True if you'd like the AsyncARMPolling polling method, False for no polling, or your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either None or the result of cls(response)
Return type
Exceptions
create
Adds a new data set to an existing share.
Create a DataSet.
async create(resource_group_name: str, account_name: str, share_name: str, data_set_name: str, data_set: azure.mgmt.datashare.models._models_py3.DataSet, **kwargs) -> azure.mgmt.datashare.models._models_py3.DataSet
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DataSet, or the result of cls(response)
Return type
Exceptions
get
Get DataSet in a share.
Get a DataSet in a share.
async get(resource_group_name: str, account_name: str, share_name: str, data_set_name: str, **kwargs) -> azure.mgmt.datashare.models._models_py3.DataSet
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
DataSet, or the result of cls(response)
Return type
Exceptions
list_by_share
List DataSets in a share.
List DataSets in a share.
list_by_share(resource_group_name: str, account_name: str, share_name: str, skip_token: Optional[str] = None, filter: Optional[str] = None, orderby: Optional[str] = None, **kwargs) -> AsyncIterable[azure.mgmt.datashare.models._models_py3.DataSetList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either DataSetList or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.datashare.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\datashare\\models\\__init__.py'>
Feedback
Submit and view feedback for