This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
azure-native.chaos.getExperiment
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
Get a Experiment resource.
Uses Azure REST API version 2023-04-15-preview.
Other available API versions: 2023-09-01-preview, 2023-10-27-preview, 2023-11-01, 2024-01-01, 2024-03-22-preview, 2024-11-01-preview, 2025-01-01.
Using getExperiment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getExperiment(args: GetExperimentArgs, opts?: InvokeOptions): Promise<GetExperimentResult>
function getExperimentOutput(args: GetExperimentOutputArgs, opts?: InvokeOptions): Output<GetExperimentResult>
def get_experiment(experiment_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetExperimentResult
def get_experiment_output(experiment_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetExperimentResult]
func LookupExperiment(ctx *Context, args *LookupExperimentArgs, opts ...InvokeOption) (*LookupExperimentResult, error)
func LookupExperimentOutput(ctx *Context, args *LookupExperimentOutputArgs, opts ...InvokeOption) LookupExperimentResultOutput
> Note: This function is named LookupExperiment
in the Go SDK.
public static class GetExperiment
{
public static Task<GetExperimentResult> InvokeAsync(GetExperimentArgs args, InvokeOptions? opts = null)
public static Output<GetExperimentResult> Invoke(GetExperimentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExperimentResult> getExperiment(GetExperimentArgs args, InvokeOptions options)
public static Output<GetExperimentResult> getExperiment(GetExperimentArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:chaos:getExperiment
arguments:
# arguments dictionary
The following arguments are supported:
- Experiment
Name This property is required. Changes to this property will trigger replacement.
- String that represents a Experiment resource name.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- String that represents an Azure resource group.
- Experiment
Name This property is required. Changes to this property will trigger replacement.
- String that represents a Experiment resource name.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- String that represents an Azure resource group.
- experiment
Name This property is required. Changes to this property will trigger replacement.
- String that represents a Experiment resource name.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- String that represents an Azure resource group.
- experiment
Name This property is required. Changes to this property will trigger replacement.
- String that represents a Experiment resource name.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- String that represents an Azure resource group.
- experiment_
name This property is required. Changes to this property will trigger replacement.
- String that represents a Experiment resource name.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- String that represents an Azure resource group.
- experiment
Name This property is required. Changes to this property will trigger replacement.
- String that represents a Experiment resource name.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- String that represents an Azure resource group.
getExperiment Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Pulumi.
Azure Native. Chaos. Outputs. Experiment Properties Response - The properties of the experiment 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"
- Identity
Pulumi.
Azure Native. Chaos. Outputs. Resource Identity Response - The identity of the experiment resource.
- Dictionary<string, string>
- Resource tags.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Experiment
Properties Response - The properties of the experiment 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"
- Identity
Resource
Identity Response - The identity of the experiment resource.
- map[string]string
- Resource tags.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties
Experiment
Properties Response - The properties of the experiment 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"
- identity
Resource
Identity Response - The identity of the experiment resource.
- Map<String,String>
- Resource tags.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- properties
Experiment
Properties Response - The properties of the experiment 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"
- identity
Resource
Identity Response - The identity of the experiment resource.
- {[key: string]: string}
- Resource tags.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- properties
Experiment
Properties Response - The properties of the experiment 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"
- identity
Resource
Identity Response - The identity of the experiment resource.
- Mapping[str, str]
- Resource tags.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties Property Map
- The properties of the experiment 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"
- identity Property Map
- The identity of the experiment resource.
- Map<String>
- Resource tags.
Supporting Types
BranchResponse
ContinuousActionResponse
- Duration
This property is required. string - ISO8601 formatted string that represents a duration.
- Name
This property is required. string - String that represents a Capability URN.
- Parameters
This property is required. List<Pulumi.Azure Native. Chaos. Inputs. Key Value Pair Response> - List of key value pairs.
- Selector
Id This property is required. string - String that represents a selector.
- Duration
This property is required. string - ISO8601 formatted string that represents a duration.
- Name
This property is required. string - String that represents a Capability URN.
- Parameters
This property is required. []KeyValue Pair Response - List of key value pairs.
- Selector
Id This property is required. string - String that represents a selector.
- duration
This property is required. String - ISO8601 formatted string that represents a duration.
- name
This property is required. String - String that represents a Capability URN.
- parameters
This property is required. List<KeyValue Pair Response> - List of key value pairs.
- selector
Id This property is required. String - String that represents a selector.
- duration
This property is required. string - ISO8601 formatted string that represents a duration.
- name
This property is required. string - String that represents a Capability URN.
- parameters
This property is required. KeyValue Pair Response[] - List of key value pairs.
- selector
Id This property is required. string - String that represents a selector.
- duration
This property is required. str - ISO8601 formatted string that represents a duration.
- name
This property is required. str - String that represents a Capability URN.
- parameters
This property is required. Sequence[KeyValue Pair Response] - List of key value pairs.
- selector_
id This property is required. str - String that represents a selector.
- duration
This property is required. String - ISO8601 formatted string that represents a duration.
- name
This property is required. String - String that represents a Capability URN.
- parameters
This property is required. List<Property Map> - List of key value pairs.
- selector
Id This property is required. String - String that represents a selector.
DelayActionResponse
DiscreteActionResponse
- Name
This property is required. string - String that represents a Capability URN.
- Parameters
This property is required. List<Pulumi.Azure Native. Chaos. Inputs. Key Value Pair Response> - List of key value pairs.
- Selector
Id This property is required. string - String that represents a selector.
- Name
This property is required. string - String that represents a Capability URN.
- Parameters
This property is required. []KeyValue Pair Response - List of key value pairs.
- Selector
Id This property is required. string - String that represents a selector.
- name
This property is required. String - String that represents a Capability URN.
- parameters
This property is required. List<KeyValue Pair Response> - List of key value pairs.
- selector
Id This property is required. String - String that represents a selector.
- name
This property is required. string - String that represents a Capability URN.
- parameters
This property is required. KeyValue Pair Response[] - List of key value pairs.
- selector
Id This property is required. string - String that represents a selector.
- name
This property is required. str - String that represents a Capability URN.
- parameters
This property is required. Sequence[KeyValue Pair Response] - List of key value pairs.
- selector_
id This property is required. str - String that represents a selector.
- name
This property is required. String - String that represents a Capability URN.
- parameters
This property is required. List<Property Map> - List of key value pairs.
- selector
Id This property is required. String - String that represents a selector.
ExperimentPropertiesResponse
- Selectors
This property is required. List<Union<Pulumi.Azure Native. Chaos. Inputs. List Selector Response, Pulumi. Azure Native. Chaos. Inputs. Query Selector Response>> - List of selectors.
- Steps
This property is required. 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
This property is required. []interface{} - List of selectors.
- Steps
This property is required. []StepResponse - List of steps.
- Start
On boolCreation - A boolean value that indicates if experiment should be started on creation or not.
- selectors
This property is required. List<Either<ListSelector Response,Query Selector Response>> - List of selectors.
- steps
This property is required. List<StepResponse> - List of steps.
- start
On BooleanCreation - A boolean value that indicates if experiment should be started on creation or not.
- selectors
This property is required. (ListSelector Response | Query Selector Response)[] - List of selectors.
- steps
This property is required. StepResponse[] - List of steps.
- start
On booleanCreation - A boolean value that indicates if experiment should be started on creation or not.
- selectors
This property is required. Sequence[Union[ListSelector Response, Query Selector Response]] - List of selectors.
- steps
This property is required. Sequence[StepResponse] - List of steps.
- start_
on_ boolcreation - A boolean value that indicates if experiment should be started on creation or not.
- selectors
This property is required. List<Property Map | Property Map> - List of selectors.
- steps
This property is required. List<Property Map> - List of steps.
- start
On BooleanCreation - A boolean value that indicates if experiment should be started on creation or not.
KeyValuePairResponse
ListSelectorResponse
- Id
This property is required. string - String of the selector ID.
- Targets
This property is required. List<Pulumi.Azure Native. Chaos. Inputs. Target Reference Response> - List of Target references.
- Filter
Pulumi.
Azure Native. Chaos. Inputs. Simple Filter Response - Model that represents available filter types that can be applied to a targets list.
- Id
This property is required. string - String of the selector ID.
- Targets
This property is required. []TargetReference Response - List of Target references.
- Filter
Simple
Filter Response - Model that represents available filter types that can be applied to a targets list.
- id
This property is required. String - String of the selector ID.
- targets
This property is required. List<TargetReference Response> - List of Target references.
- filter
Simple
Filter Response - Model that represents available filter types that can be applied to a targets list.
- id
This property is required. string - String of the selector ID.
- targets
This property is required. TargetReference Response[] - List of Target references.
- filter
Simple
Filter Response - Model that represents available filter types that can be applied to a targets list.
- id
This property is required. str - String of the selector ID.
- targets
This property is required. Sequence[TargetReference Response] - List of Target references.
- filter
Simple
Filter Response - Model that represents available filter types that can be applied to a targets list.
- id
This property is required. String - String of the selector ID.
- targets
This property is required. List<Property Map> - List of Target references.
- filter Property Map
- Model that represents available filter types that can be applied to a targets list.
QuerySelectorResponse
- Id
This property is required. string - String of the selector ID.
- Query
String This property is required. string - Azure Resource Graph (ARG) Query Language query for target resources.
- Subscription
Ids This property is required. List<string> - Subscription id list to scope resource query.
- Filter
Pulumi.
Azure Native. Chaos. Inputs. Simple Filter Response - Model that represents available filter types that can be applied to a targets list.
- Id
This property is required. string - String of the selector ID.
- Query
String This property is required. string - Azure Resource Graph (ARG) Query Language query for target resources.
- Subscription
Ids This property is required. []string - Subscription id list to scope resource query.
- Filter
Simple
Filter Response - Model that represents available filter types that can be applied to a targets list.
- id
This property is required. String - String of the selector ID.
- query
String This property is required. String - Azure Resource Graph (ARG) Query Language query for target resources.
- subscription
Ids This property is required. List<String> - Subscription id list to scope resource query.
- filter
Simple
Filter Response - Model that represents available filter types that can be applied to a targets list.
- id
This property is required. string - String of the selector ID.
- query
String This property is required. string - Azure Resource Graph (ARG) Query Language query for target resources.
- subscription
Ids This property is required. string[] - Subscription id list to scope resource query.
- filter
Simple
Filter Response - Model that represents available filter types that can be applied to a targets list.
- id
This property is required. str - String of the selector ID.
- query_
string This property is required. str - Azure Resource Graph (ARG) Query Language query for target resources.
- subscription_
ids This property is required. Sequence[str] - Subscription id list to scope resource query.
- filter
Simple
Filter Response - Model that represents available filter types that can be applied to a targets list.
- id
This property is required. String - String of the selector ID.
- query
String This property is required. String - Azure Resource Graph (ARG) Query Language query for target resources.
- subscription
Ids This property is required. List<String> - Subscription id list to scope resource query.
- filter Property Map
- Model that represents available filter types that can be applied to a targets list.
ResourceIdentityResponse
- Principal
Id This property is required. string - GUID that represents the principal ID of this resource identity.
- Tenant
Id This property is required. string - GUID that represents the tenant ID of this resource identity.
- Type
This property is required. string - String of the resource identity type.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Chaos. Inputs. User Assigned Identity Response> - The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- Principal
Id This property is required. string - GUID that represents the principal ID of this resource identity.
- Tenant
Id This property is required. string - GUID that represents the tenant ID of this resource identity.
- Type
This property is required. string - String of the resource identity type.
- User
Assigned map[string]UserIdentities Assigned Identity Response - The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal
Id This property is required. String - GUID that represents the principal ID of this resource identity.
- tenant
Id This property is required. String - GUID that represents the tenant ID of this resource identity.
- type
This property is required. String - String of the resource identity type.
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal
Id This property is required. string - GUID that represents the principal ID of this resource identity.
- tenant
Id This property is required. string - GUID that represents the tenant ID of this resource identity.
- type
This property is required. string - String of the resource identity type.
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal_
id This property is required. str - GUID that represents the principal ID of this resource identity.
- tenant_
id This property is required. str - GUID that represents the tenant ID of this resource identity.
- type
This property is required. str - String of the resource identity type.
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal
Id This property is required. String - GUID that represents the principal ID of this resource identity.
- tenant
Id This property is required. String - GUID that represents the tenant ID of this resource identity.
- type
This property is required. String - String of the resource identity type.
- user
Assigned Map<Property Map>Identities - The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
SimpleFilterParametersResponse
- Zones List<string>
- List of Azure availability zones to filter targets by.
- Zones []string
- List of Azure availability zones to filter targets by.
- zones List<String>
- List of Azure availability zones to filter targets by.
- zones string[]
- List of Azure availability zones to filter targets by.
- zones Sequence[str]
- List of Azure availability zones to filter targets by.
- zones List<String>
- List of Azure availability zones to filter targets by.
SimpleFilterResponse
- Parameters
Pulumi.
Azure Native. Chaos. Inputs. Simple Filter Parameters Response - Model that represents the Simple filter parameters.
- Parameters
Simple
Filter Parameters Response - Model that represents the Simple filter parameters.
- parameters
Simple
Filter Parameters Response - Model that represents the Simple filter parameters.
- parameters
Simple
Filter Parameters Response - Model that represents the Simple filter parameters.
- parameters
Simple
Filter Parameters Response - Model that represents the Simple filter parameters.
- parameters Property Map
- Model that represents the Simple filter parameters.
StepResponse
- Branches
This property is required. List<Pulumi.Azure Native. Chaos. Inputs. Branch Response> - List of branches.
- Name
This property is required. string - String of the step name.
- Branches
This property is required. []BranchResponse - List of branches.
- Name
This property is required. string - String of the step name.
- branches
This property is required. List<BranchResponse> - List of branches.
- name
This property is required. String - String of the step name.
- branches
This property is required. BranchResponse[] - List of branches.
- name
This property is required. string - String of the step name.
- branches
This property is required. Sequence[BranchResponse] - List of branches.
- name
This property is required. str - String of the step name.
- branches
This property is required. List<Property Map> - List of branches.
- name
This property is required. 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.
TargetReferenceResponse
UserAssignedIdentityResponse
- Client
Id This property is required. string - The client ID of the assigned identity.
- Principal
Id This property is required. string - The principal ID of the assigned identity.
- Client
Id This property is required. string - The client ID of the assigned identity.
- Principal
Id This property is required. string - The principal ID of the assigned identity.
- client
Id This property is required. String - The client ID of the assigned identity.
- principal
Id This property is required. String - The principal ID of the assigned identity.
- client
Id This property is required. string - The client ID of the assigned identity.
- principal
Id This property is required. string - The principal ID of the assigned identity.
- client_
id This property is required. str - The client ID of the assigned identity.
- principal_
id This property is required. str - The principal ID of the assigned identity.
- client
Id This property is required. String - The client ID of the assigned identity.
- principal
Id This property is required. String - The principal ID of the assigned identity.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi