ScriptActionsOperations Class
ScriptActionsOperations 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.objectScriptActionsOperations
Constructor
ScriptActionsOperations(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
| delete |
Deletes a specified persisted script action of the cluster. |
| get_execution_async_operation_status |
Gets the async operation status of execution operation. |
| get_execution_detail |
Gets the script execution detail for the given script execution ID. |
| list_by_cluster |
Lists all the persisted script actions for the specified cluster. |
delete
Deletes a specified persisted script action of the cluster.
async delete(resource_group_name: str, cluster_name: str, script_name: str, **kwargs: Any) -> 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_execution_async_operation_status
Gets the async operation status of execution operation.
async get_execution_async_operation_status(resource_group_name: str, cluster_name: str, operation_id: str, **kwargs: Any) -> azure.mgmt.hdinsight.models._models_py3.AsyncOperationResult
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AsyncOperationResult, or the result of cls(response)
Return type
Exceptions
get_execution_detail
Gets the script execution detail for the given script execution ID.
async get_execution_detail(resource_group_name: str, cluster_name: str, script_execution_id: str, **kwargs: Any) -> azure.mgmt.hdinsight.models._models_py3.RuntimeScriptActionDetail
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
RuntimeScriptActionDetail, or the result of cls(response)
Return type
Exceptions
list_by_cluster
Lists all the persisted script actions for the specified cluster.
list_by_cluster(resource_group_name: str, cluster_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.hdinsight.models._models_py3.ScriptActionsList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ScriptActionsList or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.hdinsight.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\hdinsight\\models\\__init__.py'>
Feedback
Submit and view feedback for