DataSetMappingsOperations Class

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

Constructor

DataSetMappingsOperations(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

create

Maps a source data set in the source share to a sink data set in the share subscription. Enables copying the data set from source to destination.

Create a DataSetMapping.

delete

Delete DataSetMapping in a shareSubscription.

Delete a DataSetMapping in a shareSubscription.

get

Get DataSetMapping in a shareSubscription.

Get a DataSetMapping in a shareSubscription.

list_by_share_subscription

List DataSetMappings in a share subscription.

List DataSetMappings in a share subscription.

create

Maps a source data set in the source share to a sink data set in the share subscription. Enables copying the data set from source to destination.

Create a DataSetMapping.

async create(resource_group_name: str, account_name: str, share_subscription_name: str, data_set_mapping_name: str, data_set_mapping: azure.mgmt.datashare.models._models_py3.DataSetMapping, **kwargs) -> azure.mgmt.datashare.models._models_py3.DataSetMapping

Parameters

resource_group_name
str
Required

The resource group name.

account_name
str
Required

The name of the share account.

share_subscription_name
str
Required

The name of the share subscription which will hold the data set sink.

data_set_mapping_name
str
Required

The name of the data set mapping to be created.

data_set_mapping
DataSetMapping
Required

Destination data set configuration details.

cls
callable

A custom type or function that will be passed the direct response

Returns

DataSetMapping, or the result of cls(response)

Return type

Exceptions

delete

Delete DataSetMapping in a shareSubscription.

Delete a DataSetMapping in a shareSubscription.

async delete(resource_group_name: str, account_name: str, share_subscription_name: str, data_set_mapping_name: str, **kwargs) -> None

Parameters

resource_group_name
str
Required

The resource group name.

account_name
str
Required

The name of the share account.

share_subscription_name
str
Required

The name of the shareSubscription.

data_set_mapping_name
str
Required

The name of the dataSetMapping.

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

Get DataSetMapping in a shareSubscription.

Get a DataSetMapping in a shareSubscription.

async get(resource_group_name: str, account_name: str, share_subscription_name: str, data_set_mapping_name: str, **kwargs) -> azure.mgmt.datashare.models._models_py3.DataSetMapping

Parameters

resource_group_name
str
Required

The resource group name.

account_name
str
Required

The name of the share account.

share_subscription_name
str
Required

The name of the shareSubscription.

data_set_mapping_name
str
Required

The name of the dataSetMapping.

cls
callable

A custom type or function that will be passed the direct response

Returns

DataSetMapping, or the result of cls(response)

Return type

Exceptions

list_by_share_subscription

List DataSetMappings in a share subscription.

List DataSetMappings in a share subscription.

list_by_share_subscription(resource_group_name: str, account_name: str, share_subscription_name: str, skip_token: Optional[str] = None, filter: Optional[str] = None, orderby: Optional[str] = None, **kwargs) -> AsyncIterable[azure.mgmt.datashare.models._models_py3.DataSetMappingList]

Parameters

resource_group_name
str
Required

The resource group name.

account_name
str
Required

The name of the share account.

share_subscription_name
str
Required

The name of the share subscription.

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