ServiceFabricManagedClusterResource.GetFaultSimulationAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetFaultSimulationAsync(FaultSimulationIdContent, CancellationToken) |
Gets a fault simulation by the simulationId.
|
GetFaultSimulationAsync(CancellationToken) |
Gets the list of recent fault simulations for the cluster.
|
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
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)
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.