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.objectDataSetMappingsOperations
Constructor
DataSetMappingsOperations(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 |
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
- share_subscription_name
- str
The name of the share subscription which will hold the data set sink.
- 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
- 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
- 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
- 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'>
Feedback
Submit and view feedback for