TargetTypesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ChaosManagementClient's

<xref:target_types> attribute.

Inheritance
builtins.object
TargetTypesOperations

Constructor

TargetTypesOperations(*args, **kwargs)

Methods

get

Get a Target Type resources for given location.

list

Get a list of Target Type resources for given location.

get

Get a Target Type resources for given location.

async get(location_name: str, target_type_name: str, **kwargs: Any) -> TargetType

Parameters

Name Description
location_name
Required
str

String that represents a Location resource name. Required.

target_type_name
Required
str

String that represents a Target Type resource name. Required.

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

TargetType or the result of cls(response)

Exceptions

Type Description

list

Get a list of Target Type resources for given location.

list(location_name: str, continuation_token_parameter: str | None = None, **kwargs: Any) -> AsyncIterable[TargetType]

Parameters

Name Description
location_name
Required
str

String that represents a Location resource name. Required.

continuation_token_parameter
Required
str

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

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.chaos.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\chaos\\models\\__init__.py'>