azure-native.chaos.getExperiment
Explore with Pulumi AI
Get a Experiment resource.
Uses Azure REST API version 2024-03-22-preview.
Other available API versions: 2023-04-15-preview, 2023-09-01-preview, 2023-10-27-preview, 2023-11-01, 2024-01-01, 2024-11-01-preview, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native chaos [ApiVersion]
. See the version guide for details.
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 string - String that represents a Experiment resource name.
- Resource
Group stringName - String that represents an Azure resource group.
- Experiment
Name string - String that represents a Experiment resource name.
- Resource
Group stringName - String that represents an Azure resource group.
- experiment
Name String - String that represents a Experiment resource name.
- resource
Group StringName - String that represents an Azure resource group.
- experiment
Name string - String that represents a Experiment resource name.
- resource
Group 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.
- experiment
Name String - String that represents a Experiment resource name.
- resource
Group StringName - String that represents an Azure resource group.
getExperiment Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/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 - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Identity
Pulumi.
Azure Native. Chaos. Outputs. Experiment Identity Response - The identity of the experiment resource.
- Dictionary<string, string>
- Resource tags.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/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 - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Identity
Experiment
Identity Response - The identity of the experiment resource.
- map[string]string
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/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 - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- identity
Experiment
Identity Response - The identity of the experiment resource.
- Map<String,String>
- Resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/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 - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- identity
Experiment
Identity Response - The identity of the experiment resource.
- {[key: string]: string}
- Resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/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 - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- identity
Experiment
Identity Response - The identity of the experiment resource.
- Mapping[str, str]
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/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 - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- 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.
- 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.
CustomerDataStoragePropertiesResponse
- Blob
Container stringName - Name of the Azure Blob Storage container to use or create.
- Storage
Account stringResource Id - ARM Resource ID of the Storage account to use for Customer Data storage.
- Blob
Container stringName - Name of the Azure Blob Storage container to use or create.
- Storage
Account stringResource Id - ARM Resource ID of the Storage account to use for Customer Data storage.
- blob
Container StringName - Name of the Azure Blob Storage container to use or create.
- storage
Account StringResource Id - ARM Resource ID of the Storage account to use for Customer Data storage.
- blob
Container stringName - Name of the Azure Blob Storage container to use or create.
- storage
Account stringResource Id - ARM Resource ID of the Storage account to use for Customer Data storage.
- blob_
container_ strname - Name of the Azure Blob Storage container to use or create.
- storage_
account_ strresource_ id - ARM Resource ID of the Storage account to use for Customer Data storage.
- blob
Container StringName - Name of the Azure Blob Storage container to use or create.
- storage
Account StringResource Id - ARM Resource ID of the Storage account to use for Customer Data storage.
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.
- 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.
ExperimentIdentityResponse
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Chaos. Inputs. User Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned map[string]UserIdentities Assigned Identity Response - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal_
id str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<Property Map>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ExperimentPropertiesResponse
- Provisioning
State string - Most recent provisioning state for the given experiment resource.
- 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.
- Customer
Data Pulumi.Storage Azure Native. Chaos. Inputs. Customer Data Storage Properties Response - Optional customer-managed Storage account where Experiment schema will be stored.
- Provisioning
State string - Most recent provisioning state for the given experiment resource.
- Selectors []interface{}
- List of selectors.
- Steps
[]Step
Response - List of steps.
- Customer
Data CustomerStorage Data Storage Properties Response - Optional customer-managed Storage account where Experiment schema will be stored.
- provisioning
State String - Most recent provisioning state for the given experiment resource.
- selectors
List<Either<List
Selector Response,Query Selector Response>> - List of selectors.
- steps
List<Step
Response> - List of steps.
- customer
Data CustomerStorage Data Storage Properties Response - Optional customer-managed Storage account where Experiment schema will be stored.
- provisioning
State string - Most recent provisioning state for the given experiment resource.
- selectors
(List
Selector Response | Query Selector Response)[] - List of selectors.
- steps
Step
Response[] - List of steps.
- customer
Data CustomerStorage Data Storage Properties Response - Optional customer-managed Storage account where Experiment schema will be stored.
- provisioning_
state str - Most recent provisioning state for the given experiment resource.
- selectors
Sequence[Union[List
Selector Response, Query Selector Response]] - List of selectors.
- steps
Sequence[Step
Response] - List of steps.
- customer_
data_ Customerstorage Data Storage Properties Response - Optional customer-managed Storage account where Experiment schema will be stored.
- provisioning
State String - Most recent provisioning state for the given experiment resource.
- selectors List<Property Map | Property Map>
- List of selectors.
- steps List<Property Map>
- List of steps.
- customer
Data Property MapStorage - Optional customer-managed Storage account where Experiment schema will be stored.
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
[]Target
Reference Response - List of Target references.
- Filter
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
List<Target
Reference Response> - List of Target references.
- filter
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
Target
Reference Response[] - List of Target references.
- filter
Simple
Filter Response - Model that represents available filter types that can be applied to a targets list.
- id str
- String of the selector ID.
- targets
Sequence[Target
Reference Response] - List of Target references.
- filter
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 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.
- Query
String string - Azure Resource Graph (ARG) Query Language query for target resources.
- Subscription
Ids 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.
- Query
String string - Azure Resource Graph (ARG) Query Language query for target resources.
- Subscription
Ids []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 String
- String of the selector ID.
- query
String String - Azure Resource Graph (ARG) Query Language query for target resources.
- subscription
Ids 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 string
- String of the selector ID.
- query
String string - Azure Resource Graph (ARG) Query Language query for target resources.
- subscription
Ids 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 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
Simple
Filter Response - Model that represents available filter types that can be applied to a targets list.
- id String
- String of the selector ID.
- query
String String - Azure Resource Graph (ARG) Query Language query for target resources.
- subscription
Ids 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.
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
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.
TargetReferenceResponse
UserAssignedIdentityResponse
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id 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.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0