TargetsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:targets> attribute.
- Inheritance
-
builtins.objectTargetsOperations
Constructor
TargetsOperations(*args, **kwargs)
Methods
| create_or_update |
Create or update a Target resource that extends a tracked regional resource. |
| delete |
Delete a Target resource that extends a tracked regional resource. |
| get |
Get a Target resource that extends a tracked regional resource. |
| list |
Get a list of Target resources that extend a tracked regional resource. |
create_or_update
Create or update a Target resource that extends a tracked regional resource.
async create_or_update(resource_group_name: str, parent_provider_namespace: str, parent_resource_type: str, parent_resource_name: str, target_name: str, target: azure.mgmt.chaos.models._models_py3.Target, **kwargs: Any) -> azure.mgmt.chaos.models._models_py3.Target
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Target, or the result of cls(response)
Return type
Exceptions
delete
Delete a Target resource that extends a tracked regional resource.
async delete(resource_group_name: str, parent_provider_namespace: str, parent_resource_type: str, parent_resource_name: str, target_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 Target resource that extends a tracked regional resource.
async get(resource_group_name: str, parent_provider_namespace: str, parent_resource_type: str, parent_resource_name: str, target_name: str, **kwargs: Any) -> azure.mgmt.chaos.models._models_py3.Target
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Target, or the result of cls(response)
Return type
Exceptions
list
Get a list of Target resources that extend a tracked regional resource.
list(resource_group_name: str, parent_provider_namespace: str, parent_resource_type: str, parent_resource_name: str, continuation_token_parameter: Optional[str] = None, **kwargs: Any) -> AsyncIterable[azure.mgmt.chaos.models._models_py3.TargetListResult]
Parameters
- 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 TargetListResult 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