CapabilityTypesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ChaosManagementClient's

<xref:capability_types> attribute.

Inheritance
builtins.object
CapabilityTypesOperations

Constructor

CapabilityTypesOperations(*args, **kwargs)

Methods

get

Get a Capability Type resource for given Target Type and location.

list

Get a list of Capability Type resources for given Target Type and location.

get

Get a Capability Type resource for given Target Type and location.

get(location_name: str, target_type_name: str, capability_type_name: str, **kwargs: Any) -> azure.mgmt.chaos.models._models_py3.CapabilityType

Parameters

location_name
str
Required

String that represents a Location resource name.

target_type_name
str
Required

String that represents a Target Type resource name.

capability_type_name
str
Required

String that represents a Capability Type resource name.

cls
callable

A custom type or function that will be passed the direct response

Returns

CapabilityType, or the result of cls(response)

Return type

Exceptions

list

Get a list of Capability Type resources for given Target Type and location.

list(location_name: str, target_type_name: str, continuation_token_parameter: Optional[str] = None, **kwargs: Any) -> Iterable[azure.mgmt.chaos.models._models_py3.CapabilityTypeListResult]

Parameters

location_name
str
Required

String that represents a Location resource name.

target_type_name
str
Required

String that represents a Target Type resource name.

continuation_token_parameter
str
Required

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 CapabilityTypeListResult 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'>