/** * Oracle Cloud Migrations API * A description of the Oracle Cloud Migrations API. * OpenAPI spec version: 20220919 * * * 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"; /** * Description of an asset. */ export interface Asset { /** * Asset display name. */ "displayName"?: string; /** * Inventory ID to which an asset belongs to. */ "inventoryId": string; /** * Asset OCID that is immutable on creation. */ "id": string; /** * The OCID of the compartment to which an asset belongs to. */ "compartmentId": string; /** * The source key that the asset belongs to. */ "sourceKey": string; /** * The key of the asset from the external environment. */ "externalAssetKey": string; /** * The time when the asset was created. An RFC3339 formatted datetime string. */ "timeCreated": Date; /** * The time when the asset was updated. An RFC3339 formatted datetime string. */ "timeUpdated": Date; /** * List of asset source OCID. */ "assetSourceIds"?: Array; /** * The current state of the asset. */ "lifecycleState": Asset.LifecycleState; /** * Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. * Example: {@code {\"bar-key\": \"value\"}} * */ "freeformTags"?: { [key: string]: string; }; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} * */ "definedTags"?: { [key: string]: { [key: string]: any; }; }; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} * */ "systemTags"?: { [key: string]: { [key: string]: any; }; }; /** * Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting. */ "environmentType"?: model.EnvironmentType; "assetType": string; } export declare namespace Asset { enum LifecycleState { Active = "ACTIVE", Deleted = "DELETED" } function getJsonObj(obj: Asset): object; function getDeserializedJsonObj(obj: Asset): object; }