/**
 * Database Service API
 * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](/iaas/Content/Database/Concepts/databaseoverview.htm).

 * OpenAPI spec version: 20160918
 * Contact: sic_dbaas_cp_us_grp@oracle.com
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, 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" ; import common = require ( "oci-common" ) ; /**
* Infrastructure that enables the running of multiple Autonomous Databases within a dedicated DB system.
* For more information about Autonomous Exadata Infrastructure, see
* [Overview of Autonomous Database](https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/adboverview.htm).
* <p>
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
* <p>
For information about access control and compartments, see
* [Overview of the Identity Service](https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm).
* <p>
For information about availability domains, see
* [Regions and Availability Domains](https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm).
* <p>
To get a list of availability domains, use the ListAvailabilityDomains operation
* in the Identity service API.
*
*/ export interface AutonomousExadataInfrastructureSummary { /**
     * The OCID of the Autonomous Exadata Infrastructure.
     */ "id" : string ; /**
     * The OCID of the compartment.
     */ "compartmentId" : string ; /**
     * The user-friendly name for the Autonomous Exadata Infrastructure.
     */ "displayName" : string ; /**
     * The name of the availability domain that the Autonomous Exadata Infrastructure is located in.
     */ "availabilityDomain" : string ; /**
      * The OCID of the subnet the Autonomous Exadata Infrastructure is associated with.
  * <p>
  **Subnet Restrictions:**
  * - For Autonomous Databases with Autonomous Exadata Infrastructure, do not use a subnet that overlaps with 192.168.128.0/20
  * <p>
  These subnets are used by the Oracle Clusterware private interconnect on the database instance.
  * Specifying an overlapping subnet will cause the private interconnect to malfunction.
  * This restriction applies to both the client subnet and backup subnet.
  *
      */ "subnetId" : string ; /**
     * A list of the [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network security groups (NSGs) that this resource belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see [Security Rules](https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm).
     * **NsgIds restrictions:**
     * - Autonomous Databases with private access require at least 1 Network Security Group (NSG). The nsgIds array cannot be empty.
     *
     */ "nsgIds" ? : Array < string > ; /**
     * The shape of the Autonomous Exadata Infrastructure. The shape determines resources to allocate to the Autonomous Exadata Infrastructure (CPU cores, memory and storage).
     */ "shape" : string ; /**
     * The host name for the Autonomous Exadata Infrastructure node.
     */ "hostname" : string ; /**
     * The domain name for the Autonomous Exadata Infrastructure.
     */ "domain" : string ; /**
     * The current lifecycle state of the Autonomous Exadata Infrastructure.
     */ "lifecycleState" : AutonomousExadataInfrastructureSummary . LifecycleState ; /**
     * Additional information about the current lifecycle state of the Autonomous Exadata Infrastructure.
     */ "lifecycleDetails" ? : string ; /**
     * The Oracle license model that applies to all databases in the Autonomous Exadata Infrastructure. The default is BRING_YOUR_OWN_LICENSE.
     *
     */ "licenseModel" ? : AutonomousExadataInfrastructureSummary . LicenseModel ; /**
     * The date and time the Autonomous Exadata Infrastructure was created.
     */ "timeCreated" ? : Date ; "maintenanceWindow" : model . MaintenanceWindow ; /**
     * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the last maintenance run.
     */ "lastMaintenanceRunId" ? : string ; /**
     * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the next maintenance run.
     */ "nextMaintenanceRunId" ? : string ; /**
      * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
  * For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
  * <p>
  Example: `{\"Department\": \"Finance\"}`
  *
      */ "freeformTags" ? : { [ key ] : string ; } ; /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace.
     * For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
     *
     */ "definedTags" ? : { [ key ] : { [ key ] : any ; } ; } ; /**
     * The FQDN of the DNS record for the SCAN IP addresses that are associated with the Autonomous Exadata Infrastructure.
     *
     */ "scanDnsName" ? : string ; /**
     * The OCID of the zone the Autonomous Exadata Infrastructure is associated with.
     *
     */ "zoneId" ? : string ; } export namespace AutonomousExadataInfrastructureSummary { export enum LifecycleState { Provisioning = "PROVISIONING" , Available = "AVAILABLE" , Updating = "UPDATING" , Terminating = "TERMINATING" , Terminated = "TERMINATED" , Failed = "FAILED" , MaintenanceInProgress = "MAINTENANCE_IN_PROGRESS" , /**
         * This value is used if a service returns a value for this enum that is not recognized by this
         * version of the SDK.
         */ UnknownValue = "UNKNOWN_VALUE" } export enum LicenseModel { LicenseIncluded = "LICENSE_INCLUDED" , BringYourOwnLicense = "BRING_YOUR_OWN_LICENSE" , /**
         * This value is used if a service returns a value for this enum that is not recognized by this
         * version of the SDK.
         */ UnknownValue = "UNKNOWN_VALUE" } export function getJsonObj ( obj ) { const jsonObj = { ... obj , ... { "maintenanceWindow" : obj . maintenanceWindow ? model . MaintenanceWindow . getJsonObj ( obj . maintenanceWindow ) : undefined } } ; return jsonObj ; } export function getDeserializedJsonObj ( obj ) { const jsonObj = { ... obj , ... { "maintenanceWindow" : obj . maintenanceWindow ? model . MaintenanceWindow . getDeserializedJsonObj ( obj . maintenanceWindow ) : undefined } } ; return jsonObj ; } }