TriggersOperations Class
TriggersOperations 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.objectTriggersOperations
Constructor
TriggersOperations(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_create |
This method creates a trigger for a share subscription. Create a Trigger. |
| begin_delete |
Delete Trigger in a shareSubscription. Delete a Trigger in a shareSubscription. |
| get |
Get Trigger in a shareSubscription. Get a Trigger in a shareSubscription. |
| list_by_share_subscription |
List Triggers in a share subscription. List Triggers in a share subscription. |
begin_create
This method creates a trigger for a share subscription.
Create a Trigger.
async begin_create(resource_group_name: str, account_name: str, share_subscription_name: str, trigger_name: str, trigger: azure.mgmt.datashare.models._models_py3.Trigger, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.datashare.models._models_py3.Trigger]
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
- 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 Trigger or the result of cls(response)
Return type
Exceptions
begin_delete
Delete Trigger in a shareSubscription.
Delete a Trigger in a shareSubscription.
async begin_delete(resource_group_name: str, account_name: str, share_subscription_name: str, trigger_name: str, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[azure.mgmt.datashare.models._models_py3.OperationResponse]
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 OperationResponse or the result of cls(response)
Return type
Exceptions
get
Get Trigger in a shareSubscription.
Get a Trigger in a shareSubscription.
async get(resource_group_name: str, account_name: str, share_subscription_name: str, trigger_name: str, **kwargs) -> azure.mgmt.datashare.models._models_py3.Trigger
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Trigger, or the result of cls(response)
Return type
Exceptions
list_by_share_subscription
List Triggers in a share subscription.
List Triggers in a share subscription.
list_by_share_subscription(resource_group_name: str, account_name: str, share_subscription_name: str, skip_token: Optional[str] = None, **kwargs) -> AsyncIterable[azure.mgmt.datashare.models._models_py3.TriggerList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either TriggerList 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