ScenarioRunsOperations interface
Interface representing a ScenarioRuns operations.
Properties
| cancel | Cancel the currently running scenario execution. |
| get | Get a scenario run. This endpoint is also the polling target for ScenarioConfigurations.execute and ScenarioRuns.cancel (final-state-via: location). While the run is in progress the service returns 202 with a Location header pointing back to this URL; clients must keep polling until they receive 200, which carries the final ScenarioRun body. |
| list |
Get a list of scenario runs. |
Property Details
cancel
Cancel the currently running scenario execution.
cancel: (resourceGroupName: string, workspaceName: string, scenarioName: string, runId: string, options?: ScenarioRunsCancelOptionalParams) => PollerLike<OperationState<ScenarioRun>, ScenarioRun>
Property Value
(resourceGroupName: string, workspaceName: string, scenarioName: string, runId: string, options?: ScenarioRunsCancelOptionalParams) => PollerLike<OperationState<ScenarioRun>, ScenarioRun>
get
Get a scenario run.
This endpoint is also the polling target for ScenarioConfigurations.execute and ScenarioRuns.cancel (final-state-via: location). While the run is in progress the service returns 202 with a Location header pointing back to this URL; clients must keep polling until they receive 200, which carries the final ScenarioRun body.
get: (resourceGroupName: string, workspaceName: string, scenarioName: string, runId: string, options?: ScenarioRunsGetOptionalParams) => Promise<ScenarioRun>
Property Value
(resourceGroupName: string, workspaceName: string, scenarioName: string, runId: string, options?: ScenarioRunsGetOptionalParams) => Promise<ScenarioRun>
listAll
Get a list of scenario runs.
listAll: (resourceGroupName: string, workspaceName: string, scenarioName: string, options?: ScenarioRunsListAllOptionalParams) => PagedAsyncIterableIterator<ScenarioRun, ScenarioRun[], PageSettings>
Property Value
(resourceGroupName: string, workspaceName: string, scenarioName: string, options?: ScenarioRunsListAllOptionalParams) => PagedAsyncIterableIterator<ScenarioRun, ScenarioRun[], PageSettings>