ServiceFabricManagedNodeTypeResource.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(CancellationToken) |
Gets the list of recent fault simulations for the node type.
|
GetFaultSimulationAsync(FaultSimulationIdContent, CancellationToken) |
Gets a fault simulation by the simulationId.
|
GetFaultSimulationAsync(CancellationToken)
Gets the list of recent fault simulations for the node type.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/listFaultSimulation
- Operation Id: NodeTypes_ListFaultSimulation
- Default Api Version: 2025-03-01-preview
- Resource: ServiceFabricManagedNodeTypeResource
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
GetFaultSimulationAsync(FaultSimulationIdContent, CancellationToken)
Gets a fault simulation by the simulationId.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/managedClusters/{clusterName}/nodeTypes/{nodeTypeName}/getFaultSimulation
- Operation Id: NodeTypes_GetFaultSimulation
- Default Api Version: 2025-03-01-preview
- Resource: ServiceFabricManagedNodeTypeResource
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.