Share via


CapabilityTypesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ChaosManagementClient's

<xref:capability_types> attribute.

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: str, target_type_name: str, capability_type_name: str, **kwargs: Any) -> CapabilityType

Parameters

Name Description
location
Required
str

The name of the Azure region. Required.

target_type_name
Required
str

String that represents a Target Type resource name. Required.

capability_type_name
Required
str

String that represents a Capability Type resource name. Required.

Returns

Type Description

CapabilityType or the result of cls(response)

Exceptions

Type Description

list

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

list(location: str, target_type_name: str, continuation_token_parameter: str | None = None, **kwargs: Any) -> ItemPaged[CapabilityType]

Parameters

Name Description
location
Required
str

The name of the Azure region. Required.

target_type_name
Required
str

String that represents a Target Type resource name. Required.

continuation_token_parameter
str

String that sets the continuation token. Default value is None.

Default value: None

Returns

Type Description

An iterator like instance of either CapabilityType or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.chaos.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv84\\Lib\\site-packages\\azure\\mgmt\\chaos\\models\\__init__.py'>