Azure Native

Pulumi Official
Package maintained by Pulumi
v1.68.2 published on Tuesday, Aug 16, 2022 by Pulumi

Experiment

Model that represents a Experiment resource. API Version: 2021-09-15-preview.

Create a Experiment Resource

new Experiment(name: string, args: ExperimentArgs, opts?: CustomResourceOptions);
@overload
def Experiment(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               experiment_name: Optional[str] = None,
               identity: Optional[ResourceIdentityArgs] = None,
               location: Optional[str] = None,
               properties: Optional[ExperimentPropertiesArgs] = None,
               resource_group_name: Optional[str] = None,
               tags: Optional[Mapping[str, str]] = None)
@overload
def Experiment(resource_name: str,
               args: ExperimentArgs,
               opts: Optional[ResourceOptions] = None)
func NewExperiment(ctx *Context, name string, args ExperimentArgs, opts ...ResourceOption) (*Experiment, error)
public Experiment(string name, ExperimentArgs args, CustomResourceOptions? opts = null)
public Experiment(String name, ExperimentArgs args)
public Experiment(String name, ExperimentArgs args, CustomResourceOptions options)
type: azure-native:chaos:Experiment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ExperimentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ExperimentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ExperimentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ExperimentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ExperimentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Experiment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Experiment resource accepts the following input properties:

Properties Pulumi.AzureNative.Chaos.Inputs.ExperimentPropertiesArgs

The properties of the experiment resource.

ResourceGroupName string

String that represents an Azure resource group.

ExperimentName string

String that represents a Experiment resource name.

Identity Pulumi.AzureNative.Chaos.Inputs.ResourceIdentityArgs

The identity of the experiment resource.

Location string

The geo-location where the resource lives

Tags Dictionary<string, string>

Resource tags.

Properties ExperimentPropertiesArgs

The properties of the experiment resource.

ResourceGroupName string

String that represents an Azure resource group.

ExperimentName string

String that represents a Experiment resource name.

Identity ResourceIdentityArgs

The identity of the experiment resource.

Location string

The geo-location where the resource lives

Tags map[string]string

Resource tags.

properties ExperimentPropertiesArgs

The properties of the experiment resource.

resourceGroupName String

String that represents an Azure resource group.

experimentName String

String that represents a Experiment resource name.

identity ResourceIdentityArgs

The identity of the experiment resource.

location String

The geo-location where the resource lives

tags Map<String,String>

Resource tags.

properties ExperimentPropertiesArgs

The properties of the experiment resource.

resourceGroupName string

String that represents an Azure resource group.

experimentName string

String that represents a Experiment resource name.

identity ResourceIdentityArgs

The identity of the experiment resource.

location string

The geo-location where the resource lives

tags {[key: string]: string}

Resource tags.

properties ExperimentPropertiesArgs

The properties of the experiment resource.

resource_group_name str

String that represents an Azure resource group.

experiment_name str

String that represents a Experiment resource name.

identity ResourceIdentityArgs

The identity of the experiment resource.

location str

The geo-location where the resource lives

tags Mapping[str, str]

Resource tags.

properties Property Map

The properties of the experiment resource.

resourceGroupName String

String that represents an Azure resource group.

experimentName String

String that represents a Experiment resource name.

identity Property Map

The identity of the experiment resource.

location String

The geo-location where the resource lives

tags Map<String>

Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the Experiment resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

SystemData Pulumi.AzureNative.Chaos.Outputs.SystemDataResponse

The system metadata of the experiment resource.

Type string

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

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

SystemData SystemDataResponse

The system metadata of the experiment resource.

Type string

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

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

systemData SystemDataResponse

The system metadata of the experiment resource.

type String

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

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the resource

systemData SystemDataResponse

The system metadata of the experiment resource.

type string

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

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the resource

system_data SystemDataResponse

The system metadata of the experiment resource.

type str

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

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

systemData Property Map

The system metadata of the experiment resource.

type String

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

Supporting Types

Branch

Actions List<object>

List of actions.

Name string

String of the branch name.

Actions []interface{}

List of actions.

Name string

String of the branch name.

actions List<Object>

List of actions.

name String

String of the branch name.

actions (ContinuousAction | DelayAction | DiscreteAction)[]

List of actions.

name string

String of the branch name.

actions Sequence[Union[ContinuousAction, DelayAction, DiscreteAction]]

List of actions.

name str

String of the branch name.

actions List<Property Map | Property Map | Property Map>

List of actions.

name String

String of the branch name.

BranchResponse

Actions List<object>

List of actions.

Name string

String of the branch name.

Actions []interface{}

List of actions.

Name string

String of the branch name.

actions List<Object>

List of actions.

name String

String of the branch name.

actions (ContinuousActionResponse | DelayActionResponse | DiscreteActionResponse)[]

List of actions.

name string

String of the branch name.

actions Sequence[Union[ContinuousActionResponse, DelayActionResponse, DiscreteActionResponse]]

List of actions.

name str

String of the branch name.

actions List<Property Map | Property Map | Property Map>

List of actions.

name String

String of the branch name.

ContinuousAction

Duration string

ISO8601 formatted string that represents a duration.

Name string

String that represents a Capability URN.

Parameters List<Pulumi.AzureNative.Chaos.Inputs.KeyValuePair>

List of key value pairs.

SelectorId string

String that represents a selector.

Duration string

ISO8601 formatted string that represents a duration.

Name string

String that represents a Capability URN.

Parameters []KeyValuePair

List of key value pairs.

SelectorId string

String that represents a selector.

duration String

ISO8601 formatted string that represents a duration.

name String

String that represents a Capability URN.

parameters List<KeyValuePair>

List of key value pairs.

selectorId String

String that represents a selector.

duration string

ISO8601 formatted string that represents a duration.

name string

String that represents a Capability URN.

parameters KeyValuePair[]

List of key value pairs.

selectorId string

String that represents a selector.

duration str

ISO8601 formatted string that represents a duration.

name str

String that represents a Capability URN.

parameters Sequence[KeyValuePair]

List of key value pairs.

selector_id str

String that represents a selector.

duration String

ISO8601 formatted string that represents a duration.

name String

String that represents a Capability URN.

parameters List<Property Map>

List of key value pairs.

selectorId String

String that represents a selector.

ContinuousActionResponse

Duration string

ISO8601 formatted string that represents a duration.

Name string

String that represents a Capability URN.

Parameters List<Pulumi.AzureNative.Chaos.Inputs.KeyValuePairResponse>

List of key value pairs.

SelectorId string

String that represents a selector.

Duration string

ISO8601 formatted string that represents a duration.

Name string

String that represents a Capability URN.

Parameters []KeyValuePairResponse

List of key value pairs.

SelectorId string

String that represents a selector.

duration String

ISO8601 formatted string that represents a duration.

name String

String that represents a Capability URN.

parameters List<KeyValuePairResponse>

List of key value pairs.

selectorId String

String that represents a selector.

duration string

ISO8601 formatted string that represents a duration.

name string

String that represents a Capability URN.

parameters KeyValuePairResponse[]

List of key value pairs.

selectorId string

String that represents a selector.

duration str

ISO8601 formatted string that represents a duration.

name str

String that represents a Capability URN.

parameters Sequence[KeyValuePairResponse]

List of key value pairs.

selector_id str

String that represents a selector.

duration String

ISO8601 formatted string that represents a duration.

name String

String that represents a Capability URN.

parameters List<Property Map>

List of key value pairs.

selectorId String

String that represents a selector.

DelayAction

Duration string

ISO8601 formatted string that represents a duration.

Name string

String that represents a Capability URN.

Duration string

ISO8601 formatted string that represents a duration.

Name string

String that represents a Capability URN.

duration String

ISO8601 formatted string that represents a duration.

name String

String that represents a Capability URN.

duration string

ISO8601 formatted string that represents a duration.

name string

String that represents a Capability URN.

duration str

ISO8601 formatted string that represents a duration.

name str

String that represents a Capability URN.

duration String

ISO8601 formatted string that represents a duration.

name String

String that represents a Capability URN.

DelayActionResponse

Duration string

ISO8601 formatted string that represents a duration.

Name string

String that represents a Capability URN.

Duration string

ISO8601 formatted string that represents a duration.

Name string

String that represents a Capability URN.

duration String

ISO8601 formatted string that represents a duration.

name String

String that represents a Capability URN.

duration string

ISO8601 formatted string that represents a duration.

name string

String that represents a Capability URN.

duration str

ISO8601 formatted string that represents a duration.

name str

String that represents a Capability URN.

duration String

ISO8601 formatted string that represents a duration.

name String

String that represents a Capability URN.

DiscreteAction

Name string

String that represents a Capability URN.

Parameters List<Pulumi.AzureNative.Chaos.Inputs.KeyValuePair>

List of key value pairs.

SelectorId string

String that represents a selector.

Name string

String that represents a Capability URN.

Parameters []KeyValuePair

List of key value pairs.

SelectorId string

String that represents a selector.

name String

String that represents a Capability URN.

parameters List<KeyValuePair>

List of key value pairs.

selectorId String

String that represents a selector.

name string

String that represents a Capability URN.

parameters KeyValuePair[]

List of key value pairs.

selectorId string

String that represents a selector.

name str

String that represents a Capability URN.

parameters Sequence[KeyValuePair]

List of key value pairs.

selector_id str

String that represents a selector.

name String

String that represents a Capability URN.

parameters List<Property Map>

List of key value pairs.

selectorId String

String that represents a selector.

DiscreteActionResponse

Name string

String that represents a Capability URN.

Parameters List<Pulumi.AzureNative.Chaos.Inputs.KeyValuePairResponse>

List of key value pairs.

SelectorId string

String that represents a selector.

Name string

String that represents a Capability URN.

Parameters []KeyValuePairResponse

List of key value pairs.

SelectorId string

String that represents a selector.

name String

String that represents a Capability URN.

parameters List<KeyValuePairResponse>

List of key value pairs.

selectorId String

String that represents a selector.

name string

String that represents a Capability URN.

parameters KeyValuePairResponse[]

List of key value pairs.

selectorId string

String that represents a selector.

name str

String that represents a Capability URN.

parameters Sequence[KeyValuePairResponse]

List of key value pairs.

selector_id str

String that represents a selector.

name String

String that represents a Capability URN.

parameters List<Property Map>

List of key value pairs.

selectorId String

String that represents a selector.

ExperimentProperties

Selectors List<Pulumi.AzureNative.Chaos.Inputs.Selector>

List of selectors.

Steps List<Pulumi.AzureNative.Chaos.Inputs.Step>

List of steps.

StartOnCreation bool

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

Selectors []Selector

List of selectors.

Steps []Step

List of steps.

StartOnCreation bool

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

selectors List<Selector>

List of selectors.

steps List<Step>

List of steps.

startOnCreation Boolean

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

selectors Selector[]

List of selectors.

steps Step[]

List of steps.

startOnCreation boolean

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

selectors Sequence[Selector]

List of selectors.

steps Sequence[Step]

List of steps.

start_on_creation bool

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

selectors List<Property Map>

List of selectors.

steps List<Property Map>

List of steps.

startOnCreation Boolean

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

ExperimentPropertiesResponse

Selectors List<Pulumi.AzureNative.Chaos.Inputs.SelectorResponse>

List of selectors.

Steps List<Pulumi.AzureNative.Chaos.Inputs.StepResponse>

List of steps.

StartOnCreation bool

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

Selectors []SelectorResponse

List of selectors.

Steps []StepResponse

List of steps.

StartOnCreation bool

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

selectors List<SelectorResponse>

List of selectors.

steps List<StepResponse>

List of steps.

startOnCreation Boolean

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

selectors SelectorResponse[]

List of selectors.

steps StepResponse[]

List of steps.

startOnCreation boolean

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

selectors Sequence[SelectorResponse]

List of selectors.

steps Sequence[StepResponse]

List of steps.

start_on_creation bool

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

selectors List<Property Map>

List of selectors.

steps List<Property Map>

List of steps.

startOnCreation Boolean

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

KeyValuePair

Key string

The name of the setting for the action.

Value string

The value of the setting for the action.

Key string

The name of the setting for the action.

Value string

The value of the setting for the action.

key String

The name of the setting for the action.

value String

The value of the setting for the action.

key string

The name of the setting for the action.

value string

The value of the setting for the action.

key str

The name of the setting for the action.

value str

The value of the setting for the action.

key String

The name of the setting for the action.

value String

The value of the setting for the action.

KeyValuePairResponse

Key string

The name of the setting for the action.

Value string

The value of the setting for the action.

Key string

The name of the setting for the action.

Value string

The value of the setting for the action.

key String

The name of the setting for the action.

value String

The value of the setting for the action.

key string

The name of the setting for the action.

value string

The value of the setting for the action.

key str

The name of the setting for the action.

value str

The value of the setting for the action.

key String

The name of the setting for the action.

value String

The value of the setting for the action.

ResourceIdentity

Type Pulumi.AzureNative.Chaos.ResourceIdentityType

String of the resource identity type.

Type ResourceIdentityType

String of the resource identity type.

type ResourceIdentityType

String of the resource identity type.

type ResourceIdentityType

String of the resource identity type.

type ResourceIdentityType

String of the resource identity type.

type "None" | "SystemAssigned"

String of the resource identity type.

ResourceIdentityResponse

PrincipalId string

GUID that represents the principal ID of this resource identity.

TenantId string

GUID that represents the tenant ID of this resource identity.

Type string

String of the resource identity type.

PrincipalId string

GUID that represents the principal ID of this resource identity.

TenantId string

GUID that represents the tenant ID of this resource identity.

Type string

String of the resource identity type.

principalId String

GUID that represents the principal ID of this resource identity.

tenantId String

GUID that represents the tenant ID of this resource identity.

type String

String of the resource identity type.

principalId string

GUID that represents the principal ID of this resource identity.

tenantId string

GUID that represents the tenant ID of this resource identity.

type string

String of the resource identity type.

principal_id str

GUID that represents the principal ID of this resource identity.

tenant_id str

GUID that represents the tenant ID of this resource identity.

type str

String of the resource identity type.

principalId String

GUID that represents the principal ID of this resource identity.

tenantId String

GUID that represents the tenant ID of this resource identity.

type String

String of the resource identity type.

ResourceIdentityType

None
None
SystemAssigned
SystemAssigned
ResourceIdentityTypeNone
None
ResourceIdentityTypeSystemAssigned
SystemAssigned
None
None
SystemAssigned
SystemAssigned
None
None
SystemAssigned
SystemAssigned
NONE
None
SYSTEM_ASSIGNED
SystemAssigned
"None"
None
"SystemAssigned"
SystemAssigned

Selector

Id string

String of the selector ID.

Targets List<Pulumi.AzureNative.Chaos.Inputs.TargetReference>

List of Target references.

Type Pulumi.AzureNative.Chaos.SelectorType

Enum of the selector type.

Id string

String of the selector ID.

Targets []TargetReference

List of Target references.

Type SelectorType

Enum of the selector type.

id String

String of the selector ID.

targets List<TargetReference>

List of Target references.

type SelectorType

Enum of the selector type.

id string

String of the selector ID.

targets TargetReference[]

List of Target references.

type SelectorType

Enum of the selector type.

id str

String of the selector ID.

targets Sequence[TargetReference]

List of Target references.

type SelectorType

Enum of the selector type.

id String

String of the selector ID.

targets List<Property Map>

List of Target references.

type "Percent" | "Random" | "Tag" | "List"

Enum of the selector type.

SelectorResponse

Id string

String of the selector ID.

Targets List<Pulumi.AzureNative.Chaos.Inputs.TargetReferenceResponse>

List of Target references.

Type string

Enum of the selector type.

Id string

String of the selector ID.

Targets []TargetReferenceResponse

List of Target references.

Type string

Enum of the selector type.

id String

String of the selector ID.

targets List<TargetReferenceResponse>

List of Target references.

type String

Enum of the selector type.

id string

String of the selector ID.

targets TargetReferenceResponse[]

List of Target references.

type string

Enum of the selector type.

id str

String of the selector ID.

targets Sequence[TargetReferenceResponse]

List of Target references.

type str

Enum of the selector type.

id String

String of the selector ID.

targets List<Property Map>

List of Target references.

type String

Enum of the selector type.

SelectorType

Percent
Percent
Random
Random
Tag
Tag
List
List
SelectorTypePercent
Percent
SelectorTypeRandom
Random
SelectorTypeTag
Tag
SelectorTypeList
List
Percent
Percent
Random
Random
Tag
Tag
List
List
Percent
Percent
Random
Random
Tag
Tag
List
List
PERCENT
Percent
RANDOM
Random
TAG
Tag
LIST
List
"Percent"
Percent
"Random"
Random
"Tag"
Tag
"List"
List

Step

Branches List<Pulumi.AzureNative.Chaos.Inputs.Branch>

List of branches.

Name string

String of the step name.

Branches []Branch

List of branches.

Name string

String of the step name.

branches List<Branch>

List of branches.

name String

String of the step name.

branches Branch[]

List of branches.

name string

String of the step name.

branches Sequence[Branch]

List of branches.

name str

String of the step name.

branches List<Property Map>

List of branches.

name String

String of the step name.

StepResponse

Branches List<Pulumi.AzureNative.Chaos.Inputs.BranchResponse>

List of branches.

Name string

String of the step name.

Branches []BranchResponse

List of branches.

Name string

String of the step name.

branches List<BranchResponse>

List of branches.

name String

String of the step name.

branches BranchResponse[]

List of branches.

name string

String of the step name.

branches Sequence[BranchResponse]

List of branches.

name str

String of the step name.

branches List<Property Map>

List of branches.

name String

String of the step name.

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

The type of identity that last modified the resource.

created_at str

The timestamp of resource creation (UTC).

created_by str

The identity that created the resource.

created_by_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

TargetReference

Id string

String of the resource ID of a Target resource.

Type Pulumi.AzureNative.Chaos.TargetReferenceType

Enum of the Target reference type.

Id string

String of the resource ID of a Target resource.

Type TargetReferenceType

Enum of the Target reference type.

id String

String of the resource ID of a Target resource.

type TargetReferenceType

Enum of the Target reference type.

id string

String of the resource ID of a Target resource.

type TargetReferenceType

Enum of the Target reference type.

id str

String of the resource ID of a Target resource.

type TargetReferenceType

Enum of the Target reference type.

id String

String of the resource ID of a Target resource.

type "ChaosTarget"

Enum of the Target reference type.

TargetReferenceResponse

Id string

String of the resource ID of a Target resource.

Type string

Enum of the Target reference type.

Id string

String of the resource ID of a Target resource.

Type string

Enum of the Target reference type.

id String

String of the resource ID of a Target resource.

type String

Enum of the Target reference type.

id string

String of the resource ID of a Target resource.

type string

Enum of the Target reference type.

id str

String of the resource ID of a Target resource.

type str

Enum of the Target reference type.

id String

String of the resource ID of a Target resource.

type String

Enum of the Target reference type.

TargetReferenceType

ChaosTarget
ChaosTarget
TargetReferenceTypeChaosTarget
ChaosTarget
ChaosTarget
ChaosTarget
ChaosTarget
ChaosTarget
CHAOS_TARGET
ChaosTarget
"ChaosTarget"
ChaosTarget

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0