Udostępnij za pośrednictwem


Experiment Constructors

Definition

Overloads

Experiment()

Initializes a new instance of the Experiment class.

Experiment(String, IList<Step>, IList<Selector>, String, String, String, IDictionary<String,String>, SystemData, ResourceIdentity, Nullable<Boolean>)

Initializes a new instance of the Experiment class.

Experiment()

Initializes a new instance of the Experiment class.

public Experiment ();
Public Sub New ()

Applies to

Experiment(String, IList<Step>, IList<Selector>, String, String, String, IDictionary<String,String>, SystemData, ResourceIdentity, Nullable<Boolean>)

Initializes a new instance of the Experiment class.

public Experiment (string location, System.Collections.Generic.IList<Microsoft.Azure.Management.Chaos.Models.Step> steps, System.Collections.Generic.IList<Microsoft.Azure.Management.Chaos.Models.Selector> selectors, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Chaos.Models.SystemData systemData = default, Microsoft.Azure.Management.Chaos.Models.ResourceIdentity identity = default, bool? startOnCreation = default);
new Microsoft.Azure.Management.Chaos.Models.Experiment : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Chaos.Models.Step> * System.Collections.Generic.IList<Microsoft.Azure.Management.Chaos.Models.Selector> * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Chaos.Models.SystemData * Microsoft.Azure.Management.Chaos.Models.ResourceIdentity * Nullable<bool> -> Microsoft.Azure.Management.Chaos.Models.Experiment
Public Sub New (location As String, steps As IList(Of Step), selectors As IList(Of Selector), Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional systemData As SystemData = Nothing, Optional identity As ResourceIdentity = Nothing, Optional startOnCreation As Nullable(Of Boolean) = Nothing)

Parameters

location
String

The geo-location where the resource lives

steps
IList<Step>

List of steps.

selectors
IList<Selector>

List of selectors.

id
String

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

name
String

The name of the resource

type
String

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

tags
IDictionary<String,String>

Resource tags.

systemData
SystemData

The system metadata of the experiment resource.

identity
ResourceIdentity

The identity of the experiment resource.

startOnCreation
Nullable<Boolean>

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

Applies to