Partager via


ChaosExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.Chaos.

public static class ChaosExtensions
type ChaosExtensions = class
Public Module ChaosExtensions
Inheritance
ChaosExtensions

Methods

GetChaosCapabilityResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosCapabilityResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String, String) to create a ChaosCapabilityResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetChaosCapabilityResource(ResourceIdentifier) instead.

GetChaosCapabilityTypeResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosCapabilityTypeResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ChaosCapabilityTypeResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetChaosCapabilityTypeResource(ResourceIdentifier) instead.

GetChaosExperiment(ResourceGroupResource, String, CancellationToken)

Get a Experiment resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}
  • Operation Id: Experiments_Get
  • Default Api Version: 2024-01-01
  • Resource: ChaosExperimentResource
GetChaosExperimentAsync(ResourceGroupResource, String, CancellationToken)

Get a Experiment resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Chaos/experiments/{experimentName}
  • Operation Id: Experiments_Get
  • Default Api Version: 2024-01-01
  • Resource: ChaosExperimentResource
GetChaosExperimentExecutionResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosExperimentExecutionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a ChaosExperimentExecutionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetChaosExperimentExecutionResource(ResourceIdentifier) instead.

GetChaosExperimentResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosExperimentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a ChaosExperimentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetChaosExperimentResource(ResourceIdentifier) instead.

GetChaosExperiments(ResourceGroupResource)

Gets a collection of ChaosExperimentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetChaosExperiments() instead.

GetChaosExperiments(SubscriptionResource, Nullable<Boolean>, String, CancellationToken)

Get a list of Experiment resources in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Chaos/experiments
  • Operation Id: Experiments_ListAll
  • Default Api Version: 2024-01-01
  • Resource: ChaosExperimentResource
GetChaosExperimentsAsync(SubscriptionResource, Nullable<Boolean>, String, CancellationToken)

Get a list of Experiment resources in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Chaos/experiments
  • Operation Id: Experiments_ListAll
  • Default Api Version: 2024-01-01
  • Resource: ChaosExperimentResource
GetChaosTarget(ResourceGroupResource, String, String, String, String, CancellationToken)

Get a Target resource that extends a tracked regional resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}
  • Operation Id: Targets_Get
  • Default Api Version: 2024-01-01
  • Resource: ChaosTargetResource
GetChaosTargetAsync(ResourceGroupResource, String, String, String, String, CancellationToken)

Get a Target resource that extends a tracked regional resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{parentProviderNamespace}/{parentResourceType}/{parentResourceName}/providers/Microsoft.Chaos/targets/{targetName}
  • Operation Id: Targets_Get
  • Default Api Version: 2024-01-01
  • Resource: ChaosTargetResource
GetChaosTargetResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosTargetResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create a ChaosTargetResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetChaosTargetResource(ResourceIdentifier) instead.

GetChaosTargets(ResourceGroupResource, String, String, String)

Gets a collection of ChaosTargetResources in the ResourceGroupResource. MockingTo mock this method, please mock GetChaosTargets(String, String, String) instead.

GetChaosTargetType(SubscriptionResource, String, String, CancellationToken)

Get a Target Type resources for given location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Chaos/locations/{locationName}/targetTypes/{targetTypeName}
  • Operation Id: TargetTypes_Get
  • Default Api Version: 2024-01-01
  • Resource: ChaosTargetTypeResource
GetChaosTargetTypeAsync(SubscriptionResource, String, String, CancellationToken)

Get a Target Type resources for given location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Chaos/locations/{locationName}/targetTypes/{targetTypeName}
  • Operation Id: TargetTypes_Get
  • Default Api Version: 2024-01-01
  • Resource: ChaosTargetTypeResource
GetChaosTargetTypeResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosTargetTypeResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a ChaosTargetTypeResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetChaosTargetTypeResource(ResourceIdentifier) instead.

GetChaosTargetTypes(SubscriptionResource, String)

Gets a collection of ChaosTargetTypeResources in the SubscriptionResource. MockingTo mock this method, please mock GetChaosTargetTypes(String) instead.

Applies to