/** * Network Monitoring API * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * An asynchronous work request. */ export interface WorkRequest { /** * Type of the work request. */ "operationType": model.OperationType; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment * that contains the work request. * */ "compartmentId": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. */ "id": string; /** * The resources affected by this work request. */ "resources": Array; /** * Percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "percentComplete": number; /** * The status of the work request. */ "status": model.OperationStatus; /** * The date and time the work request was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). * */ "timeAccepted": Date; /** * The date and time the work request transitioned from {@code ACCEPTED} to {@code IN_PROGRESS}, * in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). * */ "timeStarted"?: Date; /** * The date and time the work request reached a terminal state, either {@code FAILED} or {@code SUCCEEDED}. * Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). * */ "timeFinished"?: Date; } export declare namespace WorkRequest { function getJsonObj(obj: WorkRequest): object; function getDeserializedJsonObj(obj: WorkRequest): object; }