ExperimentsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:experiments> attribute.
- Inheritance
-
builtins.objectExperimentsOperations
Constructor
ExperimentsOperations(*args, **kwargs)
Methods
| cancel |
Cancel a running Experiment resource. |
| create_or_update |
Create or update a Experiment resource. |
| delete |
Delete a Experiment resource. |
| get |
Get a Experiment resource. |
| get_execution_details |
Get an execution detail of a Experiment resource. |
| get_status |
Get a status of a Experiment resource. |
| list |
Get a list of Experiment resources in a resource group. |
| list_all |
Get a list of Experiment resources in a subscription. |
| list_all_statuses |
Get a list of statuses of a Experiment resource. |
| list_execution_details |
Get a list of execution details of a Experiment resource. |
| start |
Start a Experiment resource. |
cancel
Cancel a running Experiment resource.
cancel(resource_group_name: str, experiment_name: str, **kwargs: Any) -> azure.mgmt.chaos.models._models_py3.ExperimentCancelOperationResult
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ExperimentCancelOperationResult, or the result of cls(response)
Return type
Exceptions
create_or_update
Create or update a Experiment resource.
create_or_update(resource_group_name: str, experiment_name: str, experiment: azure.mgmt.chaos.models._models_py3.Experiment, **kwargs: Any) -> azure.mgmt.chaos.models._models_py3.Experiment
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Experiment, or the result of cls(response)
Return type
Exceptions
delete
Delete a Experiment resource.
delete(resource_group_name: str, experiment_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
Get a Experiment resource.
get(resource_group_name: str, experiment_name: str, **kwargs: Any) -> azure.mgmt.chaos.models._models_py3.Experiment
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Experiment, or the result of cls(response)
Return type
Exceptions
get_execution_details
Get an execution detail of a Experiment resource.
get_execution_details(resource_group_name: str, experiment_name: str, execution_details_id: str, **kwargs: Any) -> azure.mgmt.chaos.models._models_py3.ExperimentExecutionDetails
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ExperimentExecutionDetails, or the result of cls(response)
Return type
Exceptions
get_status
Get a status of a Experiment resource.
get_status(resource_group_name: str, experiment_name: str, status_id: str, **kwargs: Any) -> azure.mgmt.chaos.models._models_py3.ExperimentStatus
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ExperimentStatus, or the result of cls(response)
Return type
Exceptions
list
Get a list of Experiment resources in a resource group.
list(resource_group_name: str, running: Optional[bool] = None, continuation_token_parameter: Optional[str] = None, **kwargs: Any) -> Iterable[azure.mgmt.chaos.models._models_py3.ExperimentListResult]
Parameters
- running
- bool
Optional value that indicates whether to filter results based on if the Experiment is currently running. If null, then the results will not be filtered. Default value is None.
- continuation_token_parameter
- str
String that sets the continuation token. Default value is None.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ExperimentListResult or the result of cls(response)
Return type
Exceptions
list_all
Get a list of Experiment resources in a subscription.
list_all(running: Optional[bool] = None, continuation_token_parameter: Optional[str] = None, **kwargs: Any) -> Iterable[azure.mgmt.chaos.models._models_py3.ExperimentListResult]
Parameters
- running
- bool
Optional value that indicates whether to filter results based on if the Experiment is currently running. If null, then the results will not be filtered. Default value is None.
- continuation_token_parameter
- str
String that sets the continuation token. Default value is None.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ExperimentListResult or the result of cls(response)
Return type
Exceptions
list_all_statuses
Get a list of statuses of a Experiment resource.
list_all_statuses(resource_group_name: str, experiment_name: str, **kwargs: Any) -> Iterable[azure.mgmt.chaos.models._models_py3.ExperimentStatusListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ExperimentStatusListResult or the result of cls(response)
Return type
Exceptions
list_execution_details
Get a list of execution details of a Experiment resource.
list_execution_details(resource_group_name: str, experiment_name: str, **kwargs: Any) -> Iterable[azure.mgmt.chaos.models._models_py3.ExperimentExecutionDetailsListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either ExperimentExecutionDetailsListResult or the result of cls(response)
Return type
Exceptions
start
Start a Experiment resource.
start(resource_group_name: str, experiment_name: str, **kwargs: Any) -> azure.mgmt.chaos.models._models_py3.ExperimentStartOperationResult
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ExperimentStartOperationResult, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.chaos.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\chaos\\models\\__init__.py'>
Feedback
Submit and view feedback for