@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.79 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a fault simulation by the simulationId.
*
* Uses Azure REST API version 2024-11-01-preview.
*
* Other available API versions: 2025-03-01-preview, 2025-06-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native servicefabric [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getNodeTypeFaultSimulation(args: GetNodeTypeFaultSimulationArgs, opts?: pulumi.InvokeOptions): Promise<GetNodeTypeFaultSimulationResult>;
export interface GetNodeTypeFaultSimulationArgs {
/**
* The name of the cluster resource.
*/
clusterName: string;
/**
* The name of the node type.
*/
nodeTypeName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* unique identifier for the fault simulation.
*/
simulationId: string;
}
/**
* Fault simulation object with status.
*/
export interface GetNodeTypeFaultSimulationResult {
/**
* Fault simulation details
*/
readonly details?: outputs.servicefabric.FaultSimulationDetailsResponse;
/**
* The end time of the fault simulation.
*/
readonly endTime?: string;
/**
* unique identifier for the fault simulation.
*/
readonly simulationId?: string;
/**
* The start time of the fault simulation.
*/
readonly startTime?: string;
/**
* Fault simulation status
*/
readonly status?: string;
}
/**
* Gets a fault simulation by the simulationId.
*
* Uses Azure REST API version 2024-11-01-preview.
*
* Other available API versions: 2025-03-01-preview, 2025-06-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native servicefabric [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getNodeTypeFaultSimulationOutput(args: GetNodeTypeFaultSimulationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNodeTypeFaultSimulationResult>;
export interface GetNodeTypeFaultSimulationOutputArgs {
/**
* The name of the cluster resource.
*/
clusterName: pulumi.Input<string>;
/**
* The name of the node type.
*/
nodeTypeName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* unique identifier for the fault simulation.
*/
simulationId: pulumi.Input<string>;
}