ChaosExtensions Class

Definition

Partial class of customized ChaosExtensions

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

Methods

Name Description
Get(SubscriptionResource, String, String, CancellationToken)

Returns the current status of an async operation. <item> Mocking. To mock this method, please mock Get(String, String, CancellationToken) instead. </item>

GetAllChaosTargetMetadata(SubscriptionResource, AzureLocation)

Gets a collection of ChaosTargetMetadata in the SubscriptionResource<item> Mocking. To mock this method, please mock GetAllChaosTargetMetadata(AzureLocation) instead. </item>

GetAsync(SubscriptionResource, String, String, CancellationToken)

Returns the current status of an async operation. <item> Mocking. To mock this method, please mock GetAsync(String, String, CancellationToken) instead. </item>

GetChaosAction(SubscriptionResource, AzureLocation, String, CancellationToken)

Get an Action resource for a given location. <item> Mocking. To mock this method, please mock GetChaosAction(AzureLocation, String, CancellationToken) instead. </item>

GetChaosActionAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Get an Action resource for a given location. <item> Mocking. To mock this method, please mock GetChaosActionAsync(AzureLocation, String, CancellationToken) instead. </item>

GetChaosActionResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosActionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosActionResource(ResourceIdentifier) instead. </item>

GetChaosActions(SubscriptionResource, AzureLocation)

Gets a collection of ChaosActions in the SubscriptionResource<item> Mocking. To mock this method, please mock GetChaosActions(AzureLocation) instead. </item>

GetChaosActionVersionResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosActionVersionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosActionVersionResource(ResourceIdentifier) instead. </item>

GetChaosCapabilities(ArmClient, ResourceIdentifier)

Gets a collection of ChaosCapabilityCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetChaosCapabilities(ResourceIdentifier) instead. </item>

GetChaosCapability(ArmClient, ResourceIdentifier, String, CancellationToken)

Get a Capability resource that extends a Target resource. <item> Mocking. To mock this method, please mock GetChaosCapability(ResourceIdentifier, String, CancellationToken) instead. </item>

GetChaosCapabilityAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get a Capability resource that extends a Target resource. <item> Mocking. To mock this method, please mock GetChaosCapabilityAsync(ResourceIdentifier, String, CancellationToken) instead. </item>

GetChaosCapabilityMetadataResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosCapabilityMetadataResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosCapabilityMetadataResource(ResourceIdentifier) instead. </item>

GetChaosCapabilityResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosCapabilityResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosCapabilityResource(ResourceIdentifier) instead. </item>

GetChaosDiscoveredResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosDiscoveredResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosDiscoveredResource(ResourceIdentifier) instead. </item>

GetChaosExperiment(ResourceGroupResource, String, CancellationToken)

Get a Experiment resource. <item> Mocking. To mock this method, please mock GetChaosExperiment(String, CancellationToken) instead. </item>

GetChaosExperimentAsync(ResourceGroupResource, String, CancellationToken)

Get a Experiment resource. <item> Mocking. To mock this method, please mock GetChaosExperimentAsync(String, CancellationToken) instead. </item>

GetChaosExperimentExecutionResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosExperimentExecutionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosExperimentExecutionResource(ResourceIdentifier) instead. </item>

GetChaosExperimentResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosExperimentResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosExperimentResource(ResourceIdentifier) instead. </item>

GetChaosExperiments(ResourceGroupResource)

Gets a collection of ChaosExperiments in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetChaosExperiments() instead. </item>

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

Get a list of Experiment resources in a subscription.

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

Get a list of Experiment resources in a subscription.

GetChaosOperationStatus(SubscriptionResource, AzureLocation, String, CancellationToken)

Returns the current status of an async operation.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Chaos/locations/{location}/operationStatuses/{operationId}
  • Operation Id: OperationStatuses_Get
<item> Mocking. To mock this method, please mock GetChaosOperationStatus(AzureLocation, String, CancellationToken) instead. </item>
GetChaosOperationStatusAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Returns the current status of an async operation.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Chaos/locations/{location}/operationStatuses/{operationId}
  • Operation Id: OperationStatuses_Get
<item> Mocking. To mock this method, please mock GetChaosOperationStatusAsync(AzureLocation, String, CancellationToken) instead. </item>
GetChaosPrivateAccess(ResourceGroupResource, String, CancellationToken)

Get a private access resource <item> Mocking. To mock this method, please mock GetChaosPrivateAccess(String, CancellationToken) instead. </item>

GetChaosPrivateAccessAsync(ResourceGroupResource, String, CancellationToken)

Get a private access resource <item> Mocking. To mock this method, please mock GetChaosPrivateAccessAsync(String, CancellationToken) instead. </item>

GetChaosPrivateAccesses(ResourceGroupResource)

Gets a collection of ChaosPrivateAccesses in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetChaosPrivateAccesses() instead. </item>

GetChaosPrivateAccessResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosPrivateAccessResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosPrivateAccessResource(ResourceIdentifier) instead. </item>

GetChaosPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosPrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosPrivateEndpointConnectionResource(ResourceIdentifier) instead. </item>

GetChaosScenarioConfigurationResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosScenarioConfigurationResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosScenarioConfigurationResource(ResourceIdentifier) instead. </item>

GetChaosScenarioResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosScenarioResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosScenarioResource(ResourceIdentifier) instead. </item>

GetChaosScenarioRunResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosScenarioRunResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosScenarioRunResource(ResourceIdentifier) instead. </item>

GetChaosTarget(ArmClient, ResourceIdentifier, String, CancellationToken)

Get a Target resource that extends a tracked regional resource. <item> Mocking. To mock this method, please mock GetChaosTarget(ResourceIdentifier, String, CancellationToken) instead. </item>

GetChaosTargetAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get a Target resource that extends a tracked regional resource. <item> Mocking. To mock this method, please mock GetChaosTargetAsync(ResourceIdentifier, String, CancellationToken) instead. </item>

GetChaosTargetMetadata(SubscriptionResource, AzureLocation, String, CancellationToken)

Get a Target Type resources for given location. <item> Mocking. To mock this method, please mock GetChaosTargetMetadata(AzureLocation, String, CancellationToken) instead. </item>

GetChaosTargetMetadataAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Get a Target Type resources for given location. <item> Mocking. To mock this method, please mock GetChaosTargetMetadataAsync(AzureLocation, String, CancellationToken) instead. </item>

GetChaosTargetMetadataResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosTargetMetadataResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosTargetMetadataResource(ResourceIdentifier) instead. </item>

GetChaosTargetResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosTargetResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosTargetResource(ResourceIdentifier) instead. </item>

GetChaosTargets(ArmClient, ResourceIdentifier)

Gets a collection of ChaosTargetCollection objects within the specified scope. <item> Mocking. To mock this method, please mock GetChaosTargets(ResourceIdentifier) instead. </item>

GetChaosWorkspace(ResourceGroupResource, String, CancellationToken)

Get a Workspace resource. <item> Mocking. To mock this method, please mock GetChaosWorkspace(String, CancellationToken) instead. </item>

GetChaosWorkspaceAsync(ResourceGroupResource, String, CancellationToken)

Get a Workspace resource. <item> Mocking. To mock this method, please mock GetChaosWorkspaceAsync(String, CancellationToken) instead. </item>

GetChaosWorkspaceResource(ArmClient, ResourceIdentifier)

Gets an object representing a ChaosWorkspaceResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetChaosWorkspaceResource(ResourceIdentifier) instead. </item>

GetChaosWorkspaces(ResourceGroupResource)

Gets a collection of ChaosWorkspaces in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetChaosWorkspaces() instead. </item>

GetPrivateAccesses(SubscriptionResource, String, CancellationToken)

Get a list of private access resources in a subscription. <item> Mocking. To mock this method, please mock GetPrivateAccesses(String, CancellationToken) instead. </item>

GetPrivateAccessesAsync(SubscriptionResource, String, CancellationToken)

Get a list of private access resources in a subscription. <item> Mocking. To mock this method, please mock GetPrivateAccessesAsync(String, CancellationToken) instead. </item>

GetWorkspaces(SubscriptionResource, String, CancellationToken)

Get a list of all Workspace resources in a subscription. <item> Mocking. To mock this method, please mock GetWorkspaces(String, CancellationToken) instead. </item>

GetWorkspacesAsync(SubscriptionResource, String, CancellationToken)

Get a list of all Workspace resources in a subscription. <item> Mocking. To mock this method, please mock GetWorkspacesAsync(String, CancellationToken) instead. </item>

Applies to