Share via


ServiceFabricManagedClusterResource.GetFaultSimulationAsync Method

Definition

Overloads

GetFaultSimulationAsync(FaultSimulationIdContent, CancellationToken)

Gets a fault simulation by the simulationId.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/getFaultSimulation
  • Operation Id: ManagedClusters_GetFaultSimulation
  • Default Api Version: 2025-03-01-preview
  • Resource: ServiceFabricManagedClusterResource
GetFaultSimulationAsync(CancellationToken)

Gets the list of recent fault simulations for the cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/listFaultSimulation
  • Operation Id: ManagedClusters_ListFaultSimulation
  • Default Api Version: 2025-03-01-preview
  • Resource: ServiceFabricManagedClusterResource

GetFaultSimulationAsync(FaultSimulationIdContent, CancellationToken)

Source:
ServiceFabricManagedClusterResource.cs

Gets a fault simulation by the simulationId.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/getFaultSimulation
  • Operation Id: ManagedClusters_GetFaultSimulation
  • Default Api Version: 2025-03-01-preview
  • Resource: ServiceFabricManagedClusterResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation>> GetFaultSimulationAsync(Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationIdContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFaultSimulationAsync : Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationIdContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation>>
override this.GetFaultSimulationAsync : Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationIdContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation>>
Public Overridable Function GetFaultSimulationAsync (content As FaultSimulationIdContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FaultSimulation))

Parameters

content
FaultSimulationIdContent

parameter with fault simulation id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to

GetFaultSimulationAsync(CancellationToken)

Source:
ServiceFabricManagedClusterResource.cs

Gets the list of recent fault simulations for the cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/listFaultSimulation
  • Operation Id: ManagedClusters_ListFaultSimulation
  • Default Api Version: 2025-03-01-preview
  • Resource: ServiceFabricManagedClusterResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation> GetFaultSimulationAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetFaultSimulationAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation>
override this.GetFaultSimulationAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulation>
Public Overridable Function GetFaultSimulationAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of FaultSimulation)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of FaultSimulation that may take multiple service requests to iterate over.

Applies to