azure-native.chaos.Experiment
Explore with Pulumi AI
Model that represents a Experiment resource. API Version: 2021-09-15-preview.
Create 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.
Azure Native. Chaos. Inputs. Experiment Properties Args The properties of the experiment resource.
- Resource
Group stringName String that represents an Azure resource group.
- Experiment
Name string String that represents a Experiment resource name.
- Identity
Pulumi.
Azure Native. Chaos. Inputs. Resource Identity Args The identity of the experiment resource.
- Location string
The geo-location where the resource lives
- Dictionary<string, string>
Resource tags.
- Properties
Experiment
Properties Args The properties of the experiment resource.
- Resource
Group stringName String that represents an Azure resource group.
- Experiment
Name string String that represents a Experiment resource name.
- Identity
Resource
Identity Args The identity of the experiment resource.
- Location string
The geo-location where the resource lives
- map[string]string
Resource tags.
- properties
Experiment
Properties Args The properties of the experiment resource.
- resource
Group StringName String that represents an Azure resource group.
- experiment
Name String String that represents a Experiment resource name.
- identity
Resource
Identity Args The identity of the experiment resource.
- location String
The geo-location where the resource lives
- Map<String,String>
Resource tags.
- properties
Experiment
Properties Args The properties of the experiment resource.
- resource
Group stringName String that represents an Azure resource group.
- experiment
Name string String that represents a Experiment resource name.
- identity
Resource
Identity Args The identity of the experiment resource.
- location string
The geo-location where the resource lives
- {[key: string]: string}
Resource tags.
- properties
Experiment
Properties Args The properties of the experiment resource.
- resource_
group_ strname String that represents an Azure resource group.
- experiment_
name str String that represents a Experiment resource name.
- identity
Resource
Identity Args The identity of the experiment resource.
- location str
The geo-location where the resource lives
- Mapping[str, str]
Resource tags.
- properties Property Map
The properties of the experiment resource.
- resource
Group StringName String that represents an Azure resource group.
- experiment
Name 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
- 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
- System
Data Pulumi.Azure Native. Chaos. Outputs. System Data Response 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
- System
Data SystemData Response 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
- system
Data SystemData Response 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
- system
Data SystemData Response 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 SystemData Response 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
- system
Data 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
BranchResponse
ContinuousAction
- Duration string
ISO8601 formatted string that represents a duration.
- Name string
String that represents a Capability URN.
- Parameters
List<Pulumi.
Azure Native. Chaos. Inputs. Key Value Pair> List of key value pairs.
- Selector
Id string String that represents a selector.
- Duration string
ISO8601 formatted string that represents a duration.
- Name string
String that represents a Capability URN.
- Parameters
[]Key
Value Pair List of key value pairs.
- Selector
Id 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<Key
Value Pair> List of key value pairs.
- selector
Id String String that represents a selector.
- duration string
ISO8601 formatted string that represents a duration.
- name string
String that represents a Capability URN.
- parameters
Key
Value Pair[] List of key value pairs.
- selector
Id 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[Key
Value Pair] 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.
- selector
Id 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.
Azure Native. Chaos. Inputs. Key Value Pair Response> List of key value pairs.
- Selector
Id string String that represents a selector.
- Duration string
ISO8601 formatted string that represents a duration.
- Name string
String that represents a Capability URN.
- Parameters
[]Key
Value Pair Response List of key value pairs.
- Selector
Id 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<Key
Value Pair Response> List of key value pairs.
- selector
Id String String that represents a selector.
- duration string
ISO8601 formatted string that represents a duration.
- name string
String that represents a Capability URN.
- parameters
Key
Value Pair Response[] List of key value pairs.
- selector
Id 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[Key
Value Pair Response] 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.
- selector
Id String String that represents a selector.
DelayAction
DelayActionResponse
DiscreteAction
- Name string
String that represents a Capability URN.
- Parameters
List<Pulumi.
Azure Native. Chaos. Inputs. Key Value Pair> List of key value pairs.
- Selector
Id string String that represents a selector.
- Name string
String that represents a Capability URN.
- Parameters
[]Key
Value Pair List of key value pairs.
- Selector
Id string String that represents a selector.
- name String
String that represents a Capability URN.
- parameters
List<Key
Value Pair> List of key value pairs.
- selector
Id String String that represents a selector.
- name string
String that represents a Capability URN.
- parameters
Key
Value Pair[] List of key value pairs.
- selector
Id string String that represents a selector.
- name str
String that represents a Capability URN.
- parameters
Sequence[Key
Value Pair] 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.
- selector
Id String String that represents a selector.
DiscreteActionResponse
- Name string
String that represents a Capability URN.
- Parameters
List<Pulumi.
Azure Native. Chaos. Inputs. Key Value Pair Response> List of key value pairs.
- Selector
Id string String that represents a selector.
- Name string
String that represents a Capability URN.
- Parameters
[]Key
Value Pair Response List of key value pairs.
- Selector
Id string String that represents a selector.
- name String
String that represents a Capability URN.
- parameters
List<Key
Value Pair Response> List of key value pairs.
- selector
Id String String that represents a selector.
- name string
String that represents a Capability URN.
- parameters
Key
Value Pair Response[] List of key value pairs.
- selector
Id string String that represents a selector.
- name str
String that represents a Capability URN.
- parameters
Sequence[Key
Value Pair Response] 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.
- selector
Id String String that represents a selector.
ExperimentProperties
- Selectors
List<Pulumi.
Azure Native. Chaos. Inputs. Selector> List of selectors.
- Steps
List<Pulumi.
Azure Native. Chaos. Inputs. Step> List of steps.
- Start
On boolCreation A boolean value that indicates if experiment should be started on creation or not.
- Selectors []Selector
List of selectors.
- Steps []Step
List of steps.
- Start
On boolCreation 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.
- start
On BooleanCreation A boolean value that indicates if experiment should be started on creation or not.
- selectors Selector[]
List of selectors.
- steps Step[]
List of steps.
- start
On booleanCreation 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_ boolcreation 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.
- start
On BooleanCreation A boolean value that indicates if experiment should be started on creation or not.
ExperimentPropertiesResponse
- Selectors
List<Pulumi.
Azure Native. Chaos. Inputs. Selector Response> List of selectors.
- Steps
List<Pulumi.
Azure Native. Chaos. Inputs. Step Response> List of steps.
- Start
On boolCreation A boolean value that indicates if experiment should be started on creation or not.
- Selectors
[]Selector
Response List of selectors.
- Steps
[]Step
Response List of steps.
- Start
On boolCreation A boolean value that indicates if experiment should be started on creation or not.
- selectors
List<Selector
Response> List of selectors.
- steps
List<Step
Response> List of steps.
- start
On BooleanCreation A boolean value that indicates if experiment should be started on creation or not.
- selectors
Selector
Response[] List of selectors.
- steps
Step
Response[] List of steps.
- start
On booleanCreation A boolean value that indicates if experiment should be started on creation or not.
- selectors
Sequence[Selector
Response] List of selectors.
- steps
Sequence[Step
Response] List of steps.
- start_
on_ boolcreation 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.
- start
On BooleanCreation A boolean value that indicates if experiment should be started on creation or not.
KeyValuePair
KeyValuePairResponse
ResourceIdentity
- Type
Pulumi.
Azure Native. Chaos. Resource Identity Type String of the resource identity type.
- Type
Resource
Identity Type String of the resource identity type.
- type
Resource
Identity Type String of the resource identity type.
- type
Resource
Identity Type String of the resource identity type.
- type
Resource
Identity Type String of the resource identity type.
- type
"None" | "System
Assigned" String of the resource identity type.
ResourceIdentityResponse
- Principal
Id string GUID that represents the principal ID of this resource identity.
- Tenant
Id string GUID that represents the tenant ID of this resource identity.
- Type string
String of the resource identity type.
- Principal
Id string GUID that represents the principal ID of this resource identity.
- Tenant
Id string GUID that represents the tenant ID of this resource identity.
- Type string
String of the resource identity type.
- principal
Id String GUID that represents the principal ID of this resource identity.
- tenant
Id String GUID that represents the tenant ID of this resource identity.
- type String
String of the resource identity type.
- principal
Id string GUID that represents the principal ID of this resource identity.
- tenant
Id 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.
- principal
Id String GUID that represents the principal ID of this resource identity.
- tenant
Id String GUID that represents the tenant ID of this resource identity.
- type String
String of the resource identity type.
ResourceIdentityType
- None
- None
- System
Assigned - SystemAssigned
- Resource
Identity Type None - None
- Resource
Identity Type System Assigned - SystemAssigned
- None
- None
- System
Assigned - SystemAssigned
- None
- None
- System
Assigned - SystemAssigned
- NONE
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- "None"
- None
- "System
Assigned" - SystemAssigned
Selector
- Id string
String of the selector ID.
- Targets
List<Pulumi.
Azure Native. Chaos. Inputs. Target Reference> List of Target references.
- Type
Pulumi.
Azure Native. Chaos. Selector Type Enum of the selector type.
- Id string
String of the selector ID.
- Targets
[]Target
Reference List of Target references.
- Type
Selector
Type Enum of the selector type.
- id String
String of the selector ID.
- targets
List<Target
Reference> List of Target references.
- type
Selector
Type Enum of the selector type.
- id string
String of the selector ID.
- targets
Target
Reference[] List of Target references.
- type
Selector
Type Enum of the selector type.
- id str
String of the selector ID.
- targets
Sequence[Target
Reference] List of Target references.
- type
Selector
Type 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.
Azure Native. Chaos. Inputs. Target Reference Response> List of Target references.
- Type string
Enum of the selector type.
- Id string
String of the selector ID.
- Targets
[]Target
Reference Response List of Target references.
- Type string
Enum of the selector type.
- id String
String of the selector ID.
- targets
List<Target
Reference Response> List of Target references.
- type String
Enum of the selector type.
- id string
String of the selector ID.
- targets
Target
Reference Response[] List of Target references.
- type string
Enum of the selector type.
- id str
String of the selector ID.
- targets
Sequence[Target
Reference Response] 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
- Selector
Type Percent - Percent
- Selector
Type Random - Random
- Selector
Type Tag - Tag
- Selector
Type 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
- "Percent"
- Percent
- "Random"
- Random
- "Tag"
- Tag
- "List"
- List
Step
- Branches
List<Pulumi.
Azure Native. Chaos. Inputs. 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 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.
Azure Native. Chaos. Inputs. Branch Response> List of branches.
- Name string
String of the step name.
- Branches
[]Branch
Response List of branches.
- Name string
String of the step name.
- branches
List<Branch
Response> List of branches.
- name String
String of the step name.
- branches
Branch
Response[] List of branches.
- name string
String of the step name.
- branches
Sequence[Branch
Response] 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
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringAt The timestamp of resource last modification (UTC)
- last
Modified stringBy The identity that last modified the resource.
- last
Modified stringBy Type 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_ strtype The type of identity that created the resource.
- last_
modified_ strat The timestamp of resource last modification (UTC)
- last_
modified_ strby The identity that last modified the resource.
- last_
modified_ strby_ type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
TargetReference
- Id string
String of the resource ID of a Target resource.
- Type
Pulumi.
Azure Native. Chaos. Target Reference Type Enum of the Target reference type.
- Id string
String of the resource ID of a Target resource.
- Type
Target
Reference Type Enum of the Target reference type.
- id String
String of the resource ID of a Target resource.
- type
Target
Reference Type Enum of the Target reference type.
- id string
String of the resource ID of a Target resource.
- type
Target
Reference Type Enum of the Target reference type.
- id str
String of the resource ID of a Target resource.
- type
Target
Reference Type Enum of the Target reference type.
- id String
String of the resource ID of a Target resource.
- type
"Chaos
Target" Enum of the Target reference type.
TargetReferenceResponse
TargetReferenceType
- Chaos
Target - ChaosTarget
- Target
Reference Type Chaos Target - ChaosTarget
- Chaos
Target - ChaosTarget
- Chaos
Target - ChaosTarget
- CHAOS_TARGET
- ChaosTarget
- "Chaos
Target" - ChaosTarget
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0