azure-native.chaos.getExperiment
Explore with Pulumi AI
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.
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)
// Output-based functions aren't available in Java yet
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:
- 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 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.
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.
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.
- Start
On boolCreation A boolean value that indicates if experiment should be started on creation or not.
- Selectors []interface{}
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<Either<List
Selector Response,Query 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
(List
Selector Response | Query 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[Union[List
Selector Response, Query 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 | 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.
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.
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.
- 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 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.
- 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 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.
- 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 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.
- 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 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}'.
- 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.
- 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
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