UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

72 lines (71 loc) 2.64 kB
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. 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 getManagedClusterFaultSimulation(args: GetManagedClusterFaultSimulationArgs, opts?: pulumi.InvokeOptions): Promise<GetManagedClusterFaultSimulationResult>; export interface GetManagedClusterFaultSimulationArgs { /** * The name of the cluster resource. */ clusterName: 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 GetManagedClusterFaultSimulationResult { /** * 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. 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 getManagedClusterFaultSimulationOutput(args: GetManagedClusterFaultSimulationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetManagedClusterFaultSimulationResult>; export interface GetManagedClusterFaultSimulationOutputArgs { /** * The name of the cluster resource. */ clusterName: 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>; }