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.object
DataSetsOperations

Constructor

DataSetsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

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

resource_group_name
str
Required

The resource group name.

account_name
str
Required

The name of the share account.

share_name
str
Required

The name of the share.

data_set_name
str
Required

The name of the dataSet.

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

resource_group_name
str
Required

The resource group name.

account_name
str
Required

The name of the share account.

share_name
str
Required

The name of the share to add the data set to.

data_set_name
str
Required

The name of the dataSet.

data_set
DataSet
Required

The new data set information.

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

resource_group_name
str
Required

The resource group name.

account_name
str
Required

The name of the share account.

share_name
str
Required

The name of the share.

data_set_name
str
Required

The name of the dataSet.

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

resource_group_name
str
Required

The resource group name.

account_name
str
Required

The name of the share account.

share_name
str
Required

The name of the share.

skip_token
str
default value: None

continuation token.

filter
str
default value: None

Filters the results using OData syntax.

orderby
str
default value: None

Sorts the results using OData syntax.

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'>