{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle/json-schema/oracle-update-infrastructure-details-schema.json",
  "title": "UpdateInfrastructureDetails",
  "description": "Request to update Data Infrastructure resource.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-datainfracc-api-openapi.yml#/components/schemas/UpdateInfrastructureDetails",
  "properties": {
    "acfsFileSystemStorageInGbs": {
      "default": 4704,
      "description": "The amount of storage (in GB) in the DATA disk group that is reserved for creating local storage for VM Clusters and application VMs.\n",
      "format": "double",
      "minimum": 225,
      "type": "number",
      "x-obmcs-cli-param": "acfs-size-in-gbs"
    },
    "adminNetworkcidr": {
      "description": "The CIDR block for the system network. The system network is a private network in Data Infrastructure and is not connected to your corporate network. The system network is used for storage (ASM) traffic, high-performance interconnect traffic and administration of infrastructure components.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "backupNetworkBondingInterface": {
      "description": "The network bonding interface for backup network for the Data Infrastructure.",
      "enum": [
        "BTBOND1",
        "BTBOND2",
        "BTBOND3",
        "BTBOND4",
        "BTBOND5",
        "BTBOND6"
      ],
      "type": "string",
      "x-obmcs-cli-param": "backup-bond-iface",
      "x-obmcs-top-level-enum": "#/definitions/NetworkBondingInterfaceEnum"
    },
    "backupNetworkBondingMode": {
      "description": "The network bonding mode for Backup networks for the Data Infrastructure.",
      "enum": [
        "ACTIVE_BACKUP",
        "LACP"
      ],
      "type": "string",
      "x-obmcs-cli-param": "backup-bond-mode",
      "x-obmcs-top-level-enum": "#/definitions/NetworkBondingMode"
    },
    "clientNetworkBondingInterface": {
      "description": "The network bonding interface for client network for the Data Infrastructure.",
      "enum": [
        "BTBOND1",
        "BTBOND2",
        "BTBOND3",
        "BTBOND4",
        "BTBOND5",
        "BTBOND6"
      ],
      "type": "string",
      "x-obmcs-cli-param": "client-bond-iface",
      "x-obmcs-top-level-enum": "#/definitions/NetworkBondingInterfaceEnum"
    },
    "clientNetworkBondingMode": {
      "description": "The network bonding mode for Client networks for the Data Infrastructure.",
      "enum": [
        "ACTIVE_BACKUP",
        "LACP"
      ],
      "type": "string",
      "x-obmcs-cli-param": "client-bond-mode",
      "x-obmcs-top-level-enum": "#/definitions/NetworkBondingMode"
    },
    "cloudControlPlaneServer1": {
      "description": "The IP address for the first control plane server.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "cloudControlPlaneServer2": {
      "description": "The IP address for the second control plane server.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "contacts": {
      "description": "The list of contacts for the Data Infrastructure.",
      "items": {
        "$ref": "#/$defs/InfrastructureContact"
      },
      "maxItems": 10,
      "minItems": 1,
      "type": "array"
    },
    "corporateProxy": {
      "description": "The corporate network proxy for access to the control plane network. Oracle recommends using an HTTPS proxy when possible\nfor enhanced security.\n",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "cpsNetworkBondingInterface": {
      "description": "The network bonding interface for CPS network for the Data Infrastructure.",
      "enum": [
        "BTBOND1",
        "BTBOND2",
        "BTBOND3",
        "BTBOND4",
        "BTBOND5",
        "BTBOND6"
      ],
      "type": "string",
      "x-obmcs-cli-param": "cps-bond-iface",
      "x-obmcs-top-level-enum": "#/definitions/NetworkBondingInterfaceEnum"
    },
    "cpsNetworkBondingMode": {
      "description": "The network bonding mode for CPS networks for the Data Infrastructure.",
      "enum": [
        "ACTIVE_BACKUP",
        "LACP"
      ],
      "type": "string",
      "x-obmcs-cli-param": "cps-bond-mode",
      "x-obmcs-top-level-enum": "#/definitions/NetworkBondingMode"
    },
    "dataDiskPercentage": {
      "default": 80,
      "description": "Percentage of disk space assigned for DATA disk group. Remaining disk space will get assiged to RECO disk group",
      "maximum": 90,
      "minimum": 10,
      "type": "integer"
    },
    "definedTags": {
      "additionalProperties": {
        "additionalProperties": {
          "description": "The value of the tag. Only string, integer, and boolean types are supported.\n",
          "type": "object"
        },
        "description": "Key-value pair representing predefined tag keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`\n",
        "type": "object"
      },
      "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace.\nExample: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`\n",
      "type": "object"
    },
    "description": {
      "description": "Data Infrastructure description.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "displayName": {
      "description": "The user-friendly name for the Data Infrastructure. The name does not need to be unique.\n",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "dnsServers": {
      "description": "The list of DNS server IP addresses. Maximum of 3 allowed.",
      "items": {
        "maxLength": 1024,
        "minLength": 1,
        "type": "string"
      },
      "maxItems": 3,
      "type": "array"
    },
    "freeformTags": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only.\nExample: `{\"bar-key\": \"value\"}`\n",
      "type": "object"
    },
    "gateway": {
      "description": "The gateway for the control plane network.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "maintenanceWindow": {
      "$ref": "#/$defs/MaintenanceWindow"
    },
    "netmask": {
      "description": "The netmask for the control plane network.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "ntpServers": {
      "description": "The list of NTP server IP addresses. Maximum of 3 allowed.",
      "items": {
        "maxLength": 1024,
        "minLength": 1,
        "type": "string"
      },
      "maxItems": 3,
      "type": "array"
    },
    "shape": {
      "description": "The shape of the Data Infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance.\n",
      "enum": [
        "SIX_SSDS",
        "TWELVE_SSDS",
        "EIGHTEEN_SSDS",
        "TWENTY_FOUR_SSDS"
      ],
      "type": "string",
      "x-obmcs-top-level-enum": "#/definitions/ShapeEnum"
    },
    "systemModel": {
      "description": "Data Infrastructure System Model specification. The system model determines the model of the Data Infrastructure hardware to be used.\n",
      "enum": [
        "X11_HA_768",
        "X10_HA_512",
        "X8_HA_384"
      ],
      "type": "string",
      "x-obmcs-top-level-enum": "#/definitions/SystemModelEnum"
    },
    "vlanId": {
      "description": "The CPS network VLAN ID.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "InfrastructureContact": {
      "description": "Contact details for Data Infrastructure.",
      "properties": {
        "email": {
          "description": "The email for the Data Infrastructure contact.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "isContactMosValidated": {
          "description": "If `true`, this Data Infrastructure contact is a valid My Oracle Support (MOS) contact.\nIf `false`, this Data Infrastructure contact is not a valid MOS contact.\n",
          "type": "boolean"
        },
        "isPrimary": {
          "description": "If `true`, this Data Infrastructure contact is a primary contact.\nIf `false`, this Data Infrastructure is a secondary contact.\n",
          "type": "boolean"
        },
        "name": {
          "description": "The name of the Data Infrastructure contact.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "phoneNumber": {
          "description": "The phone number for the Data Infrastructure contact.",
          "maxLength": 255,
          "type": "string"
        }
      },
      "required": [
        "name",
        "email",
        "isPrimary"
      ]
    },
    "MaintenanceWindow": {
      "description": "The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.\n",
      "properties": {
        "customActionTimeoutInMins": {
          "description": "Determines the amount of time the system will wait before the start of each Data Infrastructure server patching operation.\nCustom action timeout is in minutes and valid value is between 15 to 120 (inclusive).\n",
          "minimum": 15,
          "type": "integer"
        },
        "daysOfWeek": {
          "description": "Days during the week when maintenance should be performed.",
          "items": {
            "enum": [
              "MONDAY",
              "TUESDAY",
              "WEDNESDAY",
              "THURSDAY",
              "FRIDAY",
              "SATURDAY",
              "SUNDAY"
            ],
            "type": "string"
          },
          "type": "array",
          "uniqueItems": true
        },
        "isCustomActionTimeoutEnabled": {
          "description": "If true, enables the configuration of a custom action timeout (waiting period) between Data Infrastructure server patching operations.",
          "type": "boolean"
        },
        "patchingMode": {
          "default": "NONROLLING",
          "description": "Cloud Data Infrastructure node patching method.\n*IMPORTANT*: Non-rolling infrastructure patching involves system down time.\nSee [Oracle-Managed Data Infrastructure Maintenance Updates](/iaas/Content/Database/Concepts/examaintenance.htm#Oracle)\nfor more information.\n",
          "enum": [
            "ROLLING",
            "NONROLLING"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/BasePatchingMode"
        },
        "preference": {
          "default": "NO_PREFERENCE",
          "description": "The maintenance window scheduling preference.",
          "enum": [
            "NO_PREFERENCE",
            "CUSTOM_PREFERENCE"
          ],
          "type": "string",
          "x-obmcs-top-level-enum": "#/definitions/MaintenancePreference"
        }
      }
    }
  }
}