Experiment Class

Model that represents a Experiment resource.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.chaos.models._models_py3.TrackedResource
Experiment

Constructor

Experiment(*, location: str, steps: List[_models.Step], selectors: List[_models.Selector], tags: Dict[str, str] | None = None, identity: _models.ResourceIdentity | None = None, start_on_creation: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Resource tags.

location
str

The geo-location where the resource lives. Required.

identity

The identity of the experiment resource.

steps

List of steps. Required.

selectors

List of selectors. Required.

start_on_creation

A boolean value that indicates if experiment should be started on creation or not.

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

tags

Resource tags.

location
str

The geo-location where the resource lives. Required.

system_data

The system metadata of the experiment resource.

identity

The identity of the experiment resource.

steps

List of steps. Required.

selectors

List of selectors. Required.

start_on_creation

A boolean value that indicates if experiment should be started on creation or not.