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