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.89.1 published on Sunday, Mar 2, 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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Get a Experiment resource. 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 dictionaryThe following arguments are supported:
- ExperimentName string
- String that represents a Experiment resource name.
- ResourceGroup stringName 
- String that represents an Azure resource group.
- ExperimentName string
- String that represents a Experiment resource name.
- ResourceGroup stringName 
- String that represents an Azure resource group.
- experimentName String
- String that represents a Experiment resource name.
- resourceGroup StringName 
- String that represents an Azure resource group.
- experimentName string
- String that represents a Experiment resource name.
- resourceGroup stringName 
- String that represents an Azure resource group.
- experiment_name str
- String that represents a Experiment resource name.
- resource_group_ strname 
- String that represents an Azure resource group.
- experimentName String
- String that represents a Experiment resource name.
- resourceGroup StringName 
- 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.
- SystemData 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
ExperimentProperties Response 
- The properties of the experiment resource.
- SystemData 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
ResourceIdentity 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
ExperimentProperties Response 
- The properties of the experiment resource.
- systemData 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
ResourceIdentity 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
ExperimentProperties Response 
- The properties of the experiment resource.
- systemData 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
ResourceIdentity 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
ExperimentProperties 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
ResourceIdentity 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.
- 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"
- identity Property Map
- The identity of the experiment resource.
- Map<String>
- Resource tags.
Supporting Types
BranchResponse 
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.
- 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
[]KeyValue Pair Response 
- 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<KeyValue Pair Response> 
- 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
KeyValue Pair Response[] 
- 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[KeyValue 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.
- selectorId String
- String that represents a selector.
DelayActionResponse  
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.
- SelectorId string
- String that represents a selector.
- Name string
- String that represents a Capability URN.
- Parameters
[]KeyValue Pair Response 
- List of key value pairs.
- SelectorId string
- String that represents a selector.
- name String
- String that represents a Capability URN.
- parameters
List<KeyValue Pair Response> 
- List of key value pairs.
- selectorId String
- String that represents a selector.
- name string
- String that represents a Capability URN.
- parameters
KeyValue Pair Response[] 
- List of key value pairs.
- selectorId string
- String that represents a selector.
- name str
- String that represents a Capability URN.
- parameters
Sequence[KeyValue 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.
- selectorId String
- String that represents a selector.
ExperimentPropertiesResponse  
- Selectors
List<Union<Pulumi.Azure Native. Chaos. Inputs. List Selector Response, Pulumi. Azure Native. Chaos. Inputs. Query Selector Response>> 
- List of selectors.
- Steps
List<Pulumi.Azure Native. Chaos. Inputs. Step Response> 
- List of steps.
- StartOn boolCreation 
- A boolean value that indicates if experiment should be started on creation or not.
- Selectors []interface{}
- List of selectors.
- Steps
[]StepResponse 
- List of steps.
- StartOn boolCreation 
- A boolean value that indicates if experiment should be started on creation or not.
- selectors
List<Either<ListSelector Response,Query Selector Response>> 
- List of selectors.
- steps
List<StepResponse> 
- List of steps.
- startOn BooleanCreation 
- A boolean value that indicates if experiment should be started on creation or not.
- selectors
(ListSelector Response | Query Selector Response)[] 
- List of selectors.
- steps
StepResponse[] 
- List of steps.
- startOn booleanCreation 
- A boolean value that indicates if experiment should be started on creation or not.
- selectors
Sequence[Union[ListSelector Response, Query Selector Response]] 
- List of selectors.
- steps
Sequence[StepResponse] 
- List of steps.
- start_on_ boolcreation 
- A boolean value that indicates if experiment should be started on creation or not.
- selectors List<Property Map | Property Map>
- List of selectors.
- steps List<Property Map>
- List of steps.
- startOn BooleanCreation 
- A boolean value that indicates if experiment should be started on creation or not.
KeyValuePairResponse   
ListSelectorResponse  
- Id string
- String of the selector ID.
- Targets
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 string
- String of the selector ID.
- Targets
[]TargetReference Response 
- List of Target references.
- Filter
SimpleFilter Response 
- Model that represents available filter types that can be applied to a targets list.
- id String
- String of the selector ID.
- targets
List<TargetReference Response> 
- List of Target references.
- filter
SimpleFilter Response 
- Model that represents available filter types that can be applied to a targets list.
- id string
- String of the selector ID.
- targets
TargetReference Response[] 
- List of Target references.
- filter
SimpleFilter Response 
- Model that represents available filter types that can be applied to a targets list.
- id str
- String of the selector ID.
- targets
Sequence[TargetReference Response] 
- List of Target references.
- filter
SimpleFilter Response 
- Model that represents available filter types that can be applied to a targets list.
- id String
- String of the selector ID.
- targets 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 string
- String of the selector ID.
- QueryString string
- Azure Resource Graph (ARG) Query Language query for target resources.
- SubscriptionIds 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 string
- String of the selector ID.
- QueryString string
- Azure Resource Graph (ARG) Query Language query for target resources.
- SubscriptionIds []string
- Subscription id list to scope resource query.
- Filter
SimpleFilter Response 
- Model that represents available filter types that can be applied to a targets list.
- id String
- String of the selector ID.
- queryString String
- Azure Resource Graph (ARG) Query Language query for target resources.
- subscriptionIds List<String>
- Subscription id list to scope resource query.
- filter
SimpleFilter Response 
- Model that represents available filter types that can be applied to a targets list.
- id string
- String of the selector ID.
- queryString string
- Azure Resource Graph (ARG) Query Language query for target resources.
- subscriptionIds string[]
- Subscription id list to scope resource query.
- filter
SimpleFilter Response 
- Model that represents available filter types that can be applied to a targets list.
- id str
- String of the selector ID.
- query_string str
- Azure Resource Graph (ARG) Query Language query for target resources.
- subscription_ids Sequence[str]
- Subscription id list to scope resource query.
- filter
SimpleFilter Response 
- Model that represents available filter types that can be applied to a targets list.
- id String
- String of the selector ID.
- queryString String
- Azure Resource Graph (ARG) Query Language query for target resources.
- subscriptionIds 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  
- 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.
- UserAssigned 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}'.
- 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.
- UserAssigned 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}'.
- 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.
- userAssigned 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}'.
- 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.
- userAssigned {[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 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.
- 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}'.
- 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.
- userAssigned 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
SimpleFilter Parameters Response 
- Model that represents the Simple filter parameters.
- parameters
SimpleFilter Parameters Response 
- Model that represents the Simple filter parameters.
- parameters
SimpleFilter Parameters Response 
- Model that represents the Simple filter parameters.
- parameters
SimpleFilter Parameters Response 
- Model that represents the Simple filter parameters.
- parameters Property Map
- Model that represents the Simple filter parameters.
StepResponse 
- Branches
List<Pulumi.Azure Native. Chaos. Inputs. Branch Response> 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
TargetReferenceResponse  
UserAssignedIdentityResponse   
- ClientId string
- The client ID of the assigned identity.
- PrincipalId string
- The principal ID of the assigned identity.
- ClientId string
- The client ID of the assigned identity.
- PrincipalId string
- The principal ID of the assigned identity.
- clientId String
- The client ID of the assigned identity.
- principalId String
- The principal ID of the assigned identity.
- clientId string
- The client ID of the assigned identity.
- principalId string
- The principal ID of the assigned identity.
- client_id str
- The client ID of the assigned identity.
- principal_id str
- The principal ID of the assigned identity.
- clientId String
- The client ID of the assigned identity.
- principalId 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.89.1 published on Sunday, Mar 2, 2025 by Pulumi