ArmServiceFabricManagedClustersModelFactory.FaultSimulationDetails 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.
Initializes a new instance of FaultSimulationDetails.
public static Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationDetails FaultSimulationDetails(string clusterId = default, string operationId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.NodeTypeFaultSimulation> nodeTypeFaultSimulation = default, Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationContent parameters = default);
static member FaultSimulationDetails : string * string * seq<Azure.ResourceManager.ServiceFabricManagedClusters.Models.NodeTypeFaultSimulation> * Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationContent -> Azure.ResourceManager.ServiceFabricManagedClusters.Models.FaultSimulationDetails
Public Shared Function FaultSimulationDetails (Optional clusterId As String = Nothing, Optional operationId As String = Nothing, Optional nodeTypeFaultSimulation As IEnumerable(Of NodeTypeFaultSimulation) = Nothing, Optional parameters As FaultSimulationContent = Nothing) As FaultSimulationDetails
Parameters
- clusterId
- String
unique identifier for the cluster resource.
- operationId
- String
unique identifier for the operation associated with the fault simulation.
- nodeTypeFaultSimulation
- IEnumerable<NodeTypeFaultSimulation>
List of node type simulations associated with the cluster fault simulation.
- parameters
- FaultSimulationContent
Fault simulation parameters. Please note FaultSimulationContent is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ZoneFaultSimulationContent.
Returns
A new FaultSimulationDetails instance for mocking.