/** * 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"; /** * Asset source. */ export interface AssetSource { /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. */ "id": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for the resource. */ "compartmentId": string; /** * A user-friendly name for the asset source. Does not have to be unique, and it's mutable. * Avoid entering confidential information. * */ "displayName": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the environment. */ "environmentId": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets. */ "inventoryId": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets. */ "assetsCompartmentId": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an attached discovery schedule. */ "discoveryScheduleId"?: string; /** * The current state of the asset source. */ "lifecycleState": model.AssetSourceLifecycleState; /** * The detailed state of the asset source. */ "lifecycleDetails": string; /** * The time when the asset source was created in the RFC3339 format. */ "timeCreated": Date; /** * The point in time that the asset source was last updated in the RFC3339 format. */ "timeUpdated": Date; /** * 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; "type": string; } export declare namespace AssetSource { function getJsonObj(obj: AssetSource): object; function getDeserializedJsonObj(obj: AssetSource): object; }