{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/turbonomic/json-schema/turbonomic-action-api-dto-schema.json",
  "title": "ActionApiDTO",
  "description": "Model to describe an Action",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/turbonomic-openapi.yml#/components/schemas/ActionApiDTO",
  "type": "object",
  "properties": {
    "links": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Link"
      }
    },
    "uuid": {
      "type": "string"
    },
    "displayName": {
      "type": "string",
      "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
    },
    "className": {
      "type": "string"
    },
    "actionImpactID": {
      "type": "integer",
      "format": "int64",
      "description": "The ID for the action, which will persist across restarts"
    },
    "marketID": {
      "type": "integer",
      "format": "int64",
      "description": "The ID of the market for which the action was generated"
    },
    "createTime": {
      "type": "string",
      "description": "Creation time"
    },
    "updateTime": {
      "type": "string",
      "description": "Update time"
    },
    "clearTime": {
      "type": "string",
      "description": "Execution time"
    },
    "actionType": {
      "type": "string",
      "description": "Type",
      "enum": [
        "START",
        "MOVE",
        "SCALE",
        "ALLOCATE",
        "SUSPEND",
        "PROVISION",
        "RECONFIGURE",
        "RESIZE",
        "DELETE",
        "RIGHT_SIZE",
        "BUY_RI"
      ]
    },
    "actionState": {
      "type": "string",
      "description": "Action State.",
      "enum": [
        "ACCEPTED",
        "REJECTED",
        "PRE_IN_PROGRESS",
        "POST_IN_PROGRESS",
        "IN_PROGRESS",
        "SUCCEEDED",
        "FAILED",
        "DISABLED",
        "QUEUED",
        "CLEARED",
        "BLOCKED",
        "SCHEDULED",
        "ACCOUNTING",
        "SUCCEEDED_EXTERNALLY",
        "READY",
        "FAILING",
        "BEFORE_EXEC",
        "IN_PROGRESS_NON_CRITICAL"
      ]
    },
    "actionMode": {
      "type": "string",
      "description": "Action Mode",
      "enum": [
        "DISABLED",
        "RECOMMEND",
        "EXTERNAL_APPROVAL",
        "MANUAL",
        "AUTOMATIC",
        "COLLECTION"
      ]
    },
    "actionStateDescription": {
      "type": "string",
      "description": "Action State Description",
      "enum": [
        "ACCEPTED_SHOULD_WAIT_FOR_SCHEDULE",
        "APPROVED_BUT_BLOCKED_BY_PREREQUISITES",
        "AUTO_ACCEPTED_AND_EXECUTED_ON_SCHEDULE",
        "BLOCKED_BY_POLICIES",
        "BLOCKED_BY_POLICY_OR_SYSTEM_SCHEDULE_EXPIRED",
        "BLOCKED_BY_PREREQUISITES",
        "BLOCKED_BY_RELATED_ACTIONS",
        "BLOCKED_BY_UNKNOWN_RELATED_ACTIONS",
        "DISABLED_BUY_RI",
        "DISABLED_UNKNOWN_REASON",
        "READY_ACCEPT_AND_EXECUTE",
        "READY_ACCEPT_AND_WAIT_FOR_SCHEDULE",
        "READY_BY_GRANTING_STATEFILE_ACCESS",
        "SCHEDULED_WAITING_FOR_EXTERNAL_APPROVAL",
        "SCHEDULED_WAITING_FOR_EXTERNAL_APPROVAL_IMMEDIATE_EXECUTION"
      ]
    },
    "userName": {
      "type": "string",
      "description": "Username of the user that accepted the action [DEPRECATED - Use: userInfo.userName in executionStatus.executorInfo]"
    },
    "details": {
      "type": "string",
      "description": "A user-readable string describing the action"
    },
    "importance": {
      "type": "number",
      "format": "float",
      "description": "Numeric value that describes the priority of the action"
    },
    "target": {
      "$ref": "#/$defs/ServiceEntityApiDTO"
    },
    "currentEntity": {
      "$ref": "#/$defs/ServiceEntityApiDTO"
    },
    "newEntity": {
      "$ref": "#/$defs/ServiceEntityApiDTO"
    },
    "currentValue": {
      "type": "string",
      "description": "Current value of a property, for example vMEM for a VM resize action"
    },
    "newValue": {
      "type": "string",
      "description": "Calculated value to resize to, such as vMEM for a VM resize action"
    },
    "valueUnits": {
      "type": "string",
      "description": "Units of the currentValue and newValue, such as KB for a VM vMEM resize action"
    },
    "resizeAttribute": {
      "type": "string",
      "description": "The commodity attribute to be resized",
      "enum": [
        "CAPACITY",
        "LIMIT",
        "RESERVATION"
      ]
    },
    "template": {
      "$ref": "#/$defs/TemplateApiDTO"
    },
    "risk": {
      "$ref": "#/$defs/LogEntryApiDTO"
    },
    "prerequisites": {
      "type": "array",
      "description": "Description(s) of any prerequisite(s) that must occur before execution is possible. If this field is populated, the action would otherwise be executable but has been blocked by this prerequisite, and is displayed accordingly. If this field is not populated, no prerequisite has caused the action mode to be modified, and the action is displayed as normal.",
      "items": {
        "type": "string"
      }
    },
    "prioritizedAutomationOpportunities": {
      "type": "array",
      "description": "The Action is generated using the 'Prioritze Automation' setting, indicating that it is possible to have more savings if these opportunities are satisfied",
      "items": {
        "type": "string"
      }
    },
    "stats": {
      "type": "array",
      "description": "Statistics, such as Mem, vCPU, costPrice",
      "items": {
        "$ref": "#/$defs/StatApiDTO"
      }
    },
    "progress": {
      "type": "integer",
      "format": "int32",
      "description": "Moved the 'progress' percentage value inside 'executionStatus', available when action detail level is 'EXECUTION' - [DEPRECATED - Use: executionStatus.progress]"
    },
    "currentLocation": {
      "$ref": "#/$defs/DiscoveredEntityApiDTO"
    },
    "newLocation": {
      "$ref": "#/$defs/DiscoveredEntityApiDTO"
    },
    "virtualDisks": {
      "type": "array",
      "description": "Virtual Disk used for the action, for example in a storage move",
      "items": {
        "$ref": "#/$defs/VirtualDiskApiDTO"
      }
    },
    "policy": {
      "$ref": "#/$defs/PolicyApiDTO"
    },
    "relatedSettingsPolicies": {
      "type": "array",
      "description": "The related settings policies associated with the action, for reconfigure actions",
      "items": {
        "$ref": "#/$defs/RelatedSettingsPolicyApiDTO"
      }
    },
    "actionSchedule": {
      "$ref": "#/$defs/ActionScheduleApiDTO"
    },
    "compoundActions": {
      "type": "array",
      "description": "Property for compound move actions",
      "items": {
        "$ref": "#/$defs/ActionApiDTO"
      }
    },
    "reservedInstance": {
      "$ref": "#/$defs/ReservedInstanceApiDTO"
    },
    "reservedInstancePlatform": {
      "type": "string",
      "description": "The platform of the recommended RI if the action has a supersaving"
    },
    "externalActionName": {
      "type": "string",
      "description": "The name under which this action appears in third-party software or external approval backend"
    },
    "externalActionUrl": {
      "type": "string",
      "description": "URL to third-party software showing this action. Suitable for external action approval"
    },
    "executionStatus": {
      "$ref": "#/$defs/ActionExecutionAuditApiDTO"
    },
    "executionCharacteristics": {
      "$ref": "#/$defs/ActionExecutionCharacteristicApiDTO"
    },
    "entityCharacteristics": {
      "$ref": "#/$defs/DBEntityAspectApiDTO"
    },
    "source": {
      "type": "string",
      "description": "Defines what generated this action.",
      "enum": [
        "BUY_RI",
        "CAS",
        "CLOUD_OPTIMIZER",
        "MARKET",
        "PARKING"
      ]
    },
    "relatedActionUuidsByType": {
      "type": "object",
      "description": "Map of related action uuids by relationship type that have some relation to this Action",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "integer",
          "format": "int64"
        }
      }
    },
    "stateDuration": {
      "$ref": "#/$defs/ActionStateDurationApiDTO"
    },
    "actionID": {
      "type": "integer",
      "format": "int64",
      "description": "Id of the action"
    }
  },
  "$defs": {
    "ActionApiDTO": {
      "type": "object",
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        },
        "actionImpactID": {
          "type": "integer",
          "format": "int64",
          "description": "The ID for the action, which will persist across restarts"
        },
        "marketID": {
          "type": "integer",
          "format": "int64",
          "description": "The ID of the market for which the action was generated"
        },
        "createTime": {
          "type": "string",
          "description": "Creation time"
        },
        "updateTime": {
          "type": "string",
          "description": "Update time"
        },
        "clearTime": {
          "type": "string",
          "description": "Execution time"
        },
        "actionType": {
          "type": "string",
          "description": "Type",
          "enum": [
            "START",
            "MOVE",
            "SCALE",
            "ALLOCATE",
            "SUSPEND",
            "PROVISION",
            "RECONFIGURE",
            "RESIZE",
            "DELETE",
            "RIGHT_SIZE",
            "BUY_RI"
          ]
        },
        "actionState": {
          "type": "string",
          "description": "Action State.",
          "enum": [
            "ACCEPTED",
            "REJECTED",
            "PRE_IN_PROGRESS",
            "POST_IN_PROGRESS",
            "IN_PROGRESS",
            "SUCCEEDED",
            "FAILED",
            "DISABLED",
            "QUEUED",
            "CLEARED",
            "BLOCKED",
            "SCHEDULED",
            "ACCOUNTING",
            "SUCCEEDED_EXTERNALLY",
            "READY",
            "FAILING",
            "BEFORE_EXEC",
            "IN_PROGRESS_NON_CRITICAL"
          ]
        },
        "actionMode": {
          "type": "string",
          "description": "Action Mode",
          "enum": [
            "DISABLED",
            "RECOMMEND",
            "EXTERNAL_APPROVAL",
            "MANUAL",
            "AUTOMATIC",
            "COLLECTION"
          ]
        },
        "actionStateDescription": {
          "type": "string",
          "description": "Action State Description",
          "enum": [
            "ACCEPTED_SHOULD_WAIT_FOR_SCHEDULE",
            "APPROVED_BUT_BLOCKED_BY_PREREQUISITES",
            "AUTO_ACCEPTED_AND_EXECUTED_ON_SCHEDULE",
            "BLOCKED_BY_POLICIES",
            "BLOCKED_BY_POLICY_OR_SYSTEM_SCHEDULE_EXPIRED",
            "BLOCKED_BY_PREREQUISITES",
            "BLOCKED_BY_RELATED_ACTIONS",
            "BLOCKED_BY_UNKNOWN_RELATED_ACTIONS",
            "DISABLED_BUY_RI",
            "DISABLED_UNKNOWN_REASON",
            "READY_ACCEPT_AND_EXECUTE",
            "READY_ACCEPT_AND_WAIT_FOR_SCHEDULE",
            "READY_BY_GRANTING_STATEFILE_ACCESS",
            "SCHEDULED_WAITING_FOR_EXTERNAL_APPROVAL",
            "SCHEDULED_WAITING_FOR_EXTERNAL_APPROVAL_IMMEDIATE_EXECUTION"
          ]
        },
        "userName": {
          "type": "string",
          "description": "Username of the user that accepted the action [DEPRECATED - Use: userInfo.userName in executionStatus.executorInfo]"
        },
        "details": {
          "type": "string",
          "description": "A user-readable string describing the action"
        },
        "importance": {
          "type": "number",
          "format": "float",
          "description": "Numeric value that describes the priority of the action"
        },
        "target": {
          "$ref": "#/$defs/ServiceEntityApiDTO"
        },
        "currentEntity": {
          "$ref": "#/$defs/ServiceEntityApiDTO"
        },
        "newEntity": {
          "$ref": "#/$defs/ServiceEntityApiDTO"
        },
        "currentValue": {
          "type": "string",
          "description": "Current value of a property, for example vMEM for a VM resize action"
        },
        "newValue": {
          "type": "string",
          "description": "Calculated value to resize to, such as vMEM for a VM resize action"
        },
        "valueUnits": {
          "type": "string",
          "description": "Units of the currentValue and newValue, such as KB for a VM vMEM resize action"
        },
        "resizeAttribute": {
          "type": "string",
          "description": "The commodity attribute to be resized",
          "enum": [
            "CAPACITY",
            "LIMIT",
            "RESERVATION"
          ]
        },
        "template": {
          "$ref": "#/$defs/TemplateApiDTO"
        },
        "risk": {
          "$ref": "#/$defs/LogEntryApiDTO"
        },
        "prerequisites": {
          "type": "array",
          "description": "Description(s) of any prerequisite(s) that must occur before execution is possible. If this field is populated, the action would otherwise be executable but has been blocked by this prerequisite, and is displayed accordingly. If this field is not populated, no prerequisite has caused the action mode to be modified, and the action is displayed as normal.",
          "items": {
            "type": "string"
          }
        },
        "prioritizedAutomationOpportunities": {
          "type": "array",
          "description": "The Action is generated using the 'Prioritze Automation' setting, indicating that it is possible to have more savings if these opportunities are satisfied",
          "items": {
            "type": "string"
          }
        },
        "stats": {
          "type": "array",
          "description": "Statistics, such as Mem, vCPU, costPrice",
          "items": {
            "$ref": "#/$defs/StatApiDTO"
          }
        },
        "progress": {
          "type": "integer",
          "format": "int32",
          "description": "Moved the 'progress' percentage value inside 'executionStatus', available when action detail level is 'EXECUTION' - [DEPRECATED - Use: executionStatus.progress]"
        },
        "currentLocation": {
          "$ref": "#/$defs/DiscoveredEntityApiDTO"
        },
        "newLocation": {
          "$ref": "#/$defs/DiscoveredEntityApiDTO"
        },
        "virtualDisks": {
          "type": "array",
          "description": "Virtual Disk used for the action, for example in a storage move",
          "items": {
            "$ref": "#/$defs/VirtualDiskApiDTO"
          }
        },
        "policy": {
          "$ref": "#/$defs/PolicyApiDTO"
        },
        "relatedSettingsPolicies": {
          "type": "array",
          "description": "The related settings policies associated with the action, for reconfigure actions",
          "items": {
            "$ref": "#/$defs/RelatedSettingsPolicyApiDTO"
          }
        },
        "actionSchedule": {
          "$ref": "#/$defs/ActionScheduleApiDTO"
        },
        "compoundActions": {
          "type": "array",
          "description": "Property for compound move actions",
          "items": {
            "$ref": "#/$defs/ActionApiDTO"
          }
        },
        "reservedInstance": {
          "$ref": "#/$defs/ReservedInstanceApiDTO"
        },
        "reservedInstancePlatform": {
          "type": "string",
          "description": "The platform of the recommended RI if the action has a supersaving"
        },
        "externalActionName": {
          "type": "string",
          "description": "The name under which this action appears in third-party software or external approval backend"
        },
        "externalActionUrl": {
          "type": "string",
          "description": "URL to third-party software showing this action. Suitable for external action approval"
        },
        "executionStatus": {
          "$ref": "#/$defs/ActionExecutionAuditApiDTO"
        },
        "executionCharacteristics": {
          "$ref": "#/$defs/ActionExecutionCharacteristicApiDTO"
        },
        "entityCharacteristics": {
          "$ref": "#/$defs/DBEntityAspectApiDTO"
        },
        "source": {
          "type": "string",
          "description": "Defines what generated this action.",
          "enum": [
            "BUY_RI",
            "CAS",
            "CLOUD_OPTIMIZER",
            "MARKET",
            "PARKING"
          ]
        },
        "relatedActionUuidsByType": {
          "type": "object",
          "description": "Map of related action uuids by relationship type that have some relation to this Action",
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            }
          }
        },
        "stateDuration": {
          "$ref": "#/$defs/ActionStateDurationApiDTO"
        },
        "actionID": {
          "type": "integer",
          "format": "int64",
          "description": "Id of the action"
        }
      },
      "description": "Model to describe an Action"
    },
    "ActionExecutionAuditApiDTO": {
      "type": "object",
      "required": [
        "executionTime",
        "executorInfo",
        "state"
      ],
      "properties": {
        "state": {
          "type": "string",
          "description": "State of the execution",
          "enum": [
            "ACCEPTED",
            "REJECTED",
            "PRE_IN_PROGRESS",
            "POST_IN_PROGRESS",
            "IN_PROGRESS",
            "SUCCEEDED",
            "FAILED",
            "DISABLED",
            "QUEUED",
            "CLEARED",
            "BLOCKED",
            "SCHEDULED",
            "ACCOUNTING",
            "SUCCEEDED_EXTERNALLY",
            "READY",
            "FAILING",
            "BEFORE_EXEC",
            "IN_PROGRESS_NON_CRITICAL"
          ]
        },
        "executionTime": {
          "type": "string",
          "description": "Start of the execution time"
        },
        "completionTime": {
          "type": "string",
          "description": "End of the execution time"
        },
        "message": {
          "type": "string",
          "description": "Status message, if the Action failed, it will contains the Error details"
        },
        "progress": {
          "type": "integer",
          "format": "int32",
          "description": "Action execution progress value, from 0 to 100"
        },
        "executorInfo": {
          "$ref": "#/$defs/ExecutorInfoApiDTO"
        },
        "actionExecutionMethod": {
          "type": "string",
          "description": "Action execution method",
          "enum": [
            "RESIZE_CONTAINER",
            "RESIZE_CONTAINERIZED_VIRTUAL_MACHINE",
            "RESIZE_CONTROLLER",
            "RESIZE_GITOPS",
            "RESIZE_IN_PLACE",
            "RESIZE_NO_OP",
            "RESIZE_ORM",
            "SUSPEND_DEFAULT",
            "SUSPEND_FORCE_DRAIN",
            "SUSPEND_FORCE_DRAIN_SKIP_NODE_DELETION",
            "UNKNOWN_METHOD"
          ]
        },
        "coolDownUntil": {
          "type": "string",
          "description": "The time at which the action cooldown period expires, in ISO-8601 format (UTC). Until this time elapses, the same action will not be re-executed. Null if no cooldown period applies to this action."
        }
      },
      "description": "Model to describe an Action Execution status."
    },
    "ActionExecutionCharacteristicApiDTO": {
      "type": "object",
      "required": [
        "disruptiveness",
        "reversibility"
      ],
      "properties": {
        "disruptiveness": {
          "type": "string",
          "description": "whether action is disruptive.",
          "enum": [
            "DISRUPTIVE",
            "NON_DISRUPTIVE"
          ]
        },
        "reversibility": {
          "type": "string",
          "description": "whether action is reversible.",
          "enum": [
            "REVERSIBLE",
            "IRREVERSIBLE"
          ]
        }
      },
      "description": "Model to describe action execution characteristics"
    },
    "ActionScheduleApiDTO": {
      "type": "object",
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        },
        "nextOccurrence": {
          "type": "string",
          "description": "The time of the next occurrence represented in ISO8601 local time (YYYY-MM-DDTHH:MM:SS). For example, 2019-04-04T19:15."
        },
        "nextOccurrenceTimestamp": {
          "type": "integer",
          "format": "int64",
          "description": "The time of the next occurence of this schedule represented in Timestamp in milliseconds. For example, 1562100619000"
        },
        "timeZoneId": {
          "type": "string",
          "description": "The timezone of the schedule"
        },
        "mode": {
          "type": "string",
          "description": "The action mode affected by the schedule",
          "enum": [
            "DISABLED",
            "RECOMMEND",
            "EXTERNAL_APPROVAL",
            "MANUAL",
            "AUTOMATIC",
            "COLLECTION"
          ]
        },
        "acceptedByUserForMaintenanceWindow": {
          "type": "boolean",
          "description": "Boolean signifying acceptance or rejection of the action."
        },
        "userName": {
          "type": "string",
          "description": "The user who accepted the action for the maintenance window."
        },
        "remaingTimeActiveInMs": {
          "type": "integer",
          "format": "int64",
          "description": "The amount of time that the schedule is going to be active at the time of call in milliseconds. This field will not be populated if the schedule is not currently active."
        }
      },
      "description": "Model to describe an Action Schedule."
    },
    "ActionStateDurationApiDTO": {
      "type": "object",
      "properties": {
        "startTime": {
          "type": "string",
          "description": "When the entity entered the state (ISO-8601 with milliseconds)."
        },
        "endTime": {
          "type": "string",
          "description": "When the entity left the state (ISO-8601 with milliseconds). Null if the entity is still in this state."
        }
      },
      "description": "[BETA]: Duration an entity spent in the state resulting from an action execution."
    },
    "BaseApiDTO": {
      "type": "object",
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        }
      },
      "description": "Basic information of an entity"
    },
    "BaseCommodityApiDTO": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string",
          "description": "The type of the commodity",
          "enum": [
            "ACTION_PERMIT",
            "ACTIVE_SESSIONS",
            "APPLICATION",
            "BALLOONING",
            "BUFFER_COMMODITY",
            "CLUSTER",
            "COLLECTION_TIME",
            "COOLING",
            "CONNECTION",
            "COUPON",
            "CPU",
            "CPU_ALLOCATION",
            "CPU_PROVISIONED",
            "CPU_REQUEST_ALLOCATION",
            "CROSS_CLOUD_MOVE_SVC",
            "CROSS_CLUSTER_MOVE_SVC",
            "DATACENTER",
            "DATASTORE",
            "DB_CACHE_HIT_RATE",
            "DB_MEM",
            "DISK_ARRAY_ACCESS",
            "DRS_SEGMENTATION",
            "DSPM_ACCESS",
            "EXTENT",
            "FLOW",
            "FLOW_ALLOCATION",
            "HEAP",
            "HOST_LUN_ACCESS",
            "IMAGE_CPU",
            "IMAGE_MEM",
            "IMAGE_STORAGE",
            "INSTANCE_DISK_SIZE",
            "INSTANCE_DISK_TYPE",
            "IO_THROUGHPUT",
            "LICENSE_ACCESS",
            "MEM",
            "MEM_ALLOCATION",
            "MEM_REQUEST_ALLOCATION",
            "MEM_PROVISIONED",
            "NET_THROUGHPUT",
            "NETWORK",
            "NUM_DISK",
            "NUM_VOL",
            "NUMBER_CONSUMERS",
            "NUM_VCORE",
            "POOL_CPU",
            "POOL_MEM",
            "POOL_STORAGE",
            "PORT_CHANNEL",
            "POWER",
            "Q16_VCPU",
            "Q1_VCPU",
            "Q2_VCPU",
            "Q32_VCPU",
            "Q4_VCPU",
            "Q64_VCPU",
            "Q8_VCPU",
            "RESPONSE_TIME",
            "SAME_CLUSTER_MOVE_SVC",
            "SEGMENTATION",
            "SLA_COMMODITY",
            "SOFTWARE_LICENSE_COMMODITY",
            "SPACE",
            "STORAGE_ACCESS",
            "STORAGE_ALLOCATION",
            "STORAGE_AMOUNT",
            "STORAGE_CLUSTER",
            "STORAGE_LATENCY",
            "STORAGE_PROVISIONED",
            "SWAPPING",
            "THREADS",
            "TRANSACTION",
            "TRANSACTION_LOG",
            "VCPU",
            "VCPU_LIMIT_QUOTA",
            "VCPU_REQUEST",
            "VCPU_REQUEST_QUOTA",
            "VDC",
            "VMEM",
            "VMEM_LIMIT_QUOTA",
            "VMEM_REQUEST",
            "VMEM_REQUEST_QUOTA",
            "VMPM_ACCESS",
            "VSTORAGE",
            "ZONE",
            "LICENSE_COMMODITY",
            "Q3_VCPU",
            "NUMBER_CONSUMERS_PM",
            "Q6_VCPU",
            "Q7_VCPU",
            "QN_VCPU",
            "RIGHT_SIZE_SVC",
            "RIGHT_SIZE_DOWN",
            "MOVE",
            "Q5_VCPU",
            "STORAGE",
            "NUMBER_CONSUMERS_STORAGE",
            "ACCESS",
            "RIGHT_SIZE_UP",
            "VAPP_ACCESS",
            "HOT_STORAGE",
            "HA_COMMODITY",
            "NETWORK_POLICY",
            "SERVICE_LEVEL_CLUSTER",
            "PROCESSING_UNITS",
            "TENANCY_ACCESS",
            "TEMPLATE_ACCESS",
            "BURST_BALANCE",
            "DESIRED_COUPON",
            "NETWORK_INTERFACE_COUNT",
            "BICLIQUE",
            "TAINT",
            "LABEL",
            "PEER_TO_PEER_AFFINITY",
            "PEER_TO_PEER_ANTI_AFFINITY",
            "ENERGY",
            "CARBON",
            "VIRTUAL_PROCESSORS",
            "CPU_READY",
            "PROCESSING_UNITS_PROVISIONED",
            "HARDWARE_VERSION",
            "GPU_MEM_ALLOCATION",
            "GPU_MEM",
            "GPU_COUNT",
            "GPU_TENSOR_ENGINE",
            "GPU_FP64_ENGINE",
            "GPU_FP32_ENGINE",
            "GPU_FP16_ENGINE",
            "GPU_MEMORY_BANDWIDTH",
            "STORAGE_ACCESS_OVERALL_VM_MAX_READ",
            "STORAGE_ACCESS_OVERALL_VM_MAX_WRITE",
            "STORAGE_ACCESS_OVERALL_VM_MAX_READWRITE",
            "IO_THROUGHPUT_OVERALL_VM_MAX_READ",
            "IO_THROUGHPUT_OVERALL_VM_MAX_WRITE",
            "IO_THROUGHPUT_OVERALL_VM_MAX_READWRITE",
            "STORAGE_ACCESS_HD_BALANCED_READWRITE",
            "IO_THROUGHPUT_HD_BALANCED_READWRITE",
            "STORAGE_ACCESS_HD_THROUGHPUT_READWRITE",
            "IO_THROUGHPUT_HD_THROUGHPUT_READWRITE",
            "STORAGE_ACCESS_HD_EXTREME_READWRITE",
            "IO_THROUGHPUT_HD_EXTREME_READWRITE",
            "STORAGE_ACCESS_HD_BALANCED_HA_READWRITE",
            "IO_THROUGHPUT_HD_BALANCED_HA_READWRITE",
            "STORAGE_ACCESS_HD_ML_READWRITE",
            "IO_THROUGHPUT_HD_ML_READWRITE",
            "CORE_SPEED",
            "VGPU_MEM",
            "CONCURRENT_QUERIES",
            "LLM_CACHE",
            "VGPU_COMPUTE",
            "GPU",
            "GPU_REQUEST",
            "GPU_REQUEST_QUOTA",
            "QUEUING_TIME",
            "SERVICE_TIME",
            "RAID_HOSTS",
            "NUMBER_REPLICAS",
            "PROJECT_VCPU_LIMIT_QUOTA",
            "NUMA_CPU_CORE",
            "NUMA_SRIOV_VF",
            "SRIOV_VF",
            "HUGEPAGES",
            "UNKNOWN",
            "LOGICAL_BLOCK_SIZE_ACCESS",
            "POWER_CAPABILITY_ACCESS",
            "BURSTABLE_BASELINE"
          ]
        },
        "key": {
          "type": "string",
          "description": "The specific commodity"
        },
        "units": {
          "type": "string",
          "description": "The units in which the commodity is measured, if any"
        }
      },
      "description": "Describes a commodity"
    },
    "DBEntityAspectApiDTO": {
      "allOf": [
        {
          "$ref": "#/$defs/EntityAspect"
        },
        {
          "type": "object",
          "properties": {
            "dbEngine": {
              "type": "string",
              "description": "The Database engine"
            },
            "dbEdition": {
              "type": "string",
              "description": "The Database edition"
            },
            "dbVersion": {
              "type": "string",
              "description": "The Database engine version"
            },
            "licenseModel": {
              "type": "string",
              "description": "The license model of the database engine"
            },
            "deploymentType": {
              "type": "string",
              "description": "The deployment type of the database engine"
            },
            "maxConcurrentWorkers": {
              "type": "integer",
              "format": "int32",
              "description": "Maximum concurrent workers allowed for the DB"
            },
            "maxConcurrentSessions": {
              "type": "integer",
              "format": "int32",
              "description": "Maximum concurrent sessions allowed for the DB"
            },
            "pricingModel": {
              "type": "string",
              "description": "Database Pricing Model.",
              "enum": [
                "DTU",
                "vCore",
                "DWU",
                "RU"
              ]
            },
            "replicationRole": {
              "type": "string",
              "description": "Replication role if DB is part of geo replicated DB. Currently applies to Azure DB only.",
              "enum": [
                "Primary",
                "Secondary",
                "None"
              ]
            },
            "storageTier": {
              "type": "string",
              "description": "Storage Tier"
            },
            "dbServerName": {
              "type": "string",
              "description": "The server name of a database"
            },
            "serviceTier": {
              "type": "string",
              "description": "The service tier of a database, generally defines the storage architecture, space and I/O limits, and business continuity options related to availability and disaster recovery.",
              "enum": [
                "Free",
                "Basic",
                "Standard",
                "Premium",
                "GeneralPurpose",
                "BusinessCritical",
                "Hyperscale"
              ]
            },
            "computeTier": {
              "type": "string",
              "description": "The compute tier of a database. Compute tier options include the provisioned and serverless compute tiers"
            },
            "hardwareGeneration": {
              "type": "string",
              "description": "Database hardware generation. The generation of hardware that underlies the DB instance"
            },
            "backupPolicy": {
              "type": "string",
              "description": "The policy to backup and restore a database."
            },
            "workspace": {
              "type": "string",
              "description": "The resource group where the database is located."
            },
            "idleTime": {
              "type": "integer",
              "format": "int64",
              "description": "Time duration for a database being idle in milliseconds."
            },
            "poolType": {
              "type": "string",
              "description": "Type of database pool."
            },
            "resourceId": {
              "type": "string",
              "description": "Resource identifier of the database. For example, the resource id in Azure, the ARN in AWS, or the full resource name in GCP."
            },
            "serverConfiguration": {
              "type": "string",
              "description": "The Database server configuration"
            },
            "creationTimeStamp": {
              "type": "integer",
              "format": "int64",
              "description": "Timestamp in milliseconds for the creation of the database."
            },
            "inLowResourceMode": {
              "type": "boolean"
            }
          },
          "description": "Model to describe the db entity."
        }
      ]
    },
    "DeploymentProfileApiDTO": {
      "type": "object",
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        },
        "account": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "deployParameters": {
          "type": "array",
          "description": "Target and Provider parameters of the Deployment Profile",
          "items": {
            "$ref": "#/$defs/DeploymentProfileTargetApiDTO"
          }
        }
      },
      "description": "Model to describe a Deployment Profile, including target and provider entity parameters"
    },
    "DeploymentProfileParamApiDTO": {
      "type": "object",
      "properties": {
        "parameterType": {
          "type": "string",
          "description": "Parameter type. For vCenter, this can be a folder, osConfiguration, or image. For all other technologies, this must be an image.",
          "enum": [
            "image",
            "folder",
            "osConfiguration"
          ]
        },
        "properties": {
          "type": "array",
          "description": "A NameValueInputDTO describing the name and value of the parameter.",
          "items": {
            "$ref": "#/$defs/NameValueInputDTO"
          }
        }
      },
      "description": "Provider-specific Deployment Profile parameters"
    },
    "DeploymentProfileProviderApiDTO": {
      "type": "object",
      "properties": {
        "provider": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "parameters": {
          "type": "array",
          "description": "A DeploymentProfileParamApiDTO describing the parameters for the provider entities",
          "items": {
            "$ref": "#/$defs/DeploymentProfileParamApiDTO"
          }
        }
      },
      "description": "Deployment profile Provider properties"
    },
    "DeploymentProfileTargetApiDTO": {
      "type": "object",
      "properties": {
        "targetType": {
          "type": "string",
          "description": "Target type for the deployment profile",
          "enum": [
            "vCenter",
            "AWS",
            "Azure",
            "Softlayer"
          ]
        },
        "providers": {
          "type": "array",
          "description": "DeploymentProfileProviderApiInputDTO describing the provider entity parameters",
          "items": {
            "$ref": "#/$defs/DeploymentProfileProviderApiDTO"
          }
        }
      },
      "description": "Deployment Profile Target properties"
    },
    "DiscoveredEntityApiDTO": {
      "type": "object",
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        },
        "environmentType": {
          "type": "string",
          "description": "Environment type",
          "enum": [
            "CLOUD",
            "ONPREM",
            "HYBRID"
          ]
        },
        "discoveredBy": {
          "$ref": "#/$defs/TargetApiDTO"
        },
        "vendorIds": {
          "type": "object",
          "description": "The mapping of target identifier to vendor-provided identity of this entity on the remote target",
          "additionalProperties": {
            "type": "string"
          }
        }
      },
      "description": "Model to describe a discovered entity in the system"
    },
    "EntityAspect": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "sli": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "Parent class for entity aspects"
    },
    "EntityCostApiDTO": {
      "type": "object",
      "properties": {
        "value": {
          "type": "number",
          "format": "float",
          "description": "The cost value"
        },
        "hairCutRatio": {
          "type": "number",
          "format": "float",
          "description": "The hair cut ratio, it represents the portion of cost will be taken into consideration"
        },
        "costType": {
          "type": "string",
          "description": "Type of the Cost"
        },
        "costUnit": {
          "type": "string",
          "description": "Unit of the Cost"
        },
        "subCosts": {
          "type": "array",
          "description": "List of sub costs of the current cost",
          "items": {
            "$ref": "#/$defs/EntityCostApiDTO"
          }
        },
        "currency": {
          "type": "integer",
          "format": "int32"
        }
      },
      "description": "Model to describe the Costs of an entity"
    },
    "EntityIacApiDTO": {
      "type": "object",
      "properties": {
        "terraformStateFileSpec": {
          "$ref": "#/$defs/TerraformStateFileSpecApiDTO"
        },
        "vcsInfo": {
          "$ref": "#/$defs/VcsInfoApiDTO"
        }
      },
      "description": "Model to describe Iac configuration for Terraform managed entities."
    },
    "ExecutorInfoApiDTO": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string",
          "description": "The type of the executor. such as a user, a schedule, or the system.",
          "enum": [
            "USER",
            "SCHEDULE",
            "EXECUTED_EXTERNALLY",
            "SYSTEM"
          ]
        },
        "scheduleInfo": {
          "$ref": "#/$defs/ExecutorScheduleApiDTO"
        },
        "userInfo": {
          "$ref": "#/$defs/ExecutorUserApiDTO"
        },
        "systemInfo": {
          "$ref": "#/$defs/ExecutorSystemApiDTO"
        }
      },
      "description": "Model to describe the entity that triggered action execution. such as a user, a schedule, or the system."
    },
    "ExecutorScheduleApiDTO": {
      "type": "object",
      "required": [
        "scheduleName"
      ],
      "properties": {
        "scheduleName": {
          "type": "string",
          "description": "Name of the schedule"
        }
      },
      "description": "Model to describe the Schedule that executed the action."
    },
    "ExecutorSystemApiDTO": {
      "type": "object",
      "properties": {
        "workloadSetName": {
          "type": "string",
          "description": "Name of the workload set that triggered this action. Omitted if the action was not triggered by a workload set."
        }
      },
      "description": "Model to describe system-initiated action execution, such as actions triggered by workload sets."
    },
    "ExecutorUserApiDTO": {
      "type": "object",
      "required": [
        "userName"
      ],
      "properties": {
        "userName": {
          "type": "string",
          "description": "Name of the user"
        }
      },
      "description": "Model to describe the user who triggered this action."
    },
    "ExtraSpecApiDTO": {
      "type": "object",
      "required": [
        "key",
        "value"
      ],
      "properties": {
        "key": {
          "type": "string",
          "description": "Key value of the extra spec"
        },
        "value": {
          "type": "string",
          "description": "Value of the extra spec"
        }
      },
      "description": "Model to describe the ExtraSpec of a Template"
    },
    "FailedResourceApiDTO": {
      "type": "object",
      "required": [
        "commodity",
        "requestedAmount"
      ],
      "properties": {
        "commodity": {
          "$ref": "#/$defs/BaseCommodityApiDTO"
        },
        "requestedAmount": {
          "type": "number",
          "format": "double",
          "description": "The requested amount of the commodity that caused the entity to be unplaced"
        },
        "maxAvailable": {
          "type": "number",
          "format": "double",
          "description": "The maximum available amount of the requested commodity. Populated only if there are one or more entities selling the requested commodity."
        }
      },
      "description": "A description of the resource that caused an entity to be unplaced"
    },
    "InputFieldApiDTO": {
      "type": "object",
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        },
        "name": {
          "type": "string",
          "description": "Name of the field, used for field identification."
        },
        "value": {
          "type": "string",
          "description": "Field value. Used if field holds primitive value (String, number or boolean"
        },
        "defaultValue": {
          "type": "string",
          "description": "Default value of the field"
        },
        "isMandatory": {
          "type": "boolean",
          "description": "Whether the field is mandatory. Valid targets must have all the mandatory fields set."
        },
        "isSecret": {
          "type": "boolean",
          "description": "Whether the field is secret. This means, that field value is stored in an encrypted value and not shown in any logs."
        },
        "isMultiline": {
          "type": "boolean",
          "description": "Whether the field can have multiline values. Can be only true when the valueType field is set to STRING."
        },
        "isTargetDisplayName": {
          "type": "boolean",
          "description": "Whether the field is used as a target display name."
        },
        "valueType": {
          "type": "string",
          "description": "Type of the value this field holds",
          "enum": [
            "STRING",
            "BOOLEAN",
            "NUMERIC",
            "INTEGER",
            "LIST",
            "OBJECT",
            "GROUP_SCOPE",
            "SECRET"
          ]
        },
        "specificValueType": {
          "type": "string",
          "description": "A specific Type of the value that can't be described in valueType"
        },
        "description": {
          "type": "string",
          "description": "Additional information about what the input to the field should be"
        },
        "verificationRegex": {
          "type": "string",
          "description": "The regex pattern that needs to be satisfied for the input field text"
        },
        "groupProperties": {
          "type": "array",
          "description": "Group scope structure, filled if this field represents group scope value",
          "items": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "allowedValues": {
          "type": "array",
          "description": "Potential values for this field. If nonempty, value must be one of the choices in the list.",
          "items": {
            "type": "string"
          }
        },
        "dependencyKey": {
          "type": "string",
          "description": "A key of a dependency account value field. If this value is not set, field is declared without any dependencies. If an annotated account value field has a dependency it means that it's presence is logically driven by the dependency field. \n This field is expected to be available ONLY when field specified by {@code dependencyKey} has value {@code dependencyValue}. If this field is not available because of unmet dependency, this field will not be validated and stored in target configuration data. If a dependency for this field is unmet value of this field will be null"
        },
        "dependencyValue": {
          "type": "string",
          "description": "Value of a field of account values referenced by {@code dependencyKey} to enable (activate) the annotated field. Value is specified using a regular expression. Specifying just a string will also work correctly. \nIf a referenced account value field is a boolean field, only \"true\" or \"false\" are supported as values.\n If a referenced account value is an enumeration ({@code allowedValues} is specified) this value is only restricted to contain a subset of the allowed values united using a pipe {@code one|two|four}."
        },
        "secretManager": {
          "$ref": "#/$defs/SecretManagerInfoApiDTO"
        }
      },
      "description": "Basic information of an entity"
    },
    "Link": {
      "type": "object",
      "properties": {
        "rel": {
          "$ref": "#/$defs/LinkRelation"
        },
        "href": {
          "type": "string",
          "readOnly": true
        },
        "hreflang": {
          "type": "string",
          "readOnly": true
        },
        "media": {
          "type": "string",
          "readOnly": true
        },
        "title": {
          "type": "string",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "readOnly": true
        },
        "deprecation": {
          "type": "string",
          "readOnly": true
        },
        "profile": {
          "type": "string",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "readOnly": true
        }
      }
    },
    "LinkRelation": {
      "type": "object"
    },
    "LogEntryApiDTO": {
      "type": "object",
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        },
        "logActionTime": {
          "type": "integer",
          "format": "int64"
        },
        "targetSE": {
          "type": "string"
        },
        "targetUuid": {
          "type": "string"
        },
        "currentSE": {
          "type": "string"
        },
        "currentSEUuid": {
          "type": "string"
        },
        "newSE": {
          "type": "string"
        },
        "newSEUuid": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "subCategory": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "shortDescription": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "severity": {
          "type": "string"
        },
        "count": {
          "type": "integer",
          "format": "int64"
        },
        "total": {
          "type": "integer",
          "format": "int64"
        },
        "user": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "importance": {
          "type": "number",
          "format": "float"
        },
        "reasonCommodities": {
          "type": "array",
          "description": "The distinct set of commodities that were the reason for the action. Not all actions are driven by commodities. So its possible that this can be an empty list.",
          "uniqueItems": true,
          "items": {
            "type": "string"
          }
        },
        "reasonCommodityRelationType": {
          "type": "string",
          "description": "Relation type (bought/sold) of the reason commodity",
          "enum": [
            "sold",
            "bought"
          ]
        },
        "logDBId": {
          "type": "integer",
          "format": "int64"
        }
      },
      "description": "Basic information of an entity"
    },
    "NameValueInputDTO": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Parameter type. For vCenter, this can be a name or id. For all other target types, this must be an id.",
          "enum": [
            "name",
            "id"
          ]
        },
        "value": {
          "type": "string"
        }
      },
      "description": "Deployment Profile provider parameters"
    },
    "PatchedTargetDataApiDTO": {
      "type": "object",
      "required": [
        "patchedFields",
        "probeType"
      ],
      "properties": {
        "probeType": {
          "type": "string",
          "description": "Probe type of the patched target."
        },
        "patchedFields": {
          "type": "array",
          "description": "Patched target fields.",
          "items": {
            "$ref": "#/$defs/PatchedTargetFieldApiDTO"
          }
        }
      },
      "description": "Model to describe a patched target data."
    },
    "PatchedTargetFieldApiDTO": {
      "type": "object",
      "properties": {
        "fieldName": {
          "type": "string",
          "description": "Patched field name."
        },
        "fieldValue": {
          "type": "string",
          "description": "Patched field value."
        }
      },
      "description": "Model to describe a field in patched target data."
    },
    "PermissionCheckResultApiDTO": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The IAM permission action, e.g. 'Microsoft.Compute/disks/read'."
        },
        "status": {
          "type": "string",
          "description": "Check status of the permission.",
          "enum": [
            "UNDETERMINED",
            "GRANTED",
            "MISSING"
          ]
        },
        "description": {
          "type": "string",
          "description": "Human-readable description of what the permission is used for."
        },
        "category": {
          "type": "string",
          "description": "High-level permission category grouping.",
          "enum": [
            "WORKLOAD_MONITORING",
            "ACTION_EXECUTION",
            "BILLING"
          ]
        },
        "functionality": {
          "type": "array",
          "description": "Functional areas this permission enables, e.g. 'Discovery of VMs'.",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "Check outcome for a single permission entry."
    },
    "PolicyApiDTO": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "description": "Placement Policy Type",
          "enum": [
            "AT_MOST_N",
            "BIND_TO_GROUP",
            "BIND_TO_COMPLEMENTARY_GROUP",
            "MUST_RUN_TOGETHER",
            "AT_MOST_N_BOUND",
            "MERGE",
            "BIND_TO_GROUP_AND_LICENSE",
            "MUST_NOT_RUN_TOGETHER",
            "EXCLUSIVE_BIND_TO_GROUP"
          ]
        },
        "name": {
          "type": "string",
          "description": "Name of the policy"
        },
        "enabled": {
          "type": "boolean",
          "description": "Shows if the policy is enabled"
        },
        "capacity": {
          "type": "integer",
          "format": "int32",
          "description": "Indicate the max workload entities at the same time per placement entites, used when type is AT_MOST_N_BOUND"
        },
        "commodityType": {
          "type": "string",
          "description": "Commodity type used for the policy"
        },
        "mergeType": {
          "type": "string",
          "description": "Type of Group that is merged, used only when type is MERGE",
          "enum": [
            "Cluster",
            "StorageCluster",
            "DataCenter",
            "DesktopPool"
          ]
        },
        "consumerGroup": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "providerGroup": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "mergeGroups": {
          "type": "array",
          "description": "List of Groups to merge, used when type is MERGE",
          "items": {
            "$ref": "#/$defs/BaseApiDTO"
          }
        },
        "providerEntityType": {
          "type": "string",
          "description": "The entity type for the provider. This property is only applicable when policy type is set to MUST_RUN_TOGETHER or MUST_NOT_RUN_TOGETHER. When policy type is set to MUST_RUN_TOGETHER or MUST_NOT_RUN_TOGETHER, this field  should be set with type of provider where members of consumer group must run or must not run together on it depending on the policy type.",
          "enum": [
            "Application",
            "ApplicationComponent",
            "ApplicationServer",
            "AvailabilityZone",
            "BusinessAccount",
            "BusinessApplication",
            "BusinessTransaction",
            "BusinessUser",
            "Chassis",
            "CloudService",
            "ComputeTier",
            "Container",
            "ContainerPod",
            "ContainerSpec",
            "Database",
            "DatabaseServer",
            "DatabaseServerTier",
            "DatabaseTier",
            "DataCenter",
            "DesktopPool",
            "DiskArray",
            "DPod",
            "HCIPhysicalMachine",
            "HypervisorServer",
            "Internet",
            "IOModule",
            "LoadBalancer",
            "LogicalPool",
            "Namespace",
            "Network",
            "Numa",
            "PhysicalMachine",
            "ProcessorPool",
            "Project",
            "Region",
            "Repository",
            "ReservedInstance",
            "Service",
            "ServiceProvider",
            "Storage",
            "StorageController",
            "StorageProvisioner",
            "StoragePool",
            "StorageVolumeController",
            "StorageTier",
            "Switch",
            "Unknown",
            "ViewPod",
            "VirtualApplication",
            "VirtualDataCenter",
            "VirtualMachine",
            "VirtualVolume",
            "VPod",
            "WebServer",
            "WorkloadController",
            "ContainerPlatformCluster",
            "CloudCommitment",
            "ApplicationComponentSpec",
            "VirtualMachineSpec",
            "DocumentCollection",
            "NodeGroup",
            "PowerVMPhysicalMachine",
            "DataWarehouse",
            "DataWarehouseTier",
            "ClusterEntity",
            "DatabaseServerCluster",
            "DatabaseServerSpec",
            "DataLakehouse",
            "ContainerizedVirtualMachine",
            "GuestVirtualMachine",
            "Image"
          ]
        },
        "enableCreateResourcePool": {
          "type": "boolean",
          "description": "Enable create resource pool during cross VM moves, used when type is any but MERGE.When enabled resource pool, of which VM is part of at source , is created in destination if it does not exists in destination during a cross cluster or vcenter VM move.By default this is disabled(false)"
        },
        "createdAt": {
          "type": "integer",
          "format": "int64",
          "description": "The time at which the policy was created, in epoch seconds"
        },
        "updatedAt": {
          "type": "integer",
          "format": "int64",
          "description": "The time at which the policy was last updated, in epoch seconds"
        },
        "createdBy": {
          "type": "integer",
          "format": "int64",
          "description": "The OID of the user who created this policy"
        },
        "updatedBy": {
          "type": "integer",
          "format": "int64",
          "description": "The OID of the user who last updated this policy"
        },
        "description": {
          "type": "string",
          "description": "Description of the placement policy"
        }
      },
      "description": "Model to describe a Workload policy, used to manage the entities in the Environment. e.g. Restrict the number of VMs that can use a given datastore, Limit VM mobility by restricting a collection of VMs to a specified cluster or group of hosts, Expand VM mobility by merging a number of clusters, Keep workload running on hosts that have the required licenses"
    },
    "RelatedSettingsPolicyApiDTO": {
      "type": "object",
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        },
        "excludedTierPercentage": {
          "type": "integer",
          "format": "int32",
          "description": "Percentage of tiers (out of the available tiers for the entity) that this policy excludes [IN DEVELOPMENT]. Only populated for reconfigure actions."
        }
      },
      "description": "A settings policy related to an action, with optional tier exclusion data"
    },
    "ReservedInstanceApiDTO": {
      "type": "object",
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        },
        "template": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "platform": {
          "type": "string",
          "description": "Platform name",
          "enum": [
            "UNKNOWN",
            "LINUX",
            "RHEL",
            "SUSE",
            "WINDOWS",
            "WINDOWS_WITH_SQL_STANDARD",
            "WINDOWS_WITH_SQL_WEB",
            "WINDOWS_WITH_SQL_SERVER_ENTERPRISE",
            "LINUX_WITH_SQL_STANDARD",
            "LINUX_WITH_SQL_WEB",
            "LINUX_WITH_SQL_SERVER_ENTERPRISE"
          ]
        },
        "type": {
          "type": "string",
          "description": "Reserved instance type",
          "enum": [
            "STANDARD",
            "CONVERTIBLE"
          ]
        },
        "location": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "accountId": {
          "type": "string",
          "description": "Account ID"
        },
        "accountDisplayName": {
          "type": "string",
          "description": "Account display name"
        },
        "targetId": {
          "type": "string",
          "description": "The associated target ID of the account"
        },
        "masterAccountId": {
          "type": "string",
          "description": "Master account ID"
        },
        "term": {
          "$ref": "#/$defs/StatApiDTO"
        },
        "payment": {
          "type": "string",
          "description": "Payment option",
          "enum": [
            "ALL_UPFRONT",
            "PARTIAL_UPFRONT",
            "NO_UPFRONT"
          ]
        },
        "onDemandPrice": {
          "$ref": "#/$defs/StatApiDTO"
        },
        "costPrice": {
          "$ref": "#/$defs/StatApiDTO"
        },
        "coupons": {
          "$ref": "#/$defs/StatApiDTO"
        },
        "totalCoupons": {
          "type": "number",
          "format": "float",
          "description": "Total coupons provided by the cbtp the vm matched with"
        },
        "expDate": {
          "type": "string",
          "description": "Expiration date"
        },
        "instanceCount": {
          "type": "integer",
          "format": "int32",
          "description": "Number of reserved instance with the same type, template, platform etc.."
        },
        "tenancy": {
          "type": "string",
          "description": "Tenancy",
          "enum": [
            "DEFAULT",
            "DEDICATED",
            "HOST"
          ]
        },
        "upFrontCost": {
          "type": "number",
          "format": "double",
          "description": "Up front cost"
        },
        "actualHourlyCost": {
          "type": "number",
          "format": "double",
          "description": "Actual hourly cost"
        },
        "effectiveHourlyCost": {
          "type": "number",
          "format": "double",
          "description": "Effective hourly cost"
        },
        "isExpired": {
          "type": "boolean",
          "description": "Whether the RI be expired by a date provided"
        },
        "expDateEpochTime": {
          "type": "integer",
          "format": "int64",
          "description": "Expiration Date in epoch time"
        },
        "cloudType": {
          "type": "string",
          "description": "Cloud Type",
          "enum": [
            "AWS",
            "AZURE",
            "GCP",
            "HYBRID",
            "UNKNOWN",
            "OCI",
            "IBM_CLOUD"
          ]
        },
        "scopeType": {
          "type": "string",
          "description": "Whether the RI scope is Single or Shared (Azure)",
          "enum": [
            "SINGLE",
            "SHARED",
            "RESOURCE_GROUP",
            "UNKNOWN"
          ]
        },
        "appliedScopes": {
          "type": "array",
          "description": "List of applied scope UUIDs - only provided when scope is Single or Resource_Group (Azure)",
          "items": {
            "type": "string"
          }
        },
        "expandedAppliedScopes": {
          "type": "array",
          "description": "List of applied scopes with additional information about each scope",
          "items": {
            "$ref": "#/$defs/BaseApiDTO"
          }
        },
        "orderID": {
          "type": "string",
          "description": "The Order ID of the RI (Azure)"
        },
        "trueID": {
          "type": "string",
          "description": "The ID of the RI"
        },
        "coveredEntityCount": {
          "type": "integer",
          "format": "int32",
          "description": "Count of workload entities covered by the reserved instance"
        },
        "undiscoveredAccountsCoveredCount": {
          "type": "integer",
          "format": "int32",
          "description": "Count of undiscovered accounts covered by the reserved instance"
        },
        "toBuy": {
          "type": "boolean"
        },
        "sizeFlexible": {
          "type": "boolean"
        }
      },
      "description": "Model to describe a Reserved Instance"
    },
    "ResourceApiDTO": {
      "type": "object",
      "properties": {
        "stats": {
          "type": "array",
          "description": "Statistics, e.g. Number of CPU, Memory size, Disk size, ...",
          "items": {
            "$ref": "#/$defs/StatApiDTO"
          }
        },
        "provider": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "type": {
          "type": "string",
          "description": "Type of the resource"
        },
        "template": {
          "type": "string",
          "description": "Template used to fulfill the resources"
        },
        "relatedResources": {
          "type": "array",
          "description": "[DEPRECATED - Use: linkedResources] ID of resources related to this resource",
          "items": {
            "type": "string"
          }
        },
        "linkedResources": {
          "type": "array",
          "description": "resources related to this resource. For now, this will only contain the cluster",
          "items": {
            "$ref": "#/$defs/BaseApiDTO"
          }
        }
      },
      "description": "Model to describe the Resources of a Template"
    },
    "SecretManagerInfoApiDTO": {
      "type": "object",
      "properties": {
        "secretProviderId": {
          "type": "string",
          "description": "Secret provider id."
        },
        "secretPath": {
          "type": "string",
          "description": "Path where secret lives."
        }
      }
    },
    "ServiceEntityApiDTO": {
      "type": "object",
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        },
        "environmentType": {
          "type": "string",
          "description": "Environment type",
          "enum": [
            "CLOUD",
            "ONPREM",
            "HYBRID"
          ]
        },
        "discoveredBy": {
          "$ref": "#/$defs/TargetApiDTO"
        },
        "vendorIds": {
          "type": "object",
          "description": "The mapping of target identifier to vendor-provided identity of this entity on the remote target",
          "additionalProperties": {
            "type": "string"
          }
        },
        "priceIndex": {
          "type": "number",
          "format": "float",
          "description": "Price index of the Entity"
        },
        "state": {
          "type": "string",
          "description": "State",
          "enum": [
            "IDLE",
            "RESOURCE_ALLOCATION",
            "LAUNCH",
            "ACTIVE",
            "RESOURCE_RELEASE",
            "SUSPEND",
            "SUSPEND_PENDING",
            "TERMINATE_PENDING",
            "NOT_MONITORED",
            "MAINTENANCE",
            "FAILOVER",
            "UNKNOWN",
            "EVACUATED",
            "QUEUED",
            "NOT_FOUND"
          ]
        },
        "severity": {
          "type": "string",
          "description": "Highest severity of the Actions related to this entity",
          "enum": [
            "UNKNOWN",
            "NORMAL",
            "MINOR",
            "MAJOR",
            "CRITICAL"
          ]
        },
        "unplacementDetails": {
          "$ref": "#/$defs/UnplacementDetailsApiDTO"
        },
        "costPrice": {
          "type": "number",
          "format": "float",
          "description": "Cost price per Hour"
        },
        "severityBreakdown": {
          "type": "object",
          "description": "A Map of severity along with their count. E.g. {CRITICAL: 1, NORMAL: 10}",
          "additionalProperties": {
            "type": "integer",
            "format": "int64"
          }
        },
        "realtimeMarketReference": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "providers": {
          "type": "array",
          "description": "List of Providers",
          "items": {
            "$ref": "#/$defs/BaseApiDTO"
          }
        },
        "consumers": {
          "type": "array",
          "description": "List of Consumers",
          "items": {
            "$ref": "#/$defs/BaseApiDTO"
          }
        },
        "template": {
          "$ref": "#/$defs/TemplateApiDTO"
        },
        "numRelatedVMs": {
          "type": "integer",
          "format": "int32",
          "description": "Number of related VMs"
        },
        "connectedEntities": {
          "type": "array",
          "description": "Limited list of connected entities relevant to the service entity. This will not contain all connected entities.",
          "items": {
            "$ref": "#/$defs/BaseApiDTO"
          }
        },
        "aspects": {
          "type": "object",
          "description": "Additional info about the Entity categorized as Aspects",
          "additionalProperties": {
            "$ref": "#/$defs/EntityAspect"
          }
        },
        "tags": {
          "type": "object",
          "description": "Tags are the metadata defined in name/value pairs. Each name can have multiple values.",
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "onDemandRateBefore": {
          "type": "number",
          "format": "float",
          "description": "On-demand rate before actions"
        },
        "onDemandRateAfter": {
          "type": "number",
          "format": "float",
          "description": "On-demand rate after actions"
        },
        "entityCosts": {
          "type": "array",
          "description": "Cost info for the entity",
          "items": {
            "$ref": "#/$defs/EntityCostApiDTO"
          }
        },
        "controllable": {
          "type": "boolean"
        }
      },
      "description": "Model to describe an Entity, e.g. Virtual Machine, Physical Machine, Storage"
    },
    "StatApiDTO": {
      "type": "object",
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        },
        "name": {
          "type": "string",
          "description": "Name"
        },
        "capacity": {
          "$ref": "#/$defs/StatValueApiDTO"
        },
        "reserved": {
          "$ref": "#/$defs/StatValueApiDTO"
        },
        "relatedEntityType": {
          "type": "string",
          "description": "E.G.virtual machine"
        },
        "filters": {
          "type": "array",
          "description": "describe the grouping options used to generate the output",
          "items": {
            "$ref": "#/$defs/StatFilterApiDTO"
          }
        },
        "relatedEntity": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "numRelatedEntities": {
          "type": "integer",
          "format": "int32",
          "description": "Number of providers or consumers for this statistic, 'relatedEntity' and 'numRelatedEntities' are mutually exclusive"
        },
        "units": {
          "type": "string",
          "description": "Units, used for Commodities stats. E.G. $/h"
        },
        "values": {
          "$ref": "#/$defs/StatValueApiDTO"
        },
        "value": {
          "type": "number",
          "format": "float",
          "description": "Simple value, equal to values.avg."
        },
        "predicted": {
          "type": "number",
          "format": "float",
          "description": "[Beta]: Predicted value for the statistic. Only returns values when the SLO Guard system is turned on"
        },
        "commoditySource": {
          "$ref": "#/$defs/StatCommoditySourceApiDTO"
        },
        "histUtilizations": {
          "type": "array",
          "description": "Commodity historical utilization values",
          "items": {
            "$ref": "#/$defs/StatHistUtilizationApiDTO"
          }
        }
      },
      "description": "Model to describe a Statistic"
    },
    "StatCommoditySourceApiDTO": {
      "type": "object",
      "properties": {
        "capacityCommoditySource": {
          "type": "string",
          "description": "Commodity source for capacity"
        },
        "usedCommoditySource": {
          "type": "string",
          "description": "Commodity source for usage"
        },
        "capacitySourceIndex": {
          "type": "integer",
          "format": "int32",
          "description": "Commodity source operation index for capacity"
        },
        "usedSourceIndex": {
          "type": "integer",
          "format": "int32",
          "description": "Commodity source operation index for usage"
        }
      },
      "description": "Model to describe commodity source for a single statistic, e.g. commodity source for VCPU (capacity and usage)"
    },
    "StatFilterApiDTO": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string",
          "description": "type of the filter, E.G: actionTypes, category, ..."
        },
        "value": {
          "type": "string",
          "description": "value of the filter"
        },
        "displayName": {
          "type": "string",
          "description": "display name of the value, E.G: displayName if 'value' is an oid or an enum"
        }
      },
      "description": "Model to describe the filter applied to a Statistic"
    },
    "StatHistUtilizationApiDTO": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "Historical utilization type"
        },
        "usage": {
          "type": "number",
          "format": "float",
          "description": "Historical usage"
        },
        "capacity": {
          "type": "number",
          "format": "float",
          "description": "Historical capacity"
        },
        "resizeMaxScalingObservationPeriod": {
          "type": "number",
          "format": "float",
          "description": "Resize max scaling observation period. Affects on amount of data points considered for action generation process. Value in days."
        },
        "resizeScalingAggressiveness": {
          "type": "number",
          "format": "float",
          "description": "Resize scaling aggressiveness. Describes how aggressively Turbonomic will resize in response of resource utilization. Value in percents. 100% least aggressive, 95% most aggressive."
        }
      },
      "description": "Model to describe a historical utilization statistic, e.g. the P95 vCPU or P95 vMEM of a VM over (up to) NN days observation period."
    },
    "StatValueApiDTO": {
      "type": "object",
      "properties": {
        "max": {
          "type": "number",
          "format": "float",
          "description": "Max value"
        },
        "min": {
          "type": "number",
          "format": "float",
          "description": "Min value"
        },
        "avg": {
          "type": "number",
          "format": "float",
          "description": "Average value"
        },
        "total": {
          "type": "number",
          "format": "float",
          "description": "Total value - sum of average values in a group"
        },
        "totalMax": {
          "type": "number",
          "format": "float",
          "description": "Total max value - sum of max values in a group"
        },
        "totalMin": {
          "type": "number",
          "format": "float",
          "description": "Total min value - sum of min values in a group"
        }
      },
      "description": "Model to describe a single statistic, e.g. the CPU of a PM Group"
    },
    "TargetApiDTO": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        },
        "category": {
          "type": "string",
          "description": "Probe category."
        },
        "isProbeRegistered": {
          "type": "boolean",
          "description": "Indicator that is used to determine whether the associated probe is running and registered with the system"
        },
        "uiCategory": {
          "type": "string",
          "description": "Probe UI category."
        },
        "identifyingFields": {
          "type": "array",
          "description": "Array of field names used to differentiate probes of the same category. Most typically either the name/address field, or a combination of address and port.",
          "items": {
            "type": "string"
          }
        },
        "inputFields": {
          "type": "array",
          "description": "List of all InputFieldApiDTO objects for the target, analogous to the target addition form fields in the GUI.",
          "items": {
            "$ref": "#/$defs/InputFieldApiDTO"
          }
        },
        "lastValidated": {
          "type": "string",
          "description": "Date of the last validation - [DEPRECATED - Use: healthSummary.timeOfLastSuccessfulDiscovery]"
        },
        "status": {
          "type": "string",
          "description": "Description of the status of the most recent Validation Operation - [DEPRECATED - Use: healthSummary.healthState]"
        },
        "derivedTargets": {
          "type": "array",
          "description": "Targets derived (created by discovery of) from this target. Populated depending on the TargetRelationship parameter.",
          "items": {
            "$ref": "#/$defs/TargetApiDTO"
          }
        },
        "patchedTargets": {
          "type": "array",
          "description": "Targets patched by this target",
          "items": {
            "$ref": "#/$defs/PatchedTargetDataApiDTO"
          }
        },
        "parentTargets": {
          "type": "array",
          "description": "Targets that created this target. Populated depending on the TargetRelationship parameter.",
          "items": {
            "$ref": "#/$defs/TargetApiDTO"
          }
        },
        "type": {
          "type": "string",
          "description": "Probe type. Turbonomic ships with the following probe types:  AppDynamics, Dynatrace, Datadog, Apptio Cloudability, Arista, AWS, Azure, Cisco UCS Manager, HP OneView, HPE 3PAR, Hyper-V, IBM PowerVM, Instana, JVM, MySQL, NetApp, Nutanix, OpenStack, Oracle, Pure, SQLServer, Tomcat, vCenter, VMM, WebLogic, WebSphere, WMI, XenServer, "
        },
        "subType": {
          "type": "string",
          "description": "Target subType."
        },
        "readonly": {
          "type": "boolean",
          "description": "Whether the target cannot be changed through public APIs."
        },
        "health": {
          "$ref": "#/$defs/TargetHealthApiDTO"
        },
        "lastTargetOperationStages": {
          "type": "array",
          "description": "The status at each stage of the most recent validation or discovery, which ever was more recent. Only returned if 'detail_level' is 'HEALTH_DETAILS'",
          "items": {
            "$ref": "#/$defs/TargetOperationStageApiDTO"
          }
        },
        "lastValidationOperationDetails": {
          "$ref": "#/$defs/TargetOperationDetailsApiDTO"
        },
        "lastDiscoveryOperationDetails": {
          "$ref": "#/$defs/TargetOperationDetailsApiDTO"
        },
        "permissionCheckResults": {
          "type": "array",
          "description": "Per-permission check results from the most recent validation. Only returned if 'detail_level' is 'HEALTH_DETAILS'. Only populated for probe types that perform permission checking.",
          "items": {
            "$ref": "#/$defs/PermissionCheckResultApiDTO"
          }
        },
        "healthSummary": {
          "$ref": "#/$defs/TargetHealthSummaryApiDTO"
        },
        "discoveryMode": {
          "type": "string",
          "description": "The discovery mode for the target.",
          "enum": [
            "ACTIVE",
            "PAUSED"
          ]
        }
      },
      "description": "Model to describe a Target. Targets are used to discover the components to create a connected virtual environment"
    },
    "TargetDedicatedExtraSpecsApiDTO": {
      "type": "object",
      "properties": {
        "targetType": {
          "type": "string",
          "description": "Target type of the template metadata"
        },
        "templateExtraSpecs": {
          "type": "array",
          "description": "Extra specs scoped to the target type",
          "items": {
            "$ref": "#/$defs/ExtraSpecApiDTO"
          }
        }
      },
      "description": "Model to describe target-dedicated extra specs of a Template"
    },
    "TargetErrorApiDTO": {
      "type": "object",
      "properties": {
        "timestamp": {
          "type": "string",
          "description": "The time the error occurred in ISO-8601 format (YYYY-MM-DDTHH:MM:SSZ). For example 2021-07-07T20:33:49Z"
        },
        "message": {
          "type": "string",
          "description": "The error message."
        }
      },
      "description": "An error that was recorded for a target, together with the time it occurred."
    },
    "TargetErrorDetailsApiDTO": {
      "type": "object",
      "required": [
        "targetErrorDetailsClass"
      ],
      "properties": {
        "targetErrorDetailsClass": {
          "type": "string"
        }
      },
      "description": "Additional details related to a target error."
    },
    "TargetHealthApiDTO": {
      "type": "object",
      "required": [
        "healthCategory",
        "healthClassDiscriminator",
        "rollupState",
        "targetName",
        "uuid"
      ],
      "properties": {
        "errorText": {
          "type": "string",
          "description": "Error text (if there's any)."
        },
        "healthCategory": {
          "type": "string",
          "description": "The type of the health checks that are done.",
          "enum": [
            "TARGET",
            "ACTION",
            "COMPONENT"
          ]
        },
        "healthClassDiscriminator": {
          "type": "string",
          "description": "Health type discriminator. Describes which subclass of BaseHealthApiDTO is returned."
        },
        "uuid": {
          "type": "string",
          "description": "UUID of the target."
        },
        "targetName": {
          "type": "string",
          "description": "Target display name."
        },
        "rollupState": {
          "type": "string",
          "description": "The health state of the target including its derived targets.",
          "enum": [
            "CRITICAL",
            "MAJOR",
            "MINOR",
            "NORMAL"
          ]
        },
        "timeOfFirstFailure": {
          "type": "string",
          "description": "Time of first failure of validation/discovery (if the target is in failed state; ISO-8601 formatted String)."
        },
        "targetErrorDetails": {
          "type": "array",
          "description": "Error details related to a target. Supports multiple errors details.",
          "items": {
            "$ref": "#/$defs/TargetErrorDetailsApiDTO"
          }
        },
        "recentErrors": {
          "type": "array",
          "description": "The most recent errors recorded for the target (for example failed discoveries or a failed probe upgrade), newest first. They are kept until the target is deleted.",
          "items": {
            "$ref": "#/$defs/TargetErrorApiDTO"
          }
        },
        "targetStatusSubcategory": {
          "type": "string",
          "enum": [
            "DISCOVERY",
            "VALIDATION",
            "DUPLICATION",
            "DELAYED_DATA"
          ]
        },
        "healthState": {
          "type": "string",
          "enum": [
            "CRITICAL",
            "MAJOR",
            "MINOR",
            "NORMAL"
          ]
        }
      },
      "description": "A DTO that describes the health of a single target."
    },
    "TargetHealthSummaryApiDTO": {
      "type": "object",
      "required": [
        "healthState",
        "rollupState"
      ],
      "properties": {
        "healthState": {
          "type": "string",
          "description": "The target health state.",
          "enum": [
            "CRITICAL",
            "MAJOR",
            "MINOR",
            "NORMAL"
          ]
        },
        "rollupState": {
          "type": "string",
          "description": "The health state of the target including its derived targets.",
          "enum": [
            "CRITICAL",
            "MAJOR",
            "MINOR",
            "NORMAL"
          ]
        },
        "timeOfLastSuccessfulDiscovery": {
          "type": "string",
          "description": "The last time a successful discovery finished on the target in ISO-8601 Format (YYYY-MM-DDTHH:MM:SSZ). For example 2021-07-07T20:33:49Z"
        }
      },
      "description": "A DTO that describes target health."
    },
    "TargetOperationDetailsApiDTO": {
      "type": "object",
      "properties": {
        "stages": {
          "type": "array",
          "description": "The status at each stage of this operation.",
          "items": {
            "$ref": "#/$defs/TargetOperationStageApiDTO"
          }
        },
        "completionTime": {
          "type": "string",
          "description": "The time this operation completed, as an ISO-8601 UTC timestamp (e.g. 2021-07-07T20:33:49Z)."
        }
      },
      "description": "Stage details and completion time for a single target operation."
    },
    "TargetOperationStageApiDTO": {
      "type": "object",
      "properties": {
        "description": {
          "type": "string",
          "description": "The description of what this stage is doing (ideally in less that 70 characters). Example of description are \"validating credentials\" or \"retrieving business applications\"."
        },
        "status": {
          "$ref": "#/$defs/TargetOperationStageStatusApiDTO"
        },
        "subStages": {
          "type": "array",
          "description": "List with the subStages of he current stage.",
          "items": {
            "$ref": "#/$defs/TargetOperationStageApiDTO"
          }
        },
        "optional": {
          "type": "boolean",
          "description": "Is stage marked as optional."
        }
      },
      "description": "Holds all information related to a stage of discovery or validation."
    },
    "TargetOperationStageStatusApiDTO": {
      "type": "object",
      "properties": {
        "state": {
          "type": "string",
          "description": "The state of this stage at the end of the discovery or validation.",
          "enum": [
            "DID_NOT_RUN",
            "SUCCESS",
            "FAILURE",
            "MAJOR"
          ]
        },
        "summary": {
          "type": "string",
          "description": "The short message (ideally 70 characters or less) explaining the stage status. Example of such messages are \"invalid credentials\" or \"4 business application retrieved\"."
        },
        "fullExplanation": {
          "type": "string",
          "description": "The full message explaining the stage status. This explanation may include the instructions\n or hints on how to address issue if there is one."
        }
      },
      "description": "Holds all the information of this particular instance of the discovery or validation stage."
    },
    "TemplateApiDTO": {
      "type": "object",
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        },
        "price": {
          "type": "number",
          "format": "float",
          "description": "The estimated cost of the template. Used for Physical Machine and Storage templates where the hardware cost is known."
        },
        "model": {
          "type": "string",
          "description": "The model of the entire Physical Machine system."
        },
        "cpuModel": {
          "type": "string",
          "description": "The model of the CPU in the Physical Machine. "
        },
        "vendor": {
          "type": "string",
          "description": "Vendor of the templated entity"
        },
        "description": {
          "type": "string",
          "description": "Description"
        },
        "image": {
          "type": "string",
          "description": "Container Profile image"
        },
        "imageTag": {
          "type": "string",
          "description": "(UNUSED) Container Profile image tag"
        },
        "cmdWithArgs": {
          "type": "string",
          "description": "(UNUSED) Container command with Arguments"
        },
        "dbEngine": {
          "type": "string",
          "description": "Database engine, used for Database templates"
        },
        "dbEdition": {
          "type": "string",
          "description": "Database edition, used for Database templates"
        },
        "computeResources": {
          "type": "array",
          "description": "ResourceApiDTO describing the compute resources. Max 1 per template.",
          "items": {
            "$ref": "#/$defs/ResourceApiDTO"
          }
        },
        "extraSpecs": {
          "type": "array",
          "description": "ExtraSpecApiDTO describing the extra specs.",
          "items": {
            "$ref": "#/$defs/ExtraSpecApiDTO"
          }
        },
        "storageResources": {
          "type": "array",
          "description": "ResourceApiDTO describing the storage resources",
          "items": {
            "$ref": "#/$defs/ResourceApiDTO"
          }
        },
        "networkResources": {
          "type": "array",
          "description": "ResourceApiDTO describing the network resources",
          "items": {
            "$ref": "#/$defs/ResourceApiDTO"
          }
        },
        "infrastructureResources": {
          "type": "array",
          "description": "ResourceApiDTO describing the infrastructure resources. Max 1 per template",
          "items": {
            "$ref": "#/$defs/ResourceApiDTO"
          }
        },
        "targetDedicatedExtraSpecs": {
          "$ref": "#/$defs/TargetDedicatedExtraSpecsApiDTO"
        },
        "deploymentProfile": {
          "$ref": "#/$defs/DeploymentProfileApiDTO"
        },
        "discovered": {
          "type": "boolean",
          "description": "Indicates if the template is discovered or manually created",
          "enum": [
            true,
            false
          ]
        },
        "family": {
          "type": "string",
          "description": "For cloud templates, the instance family."
        },
        "enableMatch": {
          "type": "boolean",
          "description": "Add to Infrastructure Cost Policy. Infrastructure Cost policies group hardware devices according to their cost"
        }
      },
      "description": "Model to describe a Template: contains the resources used to Deploy a VM or to Add Workload/Supply in a Plan"
    },
    "TerraformAzureBlobBackendApiDTO": {
      "type": "object",
      "properties": {
        "storageAccountName": {
          "type": "string",
          "description": "Azure storage account name"
        },
        "containerName": {
          "type": "string",
          "description": "Azure blob container name"
        }
      },
      "description": "Model to describe terraform Azure Blob Storage backend config."
    },
    "TerraformGcsBackendApiDTO": {
      "type": "object",
      "properties": {
        "bucket": {
          "type": "string",
          "description": "GCS bucket"
        },
        "prefix": {
          "type": "string",
          "description": "GCS prefix"
        }
      },
      "description": "Model to describe terraform GCS backend config."
    },
    "TerraformHcpBackendApiDTO": {
      "type": "object",
      "properties": {
        "organization": {
          "type": "string",
          "description": "HCP organization"
        },
        "hostname": {
          "type": "string",
          "description": "HCP hostname"
        },
        "workspace": {
          "type": "string",
          "description": "HCP Workspace"
        },
        "projectName": {
          "type": "string",
          "description": "HCP Project Name"
        },
        "projectUrl": {
          "type": "string",
          "description": "HCP Project Url"
        },
        "policySetName": {
          "type": "string",
          "description": "HCP Policy Set Name"
        },
        "policySetUrl": {
          "type": "string",
          "description": "HCP Policy Set Url"
        }
      },
      "description": "Model to describe terraform HCP backend config."
    },
    "TerraformS3BackendApiDTO": {
      "type": "object",
      "properties": {
        "bucket": {
          "type": "string",
          "description": "S3 bucket"
        },
        "region": {
          "type": "string",
          "description": "S3 region"
        }
      },
      "description": "Model to describe terraform s3 backend config."
    },
    "TerraformStateFileLocationApiDTO": {
      "type": "object",
      "properties": {
        "repositoryName": {
          "type": "string",
          "description": "The name of repository"
        },
        "repositoryUrl": {
          "type": "string",
          "description": "The url of repository."
        },
        "repositoryVendorId": {
          "type": "string",
          "description": "The vendor id of repository"
        },
        "keys": {
          "type": "array",
          "description": "The state file location paths.",
          "items": {
            "type": "string"
          }
        },
        "resourceCount": {
          "type": "integer",
          "format": "int32",
          "description": "The count of Terraform resources in the repository"
        }
      },
      "description": "Model to describe terraform state file locations."
    },
    "TerraformStateFileSpecApiDTO": {
      "type": "object",
      "properties": {
        "s3Config": {
          "$ref": "#/$defs/TerraformS3BackendApiDTO"
        },
        "repositoryStateFileLinks": {
          "type": "array",
          "description": "Links of repositories to various state file locations",
          "items": {
            "$ref": "#/$defs/TerraformStateFileLocationApiDTO"
          }
        },
        "hcpConfig": {
          "$ref": "#/$defs/TerraformHcpBackendApiDTO"
        },
        "gcsConfig": {
          "$ref": "#/$defs/TerraformGcsBackendApiDTO"
        },
        "azureBlobConfig": {
          "$ref": "#/$defs/TerraformAzureBlobBackendApiDTO"
        },
        "backendType": {
          "type": "string",
          "description": "Backend Type",
          "enum": [
            "S3",
            "HCP",
            "TFE",
            "GCS",
            "AZURE_BLOB"
          ]
        }
      },
      "description": "Model to describe terraform state file attributes from Repositories"
    },
    "UnplacementDetailsApiDTO": {
      "type": "object",
      "required": [
        "reasons"
      ],
      "properties": {
        "reasons": {
          "type": "array",
          "description": "Detailed information about why the entity could not be placed",
          "items": {
            "$ref": "#/$defs/UnplacementReasonApiDTO"
          }
        },
        "placedOn": {
          "type": "array",
          "description": "For Unplaced entities in a Plan Market, the providers that this entity was able to place on",
          "items": {
            "$ref": "#/$defs/BaseApiDTO"
          }
        }
      },
      "description": "Additional information provided for entities in a plan that are unplaced"
    },
    "UnplacementReasonApiDTO": {
      "type": "object",
      "properties": {
        "failedResources": {
          "type": "array",
          "description": "A list of resources that caused the entity not to be placed",
          "items": {
            "$ref": "#/$defs/FailedResourceApiDTO"
          }
        },
        "resourceOwner": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "providerType": {
          "type": "string",
          "description": "The entity type that sells the commodities that caused unplacement.",
          "enum": [
            "Application",
            "ApplicationComponent",
            "ApplicationServer",
            "AvailabilityZone",
            "BusinessAccount",
            "BusinessApplication",
            "BusinessTransaction",
            "BusinessUser",
            "Chassis",
            "CloudService",
            "ComputeTier",
            "Container",
            "ContainerPod",
            "ContainerSpec",
            "Database",
            "DatabaseServer",
            "DatabaseServerTier",
            "DatabaseTier",
            "DataCenter",
            "DesktopPool",
            "DiskArray",
            "DPod",
            "HCIPhysicalMachine",
            "HypervisorServer",
            "Internet",
            "IOModule",
            "LoadBalancer",
            "LogicalPool",
            "Namespace",
            "Network",
            "Numa",
            "PhysicalMachine",
            "ProcessorPool",
            "Project",
            "Region",
            "Repository",
            "ReservedInstance",
            "Service",
            "ServiceProvider",
            "Storage",
            "StorageController",
            "StorageProvisioner",
            "StoragePool",
            "StorageVolumeController",
            "StorageTier",
            "Switch",
            "Unknown",
            "ViewPod",
            "VirtualApplication",
            "VirtualDataCenter",
            "VirtualMachine",
            "VirtualVolume",
            "VPod",
            "WebServer",
            "WorkloadController",
            "ContainerPlatformCluster",
            "CloudCommitment",
            "ApplicationComponentSpec",
            "VirtualMachineSpec",
            "DocumentCollection",
            "NodeGroup",
            "PowerVMPhysicalMachine",
            "DataWarehouse",
            "DataWarehouseTier",
            "ClusterEntity",
            "DatabaseServerCluster",
            "DatabaseServerSpec",
            "DataLakehouse",
            "ContainerizedVirtualMachine",
            "GuestVirtualMachine",
            "Image"
          ]
        },
        "closestSeller": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "placementProblem": {
          "type": "string",
          "description": "Categorizes the reason which caused unplacement",
          "enum": [
            "COSTS_NOT_FOUND",
            "NOT_CONTROLLABLE",
            "UNSATISFIED_COMMODITIES"
          ]
        }
      },
      "description": "Details to describe why an entity could not be placed"
    },
    "VcsInfoApiDTO": {
      "type": "object",
      "properties": {
        "organizationName": {
          "type": "string",
          "description": "Organization name"
        },
        "organizationUrl": {
          "type": "string",
          "description": "Organization address"
        },
        "type": {
          "type": "string",
          "description": "VCS target type",
          "enum": [
            "GitHub",
            "GitLab",
            "AzureDevOps",
            "Bitbucket"
          ]
        }
      },
      "description": "Model to describe Vcs-specific metadata."
    },
    "VirtualDiskApiDTO": {
      "type": "object",
      "properties": {
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "uuid": {
          "type": "string"
        },
        "displayName": {
          "type": "string",
          "description": "A user readable name of the api object.\nCannot be blank.\nThe UTF-8 encoding must be at most 255 bytes."
        },
        "className": {
          "type": "string"
        },
        "tier": {
          "type": "string",
          "description": "The tier of the Virtual Disk"
        },
        "actions": {
          "type": "array",
          "description": "The related action: Move or Delete",
          "items": {
            "$ref": "#/$defs/ActionApiDTO"
          }
        },
        "stats": {
          "type": "array",
          "description": "The related statistics for this virtual disk",
          "items": {
            "$ref": "#/$defs/StatApiDTO"
          }
        },
        "attachedVirtualMachine": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "provider": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "dataCenter": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "environmentType": {
          "type": "string",
          "description": "Environment type",
          "enum": [
            "CLOUD",
            "ONPREM",
            "HYBRID"
          ]
        },
        "lastModified": {
          "type": "integer",
          "format": "int64",
          "description": "Last Modified"
        },
        "businessAccount": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "resourceGroup": {
          "$ref": "#/$defs/BaseApiDTO"
        },
        "creationTime": {
          "type": "string",
          "description": "Creation time"
        },
        "skuName": {
          "type": "string",
          "description": "Sku name"
        },
        "snapshotId": {
          "type": "string",
          "description": "Snapshot id"
        },
        "encryption": {
          "type": "string",
          "description": "Encryption"
        },
        "attachmentState": {
          "type": "string",
          "description": "Attachment state",
          "enum": [
            "AVAILABLE",
            "IN_USE",
            "UNKNOWN"
          ]
        },
        "diskRole": {
          "type": "string",
          "description": "Disk Role",
          "enum": [
            "OS Disk",
            "Data Disk",
            "Temporary Disk",
            "Unknown"
          ]
        },
        "name": {
          "type": "string",
          "description": "Name"
        },
        "ephemeral": {
          "type": "string",
          "description": "Ephemeral"
        },
        "lastAttachedVm": {
          "type": "string",
          "description": "Name of the VM this volume was last attached to."
        },
        "numDaysUnattached": {
          "type": "string",
          "description": "Number of days ago this volume was last attached."
        },
        "hourlyBilledOps": {
          "type": "number",
          "format": "double",
          "description": "Average number of billed operations per hour."
        },
        "creationTimeStamp": {
          "type": "integer",
          "format": "int64",
          "description": "Timestamp in milliseconds for the creation of the virtual disk."
        },
        "attachedVMStorageCompatibility": {
          "type": "string",
          "description": "Storage compatibility for virtualDisks's attached VM(s). The compatibility will affect scale analysis for the volume. If an attached VM is not PREMIUM compatible, the volume will never scale to a premium StorageTier",
          "enum": [
            "PREMIUM",
            "STANDARD"
          ]
        },
        "storageUsageType": {
          "type": "string",
          "description": "Usage type for the volume, i.e., what the volume is used for.",
          "enum": [
            "SITE_RECOVERY",
            "BACKUP",
            "STANDARD"
          ]
        },
        "resourceId": {
          "type": "string",
          "description": "Resource identifier of the volume. For example, the resource id in Azure, the ARN in AWS, or the full resource name in GCP."
        },
        "redundancyType": {
          "type": "string",
          "description": "Specifies the redundancy type for the volume"
        },
        "storageClass": {
          "type": "string",
          "description": "Kubernetes StorageClass of the volume"
        },
        "attachmentType": {
          "type": "string",
          "description": "Portworx attachment type of the volume"
        },
        "iacInfo": {
          "$ref": "#/$defs/EntityIacApiDTO"
        },
        "isPerformanceTuned": {
          "type": "string",
          "description": "Specifies if automatic performance tuning is active for the volume."
        },
        "defaultPerformance": {
          "type": "string",
          "description": "Specifies the default performance level of this volume based on the provider's performance unit (VPU)."
        },
        "phase": {
          "type": "string",
          "description": "Lifecycle phase of the Kubernetes Persistent Volume (PV).",
          "enum": [
            "AVAILABLE",
            "BOUND",
            "RELEASED",
            "PENDING",
            "FAILED"
          ]
        },
        "replicaVolumeIds": {
          "type": "array",
          "description": "Replica Volume IDs associated with the volume.",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "Model to describe a Virtual Disk"
    }
  }
}