From 67493d4d3c6d6ec2ef8e110da2fc756caed7f59e Mon Sep 17 00:00:00 2001 From: Yongquan Yuan Date: Fri, 20 Dec 2024 17:52:45 +0800 Subject: [PATCH] TOWER-15797 Update ER resources fields description in 4.5.0 --- .../static/specs/4.5.0-swagger.json | 175800 +++++++++++++++ .../swagger/examples/swagger-examples.json | 2058 +- cloudtower-api-doc/swagger/i18n.ts | 104 +- .../swagger/locales/en/4.5.0.json | 4116 + .../swagger/locales/zh/4.5.0.json | 4116 + cloudtower-api-doc/swagger/utils/swagger.ts | 1 + 6 files changed, 185127 insertions(+), 1068 deletions(-) create mode 100644 cloudtower-api-doc/static/specs/4.5.0-swagger.json create mode 100644 cloudtower-api-doc/swagger/locales/en/4.5.0.json create mode 100644 cloudtower-api-doc/swagger/locales/zh/4.5.0.json diff --git a/cloudtower-api-doc/static/specs/4.5.0-swagger.json b/cloudtower-api-doc/static/specs/4.5.0-swagger.json new file mode 100644 index 0000000..937eb7d --- /dev/null +++ b/cloudtower-api-doc/static/specs/4.5.0-swagger.json @@ -0,0 +1,175800 @@ +{ + "components": { + "examples": {}, + "headers": {}, + "parameters": {}, + "requestBodies": {}, + "responses": {}, + "schemas": { + "ErrorCode": { + "enum": [ + "ResourceLocked" + ], + "type": "string" + }, + "ErrorBody": { + "properties": { + "code": { + "$ref": "#/components/schemas/ErrorCode" + }, + "props": {}, + "stack": { + "type": "string" + }, + "message": { + "type": "string" + }, + "status": { + "type": "integer", + "format": "int32" + }, + "operationName": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "message", + "status", + "path" + ], + "type": "object" + }, + "CommonHeader": { + "properties": { + "x-tower-request-id": { + "type": "string" + } + }, + "required": [ + "x-tower-request-id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedAlertRule": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "SeverityEnum": { + "enum": [ + "CRITICAL", + "INFO", + "NOTICE", + "SEVERITY_UNSPECIFIED" + ], + "type": "string" + }, + "NestedThresholds": { + "properties": { + "quantile": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "severity": { + "allOf": [ + { + "$ref": "#/components/schemas/SeverityEnum" + } + ], + "nullable": true + }, + "value": { + "type": "number", + "format": "double", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "AlertRuleObject": { + "enum": [ + "BRICK", + "CLUSTER", + "DISK", + "HYPERVISOR", + "NETWORK", + "NTP_SERVER", + "OBSERVABILITY_CONNECTED_SYSTEM_SERVICE", + "OBSERVABILITY_SERVICE", + "PHYSICAL_HOST", + "SCVM", + "SNAPSHOT_PLAN", + "STORAGE_CHUNK", + "STORAGE_POOL", + "SYSTEM_SERVICE", + "TIME_MACHINE_PLAN", + "VM", + "WITNESS", + "WITNESS_NETWORK", + "ZBS_ZONE" + ], + "type": "string" + }, + "AlertRuleUnit": { + "enum": [ + "BIT", + "BYTE", + "BYTE_PER_SECOND", + "CELSIUS", + "HERTZ", + "MICROSECOND", + "NANOSECOND", + "PERCENT", + "SECOND", + "UNIT_UNSPECIFIED" + ], + "type": "string" + }, + "GlobalAlertRule": { + "properties": { + "alert_rules": { + "items": { + "$ref": "#/components/schemas/NestedAlertRule" + }, + "type": "array", + "nullable": true + }, + "boolean": { + "type": "boolean" + }, + "cause": { + "type": "string" + }, + "default_thresholds": { + "items": { + "$ref": "#/components/schemas/NestedThresholds" + }, + "type": "array" + }, + "disabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "impact": { + "type": "string" + }, + "message": { + "type": "string" + }, + "name": { + "type": "string" + }, + "object": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertRuleObject" + } + ], + "nullable": true + }, + "operator": { + "type": "string" + }, + "solution": { + "type": "string" + }, + "thresholds": { + "items": { + "$ref": "#/components/schemas/NestedThresholds" + }, + "type": "array" + }, + "unit": { + "$ref": "#/components/schemas/AlertRuleUnit" + } + }, + "required": [ + "boolean", + "cause", + "default_thresholds", + "disabled", + "id", + "impact", + "message", + "name", + "operator", + "solution", + "thresholds", + "unit" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_GlobalAlertRule_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/GlobalAlertRule" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "GlobalAlertRuleWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/GlobalAlertRuleWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/GlobalAlertRuleWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/GlobalAlertRuleWhereInput" + }, + "type": "array", + "nullable": true + }, + "alert_rules_every": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertRuleWhereInput" + } + ], + "nullable": true + }, + "alert_rules_none": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertRuleWhereInput" + } + ], + "nullable": true + }, + "alert_rules_some": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertRuleWhereInput" + } + ], + "nullable": true + }, + "boolean": { + "type": "boolean", + "nullable": true + }, + "boolean_not": { + "type": "boolean", + "nullable": true + }, + "cause": { + "type": "string", + "nullable": true + }, + "cause_contains": { + "type": "string", + "nullable": true + }, + "cause_ends_with": { + "type": "string", + "nullable": true + }, + "cause_gt": { + "type": "string", + "nullable": true + }, + "cause_gte": { + "type": "string", + "nullable": true + }, + "cause_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cause_lt": { + "type": "string", + "nullable": true + }, + "cause_lte": { + "type": "string", + "nullable": true + }, + "cause_not": { + "type": "string", + "nullable": true + }, + "cause_not_contains": { + "type": "string", + "nullable": true + }, + "cause_not_ends_with": { + "type": "string", + "nullable": true + }, + "cause_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cause_not_starts_with": { + "type": "string", + "nullable": true + }, + "cause_starts_with": { + "type": "string", + "nullable": true + }, + "disabled": { + "type": "boolean", + "nullable": true + }, + "disabled_not": { + "type": "boolean", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "impact": { + "type": "string", + "nullable": true + }, + "impact_contains": { + "type": "string", + "nullable": true + }, + "impact_ends_with": { + "type": "string", + "nullable": true + }, + "impact_gt": { + "type": "string", + "nullable": true + }, + "impact_gte": { + "type": "string", + "nullable": true + }, + "impact_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "impact_lt": { + "type": "string", + "nullable": true + }, + "impact_lte": { + "type": "string", + "nullable": true + }, + "impact_not": { + "type": "string", + "nullable": true + }, + "impact_not_contains": { + "type": "string", + "nullable": true + }, + "impact_not_ends_with": { + "type": "string", + "nullable": true + }, + "impact_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "impact_not_starts_with": { + "type": "string", + "nullable": true + }, + "impact_starts_with": { + "type": "string", + "nullable": true + }, + "message": { + "type": "string", + "nullable": true + }, + "message_contains": { + "type": "string", + "nullable": true + }, + "message_ends_with": { + "type": "string", + "nullable": true + }, + "message_gt": { + "type": "string", + "nullable": true + }, + "message_gte": { + "type": "string", + "nullable": true + }, + "message_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "message_lt": { + "type": "string", + "nullable": true + }, + "message_lte": { + "type": "string", + "nullable": true + }, + "message_not": { + "type": "string", + "nullable": true + }, + "message_not_contains": { + "type": "string", + "nullable": true + }, + "message_not_ends_with": { + "type": "string", + "nullable": true + }, + "message_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "message_not_starts_with": { + "type": "string", + "nullable": true + }, + "message_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "object": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertRuleObject" + } + ], + "nullable": true + }, + "object_in": { + "items": { + "$ref": "#/components/schemas/AlertRuleObject" + }, + "type": "array", + "nullable": true + }, + "object_not": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertRuleObject" + } + ], + "nullable": true + }, + "object_not_in": { + "items": { + "$ref": "#/components/schemas/AlertRuleObject" + }, + "type": "array", + "nullable": true + }, + "operator": { + "type": "string", + "nullable": true + }, + "operator_contains": { + "type": "string", + "nullable": true + }, + "operator_ends_with": { + "type": "string", + "nullable": true + }, + "operator_gt": { + "type": "string", + "nullable": true + }, + "operator_gte": { + "type": "string", + "nullable": true + }, + "operator_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "operator_lt": { + "type": "string", + "nullable": true + }, + "operator_lte": { + "type": "string", + "nullable": true + }, + "operator_not": { + "type": "string", + "nullable": true + }, + "operator_not_contains": { + "type": "string", + "nullable": true + }, + "operator_not_ends_with": { + "type": "string", + "nullable": true + }, + "operator_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "operator_not_starts_with": { + "type": "string", + "nullable": true + }, + "operator_starts_with": { + "type": "string", + "nullable": true + }, + "solution": { + "type": "string", + "nullable": true + }, + "solution_contains": { + "type": "string", + "nullable": true + }, + "solution_ends_with": { + "type": "string", + "nullable": true + }, + "solution_gt": { + "type": "string", + "nullable": true + }, + "solution_gte": { + "type": "string", + "nullable": true + }, + "solution_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "solution_lt": { + "type": "string", + "nullable": true + }, + "solution_lte": { + "type": "string", + "nullable": true + }, + "solution_not": { + "type": "string", + "nullable": true + }, + "solution_not_contains": { + "type": "string", + "nullable": true + }, + "solution_not_ends_with": { + "type": "string", + "nullable": true + }, + "solution_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "solution_not_starts_with": { + "type": "string", + "nullable": true + }, + "solution_starts_with": { + "type": "string", + "nullable": true + }, + "unit": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertRuleUnit" + } + ], + "nullable": true + }, + "unit_in": { + "items": { + "$ref": "#/components/schemas/AlertRuleUnit" + }, + "type": "array", + "nullable": true + }, + "unit_not": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertRuleUnit" + } + ], + "nullable": true + }, + "unit_not_in": { + "items": { + "$ref": "#/components/schemas/AlertRuleUnit" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "AlertRuleWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/AlertRuleWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/AlertRuleWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/AlertRuleWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "customized": { + "type": "boolean", + "nullable": true + }, + "customized_not": { + "type": "boolean", + "nullable": true + }, + "disabled": { + "type": "boolean", + "nullable": true + }, + "disabled_not": { + "type": "boolean", + "nullable": true + }, + "global_alert_rule": { + "allOf": [ + { + "$ref": "#/components/schemas/GlobalAlertRuleWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ClusterWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "type": "array", + "nullable": true + }, + "application_highest_version": { + "type": "string", + "nullable": true + }, + "application_highest_version_contains": { + "type": "string", + "nullable": true + }, + "application_highest_version_ends_with": { + "type": "string", + "nullable": true + }, + "application_highest_version_gt": { + "type": "string", + "nullable": true + }, + "application_highest_version_gte": { + "type": "string", + "nullable": true + }, + "application_highest_version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "application_highest_version_lt": { + "type": "string", + "nullable": true + }, + "application_highest_version_lte": { + "type": "string", + "nullable": true + }, + "application_highest_version_not": { + "type": "string", + "nullable": true + }, + "application_highest_version_not_contains": { + "type": "string", + "nullable": true + }, + "application_highest_version_not_ends_with": { + "type": "string", + "nullable": true + }, + "application_highest_version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "application_highest_version_not_starts_with": { + "type": "string", + "nullable": true + }, + "application_highest_version_starts_with": { + "type": "string", + "nullable": true + }, + "applications_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ApplicationWhereInput" + } + ], + "nullable": true + }, + "applications_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ApplicationWhereInput" + } + ], + "nullable": true + }, + "applications_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ApplicationWhereInput" + } + ], + "nullable": true + }, + "architecture": { + "allOf": [ + { + "$ref": "#/components/schemas/Architecture" + } + ], + "nullable": true + }, + "architecture_in": { + "items": { + "$ref": "#/components/schemas/Architecture" + }, + "type": "array", + "nullable": true + }, + "architecture_not": { + "allOf": [ + { + "$ref": "#/components/schemas/Architecture" + } + ], + "nullable": true + }, + "architecture_not_in": { + "items": { + "$ref": "#/components/schemas/Architecture" + }, + "type": "array", + "nullable": true + }, + "auto_converge": { + "type": "boolean", + "nullable": true + }, + "auto_converge_not": { + "type": "boolean", + "nullable": true + }, + "connect_state": { + "allOf": [ + { + "$ref": "#/components/schemas/ConnectState" + } + ], + "nullable": true + }, + "connect_state_in": { + "items": { + "$ref": "#/components/schemas/ConnectState" + }, + "type": "array", + "nullable": true + }, + "connect_state_not": { + "allOf": [ + { + "$ref": "#/components/schemas/ConnectState" + } + ], + "nullable": true + }, + "connect_state_not_in": { + "items": { + "$ref": "#/components/schemas/ConnectState" + }, + "type": "array", + "nullable": true + }, + "consistency_groups_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + } + ], + "nullable": true + }, + "consistency_groups_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + } + ], + "nullable": true + }, + "consistency_groups_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + } + ], + "nullable": true + }, + "current_cpu_model": { + "type": "string", + "nullable": true + }, + "current_cpu_model_contains": { + "type": "string", + "nullable": true + }, + "current_cpu_model_ends_with": { + "type": "string", + "nullable": true + }, + "current_cpu_model_gt": { + "type": "string", + "nullable": true + }, + "current_cpu_model_gte": { + "type": "string", + "nullable": true + }, + "current_cpu_model_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "current_cpu_model_lt": { + "type": "string", + "nullable": true + }, + "current_cpu_model_lte": { + "type": "string", + "nullable": true + }, + "current_cpu_model_not": { + "type": "string", + "nullable": true + }, + "current_cpu_model_not_contains": { + "type": "string", + "nullable": true + }, + "current_cpu_model_not_ends_with": { + "type": "string", + "nullable": true + }, + "current_cpu_model_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "current_cpu_model_not_starts_with": { + "type": "string", + "nullable": true + }, + "current_cpu_model_starts_with": { + "type": "string", + "nullable": true + }, + "datacenters_every": { + "allOf": [ + { + "$ref": "#/components/schemas/DatacenterWhereInput" + } + ], + "nullable": true + }, + "datacenters_none": { + "allOf": [ + { + "$ref": "#/components/schemas/DatacenterWhereInput" + } + ], + "nullable": true + }, + "datacenters_some": { + "allOf": [ + { + "$ref": "#/components/schemas/DatacenterWhereInput" + } + ], + "nullable": true + }, + "disconnected_date": { + "type": "string", + "nullable": true + }, + "disconnected_date_gt": { + "type": "string", + "nullable": true + }, + "disconnected_date_gte": { + "type": "string", + "nullable": true + }, + "disconnected_date_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "disconnected_date_lt": { + "type": "string", + "nullable": true + }, + "disconnected_date_lte": { + "type": "string", + "nullable": true + }, + "disconnected_date_not": { + "type": "string", + "nullable": true + }, + "disconnected_date_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "disconnected_reason": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterConnectorErrorCode" + } + ], + "nullable": true + }, + "disconnected_reason_in": { + "items": { + "$ref": "#/components/schemas/ClusterConnectorErrorCode" + }, + "type": "array", + "nullable": true + }, + "disconnected_reason_not": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterConnectorErrorCode" + } + ], + "nullable": true + }, + "disconnected_reason_not_in": { + "items": { + "$ref": "#/components/schemas/ClusterConnectorErrorCode" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "everoute_cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterWhereInput" + } + ], + "nullable": true + }, + "failure_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "failure_data_space_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "has_metrox": { + "type": "boolean", + "nullable": true + }, + "has_metrox_not": { + "type": "boolean", + "nullable": true + }, + "host_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "host_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "hosts_every": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "hosts_none": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "hosts_some": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "hypervisor": { + "allOf": [ + { + "$ref": "#/components/schemas/Hypervisor" + } + ], + "nullable": true + }, + "hypervisor_in": { + "items": { + "$ref": "#/components/schemas/Hypervisor" + }, + "type": "array", + "nullable": true + }, + "hypervisor_not": { + "allOf": [ + { + "$ref": "#/components/schemas/Hypervisor" + } + ], + "nullable": true + }, + "hypervisor_not_in": { + "items": { + "$ref": "#/components/schemas/Hypervisor" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "ip": { + "type": "string", + "nullable": true + }, + "ip_contains": { + "type": "string", + "nullable": true + }, + "ip_ends_with": { + "type": "string", + "nullable": true + }, + "ip_gt": { + "type": "string", + "nullable": true + }, + "ip_gte": { + "type": "string", + "nullable": true + }, + "ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_lt": { + "type": "string", + "nullable": true + }, + "ip_lte": { + "type": "string", + "nullable": true + }, + "ip_not": { + "type": "string", + "nullable": true + }, + "ip_not_contains": { + "type": "string", + "nullable": true + }, + "ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "ip_starts_with": { + "type": "string", + "nullable": true + }, + "is_all_flash": { + "type": "boolean", + "nullable": true + }, + "is_all_flash_not": { + "type": "boolean", + "nullable": true + }, + "iscsi_vip": { + "type": "string", + "nullable": true + }, + "iscsi_vip_contains": { + "type": "string", + "nullable": true + }, + "iscsi_vip_ends_with": { + "type": "string", + "nullable": true + }, + "iscsi_vip_gt": { + "type": "string", + "nullable": true + }, + "iscsi_vip_gte": { + "type": "string", + "nullable": true + }, + "iscsi_vip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iscsi_vip_lt": { + "type": "string", + "nullable": true + }, + "iscsi_vip_lte": { + "type": "string", + "nullable": true + }, + "iscsi_vip_not": { + "type": "string", + "nullable": true + }, + "iscsi_vip_not_contains": { + "type": "string", + "nullable": true + }, + "iscsi_vip_not_ends_with": { + "type": "string", + "nullable": true + }, + "iscsi_vip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iscsi_vip_not_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_vip_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "license_expire_date": { + "type": "string", + "nullable": true + }, + "license_expire_date_gt": { + "type": "string", + "nullable": true + }, + "license_expire_date_gte": { + "type": "string", + "nullable": true + }, + "license_expire_date_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "license_expire_date_lt": { + "type": "string", + "nullable": true + }, + "license_expire_date_lte": { + "type": "string", + "nullable": true + }, + "license_expire_date_not": { + "type": "string", + "nullable": true + }, + "license_expire_date_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "license_serial": { + "type": "string", + "nullable": true + }, + "license_serial_contains": { + "type": "string", + "nullable": true + }, + "license_serial_ends_with": { + "type": "string", + "nullable": true + }, + "license_serial_gt": { + "type": "string", + "nullable": true + }, + "license_serial_gte": { + "type": "string", + "nullable": true + }, + "license_serial_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "license_serial_lt": { + "type": "string", + "nullable": true + }, + "license_serial_lte": { + "type": "string", + "nullable": true + }, + "license_serial_not": { + "type": "string", + "nullable": true + }, + "license_serial_not_contains": { + "type": "string", + "nullable": true + }, + "license_serial_not_ends_with": { + "type": "string", + "nullable": true + }, + "license_serial_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "license_serial_not_starts_with": { + "type": "string", + "nullable": true + }, + "license_serial_starts_with": { + "type": "string", + "nullable": true + }, + "license_sign_date": { + "type": "string", + "nullable": true + }, + "license_sign_date_gt": { + "type": "string", + "nullable": true + }, + "license_sign_date_gte": { + "type": "string", + "nullable": true + }, + "license_sign_date_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "license_sign_date_lt": { + "type": "string", + "nullable": true + }, + "license_sign_date_lte": { + "type": "string", + "nullable": true + }, + "license_sign_date_not": { + "type": "string", + "nullable": true + }, + "license_sign_date_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "license_type": { + "allOf": [ + { + "$ref": "#/components/schemas/LicenseType" + } + ], + "nullable": true + }, + "license_type_in": { + "items": { + "$ref": "#/components/schemas/LicenseType" + }, + "type": "array", + "nullable": true + }, + "license_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/LicenseType" + } + ], + "nullable": true + }, + "license_type_not_in": { + "items": { + "$ref": "#/components/schemas/LicenseType" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "maintenance_end_date": { + "type": "string", + "nullable": true + }, + "maintenance_end_date_gt": { + "type": "string", + "nullable": true + }, + "maintenance_end_date_gte": { + "type": "string", + "nullable": true + }, + "maintenance_end_date_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "maintenance_end_date_lt": { + "type": "string", + "nullable": true + }, + "maintenance_end_date_lte": { + "type": "string", + "nullable": true + }, + "maintenance_end_date_not": { + "type": "string", + "nullable": true + }, + "maintenance_end_date_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "maintenance_start_date": { + "type": "string", + "nullable": true + }, + "maintenance_start_date_gt": { + "type": "string", + "nullable": true + }, + "maintenance_start_date_gte": { + "type": "string", + "nullable": true + }, + "maintenance_start_date_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "maintenance_start_date_lt": { + "type": "string", + "nullable": true + }, + "maintenance_start_date_lte": { + "type": "string", + "nullable": true + }, + "maintenance_start_date_not": { + "type": "string", + "nullable": true + }, + "maintenance_start_date_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_vip": { + "type": "string", + "nullable": true + }, + "management_vip_contains": { + "type": "string", + "nullable": true + }, + "management_vip_ends_with": { + "type": "string", + "nullable": true + }, + "management_vip_gt": { + "type": "string", + "nullable": true + }, + "management_vip_gte": { + "type": "string", + "nullable": true + }, + "management_vip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_vip_lt": { + "type": "string", + "nullable": true + }, + "management_vip_lte": { + "type": "string", + "nullable": true + }, + "management_vip_not": { + "type": "string", + "nullable": true + }, + "management_vip_not_contains": { + "type": "string", + "nullable": true + }, + "management_vip_not_ends_with": { + "type": "string", + "nullable": true + }, + "management_vip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_vip_not_starts_with": { + "type": "string", + "nullable": true + }, + "management_vip_starts_with": { + "type": "string", + "nullable": true + }, + "max_chunk_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_chunk_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_chunk_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_chunk_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_chunk_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_chunk_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_chunk_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_chunk_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_physical_data_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_physical_data_capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_physical_data_capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_physical_data_capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "max_physical_data_capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_physical_data_capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_physical_data_capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_physical_data_capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "max_physical_data_capacity_per_node": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_physical_data_capacity_per_node_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_physical_data_capacity_per_node_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_physical_data_capacity_per_node_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "max_physical_data_capacity_per_node_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_physical_data_capacity_per_node_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_physical_data_capacity_per_node_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_physical_data_capacity_per_node_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "mgt_gateway": { + "type": "string", + "nullable": true + }, + "mgt_gateway_contains": { + "type": "string", + "nullable": true + }, + "mgt_gateway_ends_with": { + "type": "string", + "nullable": true + }, + "mgt_gateway_gt": { + "type": "string", + "nullable": true + }, + "mgt_gateway_gte": { + "type": "string", + "nullable": true + }, + "mgt_gateway_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "mgt_gateway_lt": { + "type": "string", + "nullable": true + }, + "mgt_gateway_lte": { + "type": "string", + "nullable": true + }, + "mgt_gateway_not": { + "type": "string", + "nullable": true + }, + "mgt_gateway_not_contains": { + "type": "string", + "nullable": true + }, + "mgt_gateway_not_ends_with": { + "type": "string", + "nullable": true + }, + "mgt_gateway_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "mgt_gateway_not_starts_with": { + "type": "string", + "nullable": true + }, + "mgt_gateway_starts_with": { + "type": "string", + "nullable": true + }, + "mgt_netmask": { + "type": "string", + "nullable": true + }, + "mgt_netmask_contains": { + "type": "string", + "nullable": true + }, + "mgt_netmask_ends_with": { + "type": "string", + "nullable": true + }, + "mgt_netmask_gt": { + "type": "string", + "nullable": true + }, + "mgt_netmask_gte": { + "type": "string", + "nullable": true + }, + "mgt_netmask_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "mgt_netmask_lt": { + "type": "string", + "nullable": true + }, + "mgt_netmask_lte": { + "type": "string", + "nullable": true + }, + "mgt_netmask_not": { + "type": "string", + "nullable": true + }, + "mgt_netmask_not_contains": { + "type": "string", + "nullable": true + }, + "mgt_netmask_not_ends_with": { + "type": "string", + "nullable": true + }, + "mgt_netmask_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "mgt_netmask_not_starts_with": { + "type": "string", + "nullable": true + }, + "mgt_netmask_starts_with": { + "type": "string", + "nullable": true + }, + "migration_data_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "migration_data_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "migration_data_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "migration_data_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "migration_data_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "migration_data_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "migration_data_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "migration_data_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "migration_speed": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "migration_speed_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "migration_speed_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "migration_speed_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "migration_speed_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "migration_speed_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "migration_speed_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "migration_speed_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "ntp_mode": { + "allOf": [ + { + "$ref": "#/components/schemas/NtpMode" + } + ], + "nullable": true + }, + "ntp_mode_in": { + "items": { + "$ref": "#/components/schemas/NtpMode" + }, + "type": "array", + "nullable": true + }, + "ntp_mode_not": { + "allOf": [ + { + "$ref": "#/components/schemas/NtpMode" + } + ], + "nullable": true + }, + "ntp_mode_not_in": { + "items": { + "$ref": "#/components/schemas/NtpMode" + }, + "type": "array", + "nullable": true + }, + "nvme_over_rdma_enabled": { + "type": "boolean", + "nullable": true + }, + "nvme_over_rdma_enabled_not": { + "type": "boolean", + "nullable": true + }, + "nvme_over_tcp_enabled": { + "type": "boolean", + "nullable": true + }, + "nvme_over_tcp_enabled_not": { + "type": "boolean", + "nullable": true + }, + "nvmf_enabled": { + "type": "boolean", + "nullable": true + }, + "nvmf_enabled_not": { + "type": "boolean", + "nullable": true + }, + "pmem_enabled": { + "type": "boolean", + "nullable": true + }, + "pmem_enabled_not": { + "type": "boolean", + "nullable": true + }, + "provisioned_cpu_cores": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "provisioned_cpu_cores_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "provisioned_cpu_cores_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "provisioned_for_active_vm_ratio": { + "type": "number", + "format": "double", + "nullable": true + }, + "provisioned_for_active_vm_ratio_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "provisioned_for_active_vm_ratio_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "provisioned_for_active_vm_ratio_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "provisioned_for_active_vm_ratio_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "provisioned_for_active_vm_ratio_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "provisioned_for_active_vm_ratio_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "provisioned_for_active_vm_ratio_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "provisioned_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "provisioned_memory_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "provisioned_ratio": { + "type": "number", + "format": "double", + "nullable": true + }, + "provisioned_ratio_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "provisioned_ratio_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "provisioned_ratio_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "provisioned_ratio_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "provisioned_ratio_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "provisioned_ratio_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "provisioned_ratio_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "rdma_enabled": { + "type": "boolean", + "nullable": true + }, + "rdma_enabled_not": { + "type": "boolean", + "nullable": true + }, + "recover_data_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "recover_data_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "recover_data_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "recover_data_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "recover_data_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "recover_data_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "recover_data_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "recover_data_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "recover_speed": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "recover_speed_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "recover_speed_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "recover_speed_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "recover_speed_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "recover_speed_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "recover_speed_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "recover_speed_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "reserved_cpu_cores_for_system_service": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "reserved_cpu_cores_for_system_service_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "reserved_cpu_cores_for_system_service_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "reserved_cpu_cores_for_system_service_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "reserved_cpu_cores_for_system_service_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "reserved_cpu_cores_for_system_service_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "reserved_cpu_cores_for_system_service_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "reserved_cpu_cores_for_system_service_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "running_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "running_vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "settings": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterSettingsWhereInput" + } + ], + "nullable": true + }, + "software_edition": { + "allOf": [ + { + "$ref": "#/components/schemas/SoftwareEdition" + } + ], + "nullable": true + }, + "software_edition_in": { + "items": { + "$ref": "#/components/schemas/SoftwareEdition" + }, + "type": "array", + "nullable": true + }, + "software_edition_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SoftwareEdition" + } + ], + "nullable": true + }, + "software_edition_not_in": { + "items": { + "$ref": "#/components/schemas/SoftwareEdition" + }, + "type": "array", + "nullable": true + }, + "stopped_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stopped_vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stretch": { + "type": "boolean", + "nullable": true + }, + "stretch_not": { + "type": "boolean", + "nullable": true + }, + "suspended_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "suspended_vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_cache_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_cache_capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_cpu_cores": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_cpu_cores_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_cpu_hz": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_cpu_hz_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_cpu_sockets": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_sockets_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_sockets_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_sockets_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_cpu_sockets_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_sockets_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_sockets_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_sockets_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_data_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_data_capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_memory_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/ClusterType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/ClusterType" + }, + "type": "array", + "nullable": true + }, + "upgrade_tool_version": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_contains": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_ends_with": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_gt": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_gte": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "upgrade_tool_version_lt": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_lte": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_not": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_not_contains": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_not_ends_with": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "upgrade_tool_version_not_starts_with": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_starts_with": { + "type": "string", + "nullable": true + }, + "used_cpu_hz": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "used_cpu_hz_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "used_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "used_data_space_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "used_memory_bytes": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "used_memory_bytes_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "valid_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "valid_data_space_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "vcenterAccount": { + "allOf": [ + { + "$ref": "#/components/schemas/VcenterAccountWhereInput" + } + ], + "nullable": true + }, + "vdses_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "vdses_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "vdses_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "version": { + "type": "string", + "nullable": true + }, + "version_contains": { + "type": "string", + "nullable": true + }, + "version_ends_with": { + "type": "string", + "nullable": true + }, + "version_gt": { + "type": "string", + "nullable": true + }, + "version_gte": { + "type": "string", + "nullable": true + }, + "version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_lt": { + "type": "string", + "nullable": true + }, + "version_lte": { + "type": "string", + "nullable": true + }, + "version_not": { + "type": "string", + "nullable": true + }, + "version_not_contains": { + "type": "string", + "nullable": true + }, + "version_not_ends_with": { + "type": "string", + "nullable": true + }, + "version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_not_starts_with": { + "type": "string", + "nullable": true + }, + "version_starts_with": { + "type": "string", + "nullable": true + }, + "vhost_enabled": { + "type": "boolean", + "nullable": true + }, + "vhost_enabled_not": { + "type": "boolean", + "nullable": true + }, + "vm_folders_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFolderWhereInput" + } + ], + "nullable": true + }, + "vm_folders_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFolderWhereInput" + } + ], + "nullable": true + }, + "vm_folders_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFolderWhereInput" + } + ], + "nullable": true + }, + "vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_templates_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + }, + "vm_templates_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + }, + "vm_templates_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + }, + "vms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "witness": { + "allOf": [ + { + "$ref": "#/components/schemas/WitnessWhereInput" + } + ], + "nullable": true + }, + "zones_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneWhereInput" + } + ], + "nullable": true + }, + "zones_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneWhereInput" + } + ], + "nullable": true + }, + "zones_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ApplicationWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ApplicationWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ApplicationWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ApplicationWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "error_message": { + "type": "string", + "nullable": true + }, + "error_message_contains": { + "type": "string", + "nullable": true + }, + "error_message_ends_with": { + "type": "string", + "nullable": true + }, + "error_message_gt": { + "type": "string", + "nullable": true + }, + "error_message_gte": { + "type": "string", + "nullable": true + }, + "error_message_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "error_message_lt": { + "type": "string", + "nullable": true + }, + "error_message_lte": { + "type": "string", + "nullable": true + }, + "error_message_not": { + "type": "string", + "nullable": true + }, + "error_message_not_contains": { + "type": "string", + "nullable": true + }, + "error_message_not_ends_with": { + "type": "string", + "nullable": true + }, + "error_message_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "error_message_not_starts_with": { + "type": "string", + "nullable": true + }, + "error_message_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "image_name": { + "type": "string", + "nullable": true + }, + "image_name_contains": { + "type": "string", + "nullable": true + }, + "image_name_ends_with": { + "type": "string", + "nullable": true + }, + "image_name_gt": { + "type": "string", + "nullable": true + }, + "image_name_gte": { + "type": "string", + "nullable": true + }, + "image_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "image_name_lt": { + "type": "string", + "nullable": true + }, + "image_name_lte": { + "type": "string", + "nullable": true + }, + "image_name_not": { + "type": "string", + "nullable": true + }, + "image_name_not_contains": { + "type": "string", + "nullable": true + }, + "image_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "image_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "image_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "image_name_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "memory": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "memory_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "state": { + "allOf": [ + { + "$ref": "#/components/schemas/ApplicationState" + } + ], + "nullable": true + }, + "state_in": { + "items": { + "$ref": "#/components/schemas/ApplicationState" + }, + "type": "array", + "nullable": true + }, + "state_not": { + "allOf": [ + { + "$ref": "#/components/schemas/ApplicationState" + } + ], + "nullable": true + }, + "state_not_in": { + "items": { + "$ref": "#/components/schemas/ApplicationState" + }, + "type": "array", + "nullable": true + }, + "storage_ip": { + "type": "string", + "nullable": true + }, + "storage_ip_contains": { + "type": "string", + "nullable": true + }, + "storage_ip_ends_with": { + "type": "string", + "nullable": true + }, + "storage_ip_gt": { + "type": "string", + "nullable": true + }, + "storage_ip_gte": { + "type": "string", + "nullable": true + }, + "storage_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "storage_ip_lt": { + "type": "string", + "nullable": true + }, + "storage_ip_lte": { + "type": "string", + "nullable": true + }, + "storage_ip_not": { + "type": "string", + "nullable": true + }, + "storage_ip_not_contains": { + "type": "string", + "nullable": true + }, + "storage_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "storage_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "storage_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "storage_ip_starts_with": { + "type": "string", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/ApplicationType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/ApplicationType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/ApplicationType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/ApplicationType" + }, + "type": "array", + "nullable": true + }, + "update_time": { + "type": "string", + "nullable": true + }, + "update_time_gt": { + "type": "string", + "nullable": true + }, + "update_time_gte": { + "type": "string", + "nullable": true + }, + "update_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "update_time_lt": { + "type": "string", + "nullable": true + }, + "update_time_lte": { + "type": "string", + "nullable": true + }, + "update_time_not": { + "type": "string", + "nullable": true + }, + "update_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "vcpu": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vcpu_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "version": { + "type": "string", + "nullable": true + }, + "version_contains": { + "type": "string", + "nullable": true + }, + "version_ends_with": { + "type": "string", + "nullable": true + }, + "version_gt": { + "type": "string", + "nullable": true + }, + "version_gte": { + "type": "string", + "nullable": true + }, + "version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_lt": { + "type": "string", + "nullable": true + }, + "version_lte": { + "type": "string", + "nullable": true + }, + "version_not": { + "type": "string", + "nullable": true + }, + "version_not_contains": { + "type": "string", + "nullable": true + }, + "version_not_ends_with": { + "type": "string", + "nullable": true + }, + "version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_not_starts_with": { + "type": "string", + "nullable": true + }, + "version_starts_with": { + "type": "string", + "nullable": true + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "volume_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "volume_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "volume_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "volume_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "volume_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "volume_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "volume_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "volume_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ApplicationState": { + "enum": [ + "DEPLOYED", + "DEPLOYING", + "DEPLOY_ERROR", + "EDITING", + "NOT_DEPLOYED", + "STOPPED", + "STOPPING", + "STOP_ERROR", + "UPGRADING" + ], + "type": "string" + }, + "ApplicationType": { + "enum": [ + "MONITOR" + ], + "type": "string" + }, + "VmWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VmWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VmWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VmWhereInput" + }, + "type": "array", + "nullable": true + }, + "backup_plans_every": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + ], + "nullable": true + }, + "backup_plans_none": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + ], + "nullable": true + }, + "backup_plans_some": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + ], + "nullable": true + }, + "bios_uuid": { + "type": "string", + "nullable": true + }, + "bios_uuid_contains": { + "type": "string", + "nullable": true + }, + "bios_uuid_ends_with": { + "type": "string", + "nullable": true + }, + "bios_uuid_gt": { + "type": "string", + "nullable": true + }, + "bios_uuid_gte": { + "type": "string", + "nullable": true + }, + "bios_uuid_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "bios_uuid_lt": { + "type": "string", + "nullable": true + }, + "bios_uuid_lte": { + "type": "string", + "nullable": true + }, + "bios_uuid_not": { + "type": "string", + "nullable": true + }, + "bios_uuid_not_contains": { + "type": "string", + "nullable": true + }, + "bios_uuid_not_ends_with": { + "type": "string", + "nullable": true + }, + "bios_uuid_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "bios_uuid_not_starts_with": { + "type": "string", + "nullable": true + }, + "bios_uuid_starts_with": { + "type": "string", + "nullable": true + }, + "clock_offset": { + "allOf": [ + { + "$ref": "#/components/schemas/VmClockOffset" + } + ], + "nullable": true + }, + "clock_offset_in": { + "items": { + "$ref": "#/components/schemas/VmClockOffset" + }, + "type": "array", + "nullable": true + }, + "clock_offset_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmClockOffset" + } + ], + "nullable": true + }, + "clock_offset_not_in": { + "items": { + "$ref": "#/components/schemas/VmClockOffset" + }, + "type": "array", + "nullable": true + }, + "cloud_init_supported": { + "type": "boolean", + "nullable": true + }, + "cloud_init_supported_not": { + "type": "boolean", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "cpu_model": { + "type": "string", + "nullable": true + }, + "cpu_model_contains": { + "type": "string", + "nullable": true + }, + "cpu_model_ends_with": { + "type": "string", + "nullable": true + }, + "cpu_model_gt": { + "type": "string", + "nullable": true + }, + "cpu_model_gte": { + "type": "string", + "nullable": true + }, + "cpu_model_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cpu_model_lt": { + "type": "string", + "nullable": true + }, + "cpu_model_lte": { + "type": "string", + "nullable": true + }, + "cpu_model_not": { + "type": "string", + "nullable": true + }, + "cpu_model_not_contains": { + "type": "string", + "nullable": true + }, + "cpu_model_not_ends_with": { + "type": "string", + "nullable": true + }, + "cpu_model_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cpu_model_not_starts_with": { + "type": "string", + "nullable": true + }, + "cpu_model_starts_with": { + "type": "string", + "nullable": true + }, + "cpu_usage": { + "type": "number", + "format": "double", + "nullable": true + }, + "cpu_usage_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "cpu_usage_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "cpu_usage_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "cpu_usage_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "cpu_usage_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "cpu_usage_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "cpu_usage_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "deleted_at": { + "type": "string", + "nullable": true + }, + "deleted_at_gt": { + "type": "string", + "nullable": true + }, + "deleted_at_gte": { + "type": "string", + "nullable": true + }, + "deleted_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "deleted_at_lt": { + "type": "string", + "nullable": true + }, + "deleted_at_lte": { + "type": "string", + "nullable": true + }, + "deleted_at_not": { + "type": "string", + "nullable": true + }, + "deleted_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "dns_servers": { + "type": "string", + "nullable": true + }, + "dns_servers_contains": { + "type": "string", + "nullable": true + }, + "dns_servers_ends_with": { + "type": "string", + "nullable": true + }, + "dns_servers_gt": { + "type": "string", + "nullable": true + }, + "dns_servers_gte": { + "type": "string", + "nullable": true + }, + "dns_servers_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "dns_servers_lt": { + "type": "string", + "nullable": true + }, + "dns_servers_lte": { + "type": "string", + "nullable": true + }, + "dns_servers_not": { + "type": "string", + "nullable": true + }, + "dns_servers_not_contains": { + "type": "string", + "nullable": true + }, + "dns_servers_not_ends_with": { + "type": "string", + "nullable": true + }, + "dns_servers_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "dns_servers_not_starts_with": { + "type": "string", + "nullable": true + }, + "dns_servers_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entity_filter_results_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmEntityFilterResultWhereInput" + } + ], + "nullable": true + }, + "entity_filter_results_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmEntityFilterResultWhereInput" + } + ], + "nullable": true + }, + "entity_filter_results_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmEntityFilterResultWhereInput" + } + ], + "nullable": true + }, + "firmware": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFirmware" + } + ], + "nullable": true + }, + "firmware_in": { + "items": { + "$ref": "#/components/schemas/VmFirmware" + }, + "type": "array", + "nullable": true + }, + "firmware_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFirmware" + } + ], + "nullable": true + }, + "firmware_not_in": { + "items": { + "$ref": "#/components/schemas/VmFirmware" + }, + "type": "array", + "nullable": true + }, + "folder": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFolderWhereInput" + } + ], + "nullable": true + }, + "gpu_devices_every": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + } + ], + "nullable": true + }, + "gpu_devices_none": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + } + ], + "nullable": true + }, + "gpu_devices_some": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + } + ], + "nullable": true + }, + "guest_cpu_model": { + "type": "string", + "nullable": true + }, + "guest_cpu_model_contains": { + "type": "string", + "nullable": true + }, + "guest_cpu_model_ends_with": { + "type": "string", + "nullable": true + }, + "guest_cpu_model_gt": { + "type": "string", + "nullable": true + }, + "guest_cpu_model_gte": { + "type": "string", + "nullable": true + }, + "guest_cpu_model_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "guest_cpu_model_lt": { + "type": "string", + "nullable": true + }, + "guest_cpu_model_lte": { + "type": "string", + "nullable": true + }, + "guest_cpu_model_not": { + "type": "string", + "nullable": true + }, + "guest_cpu_model_not_contains": { + "type": "string", + "nullable": true + }, + "guest_cpu_model_not_ends_with": { + "type": "string", + "nullable": true + }, + "guest_cpu_model_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "guest_cpu_model_not_starts_with": { + "type": "string", + "nullable": true + }, + "guest_cpu_model_starts_with": { + "type": "string", + "nullable": true + }, + "guest_os_type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmGuestsOperationSystem" + } + ], + "nullable": true + }, + "guest_os_type_in": { + "items": { + "$ref": "#/components/schemas/VmGuestsOperationSystem" + }, + "type": "array", + "nullable": true + }, + "guest_os_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmGuestsOperationSystem" + } + ], + "nullable": true + }, + "guest_os_type_not_in": { + "items": { + "$ref": "#/components/schemas/VmGuestsOperationSystem" + }, + "type": "array", + "nullable": true + }, + "guest_size_usage": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_size_usage_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_size_usage_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_size_usage_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "guest_size_usage_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_size_usage_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_size_usage_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_size_usage_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "guest_used_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "guest_used_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "guest_used_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "guest_used_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "guest_used_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "guest_used_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "guest_used_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "guest_used_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "ha": { + "type": "boolean", + "nullable": true + }, + "ha_not": { + "type": "boolean", + "nullable": true + }, + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "hostname": { + "type": "string", + "nullable": true + }, + "hostname_contains": { + "type": "string", + "nullable": true + }, + "hostname_ends_with": { + "type": "string", + "nullable": true + }, + "hostname_gt": { + "type": "string", + "nullable": true + }, + "hostname_gte": { + "type": "string", + "nullable": true + }, + "hostname_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "hostname_lt": { + "type": "string", + "nullable": true + }, + "hostname_lte": { + "type": "string", + "nullable": true + }, + "hostname_not": { + "type": "string", + "nullable": true + }, + "hostname_not_contains": { + "type": "string", + "nullable": true + }, + "hostname_not_ends_with": { + "type": "string", + "nullable": true + }, + "hostname_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "hostname_not_starts_with": { + "type": "string", + "nullable": true + }, + "hostname_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "in_recycle_bin": { + "type": "boolean", + "nullable": true + }, + "in_recycle_bin_not": { + "type": "boolean", + "nullable": true + }, + "internal": { + "type": "boolean", + "nullable": true + }, + "internal_not": { + "type": "boolean", + "nullable": true + }, + "io_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + }, + "io_policy_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoPolicy" + }, + "type": "array", + "nullable": true + }, + "io_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + }, + "io_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoPolicy" + }, + "type": "array", + "nullable": true + }, + "ips": { + "type": "string", + "nullable": true + }, + "ips_contains": { + "type": "string", + "nullable": true + }, + "ips_ends_with": { + "type": "string", + "nullable": true + }, + "ips_gt": { + "type": "string", + "nullable": true + }, + "ips_gte": { + "type": "string", + "nullable": true + }, + "ips_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ips_lt": { + "type": "string", + "nullable": true + }, + "ips_lte": { + "type": "string", + "nullable": true + }, + "ips_not": { + "type": "string", + "nullable": true + }, + "ips_not_contains": { + "type": "string", + "nullable": true + }, + "ips_not_ends_with": { + "type": "string", + "nullable": true + }, + "ips_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ips_not_starts_with": { + "type": "string", + "nullable": true + }, + "ips_starts_with": { + "type": "string", + "nullable": true + }, + "isolation_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/IsolationPolicyWhereInput" + } + ], + "nullable": true + }, + "kernel_info": { + "type": "string", + "nullable": true + }, + "kernel_info_contains": { + "type": "string", + "nullable": true + }, + "kernel_info_ends_with": { + "type": "string", + "nullable": true + }, + "kernel_info_gt": { + "type": "string", + "nullable": true + }, + "kernel_info_gte": { + "type": "string", + "nullable": true + }, + "kernel_info_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "kernel_info_lt": { + "type": "string", + "nullable": true + }, + "kernel_info_lte": { + "type": "string", + "nullable": true + }, + "kernel_info_not": { + "type": "string", + "nullable": true + }, + "kernel_info_not_contains": { + "type": "string", + "nullable": true + }, + "kernel_info_not_ends_with": { + "type": "string", + "nullable": true + }, + "kernel_info_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "kernel_info_not_starts_with": { + "type": "string", + "nullable": true + }, + "kernel_info_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "last_shutdown_time": { + "type": "string", + "nullable": true + }, + "last_shutdown_time_gt": { + "type": "string", + "nullable": true + }, + "last_shutdown_time_gte": { + "type": "string", + "nullable": true + }, + "last_shutdown_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "last_shutdown_time_lt": { + "type": "string", + "nullable": true + }, + "last_shutdown_time_lte": { + "type": "string", + "nullable": true + }, + "last_shutdown_time_not": { + "type": "string", + "nullable": true + }, + "last_shutdown_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "logical_size_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "logical_size_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_bandwidth_policy_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_bandwidth_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_iops_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops_policy_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_iops_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "memory": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "memory_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "memory_usage": { + "type": "number", + "format": "double", + "nullable": true + }, + "memory_usage_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "memory_usage_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "memory_usage_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "memory_usage_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "memory_usage_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "memory_usage_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "memory_usage_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "nested_virtualization": { + "type": "boolean", + "nullable": true + }, + "nested_virtualization_not": { + "type": "boolean", + "nullable": true + }, + "node_ip": { + "type": "string", + "nullable": true + }, + "node_ip_contains": { + "type": "string", + "nullable": true + }, + "node_ip_ends_with": { + "type": "string", + "nullable": true + }, + "node_ip_gt": { + "type": "string", + "nullable": true + }, + "node_ip_gte": { + "type": "string", + "nullable": true + }, + "node_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "node_ip_lt": { + "type": "string", + "nullable": true + }, + "node_ip_lte": { + "type": "string", + "nullable": true + }, + "node_ip_not": { + "type": "string", + "nullable": true + }, + "node_ip_not_contains": { + "type": "string", + "nullable": true + }, + "node_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "node_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "node_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "node_ip_starts_with": { + "type": "string", + "nullable": true + }, + "original_name": { + "type": "string", + "nullable": true + }, + "original_name_contains": { + "type": "string", + "nullable": true + }, + "original_name_ends_with": { + "type": "string", + "nullable": true + }, + "original_name_gt": { + "type": "string", + "nullable": true + }, + "original_name_gte": { + "type": "string", + "nullable": true + }, + "original_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "original_name_lt": { + "type": "string", + "nullable": true + }, + "original_name_lte": { + "type": "string", + "nullable": true + }, + "original_name_not": { + "type": "string", + "nullable": true + }, + "original_name_not_contains": { + "type": "string", + "nullable": true + }, + "original_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "original_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "original_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "original_name_starts_with": { + "type": "string", + "nullable": true + }, + "os": { + "type": "string", + "nullable": true + }, + "os_contains": { + "type": "string", + "nullable": true + }, + "os_ends_with": { + "type": "string", + "nullable": true + }, + "os_gt": { + "type": "string", + "nullable": true + }, + "os_gte": { + "type": "string", + "nullable": true + }, + "os_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "os_lt": { + "type": "string", + "nullable": true + }, + "os_lte": { + "type": "string", + "nullable": true + }, + "os_not": { + "type": "string", + "nullable": true + }, + "os_not_contains": { + "type": "string", + "nullable": true + }, + "os_not_ends_with": { + "type": "string", + "nullable": true + }, + "os_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "os_not_starts_with": { + "type": "string", + "nullable": true + }, + "os_starts_with": { + "type": "string", + "nullable": true + }, + "pci_nics_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "pci_nics_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "pci_nics_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "protected": { + "type": "boolean", + "nullable": true + }, + "protected_not": { + "type": "boolean", + "nullable": true + }, + "provisioned_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "provisioned_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "snapshot_plan": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanWhereInput" + } + ], + "nullable": true + }, + "snapshots_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + }, + "snapshots_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + }, + "snapshots_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/VmStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/VmStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/VmStatus" + }, + "type": "array", + "nullable": true + }, + "unique_logical_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "unique_logical_size_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "unique_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "usb_devices_every": { + "allOf": [ + { + "$ref": "#/components/schemas/UsbDeviceWhereInput" + } + ], + "nullable": true + }, + "usb_devices_none": { + "allOf": [ + { + "$ref": "#/components/schemas/UsbDeviceWhereInput" + } + ], + "nullable": true + }, + "usb_devices_some": { + "allOf": [ + { + "$ref": "#/components/schemas/UsbDeviceWhereInput" + } + ], + "nullable": true + }, + "vcpu": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vcpu_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "video_type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVideoType" + } + ], + "nullable": true + }, + "video_type_in": { + "items": { + "$ref": "#/components/schemas/VmVideoType" + }, + "type": "array", + "nullable": true + }, + "video_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVideoType" + } + ], + "nullable": true + }, + "video_type_not_in": { + "items": { + "$ref": "#/components/schemas/VmVideoType" + }, + "type": "array", + "nullable": true + }, + "vm_disks_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + }, + "vm_disks_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + }, + "vm_disks_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + }, + "vm_nics_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicWhereInput" + } + ], + "nullable": true + }, + "vm_nics_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicWhereInput" + } + ], + "nullable": true + }, + "vm_nics_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicWhereInput" + } + ], + "nullable": true + }, + "vm_placement_group_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + } + ], + "nullable": true + }, + "vm_placement_group_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + } + ], + "nullable": true + }, + "vm_placement_group_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + } + ], + "nullable": true + }, + "vm_tools_status": { + "allOf": [ + { + "$ref": "#/components/schemas/VmToolsStatus" + } + ], + "nullable": true + }, + "vm_tools_status_in": { + "items": { + "$ref": "#/components/schemas/VmToolsStatus" + }, + "type": "array", + "nullable": true + }, + "vm_tools_status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmToolsStatus" + } + ], + "nullable": true + }, + "vm_tools_status_not_in": { + "items": { + "$ref": "#/components/schemas/VmToolsStatus" + }, + "type": "array", + "nullable": true + }, + "vm_tools_version": { + "type": "string", + "nullable": true + }, + "vm_tools_version_contains": { + "type": "string", + "nullable": true + }, + "vm_tools_version_ends_with": { + "type": "string", + "nullable": true + }, + "vm_tools_version_gt": { + "type": "string", + "nullable": true + }, + "vm_tools_version_gte": { + "type": "string", + "nullable": true + }, + "vm_tools_version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "vm_tools_version_lt": { + "type": "string", + "nullable": true + }, + "vm_tools_version_lte": { + "type": "string", + "nullable": true + }, + "vm_tools_version_not": { + "type": "string", + "nullable": true + }, + "vm_tools_version_not_contains": { + "type": "string", + "nullable": true + }, + "vm_tools_version_not_ends_with": { + "type": "string", + "nullable": true + }, + "vm_tools_version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "vm_tools_version_not_starts_with": { + "type": "string", + "nullable": true + }, + "vm_tools_version_starts_with": { + "type": "string", + "nullable": true + }, + "vm_usage": { + "allOf": [ + { + "$ref": "#/components/schemas/VmUsage" + } + ], + "nullable": true + }, + "vm_usage_in": { + "items": { + "$ref": "#/components/schemas/VmUsage" + }, + "type": "array", + "nullable": true + }, + "vm_usage_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmUsage" + } + ], + "nullable": true + }, + "vm_usage_not_in": { + "items": { + "$ref": "#/components/schemas/VmUsage" + }, + "type": "array", + "nullable": true + }, + "win_opt": { + "type": "boolean", + "nullable": true + }, + "win_opt_not": { + "type": "boolean", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "BackupPlanWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/BackupPlanWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/BackupPlanWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/BackupPlanWhereInput" + }, + "type": "array", + "nullable": true + }, + "backup_delay_option": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanDelayOption" + } + ], + "nullable": true + }, + "backup_delay_option_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanDelayOption" + }, + "type": "array", + "nullable": true + }, + "backup_delay_option_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanDelayOption" + } + ], + "nullable": true + }, + "backup_delay_option_not_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanDelayOption" + }, + "type": "array", + "nullable": true + }, + "backup_plan_executions_every": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionWhereInput" + } + ], + "nullable": true + }, + "backup_plan_executions_none": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionWhereInput" + } + ], + "nullable": true + }, + "backup_plan_executions_some": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionWhereInput" + } + ], + "nullable": true + }, + "backup_restore_point_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "backup_restore_point_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "backup_restore_point_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "backup_restore_point_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "backup_restore_point_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "backup_restore_point_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "backup_restore_point_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "backup_restore_point_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "backup_restore_points_every": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + } + ], + "nullable": true + }, + "backup_restore_points_none": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + } + ], + "nullable": true + }, + "backup_restore_points_some": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + } + ], + "nullable": true + }, + "backup_service": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceWhereInput" + } + ], + "nullable": true + }, + "backup_store_repository": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupStoreRepositoryWhereInput" + } + ], + "nullable": true + }, + "backup_total_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_total_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_total_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_total_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "backup_total_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_total_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_total_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_total_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "compression": { + "type": "boolean", + "nullable": true + }, + "compression_not": { + "type": "boolean", + "nullable": true + }, + "compression_ratio": { + "type": "number", + "format": "double", + "nullable": true + }, + "compression_ratio_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "compression_ratio_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "compression_ratio_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "compression_ratio_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "compression_ratio_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "compression_ratio_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "compression_ratio_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "createdAt": { + "type": "string", + "nullable": true + }, + "createdAt_gt": { + "type": "string", + "nullable": true + }, + "createdAt_gte": { + "type": "string", + "nullable": true + }, + "createdAt_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "createdAt_lt": { + "type": "string", + "nullable": true + }, + "createdAt_lte": { + "type": "string", + "nullable": true + }, + "createdAt_not": { + "type": "string", + "nullable": true + }, + "createdAt_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "delete_strategy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanDeleteStrategy" + } + ], + "nullable": true + }, + "delete_strategy_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanDeleteStrategy" + }, + "type": "array", + "nullable": true + }, + "delete_strategy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanDeleteStrategy" + } + ], + "nullable": true + }, + "delete_strategy_not_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanDeleteStrategy" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "enable_window": { + "type": "boolean", + "nullable": true + }, + "enable_window_not": { + "type": "boolean", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "full_interval": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "full_interval_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "full_interval_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "full_interval_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "full_interval_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "full_interval_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "full_interval_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "full_interval_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "full_period": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanPeriod" + } + ], + "nullable": true + }, + "full_period_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanPeriod" + }, + "type": "array", + "nullable": true + }, + "full_period_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanPeriod" + } + ], + "nullable": true + }, + "full_period_not_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanPeriod" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "incremental_interval": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "incremental_interval_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "incremental_interval_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "incremental_interval_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "incremental_interval_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "incremental_interval_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "incremental_interval_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "incremental_interval_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "incremental_period": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanPeriod" + } + ], + "nullable": true + }, + "incremental_period_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanPeriod" + }, + "type": "array", + "nullable": true + }, + "incremental_period_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanPeriod" + } + ], + "nullable": true + }, + "incremental_period_not_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanPeriod" + }, + "type": "array", + "nullable": true + }, + "keep_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanKeepPolicy" + } + ], + "nullable": true + }, + "keep_policy_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanKeepPolicy" + }, + "type": "array", + "nullable": true + }, + "keep_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanKeepPolicy" + } + ], + "nullable": true + }, + "keep_policy_not_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanKeepPolicy" + }, + "type": "array", + "nullable": true + }, + "keep_policy_value": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "keep_policy_value_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "keep_policy_value_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "keep_policy_value_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "keep_policy_value_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "keep_policy_value_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "keep_policy_value_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "keep_policy_value_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "last_execute_status": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + } + ], + "nullable": true + }, + "last_execute_status_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + }, + "type": "array", + "nullable": true + }, + "last_execute_status_message": { + "type": "string", + "nullable": true + }, + "last_execute_status_message_contains": { + "type": "string", + "nullable": true + }, + "last_execute_status_message_ends_with": { + "type": "string", + "nullable": true + }, + "last_execute_status_message_gt": { + "type": "string", + "nullable": true + }, + "last_execute_status_message_gte": { + "type": "string", + "nullable": true + }, + "last_execute_status_message_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "last_execute_status_message_lt": { + "type": "string", + "nullable": true + }, + "last_execute_status_message_lte": { + "type": "string", + "nullable": true + }, + "last_execute_status_message_not": { + "type": "string", + "nullable": true + }, + "last_execute_status_message_not_contains": { + "type": "string", + "nullable": true + }, + "last_execute_status_message_not_ends_with": { + "type": "string", + "nullable": true + }, + "last_execute_status_message_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "last_execute_status_message_not_starts_with": { + "type": "string", + "nullable": true + }, + "last_execute_status_message_starts_with": { + "type": "string", + "nullable": true + }, + "last_execute_status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + } + ], + "nullable": true + }, + "last_execute_status_not_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + }, + "type": "array", + "nullable": true + }, + "last_execute_success_job_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_execute_success_job_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_execute_success_job_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_execute_success_job_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "last_execute_success_job_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_execute_success_job_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_execute_success_job_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_execute_success_job_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "last_execute_total_job_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_execute_total_job_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_execute_total_job_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_execute_total_job_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "last_execute_total_job_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_execute_total_job_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_execute_total_job_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_execute_total_job_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "last_executed_at": { + "type": "string", + "nullable": true + }, + "last_executed_at_gt": { + "type": "string", + "nullable": true + }, + "last_executed_at_gte": { + "type": "string", + "nullable": true + }, + "last_executed_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "last_executed_at_lt": { + "type": "string", + "nullable": true + }, + "last_executed_at_lte": { + "type": "string", + "nullable": true + }, + "last_executed_at_not": { + "type": "string", + "nullable": true + }, + "last_executed_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "last_manual_execute_status": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + } + ], + "nullable": true + }, + "last_manual_execute_status_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + }, + "type": "array", + "nullable": true + }, + "last_manual_execute_status_message": { + "type": "string", + "nullable": true + }, + "last_manual_execute_status_message_contains": { + "type": "string", + "nullable": true + }, + "last_manual_execute_status_message_ends_with": { + "type": "string", + "nullable": true + }, + "last_manual_execute_status_message_gt": { + "type": "string", + "nullable": true + }, + "last_manual_execute_status_message_gte": { + "type": "string", + "nullable": true + }, + "last_manual_execute_status_message_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "last_manual_execute_status_message_lt": { + "type": "string", + "nullable": true + }, + "last_manual_execute_status_message_lte": { + "type": "string", + "nullable": true + }, + "last_manual_execute_status_message_not": { + "type": "string", + "nullable": true + }, + "last_manual_execute_status_message_not_contains": { + "type": "string", + "nullable": true + }, + "last_manual_execute_status_message_not_ends_with": { + "type": "string", + "nullable": true + }, + "last_manual_execute_status_message_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "last_manual_execute_status_message_not_starts_with": { + "type": "string", + "nullable": true + }, + "last_manual_execute_status_message_starts_with": { + "type": "string", + "nullable": true + }, + "last_manual_execute_status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + } + ], + "nullable": true + }, + "last_manual_execute_status_not_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + }, + "type": "array", + "nullable": true + }, + "last_manual_execute_success_job_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_manual_execute_success_job_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_manual_execute_success_job_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_manual_execute_success_job_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "last_manual_execute_success_job_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_manual_execute_success_job_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_manual_execute_success_job_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_manual_execute_success_job_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "last_manual_execute_total_job_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_manual_execute_total_job_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_manual_execute_total_job_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_manual_execute_total_job_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "last_manual_execute_total_job_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_manual_execute_total_job_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_manual_execute_total_job_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_manual_execute_total_job_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "last_manual_executed_at": { + "type": "string", + "nullable": true + }, + "last_manual_executed_at_gt": { + "type": "string", + "nullable": true + }, + "last_manual_executed_at_gte": { + "type": "string", + "nullable": true + }, + "last_manual_executed_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "last_manual_executed_at_lt": { + "type": "string", + "nullable": true + }, + "last_manual_executed_at_lte": { + "type": "string", + "nullable": true + }, + "last_manual_executed_at_not": { + "type": "string", + "nullable": true + }, + "last_manual_executed_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "logical_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "logical_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "next_execute_time": { + "type": "string", + "nullable": true + }, + "next_execute_time_gt": { + "type": "string", + "nullable": true + }, + "next_execute_time_gte": { + "type": "string", + "nullable": true + }, + "next_execute_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "next_execute_time_lt": { + "type": "string", + "nullable": true + }, + "next_execute_time_lte": { + "type": "string", + "nullable": true + }, + "next_execute_time_not": { + "type": "string", + "nullable": true + }, + "next_execute_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "phase": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanPhase" + } + ], + "nullable": true + }, + "phase_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanPhase" + }, + "type": "array", + "nullable": true + }, + "phase_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanPhase" + } + ], + "nullable": true + }, + "phase_not_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanPhase" + }, + "type": "array", + "nullable": true + }, + "physical_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "physical_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "snapshot_consistent_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistentType" + } + ], + "nullable": true + }, + "snapshot_consistent_type_in": { + "items": { + "$ref": "#/components/schemas/ConsistentType" + }, + "type": "array", + "nullable": true + }, + "snapshot_consistent_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistentType" + } + ], + "nullable": true + }, + "snapshot_consistent_type_not_in": { + "items": { + "$ref": "#/components/schemas/ConsistentType" + }, + "type": "array", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanStatus" + }, + "type": "array", + "nullable": true + }, + "valid_size_of_backup_object": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_of_backup_object_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_of_backup_object_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_of_backup_object_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "valid_size_of_backup_object_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_of_backup_object_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_of_backup_object_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_of_backup_object_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "valid_size_of_restore_point": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_of_restore_point_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_of_restore_point_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_of_restore_point_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "valid_size_of_restore_point_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_of_restore_point_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_of_restore_point_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_of_restore_point_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "vms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "window_end": { + "type": "string", + "nullable": true + }, + "window_end_contains": { + "type": "string", + "nullable": true + }, + "window_end_ends_with": { + "type": "string", + "nullable": true + }, + "window_end_gt": { + "type": "string", + "nullable": true + }, + "window_end_gte": { + "type": "string", + "nullable": true + }, + "window_end_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "window_end_lt": { + "type": "string", + "nullable": true + }, + "window_end_lte": { + "type": "string", + "nullable": true + }, + "window_end_not": { + "type": "string", + "nullable": true + }, + "window_end_not_contains": { + "type": "string", + "nullable": true + }, + "window_end_not_ends_with": { + "type": "string", + "nullable": true + }, + "window_end_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "window_end_not_starts_with": { + "type": "string", + "nullable": true + }, + "window_end_starts_with": { + "type": "string", + "nullable": true + }, + "window_start": { + "type": "string", + "nullable": true + }, + "window_start_contains": { + "type": "string", + "nullable": true + }, + "window_start_ends_with": { + "type": "string", + "nullable": true + }, + "window_start_gt": { + "type": "string", + "nullable": true + }, + "window_start_gte": { + "type": "string", + "nullable": true + }, + "window_start_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "window_start_lt": { + "type": "string", + "nullable": true + }, + "window_start_lte": { + "type": "string", + "nullable": true + }, + "window_start_not": { + "type": "string", + "nullable": true + }, + "window_start_not_contains": { + "type": "string", + "nullable": true + }, + "window_start_not_ends_with": { + "type": "string", + "nullable": true + }, + "window_start_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "window_start_not_starts_with": { + "type": "string", + "nullable": true + }, + "window_start_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "BackupPlanDelayOption": { + "enum": [ + "KEEP_GO_ON", + "STOP_BACKUP" + ], + "type": "string" + }, + "BackupPlanExecutionWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/BackupPlanExecutionWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/BackupPlanExecutionWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/BackupPlanExecutionWhereInput" + }, + "type": "array", + "nullable": true + }, + "backup_plan": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + ], + "nullable": true + }, + "deletable_flag_marked": { + "type": "boolean", + "nullable": true + }, + "deletable_flag_marked_not": { + "type": "boolean", + "nullable": true + }, + "duration": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "duration_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "executed_at": { + "type": "string", + "nullable": true + }, + "executed_at_gt": { + "type": "string", + "nullable": true + }, + "executed_at_gte": { + "type": "string", + "nullable": true + }, + "executed_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "executed_at_lt": { + "type": "string", + "nullable": true + }, + "executed_at_lte": { + "type": "string", + "nullable": true + }, + "executed_at_not": { + "type": "string", + "nullable": true + }, + "executed_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "method": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupExecutionMethod" + } + ], + "nullable": true + }, + "method_in": { + "items": { + "$ref": "#/components/schemas/BackupExecutionMethod" + }, + "type": "array", + "nullable": true + }, + "method_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupExecutionMethod" + } + ], + "nullable": true + }, + "method_not_in": { + "items": { + "$ref": "#/components/schemas/BackupExecutionMethod" + }, + "type": "array", + "nullable": true + }, + "state": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionState" + } + ], + "nullable": true + }, + "state_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanExecutionState" + }, + "type": "array", + "nullable": true + }, + "state_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionState" + } + ], + "nullable": true + }, + "state_not_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanExecutionState" + }, + "type": "array", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + }, + "type": "array", + "nullable": true + }, + "success_job_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "success_job_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "success_job_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "success_job_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "success_job_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "success_job_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "success_job_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "success_job_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_job_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_job_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_job_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_job_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_job_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_job_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_job_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_job_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupExecutionType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/BackupExecutionType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupExecutionType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/BackupExecutionType" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "EntityAsyncStatus": { + "enum": [ + "CREATING", + "DELETING", + "UPDATING" + ], + "type": "string" + }, + "BackupExecutionMethod": { + "enum": [ + "AUTO", + "MANUAL" + ], + "type": "string" + }, + "BackupPlanExecutionState": { + "enum": [ + "FAILED", + "PARTLY_FAILED", + "PAUSED", + "PAUSING", + "RUNNING", + "STARTING", + "SUCCEED" + ], + "type": "string" + }, + "BackupPlanExecutionStatus": { + "enum": [ + "FAILED", + "NEVER_EXECUTE", + "PARTIAL_SUCCESS", + "PAUSED", + "RUNNING", + "SUCCESS", + "WAITING_EXECUTE" + ], + "type": "string" + }, + "BackupExecutionType": { + "enum": [ + "FULL", + "INCREMENTAL" + ], + "type": "string" + }, + "BackupRestorePointWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + }, + "type": "array", + "nullable": true + }, + "backup_plan": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + ], + "nullable": true + }, + "backup_restore_executions_every": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestoreExecutionWhereInput" + } + ], + "nullable": true + }, + "backup_restore_executions_none": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestoreExecutionWhereInput" + } + ], + "nullable": true + }, + "backup_restore_executions_some": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestoreExecutionWhereInput" + } + ], + "nullable": true + }, + "backup_target_execution": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupTargetExecutionWhereInput" + } + ], + "nullable": true + }, + "cluster_local_id": { + "type": "string", + "nullable": true + }, + "cluster_local_id_contains": { + "type": "string", + "nullable": true + }, + "cluster_local_id_ends_with": { + "type": "string", + "nullable": true + }, + "cluster_local_id_gt": { + "type": "string", + "nullable": true + }, + "cluster_local_id_gte": { + "type": "string", + "nullable": true + }, + "cluster_local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cluster_local_id_lt": { + "type": "string", + "nullable": true + }, + "cluster_local_id_lte": { + "type": "string", + "nullable": true + }, + "cluster_local_id_not": { + "type": "string", + "nullable": true + }, + "cluster_local_id_not_contains": { + "type": "string", + "nullable": true + }, + "cluster_local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "cluster_local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cluster_local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "cluster_local_id_starts_with": { + "type": "string", + "nullable": true + }, + "compressed": { + "type": "boolean", + "nullable": true + }, + "compressed_not": { + "type": "boolean", + "nullable": true + }, + "compression_ratio": { + "type": "number", + "format": "double", + "nullable": true + }, + "compression_ratio_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "compression_ratio_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "compression_ratio_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "compression_ratio_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "compression_ratio_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "compression_ratio_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "compression_ratio_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "creation": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointCreation" + } + ], + "nullable": true + }, + "creation_in": { + "items": { + "$ref": "#/components/schemas/BackupRestorePointCreation" + }, + "type": "array", + "nullable": true + }, + "creation_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointCreation" + } + ], + "nullable": true + }, + "creation_not_in": { + "items": { + "$ref": "#/components/schemas/BackupRestorePointCreation" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "logical_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "logical_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "parent_restore_point": { + "type": "string", + "nullable": true + }, + "parent_restore_point_contains": { + "type": "string", + "nullable": true + }, + "parent_restore_point_ends_with": { + "type": "string", + "nullable": true + }, + "parent_restore_point_gt": { + "type": "string", + "nullable": true + }, + "parent_restore_point_gte": { + "type": "string", + "nullable": true + }, + "parent_restore_point_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "parent_restore_point_lt": { + "type": "string", + "nullable": true + }, + "parent_restore_point_lte": { + "type": "string", + "nullable": true + }, + "parent_restore_point_not": { + "type": "string", + "nullable": true + }, + "parent_restore_point_not_contains": { + "type": "string", + "nullable": true + }, + "parent_restore_point_not_ends_with": { + "type": "string", + "nullable": true + }, + "parent_restore_point_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "parent_restore_point_not_starts_with": { + "type": "string", + "nullable": true + }, + "parent_restore_point_starts_with": { + "type": "string", + "nullable": true + }, + "physical_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "physical_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "slice": { + "type": "string", + "nullable": true + }, + "slice_contains": { + "type": "string", + "nullable": true + }, + "slice_ends_with": { + "type": "string", + "nullable": true + }, + "slice_gt": { + "type": "string", + "nullable": true + }, + "slice_gte": { + "type": "string", + "nullable": true + }, + "slice_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "slice_lt": { + "type": "string", + "nullable": true + }, + "slice_lte": { + "type": "string", + "nullable": true + }, + "slice_not": { + "type": "string", + "nullable": true + }, + "slice_not_contains": { + "type": "string", + "nullable": true + }, + "slice_not_ends_with": { + "type": "string", + "nullable": true + }, + "slice_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "slice_not_starts_with": { + "type": "string", + "nullable": true + }, + "slice_starts_with": { + "type": "string", + "nullable": true + }, + "snapshot_consistent_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistentType" + } + ], + "nullable": true + }, + "snapshot_consistent_type_in": { + "items": { + "$ref": "#/components/schemas/ConsistentType" + }, + "type": "array", + "nullable": true + }, + "snapshot_consistent_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistentType" + } + ], + "nullable": true + }, + "snapshot_consistent_type_not_in": { + "items": { + "$ref": "#/components/schemas/ConsistentType" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/BackupRestorePointType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/BackupRestorePointType" + }, + "type": "array", + "nullable": true + }, + "valid_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "valid_capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "valid_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "valid_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vm_local_id": { + "type": "string", + "nullable": true + }, + "vm_local_id_contains": { + "type": "string", + "nullable": true + }, + "vm_local_id_ends_with": { + "type": "string", + "nullable": true + }, + "vm_local_id_gt": { + "type": "string", + "nullable": true + }, + "vm_local_id_gte": { + "type": "string", + "nullable": true + }, + "vm_local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "vm_local_id_lt": { + "type": "string", + "nullable": true + }, + "vm_local_id_lte": { + "type": "string", + "nullable": true + }, + "vm_local_id_not": { + "type": "string", + "nullable": true + }, + "vm_local_id_not_contains": { + "type": "string", + "nullable": true + }, + "vm_local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "vm_local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "vm_local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "vm_local_id_starts_with": { + "type": "string", + "nullable": true + }, + "vm_name": { + "type": "string", + "nullable": true + }, + "vm_name_contains": { + "type": "string", + "nullable": true + }, + "vm_name_ends_with": { + "type": "string", + "nullable": true + }, + "vm_name_gt": { + "type": "string", + "nullable": true + }, + "vm_name_gte": { + "type": "string", + "nullable": true + }, + "vm_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "vm_name_lt": { + "type": "string", + "nullable": true + }, + "vm_name_lte": { + "type": "string", + "nullable": true + }, + "vm_name_not": { + "type": "string", + "nullable": true + }, + "vm_name_not_contains": { + "type": "string", + "nullable": true + }, + "vm_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "vm_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "vm_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "vm_name_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "BackupRestoreExecutionWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/BackupRestoreExecutionWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/BackupRestoreExecutionWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/BackupRestoreExecutionWhereInput" + }, + "type": "array", + "nullable": true + }, + "backup_restore_point": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + } + ], + "nullable": true + }, + "duration": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "duration_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "executed_at": { + "type": "string", + "nullable": true + }, + "executed_at_gt": { + "type": "string", + "nullable": true + }, + "executed_at_gte": { + "type": "string", + "nullable": true + }, + "executed_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "executed_at_lt": { + "type": "string", + "nullable": true + }, + "executed_at_lte": { + "type": "string", + "nullable": true + }, + "executed_at_not": { + "type": "string", + "nullable": true + }, + "executed_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "mode": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestoreExecutionMode" + } + ], + "nullable": true + }, + "mode_in": { + "items": { + "$ref": "#/components/schemas/BackupRestoreExecutionMode" + }, + "type": "array", + "nullable": true + }, + "mode_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestoreExecutionMode" + } + ], + "nullable": true + }, + "mode_not_in": { + "items": { + "$ref": "#/components/schemas/BackupRestoreExecutionMode" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "read_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "read_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "read_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "read_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "read_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "read_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "read_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "read_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "rebuild_name": { + "type": "string", + "nullable": true + }, + "rebuild_name_contains": { + "type": "string", + "nullable": true + }, + "rebuild_name_ends_with": { + "type": "string", + "nullable": true + }, + "rebuild_name_gt": { + "type": "string", + "nullable": true + }, + "rebuild_name_gte": { + "type": "string", + "nullable": true + }, + "rebuild_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "rebuild_name_lt": { + "type": "string", + "nullable": true + }, + "rebuild_name_lte": { + "type": "string", + "nullable": true + }, + "rebuild_name_not": { + "type": "string", + "nullable": true + }, + "rebuild_name_not_contains": { + "type": "string", + "nullable": true + }, + "rebuild_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "rebuild_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "rebuild_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "rebuild_name_starts_with": { + "type": "string", + "nullable": true + }, + "rebuild_target_cluster": { + "type": "string", + "nullable": true + }, + "rebuild_target_cluster_contains": { + "type": "string", + "nullable": true + }, + "rebuild_target_cluster_ends_with": { + "type": "string", + "nullable": true + }, + "rebuild_target_cluster_gt": { + "type": "string", + "nullable": true + }, + "rebuild_target_cluster_gte": { + "type": "string", + "nullable": true + }, + "rebuild_target_cluster_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "rebuild_target_cluster_lt": { + "type": "string", + "nullable": true + }, + "rebuild_target_cluster_lte": { + "type": "string", + "nullable": true + }, + "rebuild_target_cluster_not": { + "type": "string", + "nullable": true + }, + "rebuild_target_cluster_not_contains": { + "type": "string", + "nullable": true + }, + "rebuild_target_cluster_not_ends_with": { + "type": "string", + "nullable": true + }, + "rebuild_target_cluster_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "rebuild_target_cluster_not_starts_with": { + "type": "string", + "nullable": true + }, + "rebuild_target_cluster_starts_with": { + "type": "string", + "nullable": true + }, + "retry_times": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_times_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_times_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_times_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "retry_times_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_times_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_times_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_times_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "startup_after_restore": { + "type": "boolean", + "nullable": true + }, + "startup_after_restore_not": { + "type": "boolean", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupExecutionStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/BackupExecutionStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupExecutionStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/BackupExecutionStatus" + }, + "type": "array", + "nullable": true + }, + "total_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "BackupRestoreExecutionMode": { + "enum": [ + "INPLACE", + "REBUILD" + ], + "type": "string" + }, + "BackupExecutionStatus": { + "enum": [ + "ABORTED", + "FAILED", + "INITIALIZING", + "PAUSED", + "PENDING", + "RUNNING", + "SUCCESS" + ], + "type": "string" + }, + "BackupTargetExecutionWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/BackupTargetExecutionWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/BackupTargetExecutionWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/BackupTargetExecutionWhereInput" + }, + "type": "array", + "nullable": true + }, + "backup_group": { + "type": "string", + "nullable": true + }, + "backup_group_contains": { + "type": "string", + "nullable": true + }, + "backup_group_ends_with": { + "type": "string", + "nullable": true + }, + "backup_group_gt": { + "type": "string", + "nullable": true + }, + "backup_group_gte": { + "type": "string", + "nullable": true + }, + "backup_group_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "backup_group_lt": { + "type": "string", + "nullable": true + }, + "backup_group_lte": { + "type": "string", + "nullable": true + }, + "backup_group_not": { + "type": "string", + "nullable": true + }, + "backup_group_not_contains": { + "type": "string", + "nullable": true + }, + "backup_group_not_ends_with": { + "type": "string", + "nullable": true + }, + "backup_group_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "backup_group_not_starts_with": { + "type": "string", + "nullable": true + }, + "backup_group_starts_with": { + "type": "string", + "nullable": true + }, + "backup_plan_execution": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionWhereInput" + } + ], + "nullable": true + }, + "backup_restore_point": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + } + ], + "nullable": true + }, + "cluster_local_id": { + "type": "string", + "nullable": true + }, + "cluster_local_id_contains": { + "type": "string", + "nullable": true + }, + "cluster_local_id_ends_with": { + "type": "string", + "nullable": true + }, + "cluster_local_id_gt": { + "type": "string", + "nullable": true + }, + "cluster_local_id_gte": { + "type": "string", + "nullable": true + }, + "cluster_local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cluster_local_id_lt": { + "type": "string", + "nullable": true + }, + "cluster_local_id_lte": { + "type": "string", + "nullable": true + }, + "cluster_local_id_not": { + "type": "string", + "nullable": true + }, + "cluster_local_id_not_contains": { + "type": "string", + "nullable": true + }, + "cluster_local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "cluster_local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cluster_local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "cluster_local_id_starts_with": { + "type": "string", + "nullable": true + }, + "duration": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "duration_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "duration_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "executed_at": { + "type": "string", + "nullable": true + }, + "executed_at_gt": { + "type": "string", + "nullable": true + }, + "executed_at_gte": { + "type": "string", + "nullable": true + }, + "executed_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "executed_at_lt": { + "type": "string", + "nullable": true + }, + "executed_at_lte": { + "type": "string", + "nullable": true + }, + "executed_at_not": { + "type": "string", + "nullable": true + }, + "executed_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "parent_backup": { + "type": "string", + "nullable": true + }, + "parent_backup_contains": { + "type": "string", + "nullable": true + }, + "parent_backup_ends_with": { + "type": "string", + "nullable": true + }, + "parent_backup_gt": { + "type": "string", + "nullable": true + }, + "parent_backup_gte": { + "type": "string", + "nullable": true + }, + "parent_backup_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "parent_backup_lt": { + "type": "string", + "nullable": true + }, + "parent_backup_lte": { + "type": "string", + "nullable": true + }, + "parent_backup_not": { + "type": "string", + "nullable": true + }, + "parent_backup_not_contains": { + "type": "string", + "nullable": true + }, + "parent_backup_not_ends_with": { + "type": "string", + "nullable": true + }, + "parent_backup_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "parent_backup_not_starts_with": { + "type": "string", + "nullable": true + }, + "parent_backup_starts_with": { + "type": "string", + "nullable": true + }, + "read_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "read_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "read_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "read_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "read_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "read_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "read_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "read_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "retry_times": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_times_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_times_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_times_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "retry_times_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_times_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_times_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_times_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupExecutionStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/BackupExecutionStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupExecutionStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/BackupExecutionStatus" + }, + "type": "array", + "nullable": true + }, + "total_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupExecutionType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/BackupExecutionType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupExecutionType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/BackupExecutionType" + }, + "type": "array", + "nullable": true + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vm_local_id": { + "type": "string", + "nullable": true + }, + "vm_local_id_contains": { + "type": "string", + "nullable": true + }, + "vm_local_id_ends_with": { + "type": "string", + "nullable": true + }, + "vm_local_id_gt": { + "type": "string", + "nullable": true + }, + "vm_local_id_gte": { + "type": "string", + "nullable": true + }, + "vm_local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "vm_local_id_lt": { + "type": "string", + "nullable": true + }, + "vm_local_id_lte": { + "type": "string", + "nullable": true + }, + "vm_local_id_not": { + "type": "string", + "nullable": true + }, + "vm_local_id_not_contains": { + "type": "string", + "nullable": true + }, + "vm_local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "vm_local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "vm_local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "vm_local_id_starts_with": { + "type": "string", + "nullable": true + }, + "vm_name": { + "type": "string", + "nullable": true + }, + "vm_name_contains": { + "type": "string", + "nullable": true + }, + "vm_name_ends_with": { + "type": "string", + "nullable": true + }, + "vm_name_gt": { + "type": "string", + "nullable": true + }, + "vm_name_gte": { + "type": "string", + "nullable": true + }, + "vm_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "vm_name_lt": { + "type": "string", + "nullable": true + }, + "vm_name_lte": { + "type": "string", + "nullable": true + }, + "vm_name_not": { + "type": "string", + "nullable": true + }, + "vm_name_not_contains": { + "type": "string", + "nullable": true + }, + "vm_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "vm_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "vm_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "vm_name_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "BackupRestorePointCreation": { + "enum": [ + "AUTO", + "FAILBACK", + "FAILOVER", + "MANUAL" + ], + "type": "string" + }, + "ConsistentType": { + "enum": [ + "CRASH_CONSISTENT", + "FILE_SYSTEM_CONSISTENT" + ], + "type": "string" + }, + "BackupRestorePointType": { + "enum": [ + "FULL", + "INCREMENTAL" + ], + "type": "string" + }, + "BackupServiceWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/BackupServiceWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/BackupServiceWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/BackupServiceWhereInput" + }, + "type": "array", + "nullable": true + }, + "application": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationWhereInput" + } + ], + "nullable": true + }, + "backup_clusters_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "backup_clusters_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "backup_clusters_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "backup_network_gateway": { + "type": "string", + "nullable": true + }, + "backup_network_gateway_contains": { + "type": "string", + "nullable": true + }, + "backup_network_gateway_ends_with": { + "type": "string", + "nullable": true + }, + "backup_network_gateway_gt": { + "type": "string", + "nullable": true + }, + "backup_network_gateway_gte": { + "type": "string", + "nullable": true + }, + "backup_network_gateway_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "backup_network_gateway_lt": { + "type": "string", + "nullable": true + }, + "backup_network_gateway_lte": { + "type": "string", + "nullable": true + }, + "backup_network_gateway_not": { + "type": "string", + "nullable": true + }, + "backup_network_gateway_not_contains": { + "type": "string", + "nullable": true + }, + "backup_network_gateway_not_ends_with": { + "type": "string", + "nullable": true + }, + "backup_network_gateway_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "backup_network_gateway_not_starts_with": { + "type": "string", + "nullable": true + }, + "backup_network_gateway_starts_with": { + "type": "string", + "nullable": true + }, + "backup_network_ip": { + "type": "string", + "nullable": true + }, + "backup_network_ip_contains": { + "type": "string", + "nullable": true + }, + "backup_network_ip_ends_with": { + "type": "string", + "nullable": true + }, + "backup_network_ip_gt": { + "type": "string", + "nullable": true + }, + "backup_network_ip_gte": { + "type": "string", + "nullable": true + }, + "backup_network_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "backup_network_ip_lt": { + "type": "string", + "nullable": true + }, + "backup_network_ip_lte": { + "type": "string", + "nullable": true + }, + "backup_network_ip_not": { + "type": "string", + "nullable": true + }, + "backup_network_ip_not_contains": { + "type": "string", + "nullable": true + }, + "backup_network_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "backup_network_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "backup_network_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "backup_network_ip_starts_with": { + "type": "string", + "nullable": true + }, + "backup_network_subnet_mask": { + "type": "string", + "nullable": true + }, + "backup_network_subnet_mask_contains": { + "type": "string", + "nullable": true + }, + "backup_network_subnet_mask_ends_with": { + "type": "string", + "nullable": true + }, + "backup_network_subnet_mask_gt": { + "type": "string", + "nullable": true + }, + "backup_network_subnet_mask_gte": { + "type": "string", + "nullable": true + }, + "backup_network_subnet_mask_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "backup_network_subnet_mask_lt": { + "type": "string", + "nullable": true + }, + "backup_network_subnet_mask_lte": { + "type": "string", + "nullable": true + }, + "backup_network_subnet_mask_not": { + "type": "string", + "nullable": true + }, + "backup_network_subnet_mask_not_contains": { + "type": "string", + "nullable": true + }, + "backup_network_subnet_mask_not_ends_with": { + "type": "string", + "nullable": true + }, + "backup_network_subnet_mask_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "backup_network_subnet_mask_not_starts_with": { + "type": "string", + "nullable": true + }, + "backup_network_subnet_mask_starts_with": { + "type": "string", + "nullable": true + }, + "backup_network_type": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceNetworkType" + } + ], + "nullable": true + }, + "backup_network_type_in": { + "items": { + "$ref": "#/components/schemas/BackupServiceNetworkType" + }, + "type": "array", + "nullable": true + }, + "backup_network_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceNetworkType" + } + ], + "nullable": true + }, + "backup_network_type_not_in": { + "items": { + "$ref": "#/components/schemas/BackupServiceNetworkType" + }, + "type": "array", + "nullable": true + }, + "backup_network_vlan": { + "type": "string", + "nullable": true + }, + "backup_network_vlan_contains": { + "type": "string", + "nullable": true + }, + "backup_network_vlan_ends_with": { + "type": "string", + "nullable": true + }, + "backup_network_vlan_gt": { + "type": "string", + "nullable": true + }, + "backup_network_vlan_gte": { + "type": "string", + "nullable": true + }, + "backup_network_vlan_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "backup_network_vlan_lt": { + "type": "string", + "nullable": true + }, + "backup_network_vlan_lte": { + "type": "string", + "nullable": true + }, + "backup_network_vlan_not": { + "type": "string", + "nullable": true + }, + "backup_network_vlan_not_contains": { + "type": "string", + "nullable": true + }, + "backup_network_vlan_not_ends_with": { + "type": "string", + "nullable": true + }, + "backup_network_vlan_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "backup_network_vlan_not_starts_with": { + "type": "string", + "nullable": true + }, + "backup_network_vlan_starts_with": { + "type": "string", + "nullable": true + }, + "backup_plans_every": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + ], + "nullable": true + }, + "backup_plans_none": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + ], + "nullable": true + }, + "backup_plans_some": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + ], + "nullable": true + }, + "backup_rd_iops_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_rd_iops_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_rd_iops_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_rd_iops_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "backup_rd_iops_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_rd_iops_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_rd_iops_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_rd_iops_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "backup_store_repositories_every": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupStoreRepositoryWhereInput" + } + ], + "nullable": true + }, + "backup_store_repositories_none": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupStoreRepositoryWhereInput" + } + ], + "nullable": true + }, + "backup_store_repositories_some": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupStoreRepositoryWhereInput" + } + ], + "nullable": true + }, + "backup_wr_iops_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_wr_iops_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_wr_iops_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_wr_iops_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "backup_wr_iops_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_wr_iops_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_wr_iops_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_wr_iops_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "kube_config": { + "type": "string", + "nullable": true + }, + "kube_config_contains": { + "type": "string", + "nullable": true + }, + "kube_config_ends_with": { + "type": "string", + "nullable": true + }, + "kube_config_gt": { + "type": "string", + "nullable": true + }, + "kube_config_gte": { + "type": "string", + "nullable": true + }, + "kube_config_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "kube_config_lt": { + "type": "string", + "nullable": true + }, + "kube_config_lte": { + "type": "string", + "nullable": true + }, + "kube_config_not": { + "type": "string", + "nullable": true + }, + "kube_config_not_contains": { + "type": "string", + "nullable": true + }, + "kube_config_not_ends_with": { + "type": "string", + "nullable": true + }, + "kube_config_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "kube_config_not_starts_with": { + "type": "string", + "nullable": true + }, + "kube_config_starts_with": { + "type": "string", + "nullable": true + }, + "management_network_gateway": { + "type": "string", + "nullable": true + }, + "management_network_gateway_contains": { + "type": "string", + "nullable": true + }, + "management_network_gateway_ends_with": { + "type": "string", + "nullable": true + }, + "management_network_gateway_gt": { + "type": "string", + "nullable": true + }, + "management_network_gateway_gte": { + "type": "string", + "nullable": true + }, + "management_network_gateway_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_network_gateway_lt": { + "type": "string", + "nullable": true + }, + "management_network_gateway_lte": { + "type": "string", + "nullable": true + }, + "management_network_gateway_not": { + "type": "string", + "nullable": true + }, + "management_network_gateway_not_contains": { + "type": "string", + "nullable": true + }, + "management_network_gateway_not_ends_with": { + "type": "string", + "nullable": true + }, + "management_network_gateway_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_network_gateway_not_starts_with": { + "type": "string", + "nullable": true + }, + "management_network_gateway_starts_with": { + "type": "string", + "nullable": true + }, + "management_network_ip": { + "type": "string", + "nullable": true + }, + "management_network_ip_contains": { + "type": "string", + "nullable": true + }, + "management_network_ip_ends_with": { + "type": "string", + "nullable": true + }, + "management_network_ip_gt": { + "type": "string", + "nullable": true + }, + "management_network_ip_gte": { + "type": "string", + "nullable": true + }, + "management_network_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_network_ip_lt": { + "type": "string", + "nullable": true + }, + "management_network_ip_lte": { + "type": "string", + "nullable": true + }, + "management_network_ip_not": { + "type": "string", + "nullable": true + }, + "management_network_ip_not_contains": { + "type": "string", + "nullable": true + }, + "management_network_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "management_network_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_network_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "management_network_ip_starts_with": { + "type": "string", + "nullable": true + }, + "management_network_subnet_mask": { + "type": "string", + "nullable": true + }, + "management_network_subnet_mask_contains": { + "type": "string", + "nullable": true + }, + "management_network_subnet_mask_ends_with": { + "type": "string", + "nullable": true + }, + "management_network_subnet_mask_gt": { + "type": "string", + "nullable": true + }, + "management_network_subnet_mask_gte": { + "type": "string", + "nullable": true + }, + "management_network_subnet_mask_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_network_subnet_mask_lt": { + "type": "string", + "nullable": true + }, + "management_network_subnet_mask_lte": { + "type": "string", + "nullable": true + }, + "management_network_subnet_mask_not": { + "type": "string", + "nullable": true + }, + "management_network_subnet_mask_not_contains": { + "type": "string", + "nullable": true + }, + "management_network_subnet_mask_not_ends_with": { + "type": "string", + "nullable": true + }, + "management_network_subnet_mask_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_network_subnet_mask_not_starts_with": { + "type": "string", + "nullable": true + }, + "management_network_subnet_mask_starts_with": { + "type": "string", + "nullable": true + }, + "management_network_vlan": { + "type": "string", + "nullable": true + }, + "management_network_vlan_contains": { + "type": "string", + "nullable": true + }, + "management_network_vlan_ends_with": { + "type": "string", + "nullable": true + }, + "management_network_vlan_gt": { + "type": "string", + "nullable": true + }, + "management_network_vlan_gte": { + "type": "string", + "nullable": true + }, + "management_network_vlan_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_network_vlan_lt": { + "type": "string", + "nullable": true + }, + "management_network_vlan_lte": { + "type": "string", + "nullable": true + }, + "management_network_vlan_not": { + "type": "string", + "nullable": true + }, + "management_network_vlan_not_contains": { + "type": "string", + "nullable": true + }, + "management_network_vlan_not_ends_with": { + "type": "string", + "nullable": true + }, + "management_network_vlan_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_network_vlan_not_starts_with": { + "type": "string", + "nullable": true + }, + "management_network_vlan_starts_with": { + "type": "string", + "nullable": true + }, + "max_job_retry_times": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_job_retry_times_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_job_retry_times_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_job_retry_times_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_job_retry_times_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_job_retry_times_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_job_retry_times_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_job_retry_times_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_parallel_backup_jobs": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_parallel_backup_jobs_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_parallel_backup_jobs_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_parallel_backup_jobs_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_parallel_backup_jobs_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_parallel_backup_jobs_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_parallel_backup_jobs_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_parallel_backup_jobs_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_parallel_restore_jobs": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_parallel_restore_jobs_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_parallel_restore_jobs_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_parallel_restore_jobs_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_parallel_restore_jobs_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_parallel_restore_jobs_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_parallel_restore_jobs_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_parallel_restore_jobs_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "restore_rd_iops_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "restore_rd_iops_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "restore_rd_iops_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "restore_rd_iops_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "restore_rd_iops_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "restore_rd_iops_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "restore_rd_iops_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "restore_rd_iops_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "restore_wr_iops_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "restore_wr_iops_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "restore_wr_iops_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "restore_wr_iops_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "restore_wr_iops_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "restore_wr_iops_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "restore_wr_iops_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "restore_wr_iops_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "retry_interval": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_interval_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_interval_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_interval_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "retry_interval_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_interval_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_interval_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "retry_interval_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "running_vm": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/BackupServiceStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/BackupServiceStatus" + }, + "type": "array", + "nullable": true + }, + "storage_network_gateway": { + "type": "string", + "nullable": true + }, + "storage_network_gateway_contains": { + "type": "string", + "nullable": true + }, + "storage_network_gateway_ends_with": { + "type": "string", + "nullable": true + }, + "storage_network_gateway_gt": { + "type": "string", + "nullable": true + }, + "storage_network_gateway_gte": { + "type": "string", + "nullable": true + }, + "storage_network_gateway_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "storage_network_gateway_lt": { + "type": "string", + "nullable": true + }, + "storage_network_gateway_lte": { + "type": "string", + "nullable": true + }, + "storage_network_gateway_not": { + "type": "string", + "nullable": true + }, + "storage_network_gateway_not_contains": { + "type": "string", + "nullable": true + }, + "storage_network_gateway_not_ends_with": { + "type": "string", + "nullable": true + }, + "storage_network_gateway_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "storage_network_gateway_not_starts_with": { + "type": "string", + "nullable": true + }, + "storage_network_gateway_starts_with": { + "type": "string", + "nullable": true + }, + "storage_network_ip": { + "type": "string", + "nullable": true + }, + "storage_network_ip_contains": { + "type": "string", + "nullable": true + }, + "storage_network_ip_ends_with": { + "type": "string", + "nullable": true + }, + "storage_network_ip_gt": { + "type": "string", + "nullable": true + }, + "storage_network_ip_gte": { + "type": "string", + "nullable": true + }, + "storage_network_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "storage_network_ip_lt": { + "type": "string", + "nullable": true + }, + "storage_network_ip_lte": { + "type": "string", + "nullable": true + }, + "storage_network_ip_not": { + "type": "string", + "nullable": true + }, + "storage_network_ip_not_contains": { + "type": "string", + "nullable": true + }, + "storage_network_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "storage_network_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "storage_network_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "storage_network_ip_starts_with": { + "type": "string", + "nullable": true + }, + "storage_network_subnet_mask": { + "type": "string", + "nullable": true + }, + "storage_network_subnet_mask_contains": { + "type": "string", + "nullable": true + }, + "storage_network_subnet_mask_ends_with": { + "type": "string", + "nullable": true + }, + "storage_network_subnet_mask_gt": { + "type": "string", + "nullable": true + }, + "storage_network_subnet_mask_gte": { + "type": "string", + "nullable": true + }, + "storage_network_subnet_mask_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "storage_network_subnet_mask_lt": { + "type": "string", + "nullable": true + }, + "storage_network_subnet_mask_lte": { + "type": "string", + "nullable": true + }, + "storage_network_subnet_mask_not": { + "type": "string", + "nullable": true + }, + "storage_network_subnet_mask_not_contains": { + "type": "string", + "nullable": true + }, + "storage_network_subnet_mask_not_ends_with": { + "type": "string", + "nullable": true + }, + "storage_network_subnet_mask_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "storage_network_subnet_mask_not_starts_with": { + "type": "string", + "nullable": true + }, + "storage_network_subnet_mask_starts_with": { + "type": "string", + "nullable": true + }, + "storage_network_type": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceNetworkType" + } + ], + "nullable": true + }, + "storage_network_type_in": { + "items": { + "$ref": "#/components/schemas/BackupServiceNetworkType" + }, + "type": "array", + "nullable": true + }, + "storage_network_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceNetworkType" + } + ], + "nullable": true + }, + "storage_network_type_not_in": { + "items": { + "$ref": "#/components/schemas/BackupServiceNetworkType" + }, + "type": "array", + "nullable": true + }, + "storage_network_vlan": { + "type": "string", + "nullable": true + }, + "storage_network_vlan_contains": { + "type": "string", + "nullable": true + }, + "storage_network_vlan_ends_with": { + "type": "string", + "nullable": true + }, + "storage_network_vlan_gt": { + "type": "string", + "nullable": true + }, + "storage_network_vlan_gte": { + "type": "string", + "nullable": true + }, + "storage_network_vlan_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "storage_network_vlan_lt": { + "type": "string", + "nullable": true + }, + "storage_network_vlan_lte": { + "type": "string", + "nullable": true + }, + "storage_network_vlan_not": { + "type": "string", + "nullable": true + }, + "storage_network_vlan_not_contains": { + "type": "string", + "nullable": true + }, + "storage_network_vlan_not_ends_with": { + "type": "string", + "nullable": true + }, + "storage_network_vlan_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "storage_network_vlan_not_starts_with": { + "type": "string", + "nullable": true + }, + "storage_network_vlan_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "CloudTowerApplicationWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/CloudTowerApplicationWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/CloudTowerApplicationWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/CloudTowerApplicationWhereInput" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "package": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationPackageWhereInput" + } + ], + "nullable": true + }, + "placementSituation": { + "type": "string", + "nullable": true + }, + "placementSituation_contains": { + "type": "string", + "nullable": true + }, + "placementSituation_ends_with": { + "type": "string", + "nullable": true + }, + "placementSituation_gt": { + "type": "string", + "nullable": true + }, + "placementSituation_gte": { + "type": "string", + "nullable": true + }, + "placementSituation_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "placementSituation_lt": { + "type": "string", + "nullable": true + }, + "placementSituation_lte": { + "type": "string", + "nullable": true + }, + "placementSituation_not": { + "type": "string", + "nullable": true + }, + "placementSituation_not_contains": { + "type": "string", + "nullable": true + }, + "placementSituation_not_ends_with": { + "type": "string", + "nullable": true + }, + "placementSituation_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "placementSituation_not_starts_with": { + "type": "string", + "nullable": true + }, + "placementSituation_starts_with": { + "type": "string", + "nullable": true + }, + "placementVerb": { + "type": "string", + "nullable": true + }, + "placementVerb_contains": { + "type": "string", + "nullable": true + }, + "placementVerb_ends_with": { + "type": "string", + "nullable": true + }, + "placementVerb_gt": { + "type": "string", + "nullable": true + }, + "placementVerb_gte": { + "type": "string", + "nullable": true + }, + "placementVerb_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "placementVerb_lt": { + "type": "string", + "nullable": true + }, + "placementVerb_lte": { + "type": "string", + "nullable": true + }, + "placementVerb_not": { + "type": "string", + "nullable": true + }, + "placementVerb_not_contains": { + "type": "string", + "nullable": true + }, + "placementVerb_not_ends_with": { + "type": "string", + "nullable": true + }, + "placementVerb_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "placementVerb_not_starts_with": { + "type": "string", + "nullable": true + }, + "placementVerb_starts_with": { + "type": "string", + "nullable": true + }, + "resourceVersion": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "resourceVersion_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "resourceVersion_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "resourceVersion_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "resourceVersion_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "resourceVersion_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "resourceVersion_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "resourceVersion_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "state": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationState" + } + ], + "nullable": true + }, + "state_in": { + "items": { + "$ref": "#/components/schemas/CloudTowerApplicationState" + }, + "type": "array", + "nullable": true + }, + "state_not": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationState" + } + ], + "nullable": true + }, + "state_not_in": { + "items": { + "$ref": "#/components/schemas/CloudTowerApplicationState" + }, + "type": "array", + "nullable": true + }, + "targetPackage": { + "type": "string", + "nullable": true + }, + "targetPackage_contains": { + "type": "string", + "nullable": true + }, + "targetPackage_ends_with": { + "type": "string", + "nullable": true + }, + "targetPackage_gt": { + "type": "string", + "nullable": true + }, + "targetPackage_gte": { + "type": "string", + "nullable": true + }, + "targetPackage_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "targetPackage_lt": { + "type": "string", + "nullable": true + }, + "targetPackage_lte": { + "type": "string", + "nullable": true + }, + "targetPackage_not": { + "type": "string", + "nullable": true + }, + "targetPackage_not_contains": { + "type": "string", + "nullable": true + }, + "targetPackage_not_ends_with": { + "type": "string", + "nullable": true + }, + "targetPackage_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "targetPackage_not_starts_with": { + "type": "string", + "nullable": true + }, + "targetPackage_starts_with": { + "type": "string", + "nullable": true + }, + "user": { + "allOf": [ + { + "$ref": "#/components/schemas/UserWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "CloudTowerApplicationPackageWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/CloudTowerApplicationPackageWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/CloudTowerApplicationPackageWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/CloudTowerApplicationPackageWhereInput" + }, + "type": "array", + "nullable": true + }, + "applications_every": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationWhereInput" + } + ], + "nullable": true + }, + "applications_none": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationWhereInput" + } + ], + "nullable": true + }, + "applications_some": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationWhereInput" + } + ], + "nullable": true + }, + "architecture": { + "allOf": [ + { + "$ref": "#/components/schemas/Architecture" + } + ], + "nullable": true + }, + "architecture_in": { + "items": { + "$ref": "#/components/schemas/Architecture" + }, + "type": "array", + "nullable": true + }, + "architecture_not": { + "allOf": [ + { + "$ref": "#/components/schemas/Architecture" + } + ], + "nullable": true + }, + "architecture_not_in": { + "items": { + "$ref": "#/components/schemas/Architecture" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "scosVersion": { + "type": "string", + "nullable": true + }, + "scosVersion_contains": { + "type": "string", + "nullable": true + }, + "scosVersion_ends_with": { + "type": "string", + "nullable": true + }, + "scosVersion_gt": { + "type": "string", + "nullable": true + }, + "scosVersion_gte": { + "type": "string", + "nullable": true + }, + "scosVersion_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "scosVersion_lt": { + "type": "string", + "nullable": true + }, + "scosVersion_lte": { + "type": "string", + "nullable": true + }, + "scosVersion_not": { + "type": "string", + "nullable": true + }, + "scosVersion_not_contains": { + "type": "string", + "nullable": true + }, + "scosVersion_not_ends_with": { + "type": "string", + "nullable": true + }, + "scosVersion_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "scosVersion_not_starts_with": { + "type": "string", + "nullable": true + }, + "scosVersion_starts_with": { + "type": "string", + "nullable": true + }, + "version": { + "type": "string", + "nullable": true + }, + "version_contains": { + "type": "string", + "nullable": true + }, + "version_ends_with": { + "type": "string", + "nullable": true + }, + "version_gt": { + "type": "string", + "nullable": true + }, + "version_gte": { + "type": "string", + "nullable": true + }, + "version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_lt": { + "type": "string", + "nullable": true + }, + "version_lte": { + "type": "string", + "nullable": true + }, + "version_not": { + "type": "string", + "nullable": true + }, + "version_not_contains": { + "type": "string", + "nullable": true + }, + "version_not_ends_with": { + "type": "string", + "nullable": true + }, + "version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_not_starts_with": { + "type": "string", + "nullable": true + }, + "version_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "Architecture": { + "enum": [ + "AARCH64", + "X86_64" + ], + "type": "string" + }, + "CloudTowerApplicationState": { + "enum": [ + "CONFIGURE_FAILED", + "CONFIGURING", + "ERROR", + "INSTALLING", + "INSTALL_FAILED", + "RUNNING", + "SCALE_FAILED", + "SCALING", + "TERMINATE_FAILED", + "TERMINATING", + "UPGRADE_FAILED", + "UPGRADING" + ], + "type": "string" + }, + "UserWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/UserWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/UserWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/UserWhereInput" + }, + "type": "array", + "nullable": true + }, + "auth_config_id": { + "type": "string", + "nullable": true + }, + "auth_config_id_contains": { + "type": "string", + "nullable": true + }, + "auth_config_id_ends_with": { + "type": "string", + "nullable": true + }, + "auth_config_id_gt": { + "type": "string", + "nullable": true + }, + "auth_config_id_gte": { + "type": "string", + "nullable": true + }, + "auth_config_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "auth_config_id_lt": { + "type": "string", + "nullable": true + }, + "auth_config_id_lte": { + "type": "string", + "nullable": true + }, + "auth_config_id_not": { + "type": "string", + "nullable": true + }, + "auth_config_id_not_contains": { + "type": "string", + "nullable": true + }, + "auth_config_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "auth_config_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "auth_config_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "auth_config_id_starts_with": { + "type": "string", + "nullable": true + }, + "display_username": { + "type": "string", + "nullable": true + }, + "display_username_contains": { + "type": "string", + "nullable": true + }, + "display_username_ends_with": { + "type": "string", + "nullable": true + }, + "display_username_gt": { + "type": "string", + "nullable": true + }, + "display_username_gte": { + "type": "string", + "nullable": true + }, + "display_username_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "display_username_lt": { + "type": "string", + "nullable": true + }, + "display_username_lte": { + "type": "string", + "nullable": true + }, + "display_username_not": { + "type": "string", + "nullable": true + }, + "display_username_not_contains": { + "type": "string", + "nullable": true + }, + "display_username_not_ends_with": { + "type": "string", + "nullable": true + }, + "display_username_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "display_username_not_starts_with": { + "type": "string", + "nullable": true + }, + "display_username_starts_with": { + "type": "string", + "nullable": true + }, + "email_address": { + "type": "string", + "nullable": true + }, + "email_address_contains": { + "type": "string", + "nullable": true + }, + "email_address_ends_with": { + "type": "string", + "nullable": true + }, + "email_address_gt": { + "type": "string", + "nullable": true + }, + "email_address_gte": { + "type": "string", + "nullable": true + }, + "email_address_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "email_address_lt": { + "type": "string", + "nullable": true + }, + "email_address_lte": { + "type": "string", + "nullable": true + }, + "email_address_not": { + "type": "string", + "nullable": true + }, + "email_address_not_contains": { + "type": "string", + "nullable": true + }, + "email_address_not_ends_with": { + "type": "string", + "nullable": true + }, + "email_address_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "email_address_not_starts_with": { + "type": "string", + "nullable": true + }, + "email_address_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "internal": { + "type": "boolean", + "nullable": true + }, + "internal_not": { + "type": "boolean", + "nullable": true + }, + "ldap_dn": { + "type": "string", + "nullable": true + }, + "ldap_dn_contains": { + "type": "string", + "nullable": true + }, + "ldap_dn_ends_with": { + "type": "string", + "nullable": true + }, + "ldap_dn_gt": { + "type": "string", + "nullable": true + }, + "ldap_dn_gte": { + "type": "string", + "nullable": true + }, + "ldap_dn_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ldap_dn_lt": { + "type": "string", + "nullable": true + }, + "ldap_dn_lte": { + "type": "string", + "nullable": true + }, + "ldap_dn_not": { + "type": "string", + "nullable": true + }, + "ldap_dn_not_contains": { + "type": "string", + "nullable": true + }, + "ldap_dn_not_ends_with": { + "type": "string", + "nullable": true + }, + "ldap_dn_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ldap_dn_not_starts_with": { + "type": "string", + "nullable": true + }, + "ldap_dn_starts_with": { + "type": "string", + "nullable": true + }, + "mobile_phone": { + "type": "string", + "nullable": true + }, + "mobile_phone_contains": { + "type": "string", + "nullable": true + }, + "mobile_phone_ends_with": { + "type": "string", + "nullable": true + }, + "mobile_phone_gt": { + "type": "string", + "nullable": true + }, + "mobile_phone_gte": { + "type": "string", + "nullable": true + }, + "mobile_phone_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "mobile_phone_lt": { + "type": "string", + "nullable": true + }, + "mobile_phone_lte": { + "type": "string", + "nullable": true + }, + "mobile_phone_not": { + "type": "string", + "nullable": true + }, + "mobile_phone_not_contains": { + "type": "string", + "nullable": true + }, + "mobile_phone_not_ends_with": { + "type": "string", + "nullable": true + }, + "mobile_phone_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "mobile_phone_not_starts_with": { + "type": "string", + "nullable": true + }, + "mobile_phone_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "password_expired": { + "type": "boolean", + "nullable": true + }, + "password_expired_not": { + "type": "boolean", + "nullable": true + }, + "password_updated_at": { + "type": "string", + "nullable": true + }, + "password_updated_at_gt": { + "type": "string", + "nullable": true + }, + "password_updated_at_gte": { + "type": "string", + "nullable": true + }, + "password_updated_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "password_updated_at_lt": { + "type": "string", + "nullable": true + }, + "password_updated_at_lte": { + "type": "string", + "nullable": true + }, + "password_updated_at_not": { + "type": "string", + "nullable": true + }, + "password_updated_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "role": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRole" + } + ], + "nullable": true + }, + "role_in": { + "items": { + "$ref": "#/components/schemas/UserRole" + }, + "type": "array", + "nullable": true + }, + "role_not": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRole" + } + ], + "nullable": true + }, + "role_not_in": { + "items": { + "$ref": "#/components/schemas/UserRole" + }, + "type": "array", + "nullable": true + }, + "roles_every": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRoleNextWhereInput" + } + ], + "nullable": true + }, + "roles_none": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRoleNextWhereInput" + } + ], + "nullable": true + }, + "roles_some": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRoleNextWhereInput" + } + ], + "nullable": true + }, + "source": { + "allOf": [ + { + "$ref": "#/components/schemas/UserSource" + } + ], + "nullable": true + }, + "source_in": { + "items": { + "$ref": "#/components/schemas/UserSource" + }, + "type": "array", + "nullable": true + }, + "source_not": { + "allOf": [ + { + "$ref": "#/components/schemas/UserSource" + } + ], + "nullable": true + }, + "source_not_in": { + "items": { + "$ref": "#/components/schemas/UserSource" + }, + "type": "array", + "nullable": true + }, + "username": { + "type": "string", + "nullable": true + }, + "username_contains": { + "type": "string", + "nullable": true + }, + "username_ends_with": { + "type": "string", + "nullable": true + }, + "username_gt": { + "type": "string", + "nullable": true + }, + "username_gte": { + "type": "string", + "nullable": true + }, + "username_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_lt": { + "type": "string", + "nullable": true + }, + "username_lte": { + "type": "string", + "nullable": true + }, + "username_not": { + "type": "string", + "nullable": true + }, + "username_not_contains": { + "type": "string", + "nullable": true + }, + "username_not_ends_with": { + "type": "string", + "nullable": true + }, + "username_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_not_starts_with": { + "type": "string", + "nullable": true + }, + "username_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "UserRole": { + "enum": [ + "ADMIN", + "READ_ONLY", + "ROOT" + ], + "type": "string" + }, + "UserRoleNextWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/UserRoleNextWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/UserRoleNextWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/UserRoleNextWhereInput" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "platform": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRolePlatform" + } + ], + "nullable": true + }, + "platform_in": { + "items": { + "$ref": "#/components/schemas/UserRolePlatform" + }, + "type": "array", + "nullable": true + }, + "platform_not": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRolePlatform" + } + ], + "nullable": true + }, + "platform_not_in": { + "items": { + "$ref": "#/components/schemas/UserRolePlatform" + }, + "type": "array", + "nullable": true + }, + "preset": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRolePreset" + } + ], + "nullable": true + }, + "preset_in": { + "items": { + "$ref": "#/components/schemas/UserRolePreset" + }, + "type": "array", + "nullable": true + }, + "preset_not": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRolePreset" + } + ], + "nullable": true + }, + "preset_not_in": { + "items": { + "$ref": "#/components/schemas/UserRolePreset" + }, + "type": "array", + "nullable": true + }, + "users_every": { + "allOf": [ + { + "$ref": "#/components/schemas/UserWhereInput" + } + ], + "nullable": true + }, + "users_none": { + "allOf": [ + { + "$ref": "#/components/schemas/UserWhereInput" + } + ], + "nullable": true + }, + "users_some": { + "allOf": [ + { + "$ref": "#/components/schemas/UserWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "UserRolePlatform": { + "enum": [ + "MANAGEMENT", + "SELF_SERVICE" + ], + "type": "string" + }, + "UserRolePreset": { + "enum": [ + "ADMIN", + "AUDITOR", + "READ_ONLY", + "ROOT", + "USER_ADMIN", + "VM_USER" + ], + "type": "string" + }, + "UserSource": { + "enum": [ + "AUTHN", + "LDAP", + "LOCAL", + "SSO" + ], + "type": "string" + }, + "BackupServiceNetworkType": { + "enum": [ + "MANAGEMENT", + "NEW_NIC", + "STORAGE" + ], + "type": "string" + }, + "BackupStoreRepositoryWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/BackupStoreRepositoryWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/BackupStoreRepositoryWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/BackupStoreRepositoryWhereInput" + }, + "type": "array", + "nullable": true + }, + "backup_plans_every": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + ], + "nullable": true + }, + "backup_plans_none": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + ], + "nullable": true + }, + "backup_plans_some": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + ], + "nullable": true + }, + "backup_restore_points_every": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + } + ], + "nullable": true + }, + "backup_restore_points_none": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + } + ], + "nullable": true + }, + "backup_restore_points_some": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + } + ], + "nullable": true + }, + "backup_service": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceWhereInput" + } + ], + "nullable": true + }, + "createdAt": { + "type": "string", + "nullable": true + }, + "createdAt_gt": { + "type": "string", + "nullable": true + }, + "createdAt_gte": { + "type": "string", + "nullable": true + }, + "createdAt_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "createdAt_lt": { + "type": "string", + "nullable": true + }, + "createdAt_lte": { + "type": "string", + "nullable": true + }, + "createdAt_not": { + "type": "string", + "nullable": true + }, + "createdAt_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "error_code": { + "type": "string", + "nullable": true + }, + "error_code_contains": { + "type": "string", + "nullable": true + }, + "error_code_ends_with": { + "type": "string", + "nullable": true + }, + "error_code_gt": { + "type": "string", + "nullable": true + }, + "error_code_gte": { + "type": "string", + "nullable": true + }, + "error_code_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "error_code_lt": { + "type": "string", + "nullable": true + }, + "error_code_lte": { + "type": "string", + "nullable": true + }, + "error_code_not": { + "type": "string", + "nullable": true + }, + "error_code_not_contains": { + "type": "string", + "nullable": true + }, + "error_code_not_ends_with": { + "type": "string", + "nullable": true + }, + "error_code_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "error_code_not_starts_with": { + "type": "string", + "nullable": true + }, + "error_code_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_chap_name": { + "type": "string", + "nullable": true + }, + "iscsi_chap_name_contains": { + "type": "string", + "nullable": true + }, + "iscsi_chap_name_ends_with": { + "type": "string", + "nullable": true + }, + "iscsi_chap_name_gt": { + "type": "string", + "nullable": true + }, + "iscsi_chap_name_gte": { + "type": "string", + "nullable": true + }, + "iscsi_chap_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iscsi_chap_name_lt": { + "type": "string", + "nullable": true + }, + "iscsi_chap_name_lte": { + "type": "string", + "nullable": true + }, + "iscsi_chap_name_not": { + "type": "string", + "nullable": true + }, + "iscsi_chap_name_not_contains": { + "type": "string", + "nullable": true + }, + "iscsi_chap_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "iscsi_chap_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iscsi_chap_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_chap_name_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_chap_secret": { + "type": "string", + "nullable": true + }, + "iscsi_chap_secret_contains": { + "type": "string", + "nullable": true + }, + "iscsi_chap_secret_ends_with": { + "type": "string", + "nullable": true + }, + "iscsi_chap_secret_gt": { + "type": "string", + "nullable": true + }, + "iscsi_chap_secret_gte": { + "type": "string", + "nullable": true + }, + "iscsi_chap_secret_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iscsi_chap_secret_lt": { + "type": "string", + "nullable": true + }, + "iscsi_chap_secret_lte": { + "type": "string", + "nullable": true + }, + "iscsi_chap_secret_not": { + "type": "string", + "nullable": true + }, + "iscsi_chap_secret_not_contains": { + "type": "string", + "nullable": true + }, + "iscsi_chap_secret_not_ends_with": { + "type": "string", + "nullable": true + }, + "iscsi_chap_secret_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iscsi_chap_secret_not_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_chap_secret_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_ip": { + "type": "string", + "nullable": true + }, + "iscsi_ip_contains": { + "type": "string", + "nullable": true + }, + "iscsi_ip_ends_with": { + "type": "string", + "nullable": true + }, + "iscsi_ip_gt": { + "type": "string", + "nullable": true + }, + "iscsi_ip_gte": { + "type": "string", + "nullable": true + }, + "iscsi_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iscsi_ip_lt": { + "type": "string", + "nullable": true + }, + "iscsi_ip_lte": { + "type": "string", + "nullable": true + }, + "iscsi_ip_not": { + "type": "string", + "nullable": true + }, + "iscsi_ip_not_contains": { + "type": "string", + "nullable": true + }, + "iscsi_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "iscsi_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iscsi_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_ip_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_lun_id": { + "type": "string", + "nullable": true + }, + "iscsi_lun_id_contains": { + "type": "string", + "nullable": true + }, + "iscsi_lun_id_ends_with": { + "type": "string", + "nullable": true + }, + "iscsi_lun_id_gt": { + "type": "string", + "nullable": true + }, + "iscsi_lun_id_gte": { + "type": "string", + "nullable": true + }, + "iscsi_lun_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iscsi_lun_id_lt": { + "type": "string", + "nullable": true + }, + "iscsi_lun_id_lte": { + "type": "string", + "nullable": true + }, + "iscsi_lun_id_not": { + "type": "string", + "nullable": true + }, + "iscsi_lun_id_not_contains": { + "type": "string", + "nullable": true + }, + "iscsi_lun_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "iscsi_lun_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iscsi_lun_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_lun_id_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_port": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_port_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_port_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_port_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "iscsi_port_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_port_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_port_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_port_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "iscsi_target_iqn": { + "type": "string", + "nullable": true + }, + "iscsi_target_iqn_contains": { + "type": "string", + "nullable": true + }, + "iscsi_target_iqn_ends_with": { + "type": "string", + "nullable": true + }, + "iscsi_target_iqn_gt": { + "type": "string", + "nullable": true + }, + "iscsi_target_iqn_gte": { + "type": "string", + "nullable": true + }, + "iscsi_target_iqn_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iscsi_target_iqn_lt": { + "type": "string", + "nullable": true + }, + "iscsi_target_iqn_lte": { + "type": "string", + "nullable": true + }, + "iscsi_target_iqn_not": { + "type": "string", + "nullable": true + }, + "iscsi_target_iqn_not_contains": { + "type": "string", + "nullable": true + }, + "iscsi_target_iqn_not_ends_with": { + "type": "string", + "nullable": true + }, + "iscsi_target_iqn_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iscsi_target_iqn_not_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_target_iqn_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "nfs_path": { + "type": "string", + "nullable": true + }, + "nfs_path_contains": { + "type": "string", + "nullable": true + }, + "nfs_path_ends_with": { + "type": "string", + "nullable": true + }, + "nfs_path_gt": { + "type": "string", + "nullable": true + }, + "nfs_path_gte": { + "type": "string", + "nullable": true + }, + "nfs_path_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nfs_path_lt": { + "type": "string", + "nullable": true + }, + "nfs_path_lte": { + "type": "string", + "nullable": true + }, + "nfs_path_not": { + "type": "string", + "nullable": true + }, + "nfs_path_not_contains": { + "type": "string", + "nullable": true + }, + "nfs_path_not_ends_with": { + "type": "string", + "nullable": true + }, + "nfs_path_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nfs_path_not_starts_with": { + "type": "string", + "nullable": true + }, + "nfs_path_starts_with": { + "type": "string", + "nullable": true + }, + "nfs_server": { + "type": "string", + "nullable": true + }, + "nfs_server_contains": { + "type": "string", + "nullable": true + }, + "nfs_server_ends_with": { + "type": "string", + "nullable": true + }, + "nfs_server_gt": { + "type": "string", + "nullable": true + }, + "nfs_server_gte": { + "type": "string", + "nullable": true + }, + "nfs_server_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nfs_server_lt": { + "type": "string", + "nullable": true + }, + "nfs_server_lte": { + "type": "string", + "nullable": true + }, + "nfs_server_not": { + "type": "string", + "nullable": true + }, + "nfs_server_not_contains": { + "type": "string", + "nullable": true + }, + "nfs_server_not_ends_with": { + "type": "string", + "nullable": true + }, + "nfs_server_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nfs_server_not_starts_with": { + "type": "string", + "nullable": true + }, + "nfs_server_starts_with": { + "type": "string", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupStoreStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/BackupStoreStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupStoreStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/BackupStoreStatus" + }, + "type": "array", + "nullable": true + }, + "total_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupStoreType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/BackupStoreType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupStoreType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/BackupStoreType" + }, + "type": "array", + "nullable": true + }, + "update_timestamp": { + "type": "string", + "nullable": true + }, + "update_timestamp_contains": { + "type": "string", + "nullable": true + }, + "update_timestamp_ends_with": { + "type": "string", + "nullable": true + }, + "update_timestamp_gt": { + "type": "string", + "nullable": true + }, + "update_timestamp_gte": { + "type": "string", + "nullable": true + }, + "update_timestamp_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "update_timestamp_lt": { + "type": "string", + "nullable": true + }, + "update_timestamp_lte": { + "type": "string", + "nullable": true + }, + "update_timestamp_not": { + "type": "string", + "nullable": true + }, + "update_timestamp_not_contains": { + "type": "string", + "nullable": true + }, + "update_timestamp_not_ends_with": { + "type": "string", + "nullable": true + }, + "update_timestamp_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "update_timestamp_not_starts_with": { + "type": "string", + "nullable": true + }, + "update_timestamp_starts_with": { + "type": "string", + "nullable": true + }, + "used_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "used_data_space_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "used_data_space_usage": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_data_space_usage_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_data_space_usage_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_data_space_usage_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "used_data_space_usage_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_data_space_usage_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_data_space_usage_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_data_space_usage_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "valid_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "valid_data_space_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "BackupStoreStatus": { + "enum": [ + "CONNECTED", + "CONNECTING", + "DISABLED", + "ERROR", + "INIT", + "INIT_ERROR" + ], + "type": "string" + }, + "BackupStoreType": { + "enum": [ + "ISCSI", + "NFS3", + "NFS4" + ], + "type": "string" + }, + "BackupServiceStatus": { + "enum": [ + "ERROR", + "INITIALIZING", + "INSTALLING", + "INSTALL_FAILED", + "RUNNING", + "TERMINATE_FAILED", + "TERMINATING", + "UPGRADE_FAILED", + "UPGRADING" + ], + "type": "string" + }, + "BackupPlanDeleteStrategy": { + "enum": [ + "DELETE_RESTORE_POINT", + "KEEP_RESTORE_POINT" + ], + "type": "string" + }, + "BackupPlanPeriod": { + "enum": [ + "DAILY", + "HOURLY", + "MINUTELY", + "MONTHLY", + "WEEKLY", + "YEARLY" + ], + "type": "string" + }, + "BackupPlanKeepPolicy": { + "enum": [ + "COUNT", + "FOREVER", + "TIME" + ], + "type": "string" + }, + "BackupPlanPhase": { + "enum": [ + "INVALID", + "PAUSED", + "SCHEDULING", + "STOPPED", + "VALIDATING", + "WAITING_SCHEDULE" + ], + "type": "string" + }, + "BackupPlanStatus": { + "enum": [ + "PAUSED", + "STOPPED", + "WORKING" + ], + "type": "string" + }, + "VmClockOffset": { + "enum": [ + "LOCALTIME", + "UTC" + ], + "type": "string" + }, + "VmEntityFilterResultWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VmEntityFilterResultWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VmEntityFilterResultWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VmEntityFilterResultWhereInput" + }, + "type": "array", + "nullable": true + }, + "entityFilter": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityFilterWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "EntityFilterWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/EntityFilterWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/EntityFilterWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/EntityFilterWhereInput" + }, + "type": "array", + "nullable": true + }, + "apply_to_all_clusters": { + "type": "boolean", + "nullable": true + }, + "apply_to_all_clusters_not": { + "type": "boolean", + "nullable": true + }, + "clusters_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "clusters_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "clusters_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "entity_type": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityType" + } + ], + "nullable": true + }, + "entity_type_in": { + "items": { + "$ref": "#/components/schemas/EntityType" + }, + "type": "array", + "nullable": true + }, + "entity_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityType" + } + ], + "nullable": true + }, + "entity_type_not_in": { + "items": { + "$ref": "#/components/schemas/EntityType" + }, + "type": "array", + "nullable": true + }, + "exec_failed_cluster_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "exec_failed_cluster_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "exec_failed_cluster_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "filter_status": { + "allOf": [ + { + "$ref": "#/components/schemas/FilterStatus" + } + ], + "nullable": true + }, + "filter_status_in": { + "items": { + "$ref": "#/components/schemas/FilterStatus" + }, + "type": "array", + "nullable": true + }, + "filter_status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/FilterStatus" + } + ], + "nullable": true + }, + "filter_status_not_in": { + "items": { + "$ref": "#/components/schemas/FilterStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "last_executed_at": { + "type": "string", + "nullable": true + }, + "last_executed_at_gt": { + "type": "string", + "nullable": true + }, + "last_executed_at_gte": { + "type": "string", + "nullable": true + }, + "last_executed_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "last_executed_at_lt": { + "type": "string", + "nullable": true + }, + "last_executed_at_lte": { + "type": "string", + "nullable": true + }, + "last_executed_at_not": { + "type": "string", + "nullable": true + }, + "last_executed_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "preset": { + "type": "string", + "nullable": true + }, + "preset_contains": { + "type": "string", + "nullable": true + }, + "preset_ends_with": { + "type": "string", + "nullable": true + }, + "preset_gt": { + "type": "string", + "nullable": true + }, + "preset_gte": { + "type": "string", + "nullable": true + }, + "preset_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "preset_lt": { + "type": "string", + "nullable": true + }, + "preset_lte": { + "type": "string", + "nullable": true + }, + "preset_not": { + "type": "string", + "nullable": true + }, + "preset_not_contains": { + "type": "string", + "nullable": true + }, + "preset_not_ends_with": { + "type": "string", + "nullable": true + }, + "preset_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "preset_not_starts_with": { + "type": "string", + "nullable": true + }, + "preset_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "EntityType": { + "enum": [ + "VM" + ], + "type": "string" + }, + "FilterStatus": { + "enum": [ + "EXECUTING", + "FAILED", + "INITIALIZING", + "PARTIAL_SUCCESSED", + "SUCCESSED" + ], + "type": "string" + }, + "VmFirmware": { + "enum": [ + "BIOS", + "UEFI" + ], + "type": "string" + }, + "VmFolderWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VmFolderWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VmFolderWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VmFolderWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GpuDeviceWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + }, + "type": "array", + "nullable": true + }, + "assigned_vgpus_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "assigned_vgpus_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "assigned_vgpus_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "assigned_vgpus_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "assigned_vgpus_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "assigned_vgpus_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "assigned_vgpus_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "assigned_vgpus_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "available_vgpus_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "available_vgpus_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "available_vgpus_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "available_vgpus_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "available_vgpus_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "available_vgpus_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "available_vgpus_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "available_vgpus_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "brand": { + "type": "string", + "nullable": true + }, + "brand_contains": { + "type": "string", + "nullable": true + }, + "brand_ends_with": { + "type": "string", + "nullable": true + }, + "brand_gt": { + "type": "string", + "nullable": true + }, + "brand_gte": { + "type": "string", + "nullable": true + }, + "brand_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "brand_lt": { + "type": "string", + "nullable": true + }, + "brand_lte": { + "type": "string", + "nullable": true + }, + "brand_not": { + "type": "string", + "nullable": true + }, + "brand_not_contains": { + "type": "string", + "nullable": true + }, + "brand_not_ends_with": { + "type": "string", + "nullable": true + }, + "brand_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "brand_not_starts_with": { + "type": "string", + "nullable": true + }, + "brand_starts_with": { + "type": "string", + "nullable": true + }, + "bus_location": { + "type": "string", + "nullable": true + }, + "bus_location_contains": { + "type": "string", + "nullable": true + }, + "bus_location_ends_with": { + "type": "string", + "nullable": true + }, + "bus_location_gt": { + "type": "string", + "nullable": true + }, + "bus_location_gte": { + "type": "string", + "nullable": true + }, + "bus_location_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "bus_location_lt": { + "type": "string", + "nullable": true + }, + "bus_location_lte": { + "type": "string", + "nullable": true + }, + "bus_location_not": { + "type": "string", + "nullable": true + }, + "bus_location_not_contains": { + "type": "string", + "nullable": true + }, + "bus_location_not_ends_with": { + "type": "string", + "nullable": true + }, + "bus_location_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "bus_location_not_starts_with": { + "type": "string", + "nullable": true + }, + "bus_location_starts_with": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "is_nvidia_tools_ready": { + "type": "boolean", + "nullable": true + }, + "is_nvidia_tools_ready_not": { + "type": "boolean", + "nullable": true + }, + "is_nvidia_vfs_enabled": { + "type": "boolean", + "nullable": true + }, + "is_nvidia_vfs_enabled_not": { + "type": "boolean", + "nullable": true + }, + "is_nvidia_vfs_supported": { + "type": "boolean", + "nullable": true + }, + "is_nvidia_vfs_supported_not": { + "type": "boolean", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "model": { + "type": "string", + "nullable": true + }, + "model_contains": { + "type": "string", + "nullable": true + }, + "model_ends_with": { + "type": "string", + "nullable": true + }, + "model_gt": { + "type": "string", + "nullable": true + }, + "model_gte": { + "type": "string", + "nullable": true + }, + "model_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "model_lt": { + "type": "string", + "nullable": true + }, + "model_lte": { + "type": "string", + "nullable": true + }, + "model_not": { + "type": "string", + "nullable": true + }, + "model_not_contains": { + "type": "string", + "nullable": true + }, + "model_not_ends_with": { + "type": "string", + "nullable": true + }, + "model_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "model_not_starts_with": { + "type": "string", + "nullable": true + }, + "model_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/GpuDeviceStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/GpuDeviceStatus" + }, + "type": "array", + "nullable": true + }, + "user_usage": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceUsage" + } + ], + "nullable": true + }, + "user_usage_in": { + "items": { + "$ref": "#/components/schemas/GpuDeviceUsage" + }, + "type": "array", + "nullable": true + }, + "user_usage_not": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceUsage" + } + ], + "nullable": true + }, + "user_usage_not_in": { + "items": { + "$ref": "#/components/schemas/GpuDeviceUsage" + }, + "type": "array", + "nullable": true + }, + "user_vgpu_type_id": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_id_contains": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_id_ends_with": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_id_gt": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_id_gte": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "user_vgpu_type_id_lt": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_id_lte": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_id_not": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_id_not_contains": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "user_vgpu_type_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_id_starts_with": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_name": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_name_contains": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_name_ends_with": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_name_gt": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_name_gte": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "user_vgpu_type_name_lt": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_name_lte": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_name_not": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_name_not_contains": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "user_vgpu_type_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_name_starts_with": { + "type": "string", + "nullable": true + }, + "vgpu_instance_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vgpu_instance_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vgpu_instance_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vgpu_instance_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vgpu_instance_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vgpu_instance_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vgpu_instance_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vgpu_instance_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "HostWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "type": "array", + "nullable": true + }, + "access_ip": { + "type": "string", + "nullable": true + }, + "access_ip_contains": { + "type": "string", + "nullable": true + }, + "access_ip_ends_with": { + "type": "string", + "nullable": true + }, + "access_ip_gt": { + "type": "string", + "nullable": true + }, + "access_ip_gte": { + "type": "string", + "nullable": true + }, + "access_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "access_ip_lt": { + "type": "string", + "nullable": true + }, + "access_ip_lte": { + "type": "string", + "nullable": true + }, + "access_ip_not": { + "type": "string", + "nullable": true + }, + "access_ip_not_contains": { + "type": "string", + "nullable": true + }, + "access_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "access_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "access_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "access_ip_starts_with": { + "type": "string", + "nullable": true + }, + "allocable_cpu_cores_for_vm_exclusive": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "allocable_cpu_cores_for_vm_exclusive_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "allocable_cpu_cores_for_vm_exclusive_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "allocable_cpu_cores_for_vm_exclusive_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "allocable_cpu_cores_for_vm_exclusive_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "allocable_cpu_cores_for_vm_exclusive_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "allocable_cpu_cores_for_vm_exclusive_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "allocable_cpu_cores_for_vm_exclusive_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "allocatable_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "allocatable_memory_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "allocatable_memory_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "allocatable_memory_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "allocatable_memory_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "allocatable_memory_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "allocatable_memory_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "allocatable_memory_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "chunk_id": { + "type": "string", + "nullable": true + }, + "chunk_id_contains": { + "type": "string", + "nullable": true + }, + "chunk_id_ends_with": { + "type": "string", + "nullable": true + }, + "chunk_id_gt": { + "type": "string", + "nullable": true + }, + "chunk_id_gte": { + "type": "string", + "nullable": true + }, + "chunk_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "chunk_id_lt": { + "type": "string", + "nullable": true + }, + "chunk_id_lte": { + "type": "string", + "nullable": true + }, + "chunk_id_not": { + "type": "string", + "nullable": true + }, + "chunk_id_not_contains": { + "type": "string", + "nullable": true + }, + "chunk_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "chunk_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "chunk_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "chunk_id_starts_with": { + "type": "string", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "cpu_brand": { + "type": "string", + "nullable": true + }, + "cpu_brand_contains": { + "type": "string", + "nullable": true + }, + "cpu_brand_ends_with": { + "type": "string", + "nullable": true + }, + "cpu_brand_gt": { + "type": "string", + "nullable": true + }, + "cpu_brand_gte": { + "type": "string", + "nullable": true + }, + "cpu_brand_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cpu_brand_lt": { + "type": "string", + "nullable": true + }, + "cpu_brand_lte": { + "type": "string", + "nullable": true + }, + "cpu_brand_not": { + "type": "string", + "nullable": true + }, + "cpu_brand_not_contains": { + "type": "string", + "nullable": true + }, + "cpu_brand_not_ends_with": { + "type": "string", + "nullable": true + }, + "cpu_brand_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cpu_brand_not_starts_with": { + "type": "string", + "nullable": true + }, + "cpu_brand_starts_with": { + "type": "string", + "nullable": true + }, + "cpu_fan_speed_unit": { + "allOf": [ + { + "$ref": "#/components/schemas/CpuFanSpeedUnit" + } + ], + "nullable": true + }, + "cpu_fan_speed_unit_in": { + "items": { + "$ref": "#/components/schemas/CpuFanSpeedUnit" + }, + "type": "array", + "nullable": true + }, + "cpu_fan_speed_unit_not": { + "allOf": [ + { + "$ref": "#/components/schemas/CpuFanSpeedUnit" + } + ], + "nullable": true + }, + "cpu_fan_speed_unit_not_in": { + "items": { + "$ref": "#/components/schemas/CpuFanSpeedUnit" + }, + "type": "array", + "nullable": true + }, + "cpu_hz_per_core": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cpu_hz_per_core_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cpu_hz_per_core_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cpu_hz_per_core_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "cpu_hz_per_core_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cpu_hz_per_core_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cpu_hz_per_core_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cpu_hz_per_core_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "cpu_model": { + "type": "string", + "nullable": true + }, + "cpu_model_contains": { + "type": "string", + "nullable": true + }, + "cpu_model_ends_with": { + "type": "string", + "nullable": true + }, + "cpu_model_gt": { + "type": "string", + "nullable": true + }, + "cpu_model_gte": { + "type": "string", + "nullable": true + }, + "cpu_model_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cpu_model_lt": { + "type": "string", + "nullable": true + }, + "cpu_model_lte": { + "type": "string", + "nullable": true + }, + "cpu_model_not": { + "type": "string", + "nullable": true + }, + "cpu_model_not_contains": { + "type": "string", + "nullable": true + }, + "cpu_model_not_ends_with": { + "type": "string", + "nullable": true + }, + "cpu_model_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cpu_model_not_starts_with": { + "type": "string", + "nullable": true + }, + "cpu_model_starts_with": { + "type": "string", + "nullable": true + }, + "cpu_vendor": { + "type": "string", + "nullable": true + }, + "cpu_vendor_contains": { + "type": "string", + "nullable": true + }, + "cpu_vendor_ends_with": { + "type": "string", + "nullable": true + }, + "cpu_vendor_gt": { + "type": "string", + "nullable": true + }, + "cpu_vendor_gte": { + "type": "string", + "nullable": true + }, + "cpu_vendor_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cpu_vendor_lt": { + "type": "string", + "nullable": true + }, + "cpu_vendor_lte": { + "type": "string", + "nullable": true + }, + "cpu_vendor_not": { + "type": "string", + "nullable": true + }, + "cpu_vendor_not_contains": { + "type": "string", + "nullable": true + }, + "cpu_vendor_not_ends_with": { + "type": "string", + "nullable": true + }, + "cpu_vendor_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cpu_vendor_not_starts_with": { + "type": "string", + "nullable": true + }, + "cpu_vendor_starts_with": { + "type": "string", + "nullable": true + }, + "data_ip": { + "type": "string", + "nullable": true + }, + "data_ip_contains": { + "type": "string", + "nullable": true + }, + "data_ip_ends_with": { + "type": "string", + "nullable": true + }, + "data_ip_gt": { + "type": "string", + "nullable": true + }, + "data_ip_gte": { + "type": "string", + "nullable": true + }, + "data_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "data_ip_lt": { + "type": "string", + "nullable": true + }, + "data_ip_lte": { + "type": "string", + "nullable": true + }, + "data_ip_not": { + "type": "string", + "nullable": true + }, + "data_ip_not_contains": { + "type": "string", + "nullable": true + }, + "data_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "data_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "data_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "data_ip_starts_with": { + "type": "string", + "nullable": true + }, + "disks_every": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskWhereInput" + } + ], + "nullable": true + }, + "disks_none": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskWhereInput" + } + ], + "nullable": true + }, + "disks_some": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "failure_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "failure_data_space_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "gpu_devices_every": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + } + ], + "nullable": true + }, + "gpu_devices_none": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + } + ], + "nullable": true + }, + "gpu_devices_some": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + } + ], + "nullable": true + }, + "hdd_data_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "hdd_data_capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "hdd_data_capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "hdd_data_capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "hdd_data_capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "hdd_data_capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "hdd_data_capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "hdd_data_capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "hdd_disk_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "hdd_disk_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "hdd_disk_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "hdd_disk_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "hdd_disk_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "hdd_disk_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "hdd_disk_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "hdd_disk_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "hypervisor_ip": { + "type": "string", + "nullable": true + }, + "hypervisor_ip_contains": { + "type": "string", + "nullable": true + }, + "hypervisor_ip_ends_with": { + "type": "string", + "nullable": true + }, + "hypervisor_ip_gt": { + "type": "string", + "nullable": true + }, + "hypervisor_ip_gte": { + "type": "string", + "nullable": true + }, + "hypervisor_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "hypervisor_ip_lt": { + "type": "string", + "nullable": true + }, + "hypervisor_ip_lte": { + "type": "string", + "nullable": true + }, + "hypervisor_ip_not": { + "type": "string", + "nullable": true + }, + "hypervisor_ip_not_contains": { + "type": "string", + "nullable": true + }, + "hypervisor_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "hypervisor_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "hypervisor_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "hypervisor_ip_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "iommu": { + "allOf": [ + { + "$ref": "#/components/schemas/IommuStatus" + } + ], + "nullable": true + }, + "iommu_in": { + "items": { + "$ref": "#/components/schemas/IommuStatus" + }, + "type": "array", + "nullable": true + }, + "iommu_not": { + "allOf": [ + { + "$ref": "#/components/schemas/IommuStatus" + } + ], + "nullable": true + }, + "iommu_not_in": { + "items": { + "$ref": "#/components/schemas/IommuStatus" + }, + "type": "array", + "nullable": true + }, + "ipmi": { + "allOf": [ + { + "$ref": "#/components/schemas/IpmiWhereInput" + } + ], + "nullable": true + }, + "is_os_in_raid1": { + "type": "boolean", + "nullable": true + }, + "is_os_in_raid1_not": { + "type": "boolean", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "lsm_cap_disk_safe_umount": { + "type": "boolean", + "nullable": true + }, + "lsm_cap_disk_safe_umount_not": { + "type": "boolean", + "nullable": true + }, + "management_ip": { + "type": "string", + "nullable": true + }, + "management_ip_contains": { + "type": "string", + "nullable": true + }, + "management_ip_ends_with": { + "type": "string", + "nullable": true + }, + "management_ip_gt": { + "type": "string", + "nullable": true + }, + "management_ip_gte": { + "type": "string", + "nullable": true + }, + "management_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_ip_lt": { + "type": "string", + "nullable": true + }, + "management_ip_lte": { + "type": "string", + "nullable": true + }, + "management_ip_not": { + "type": "string", + "nullable": true + }, + "management_ip_not_contains": { + "type": "string", + "nullable": true + }, + "management_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "management_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "management_ip_starts_with": { + "type": "string", + "nullable": true + }, + "model": { + "type": "string", + "nullable": true + }, + "model_contains": { + "type": "string", + "nullable": true + }, + "model_ends_with": { + "type": "string", + "nullable": true + }, + "model_gt": { + "type": "string", + "nullable": true + }, + "model_gte": { + "type": "string", + "nullable": true + }, + "model_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "model_lt": { + "type": "string", + "nullable": true + }, + "model_lte": { + "type": "string", + "nullable": true + }, + "model_not": { + "type": "string", + "nullable": true + }, + "model_not_contains": { + "type": "string", + "nullable": true + }, + "model_not_ends_with": { + "type": "string", + "nullable": true + }, + "model_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "model_not_starts_with": { + "type": "string", + "nullable": true + }, + "model_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "nested_virtualization": { + "type": "boolean", + "nullable": true + }, + "nested_virtualization_not": { + "type": "boolean", + "nullable": true + }, + "nic_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nic_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nic_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nic_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nic_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nic_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nic_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nic_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nics_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "nics_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "nics_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "node_topo_local_id": { + "type": "string", + "nullable": true + }, + "node_topo_local_id_contains": { + "type": "string", + "nullable": true + }, + "node_topo_local_id_ends_with": { + "type": "string", + "nullable": true + }, + "node_topo_local_id_gt": { + "type": "string", + "nullable": true + }, + "node_topo_local_id_gte": { + "type": "string", + "nullable": true + }, + "node_topo_local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "node_topo_local_id_lt": { + "type": "string", + "nullable": true + }, + "node_topo_local_id_lte": { + "type": "string", + "nullable": true + }, + "node_topo_local_id_not": { + "type": "string", + "nullable": true + }, + "node_topo_local_id_not_contains": { + "type": "string", + "nullable": true + }, + "node_topo_local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "node_topo_local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "node_topo_local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "node_topo_local_id_starts_with": { + "type": "string", + "nullable": true + }, + "os_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "os_memory_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "os_memory_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "os_memory_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "os_memory_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "os_memory_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "os_memory_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "os_memory_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "os_version": { + "type": "string", + "nullable": true + }, + "os_version_contains": { + "type": "string", + "nullable": true + }, + "os_version_ends_with": { + "type": "string", + "nullable": true + }, + "os_version_gt": { + "type": "string", + "nullable": true + }, + "os_version_gte": { + "type": "string", + "nullable": true + }, + "os_version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "os_version_lt": { + "type": "string", + "nullable": true + }, + "os_version_lte": { + "type": "string", + "nullable": true + }, + "os_version_not": { + "type": "string", + "nullable": true + }, + "os_version_not_contains": { + "type": "string", + "nullable": true + }, + "os_version_not_ends_with": { + "type": "string", + "nullable": true + }, + "os_version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "os_version_not_starts_with": { + "type": "string", + "nullable": true + }, + "os_version_starts_with": { + "type": "string", + "nullable": true + }, + "pmem_dimm_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "pmem_dimm_capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "pmem_dimm_capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "pmem_dimm_capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "pmem_dimm_capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "pmem_dimm_capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "pmem_dimm_capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "pmem_dimm_capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "pmem_dimm_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "pmem_dimm_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "pmem_dimm_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "pmem_dimm_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "pmem_dimm_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "pmem_dimm_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "pmem_dimm_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "pmem_dimm_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "pmem_dimms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/PmemDimmWhereInput" + } + ], + "nullable": true + }, + "pmem_dimms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/PmemDimmWhereInput" + } + ], + "nullable": true + }, + "pmem_dimms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/PmemDimmWhereInput" + } + ], + "nullable": true + }, + "pmem_disk_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "pmem_disk_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "pmem_disk_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "pmem_disk_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "pmem_disk_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "pmem_disk_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "pmem_disk_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "pmem_disk_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "provisioned_cpu_cores": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "provisioned_cpu_cores_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "provisioned_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "provisioned_memory_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "running_pause_vm_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "running_pause_vm_memory_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "running_pause_vm_memory_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "running_pause_vm_memory_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "running_pause_vm_memory_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "running_pause_vm_memory_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "running_pause_vm_memory_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "running_pause_vm_memory_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "running_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "running_vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "scvm_cpu": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "scvm_cpu_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "scvm_cpu_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "scvm_cpu_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "scvm_cpu_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "scvm_cpu_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "scvm_cpu_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "scvm_cpu_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "scvm_memory": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "scvm_memory_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "scvm_memory_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "scvm_memory_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "scvm_memory_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "scvm_memory_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "scvm_memory_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "scvm_memory_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "scvm_name": { + "type": "string", + "nullable": true + }, + "scvm_name_contains": { + "type": "string", + "nullable": true + }, + "scvm_name_ends_with": { + "type": "string", + "nullable": true + }, + "scvm_name_gt": { + "type": "string", + "nullable": true + }, + "scvm_name_gte": { + "type": "string", + "nullable": true + }, + "scvm_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "scvm_name_lt": { + "type": "string", + "nullable": true + }, + "scvm_name_lte": { + "type": "string", + "nullable": true + }, + "scvm_name_not": { + "type": "string", + "nullable": true + }, + "scvm_name_not_contains": { + "type": "string", + "nullable": true + }, + "scvm_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "scvm_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "scvm_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "scvm_name_starts_with": { + "type": "string", + "nullable": true + }, + "serial": { + "type": "string", + "nullable": true + }, + "serial_contains": { + "type": "string", + "nullable": true + }, + "serial_ends_with": { + "type": "string", + "nullable": true + }, + "serial_gt": { + "type": "string", + "nullable": true + }, + "serial_gte": { + "type": "string", + "nullable": true + }, + "serial_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "serial_lt": { + "type": "string", + "nullable": true + }, + "serial_lte": { + "type": "string", + "nullable": true + }, + "serial_not": { + "type": "string", + "nullable": true + }, + "serial_not_contains": { + "type": "string", + "nullable": true + }, + "serial_not_ends_with": { + "type": "string", + "nullable": true + }, + "serial_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "serial_not_starts_with": { + "type": "string", + "nullable": true + }, + "serial_starts_with": { + "type": "string", + "nullable": true + }, + "ssd_data_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "ssd_data_capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "ssd_data_capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "ssd_data_capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "ssd_data_capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "ssd_data_capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "ssd_data_capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "ssd_data_capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "ssd_disk_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "ssd_disk_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "ssd_disk_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "ssd_disk_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "ssd_disk_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "ssd_disk_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "ssd_disk_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "ssd_disk_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "state": { + "allOf": [ + { + "$ref": "#/components/schemas/HostState" + } + ], + "nullable": true + }, + "state_in": { + "items": { + "$ref": "#/components/schemas/HostState" + }, + "type": "array", + "nullable": true + }, + "state_not": { + "allOf": [ + { + "$ref": "#/components/schemas/HostState" + } + ], + "nullable": true + }, + "state_not_in": { + "items": { + "$ref": "#/components/schemas/HostState" + }, + "type": "array", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/HostStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/HostStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/HostStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/HostStatus" + }, + "type": "array", + "nullable": true + }, + "stopped_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stopped_vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "suspended_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "suspended_vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_cache_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_cache_capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_cpu_cores": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_cpu_cores_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_cpu_hz": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_cpu_hz_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_cpu_sockets": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_sockets_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_sockets_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_sockets_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_cpu_sockets_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_sockets_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_sockets_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_sockets_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_data_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_data_capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_memory_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "usb_devices_every": { + "allOf": [ + { + "$ref": "#/components/schemas/UsbDeviceWhereInput" + } + ], + "nullable": true + }, + "usb_devices_none": { + "allOf": [ + { + "$ref": "#/components/schemas/UsbDeviceWhereInput" + } + ], + "nullable": true + }, + "usb_devices_some": { + "allOf": [ + { + "$ref": "#/components/schemas/UsbDeviceWhereInput" + } + ], + "nullable": true + }, + "used_cpu_hz": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "used_cpu_hz_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "used_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "used_data_space_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "used_memory_bytes": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "used_memory_bytes_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vmotion_ip": { + "type": "string", + "nullable": true + }, + "vmotion_ip_contains": { + "type": "string", + "nullable": true + }, + "vmotion_ip_ends_with": { + "type": "string", + "nullable": true + }, + "vmotion_ip_gt": { + "type": "string", + "nullable": true + }, + "vmotion_ip_gte": { + "type": "string", + "nullable": true + }, + "vmotion_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "vmotion_ip_lt": { + "type": "string", + "nullable": true + }, + "vmotion_ip_lte": { + "type": "string", + "nullable": true + }, + "vmotion_ip_not": { + "type": "string", + "nullable": true + }, + "vmotion_ip_not_contains": { + "type": "string", + "nullable": true + }, + "vmotion_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "vmotion_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "vmotion_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "vmotion_ip_starts_with": { + "type": "string", + "nullable": true + }, + "vms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vsphereEsxiAccount": { + "allOf": [ + { + "$ref": "#/components/schemas/VsphereEsxiAccountWhereInput" + } + ], + "nullable": true + }, + "with_faster_ssd_as_cache": { + "type": "boolean", + "nullable": true + }, + "with_faster_ssd_as_cache_not": { + "type": "boolean", + "nullable": true + }, + "zone": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "CpuFanSpeedUnit": { + "enum": [ + "PERCENT", + "RPM" + ], + "type": "string" + }, + "DiskWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/DiskWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/DiskWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/DiskWhereInput" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "firmware": { + "type": "string", + "nullable": true + }, + "firmware_contains": { + "type": "string", + "nullable": true + }, + "firmware_ends_with": { + "type": "string", + "nullable": true + }, + "firmware_gt": { + "type": "string", + "nullable": true + }, + "firmware_gte": { + "type": "string", + "nullable": true + }, + "firmware_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "firmware_lt": { + "type": "string", + "nullable": true + }, + "firmware_lte": { + "type": "string", + "nullable": true + }, + "firmware_not": { + "type": "string", + "nullable": true + }, + "firmware_not_contains": { + "type": "string", + "nullable": true + }, + "firmware_not_ends_with": { + "type": "string", + "nullable": true + }, + "firmware_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "firmware_not_starts_with": { + "type": "string", + "nullable": true + }, + "firmware_starts_with": { + "type": "string", + "nullable": true + }, + "function": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskFunction" + } + ], + "nullable": true + }, + "function_in": { + "items": { + "$ref": "#/components/schemas/DiskFunction" + }, + "type": "array", + "nullable": true + }, + "function_not": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskFunction" + } + ], + "nullable": true + }, + "function_not_in": { + "items": { + "$ref": "#/components/schemas/DiskFunction" + }, + "type": "array", + "nullable": true + }, + "health_status": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskHealthStatus" + } + ], + "nullable": true + }, + "health_status_in": { + "items": { + "$ref": "#/components/schemas/DiskHealthStatus" + }, + "type": "array", + "nullable": true + }, + "health_status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskHealthStatus" + } + ], + "nullable": true + }, + "health_status_not_in": { + "items": { + "$ref": "#/components/schemas/DiskHealthStatus" + }, + "type": "array", + "nullable": true + }, + "healthy": { + "type": "boolean", + "nullable": true + }, + "healthy_not": { + "type": "boolean", + "nullable": true + }, + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "model": { + "type": "string", + "nullable": true + }, + "model_contains": { + "type": "string", + "nullable": true + }, + "model_ends_with": { + "type": "string", + "nullable": true + }, + "model_gt": { + "type": "string", + "nullable": true + }, + "model_gte": { + "type": "string", + "nullable": true + }, + "model_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "model_lt": { + "type": "string", + "nullable": true + }, + "model_lte": { + "type": "string", + "nullable": true + }, + "model_not": { + "type": "string", + "nullable": true + }, + "model_not_contains": { + "type": "string", + "nullable": true + }, + "model_not_ends_with": { + "type": "string", + "nullable": true + }, + "model_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "model_not_starts_with": { + "type": "string", + "nullable": true + }, + "model_starts_with": { + "type": "string", + "nullable": true + }, + "mounted": { + "type": "boolean", + "nullable": true + }, + "mounted_not": { + "type": "boolean", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "numa_node": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "numa_node_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "numa_node_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "numa_node_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "numa_node_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "numa_node_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "numa_node_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "numa_node_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "offline": { + "type": "boolean", + "nullable": true + }, + "offline_not": { + "type": "boolean", + "nullable": true + }, + "path": { + "type": "string", + "nullable": true + }, + "path_contains": { + "type": "string", + "nullable": true + }, + "path_ends_with": { + "type": "string", + "nullable": true + }, + "path_gt": { + "type": "string", + "nullable": true + }, + "path_gte": { + "type": "string", + "nullable": true + }, + "path_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "path_lt": { + "type": "string", + "nullable": true + }, + "path_lte": { + "type": "string", + "nullable": true + }, + "path_not": { + "type": "string", + "nullable": true + }, + "path_not_contains": { + "type": "string", + "nullable": true + }, + "path_not_ends_with": { + "type": "string", + "nullable": true + }, + "path_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "path_not_starts_with": { + "type": "string", + "nullable": true + }, + "path_starts_with": { + "type": "string", + "nullable": true + }, + "persistent_memory_type": { + "type": "string", + "nullable": true + }, + "persistent_memory_type_contains": { + "type": "string", + "nullable": true + }, + "persistent_memory_type_ends_with": { + "type": "string", + "nullable": true + }, + "persistent_memory_type_gt": { + "type": "string", + "nullable": true + }, + "persistent_memory_type_gte": { + "type": "string", + "nullable": true + }, + "persistent_memory_type_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "persistent_memory_type_lt": { + "type": "string", + "nullable": true + }, + "persistent_memory_type_lte": { + "type": "string", + "nullable": true + }, + "persistent_memory_type_not": { + "type": "string", + "nullable": true + }, + "persistent_memory_type_not_contains": { + "type": "string", + "nullable": true + }, + "persistent_memory_type_not_ends_with": { + "type": "string", + "nullable": true + }, + "persistent_memory_type_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "persistent_memory_type_not_starts_with": { + "type": "string", + "nullable": true + }, + "persistent_memory_type_starts_with": { + "type": "string", + "nullable": true + }, + "physical_slot_on_brick": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "physical_slot_on_brick_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "physical_slot_on_brick_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "physical_slot_on_brick_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "physical_slot_on_brick_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "physical_slot_on_brick_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "physical_slot_on_brick_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "physical_slot_on_brick_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "pmem_dimms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/PmemDimmWhereInput" + } + ], + "nullable": true + }, + "pmem_dimms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/PmemDimmWhereInput" + } + ], + "nullable": true + }, + "pmem_dimms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/PmemDimmWhereInput" + } + ], + "nullable": true + }, + "recommended_usage": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskUsage" + } + ], + "nullable": true + }, + "recommended_usage_in": { + "items": { + "$ref": "#/components/schemas/DiskUsage" + }, + "type": "array", + "nullable": true + }, + "recommended_usage_not": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskUsage" + } + ], + "nullable": true + }, + "recommended_usage_not_in": { + "items": { + "$ref": "#/components/schemas/DiskUsage" + }, + "type": "array", + "nullable": true + }, + "remaining_life_percent": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remaining_life_percent_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remaining_life_percent_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remaining_life_percent_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "remaining_life_percent_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remaining_life_percent_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remaining_life_percent_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remaining_life_percent_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "serial": { + "type": "string", + "nullable": true + }, + "serial_contains": { + "type": "string", + "nullable": true + }, + "serial_ends_with": { + "type": "string", + "nullable": true + }, + "serial_gt": { + "type": "string", + "nullable": true + }, + "serial_gte": { + "type": "string", + "nullable": true + }, + "serial_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "serial_lt": { + "type": "string", + "nullable": true + }, + "serial_lte": { + "type": "string", + "nullable": true + }, + "serial_not": { + "type": "string", + "nullable": true + }, + "serial_not_contains": { + "type": "string", + "nullable": true + }, + "serial_not_ends_with": { + "type": "string", + "nullable": true + }, + "serial_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "serial_not_starts_with": { + "type": "string", + "nullable": true + }, + "serial_starts_with": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/DiskType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/DiskType" + }, + "type": "array", + "nullable": true + }, + "usage": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskUsage" + } + ], + "nullable": true + }, + "usage_in": { + "items": { + "$ref": "#/components/schemas/DiskUsage" + }, + "type": "array", + "nullable": true + }, + "usage_not": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskUsage" + } + ], + "nullable": true + }, + "usage_not_in": { + "items": { + "$ref": "#/components/schemas/DiskUsage" + }, + "type": "array", + "nullable": true + }, + "usage_status": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskUsageStatus" + } + ], + "nullable": true + }, + "usage_status_in": { + "items": { + "$ref": "#/components/schemas/DiskUsageStatus" + }, + "type": "array", + "nullable": true + }, + "usage_status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskUsageStatus" + } + ], + "nullable": true + }, + "usage_status_not_in": { + "items": { + "$ref": "#/components/schemas/DiskUsageStatus" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "DiskFunction": { + "enum": [ + "BOOT", + "CACHE", + "DATA", + "SMTX_SYSTEM", + "UNMOUNT" + ], + "type": "string" + }, + "DiskHealthStatus": { + "enum": [ + "HEALTHY", + "SMART_FAILED", + "SOFTWARE_RAID_FAILURE", + "SUBHEALTHY", + "UNHEALTHY" + ], + "type": "string" + }, + "LabelWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/LabelWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/LabelWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/LabelWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cluster_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cluster_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cluster_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "cluster_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cluster_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cluster_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cluster_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "clusters_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "clusters_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "clusters_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "consistency_group_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "consistency_group_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "consistency_group_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "consistency_group_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "consistency_group_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "consistency_group_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "consistency_group_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "consistency_group_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "consistency_group_snapshot_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "consistency_group_snapshot_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "consistency_group_snapshot_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "consistency_group_snapshot_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "consistency_group_snapshot_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "consistency_group_snapshot_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "consistency_group_snapshot_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "consistency_group_snapshot_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "consistency_group_snapshots_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + } + ], + "nullable": true + }, + "consistency_group_snapshots_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + } + ], + "nullable": true + }, + "consistency_group_snapshots_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + } + ], + "nullable": true + }, + "consistency_groups_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + } + ], + "nullable": true + }, + "consistency_groups_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + } + ], + "nullable": true + }, + "consistency_groups_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + } + ], + "nullable": true + }, + "content_library_image_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "content_library_image_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "content_library_image_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "content_library_image_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "content_library_image_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "content_library_image_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "content_library_image_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "content_library_image_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "content_library_images_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryImageWhereInput" + } + ], + "nullable": true + }, + "content_library_images_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryImageWhereInput" + } + ], + "nullable": true + }, + "content_library_images_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryImageWhereInput" + } + ], + "nullable": true + }, + "content_library_vm_template_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "content_library_vm_template_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "content_library_vm_template_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "content_library_vm_template_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "content_library_vm_template_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "content_library_vm_template_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "content_library_vm_template_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "content_library_vm_template_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "content_library_vm_templates_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + } + ], + "nullable": true + }, + "content_library_vm_templates_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + } + ], + "nullable": true + }, + "content_library_vm_templates_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + } + ], + "nullable": true + }, + "createdAt": { + "type": "string", + "nullable": true + }, + "createdAt_gt": { + "type": "string", + "nullable": true + }, + "createdAt_gte": { + "type": "string", + "nullable": true + }, + "createdAt_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "createdAt_lt": { + "type": "string", + "nullable": true + }, + "createdAt_lte": { + "type": "string", + "nullable": true + }, + "createdAt_not": { + "type": "string", + "nullable": true + }, + "createdAt_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "datacenter_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "datacenter_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "datacenter_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "datacenter_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "datacenter_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "datacenter_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "datacenter_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "datacenter_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "datacenters_every": { + "allOf": [ + { + "$ref": "#/components/schemas/DatacenterWhereInput" + } + ], + "nullable": true + }, + "datacenters_none": { + "allOf": [ + { + "$ref": "#/components/schemas/DatacenterWhereInput" + } + ], + "nullable": true + }, + "datacenters_some": { + "allOf": [ + { + "$ref": "#/components/schemas/DatacenterWhereInput" + } + ], + "nullable": true + }, + "disk_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "disk_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "disk_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "disk_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "disk_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "disk_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "disk_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "disk_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "disks_every": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskWhereInput" + } + ], + "nullable": true + }, + "disks_none": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskWhereInput" + } + ], + "nullable": true + }, + "disks_some": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskWhereInput" + } + ], + "nullable": true + }, + "elf_image_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "elf_image_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "elf_image_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "elf_image_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "elf_image_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "elf_image_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "elf_image_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "elf_image_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "elf_images_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfImageWhereInput" + } + ], + "nullable": true + }, + "elf_images_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfImageWhereInput" + } + ], + "nullable": true + }, + "elf_images_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfImageWhereInput" + } + ], + "nullable": true + }, + "gpu_device_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "gpu_device_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "gpu_device_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "gpu_device_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "gpu_device_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "gpu_device_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "gpu_device_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "gpu_device_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "gpu_devices_every": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + } + ], + "nullable": true + }, + "gpu_devices_none": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + } + ], + "nullable": true + }, + "gpu_devices_some": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + } + ], + "nullable": true + }, + "host_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "host_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "hosts_every": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "hosts_none": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "hosts_some": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_lun_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_lun_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_lun_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_lun_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "iscsi_lun_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_lun_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_lun_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_lun_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "iscsi_lun_snapshot_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_lun_snapshot_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_lun_snapshot_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_lun_snapshot_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "iscsi_lun_snapshot_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_lun_snapshot_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_lun_snapshot_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_lun_snapshot_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "iscsi_lun_snapshots_every": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunSnapshotWhereInput" + } + ], + "nullable": true + }, + "iscsi_lun_snapshots_none": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunSnapshotWhereInput" + } + ], + "nullable": true + }, + "iscsi_lun_snapshots_some": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunSnapshotWhereInput" + } + ], + "nullable": true + }, + "iscsi_luns_every": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "iscsi_luns_none": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "iscsi_luns_some": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "iscsi_target_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_target_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_target_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_target_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "iscsi_target_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_target_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_target_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_target_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "iscsi_targets_every": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + } + ], + "nullable": true + }, + "iscsi_targets_none": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + } + ], + "nullable": true + }, + "iscsi_targets_some": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + } + ], + "nullable": true + }, + "isolation_policies_every": { + "allOf": [ + { + "$ref": "#/components/schemas/IsolationPolicyWhereInput" + } + ], + "nullable": true + }, + "isolation_policies_none": { + "allOf": [ + { + "$ref": "#/components/schemas/IsolationPolicyWhereInput" + } + ], + "nullable": true + }, + "isolation_policies_some": { + "allOf": [ + { + "$ref": "#/components/schemas/IsolationPolicyWhereInput" + } + ], + "nullable": true + }, + "isolation_policy_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "isolation_policy_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "isolation_policy_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "isolation_policy_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "isolation_policy_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "isolation_policy_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "isolation_policy_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "isolation_policy_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "key": { + "type": "string", + "nullable": true + }, + "key_contains": { + "type": "string", + "nullable": true + }, + "key_ends_with": { + "type": "string", + "nullable": true + }, + "key_gt": { + "type": "string", + "nullable": true + }, + "key_gte": { + "type": "string", + "nullable": true + }, + "key_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "key_lt": { + "type": "string", + "nullable": true + }, + "key_lte": { + "type": "string", + "nullable": true + }, + "key_not": { + "type": "string", + "nullable": true + }, + "key_not_contains": { + "type": "string", + "nullable": true + }, + "key_not_ends_with": { + "type": "string", + "nullable": true + }, + "key_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "key_not_starts_with": { + "type": "string", + "nullable": true + }, + "key_starts_with": { + "type": "string", + "nullable": true + }, + "namespace_group_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "namespace_group_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "namespace_group_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "namespace_group_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "namespace_group_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "namespace_group_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "namespace_group_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "namespace_group_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "namespace_groups_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + } + ], + "nullable": true + }, + "namespace_groups_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + } + ], + "nullable": true + }, + "namespace_groups_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + } + ], + "nullable": true + }, + "nfs_export_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nfs_export_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nfs_export_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nfs_export_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nfs_export_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nfs_export_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nfs_export_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nfs_export_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nfs_exports_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsExportWhereInput" + } + ], + "nullable": true + }, + "nfs_exports_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsExportWhereInput" + } + ], + "nullable": true + }, + "nfs_exports_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsExportWhereInput" + } + ], + "nullable": true + }, + "nfs_inode_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nfs_inode_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nfs_inode_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nfs_inode_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nfs_inode_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nfs_inode_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nfs_inode_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nfs_inode_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nfs_inodes_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsInodeWhereInput" + } + ], + "nullable": true + }, + "nfs_inodes_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsInodeWhereInput" + } + ], + "nullable": true + }, + "nfs_inodes_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsInodeWhereInput" + } + ], + "nullable": true + }, + "nic_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nic_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nic_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nic_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nic_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nic_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nic_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nic_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nics_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "nics_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "nics_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "nvmf_namespace_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_namespace_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_namespace_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_namespace_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nvmf_namespace_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_namespace_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_namespace_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_namespace_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nvmf_namespace_snapshot_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_namespace_snapshot_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_namespace_snapshot_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_namespace_snapshot_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nvmf_namespace_snapshot_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_namespace_snapshot_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_namespace_snapshot_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_namespace_snapshot_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nvmf_namespace_snapshots_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotWhereInput" + } + ], + "nullable": true + }, + "nvmf_namespace_snapshots_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotWhereInput" + } + ], + "nullable": true + }, + "nvmf_namespace_snapshots_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotWhereInput" + } + ], + "nullable": true + }, + "nvmf_namespaces_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "nvmf_namespaces_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "nvmf_namespaces_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "nvmf_subsystem_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_subsystem_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_subsystem_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_subsystem_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nvmf_subsystem_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_subsystem_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_subsystem_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_subsystem_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nvmf_subsystems_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + } + ], + "nullable": true + }, + "nvmf_subsystems_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + } + ], + "nullable": true + }, + "nvmf_subsystems_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + } + ], + "nullable": true + }, + "security_policies_every": { + "allOf": [ + { + "$ref": "#/components/schemas/SecurityPolicyWhereInput" + } + ], + "nullable": true + }, + "security_policies_none": { + "allOf": [ + { + "$ref": "#/components/schemas/SecurityPolicyWhereInput" + } + ], + "nullable": true + }, + "security_policies_some": { + "allOf": [ + { + "$ref": "#/components/schemas/SecurityPolicyWhereInput" + } + ], + "nullable": true + }, + "security_policy_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "security_policy_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "security_policy_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "security_policy_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "security_policy_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "security_policy_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "security_policy_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "security_policy_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "system_vlan_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "system_vlan_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "system_vlan_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "system_vlan_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "system_vlan_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "system_vlan_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "system_vlan_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "system_vlan_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "value": { + "type": "string", + "nullable": true + }, + "value_contains": { + "type": "string", + "nullable": true + }, + "value_ends_with": { + "type": "string", + "nullable": true + }, + "value_gt": { + "type": "string", + "nullable": true + }, + "value_gte": { + "type": "string", + "nullable": true + }, + "value_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "value_lt": { + "type": "string", + "nullable": true + }, + "value_lte": { + "type": "string", + "nullable": true + }, + "value_not": { + "type": "string", + "nullable": true + }, + "value_not_contains": { + "type": "string", + "nullable": true + }, + "value_not_ends_with": { + "type": "string", + "nullable": true + }, + "value_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "value_not_starts_with": { + "type": "string", + "nullable": true + }, + "value_starts_with": { + "type": "string", + "nullable": true + }, + "vds_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vds_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vds_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vds_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vds_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vds_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vds_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vds_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vdses_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "vdses_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "vdses_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "vlans_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanWhereInput" + } + ], + "nullable": true + }, + "vlans_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanWhereInput" + } + ], + "nullable": true + }, + "vlans_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanWhereInput" + } + ], + "nullable": true + }, + "vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_snapshot_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_snapshot_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_snapshot_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_snapshot_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_snapshot_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_snapshot_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_snapshot_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_snapshot_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_snapshots_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_snapshots_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_snapshots_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_template_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_template_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_template_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_template_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_template_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_template_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_template_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_template_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_templates_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + }, + "vm_templates_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + }, + "vm_templates_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + }, + "vm_vlan_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_vlan_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_vlan_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_vlan_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_vlan_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_vlan_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_vlan_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_vlan_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_volume_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_volume_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_volume_snapshot_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_snapshot_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_snapshot_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_snapshot_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_volume_snapshot_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_snapshot_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_snapshot_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_snapshot_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_volume_snapshots_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_volume_snapshots_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_volume_snapshots_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_volumes_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeWhereInput" + } + ], + "nullable": true + }, + "vm_volumes_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeWhereInput" + } + ], + "nullable": true + }, + "vm_volumes_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeWhereInput" + } + ], + "nullable": true + }, + "vms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ConsistencyGroupSnapshotWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "Iscsi_lun_snapshots_every": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunSnapshotWhereInput" + } + ], + "nullable": true + }, + "Iscsi_lun_snapshots_none": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunSnapshotWhereInput" + } + ], + "nullable": true + }, + "Iscsi_lun_snapshots_some": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunSnapshotWhereInput" + } + ], + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "consistency_group": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "nvmf_namespace_snapshots_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotWhereInput" + } + ], + "nullable": true + }, + "nvmf_namespace_snapshots_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotWhereInput" + } + ], + "nullable": true + }, + "nvmf_namespace_snapshots_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotWhereInput" + } + ], + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "unique_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "IscsiLunSnapshotWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/IscsiLunSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/IscsiLunSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/IscsiLunSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "consistency_group_snapshot": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_lun": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "iscsi_target": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + } + ], + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "unique_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "IscsiLunWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/IscsiLunWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/IscsiLunWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/IscsiLunWhereInput" + }, + "type": "array", + "nullable": true + }, + "allowed_initiators": { + "type": "string", + "nullable": true + }, + "allowed_initiators_contains": { + "type": "string", + "nullable": true + }, + "allowed_initiators_ends_with": { + "type": "string", + "nullable": true + }, + "allowed_initiators_gt": { + "type": "string", + "nullable": true + }, + "allowed_initiators_gte": { + "type": "string", + "nullable": true + }, + "allowed_initiators_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "allowed_initiators_lt": { + "type": "string", + "nullable": true + }, + "allowed_initiators_lte": { + "type": "string", + "nullable": true + }, + "allowed_initiators_not": { + "type": "string", + "nullable": true + }, + "allowed_initiators_not_contains": { + "type": "string", + "nullable": true + }, + "allowed_initiators_not_ends_with": { + "type": "string", + "nullable": true + }, + "allowed_initiators_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "allowed_initiators_not_starts_with": { + "type": "string", + "nullable": true + }, + "allowed_initiators_starts_with": { + "type": "string", + "nullable": true + }, + "assigned_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "assigned_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "consistency_group": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "io_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "io_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iscsi_target": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + } + ], + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "lun_id": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "lun_id_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "lun_id_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "lun_id_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "lun_id_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "lun_id_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "lun_id_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "lun_id_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "replica_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "replica_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "shared_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "shared_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "snapshot_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "snapshot_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "stripe_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "thin_provision": { + "type": "boolean", + "nullable": true + }, + "thin_provision_not": { + "type": "boolean", + "nullable": true + }, + "unique_logical_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "unique_logical_size_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "unique_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "zbs_volume_id": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_contains": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_ends_with": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_gt": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_gte": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "zbs_volume_id_lt": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_lte": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_not": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_not_contains": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "zbs_volume_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ConsistencyGroupWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "consistency_group_snapshots_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + } + ], + "nullable": true + }, + "consistency_group_snapshots_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + } + ], + "nullable": true + }, + "consistency_group_snapshots_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_luns_every": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "iscsi_luns_none": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "iscsi_luns_some": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "namespaces_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "namespaces_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "namespaces_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "unique_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NvmfNamespaceWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + }, + "type": "array", + "nullable": true + }, + "assigned_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "assigned_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "consistency_group": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "io_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "io_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "is_shared": { + "type": "boolean", + "nullable": true + }, + "is_shared_not": { + "type": "boolean", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "namespace_group": { + "allOf": [ + { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + } + ], + "nullable": true + }, + "namespace_id": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "namespace_id_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "namespace_id_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "namespace_id_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "namespace_id_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "namespace_id_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "namespace_id_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "namespace_id_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "nqn_whitelist": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_contains": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_ends_with": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_gt": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_gte": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nqn_whitelist_lt": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_lte": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_not": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_not_contains": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_not_ends_with": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nqn_whitelist_not_starts_with": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_starts_with": { + "type": "string", + "nullable": true + }, + "nvmf_subsystem": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + } + ], + "nullable": true + }, + "replica_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "replica_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "shared_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "shared_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "snapshot_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "snapshot_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "stripe_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "thin_provision": { + "type": "boolean", + "nullable": true + }, + "thin_provision_not": { + "type": "boolean", + "nullable": true + }, + "unique_logical_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "unique_logical_size_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "unique_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "zbs_volume_id": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_contains": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_ends_with": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_gt": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_gte": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "zbs_volume_id_lt": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_lte": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_not": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_not_contains": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "zbs_volume_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "zbs_volume_id_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NamespaceGroupWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_create_time": { + "type": "string", + "nullable": true + }, + "local_create_time_gt": { + "type": "string", + "nullable": true + }, + "local_create_time_gte": { + "type": "string", + "nullable": true + }, + "local_create_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_create_time_lt": { + "type": "string", + "nullable": true + }, + "local_create_time_lte": { + "type": "string", + "nullable": true + }, + "local_create_time_not": { + "type": "string", + "nullable": true + }, + "local_create_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "namespaces_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "namespaces_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "namespaces_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "nvmf_subsystem": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NvmfSubsystemWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + }, + "type": "array", + "nullable": true + }, + "bps": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "external_use": { + "type": "boolean", + "nullable": true + }, + "external_use_not": { + "type": "boolean", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "internal": { + "type": "boolean", + "nullable": true + }, + "internal_not": { + "type": "boolean", + "nullable": true + }, + "io_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "io_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "ip_whitelist": { + "type": "string", + "nullable": true + }, + "ip_whitelist_contains": { + "type": "string", + "nullable": true + }, + "ip_whitelist_ends_with": { + "type": "string", + "nullable": true + }, + "ip_whitelist_gt": { + "type": "string", + "nullable": true + }, + "ip_whitelist_gte": { + "type": "string", + "nullable": true + }, + "ip_whitelist_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_whitelist_lt": { + "type": "string", + "nullable": true + }, + "ip_whitelist_lte": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not_contains": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not_ends_with": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_whitelist_not_starts_with": { + "type": "string", + "nullable": true + }, + "ip_whitelist_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "namespace_groups_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + } + ], + "nullable": true + }, + "namespace_groups_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + } + ], + "nullable": true + }, + "namespace_groups_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + } + ], + "nullable": true + }, + "namespaces_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "namespaces_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "namespaces_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "nqn_name": { + "type": "string", + "nullable": true + }, + "nqn_name_contains": { + "type": "string", + "nullable": true + }, + "nqn_name_ends_with": { + "type": "string", + "nullable": true + }, + "nqn_name_gt": { + "type": "string", + "nullable": true + }, + "nqn_name_gte": { + "type": "string", + "nullable": true + }, + "nqn_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nqn_name_lt": { + "type": "string", + "nullable": true + }, + "nqn_name_lte": { + "type": "string", + "nullable": true + }, + "nqn_name_not": { + "type": "string", + "nullable": true + }, + "nqn_name_not_contains": { + "type": "string", + "nullable": true + }, + "nqn_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "nqn_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nqn_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "nqn_name_starts_with": { + "type": "string", + "nullable": true + }, + "nqn_whitelist": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_contains": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_ends_with": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_gt": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_gte": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nqn_whitelist_lt": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_lte": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_not": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_not_contains": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_not_ends_with": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nqn_whitelist_not_starts_with": { + "type": "string", + "nullable": true + }, + "nqn_whitelist_starts_with": { + "type": "string", + "nullable": true + }, + "policy": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfSubsystemPolicyType" + } + ], + "nullable": true + }, + "policy_in": { + "items": { + "$ref": "#/components/schemas/NvmfSubsystemPolicyType" + }, + "type": "array", + "nullable": true + }, + "policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfSubsystemPolicyType" + } + ], + "nullable": true + }, + "policy_not_in": { + "items": { + "$ref": "#/components/schemas/NvmfSubsystemPolicyType" + }, + "type": "array", + "nullable": true + }, + "replica_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "replica_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "stripe_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "thin_provision": { + "type": "boolean", + "nullable": true + }, + "thin_provision_not": { + "type": "boolean", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NvmfSubsystemPolicyType": { + "enum": [ + "BALANCE", + "INHERIT" + ], + "type": "string" + }, + "IscsiTargetWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + }, + "type": "array", + "nullable": true + }, + "bps": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_rd_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "bps_wr_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "chap_enabled": { + "type": "boolean", + "nullable": true + }, + "chap_enabled_not": { + "type": "boolean", + "nullable": true + }, + "chap_name": { + "type": "string", + "nullable": true + }, + "chap_name_contains": { + "type": "string", + "nullable": true + }, + "chap_name_ends_with": { + "type": "string", + "nullable": true + }, + "chap_name_gt": { + "type": "string", + "nullable": true + }, + "chap_name_gte": { + "type": "string", + "nullable": true + }, + "chap_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "chap_name_lt": { + "type": "string", + "nullable": true + }, + "chap_name_lte": { + "type": "string", + "nullable": true + }, + "chap_name_not": { + "type": "string", + "nullable": true + }, + "chap_name_not_contains": { + "type": "string", + "nullable": true + }, + "chap_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "chap_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "chap_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "chap_name_starts_with": { + "type": "string", + "nullable": true + }, + "chap_secret": { + "type": "string", + "nullable": true + }, + "chap_secret_contains": { + "type": "string", + "nullable": true + }, + "chap_secret_ends_with": { + "type": "string", + "nullable": true + }, + "chap_secret_gt": { + "type": "string", + "nullable": true + }, + "chap_secret_gte": { + "type": "string", + "nullable": true + }, + "chap_secret_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "chap_secret_lt": { + "type": "string", + "nullable": true + }, + "chap_secret_lte": { + "type": "string", + "nullable": true + }, + "chap_secret_not": { + "type": "string", + "nullable": true + }, + "chap_secret_not_contains": { + "type": "string", + "nullable": true + }, + "chap_secret_not_ends_with": { + "type": "string", + "nullable": true + }, + "chap_secret_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "chap_secret_not_starts_with": { + "type": "string", + "nullable": true + }, + "chap_secret_starts_with": { + "type": "string", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "external_use": { + "type": "boolean", + "nullable": true + }, + "external_use_not": { + "type": "boolean", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "internal": { + "type": "boolean", + "nullable": true + }, + "internal_not": { + "type": "boolean", + "nullable": true + }, + "io_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "io_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "io_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_rd_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_max_length_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_max_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "iops_wr_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "ip_whitelist": { + "type": "string", + "nullable": true + }, + "ip_whitelist_contains": { + "type": "string", + "nullable": true + }, + "ip_whitelist_ends_with": { + "type": "string", + "nullable": true + }, + "ip_whitelist_gt": { + "type": "string", + "nullable": true + }, + "ip_whitelist_gte": { + "type": "string", + "nullable": true + }, + "ip_whitelist_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_whitelist_lt": { + "type": "string", + "nullable": true + }, + "ip_whitelist_lte": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not_contains": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not_ends_with": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_whitelist_not_starts_with": { + "type": "string", + "nullable": true + }, + "ip_whitelist_starts_with": { + "type": "string", + "nullable": true + }, + "iqn_name": { + "type": "string", + "nullable": true + }, + "iqn_name_contains": { + "type": "string", + "nullable": true + }, + "iqn_name_ends_with": { + "type": "string", + "nullable": true + }, + "iqn_name_gt": { + "type": "string", + "nullable": true + }, + "iqn_name_gte": { + "type": "string", + "nullable": true + }, + "iqn_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iqn_name_lt": { + "type": "string", + "nullable": true + }, + "iqn_name_lte": { + "type": "string", + "nullable": true + }, + "iqn_name_not": { + "type": "string", + "nullable": true + }, + "iqn_name_not_contains": { + "type": "string", + "nullable": true + }, + "iqn_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "iqn_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iqn_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "iqn_name_starts_with": { + "type": "string", + "nullable": true + }, + "iqn_whitelist": { + "type": "string", + "nullable": true + }, + "iqn_whitelist_contains": { + "type": "string", + "nullable": true + }, + "iqn_whitelist_ends_with": { + "type": "string", + "nullable": true + }, + "iqn_whitelist_gt": { + "type": "string", + "nullable": true + }, + "iqn_whitelist_gte": { + "type": "string", + "nullable": true + }, + "iqn_whitelist_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iqn_whitelist_lt": { + "type": "string", + "nullable": true + }, + "iqn_whitelist_lte": { + "type": "string", + "nullable": true + }, + "iqn_whitelist_not": { + "type": "string", + "nullable": true + }, + "iqn_whitelist_not_contains": { + "type": "string", + "nullable": true + }, + "iqn_whitelist_not_ends_with": { + "type": "string", + "nullable": true + }, + "iqn_whitelist_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "iqn_whitelist_not_starts_with": { + "type": "string", + "nullable": true + }, + "iqn_whitelist_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "luns_every": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "luns_none": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "luns_some": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "replica_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "replica_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "stripe_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "thin_provision": { + "type": "boolean", + "nullable": true + }, + "thin_provision_not": { + "type": "boolean", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NvmfNamespaceSnapshotWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "consistency_group_snapshot": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "nvmf_namespace": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "nvmf_subsystem": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + } + ], + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "unique_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ContentLibraryImageWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ContentLibraryImageWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ContentLibraryImageWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ContentLibraryImageWhereInput" + }, + "type": "array", + "nullable": true + }, + "clusters_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "clusters_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "clusters_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "createdAt": { + "type": "string", + "nullable": true + }, + "createdAt_gt": { + "type": "string", + "nullable": true + }, + "createdAt_gte": { + "type": "string", + "nullable": true + }, + "createdAt_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "createdAt_lt": { + "type": "string", + "nullable": true + }, + "createdAt_lte": { + "type": "string", + "nullable": true + }, + "createdAt_not": { + "type": "string", + "nullable": true + }, + "createdAt_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "elf_images_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfImageWhereInput" + } + ], + "nullable": true + }, + "elf_images_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfImageWhereInput" + } + ], + "nullable": true + }, + "elf_images_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfImageWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_luns_every": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "iscsi_luns_none": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "iscsi_luns_some": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "path": { + "type": "string", + "nullable": true + }, + "path_contains": { + "type": "string", + "nullable": true + }, + "path_ends_with": { + "type": "string", + "nullable": true + }, + "path_gt": { + "type": "string", + "nullable": true + }, + "path_gte": { + "type": "string", + "nullable": true + }, + "path_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "path_lt": { + "type": "string", + "nullable": true + }, + "path_lte": { + "type": "string", + "nullable": true + }, + "path_not": { + "type": "string", + "nullable": true + }, + "path_not_contains": { + "type": "string", + "nullable": true + }, + "path_not_ends_with": { + "type": "string", + "nullable": true + }, + "path_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "path_not_starts_with": { + "type": "string", + "nullable": true + }, + "path_starts_with": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "vm_disks_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + }, + "vm_disks_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + }, + "vm_disks_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + }, + "vm_snapshots_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_snapshots_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_snapshots_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_templates_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + }, + "vm_templates_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + }, + "vm_templates_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ElfImageWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ElfImageWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ElfImageWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ElfImageWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "content_library_image": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryImageWhereInput" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "path": { + "type": "string", + "nullable": true + }, + "path_contains": { + "type": "string", + "nullable": true + }, + "path_ends_with": { + "type": "string", + "nullable": true + }, + "path_gt": { + "type": "string", + "nullable": true + }, + "path_gte": { + "type": "string", + "nullable": true + }, + "path_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "path_lt": { + "type": "string", + "nullable": true + }, + "path_lte": { + "type": "string", + "nullable": true + }, + "path_not": { + "type": "string", + "nullable": true + }, + "path_not_contains": { + "type": "string", + "nullable": true + }, + "path_not_ends_with": { + "type": "string", + "nullable": true + }, + "path_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "path_not_starts_with": { + "type": "string", + "nullable": true + }, + "path_starts_with": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "vm_disks_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + }, + "vm_disks_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + }, + "vm_disks_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + }, + "vm_snapshots_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_snapshots_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_snapshots_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_templates_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + }, + "vm_templates_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + }, + "vm_templates_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmDiskWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VmDiskWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VmDiskWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VmDiskWhereInput" + }, + "type": "array", + "nullable": true + }, + "boot": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "boot_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "boot_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "boot_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "boot_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "boot_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "boot_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "boot_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "bus": { + "allOf": [ + { + "$ref": "#/components/schemas/Bus" + } + ], + "nullable": true + }, + "bus_in": { + "items": { + "$ref": "#/components/schemas/Bus" + }, + "type": "array", + "nullable": true + }, + "bus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/Bus" + } + ], + "nullable": true + }, + "bus_not_in": { + "items": { + "$ref": "#/components/schemas/Bus" + }, + "type": "array", + "nullable": true + }, + "cloud_init_image_name": { + "type": "string", + "nullable": true + }, + "cloud_init_image_name_contains": { + "type": "string", + "nullable": true + }, + "cloud_init_image_name_ends_with": { + "type": "string", + "nullable": true + }, + "cloud_init_image_name_gt": { + "type": "string", + "nullable": true + }, + "cloud_init_image_name_gte": { + "type": "string", + "nullable": true + }, + "cloud_init_image_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cloud_init_image_name_lt": { + "type": "string", + "nullable": true + }, + "cloud_init_image_name_lte": { + "type": "string", + "nullable": true + }, + "cloud_init_image_name_not": { + "type": "string", + "nullable": true + }, + "cloud_init_image_name_not_contains": { + "type": "string", + "nullable": true + }, + "cloud_init_image_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "cloud_init_image_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cloud_init_image_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "cloud_init_image_name_starts_with": { + "type": "string", + "nullable": true + }, + "cloud_init_image_path": { + "type": "string", + "nullable": true + }, + "cloud_init_image_path_contains": { + "type": "string", + "nullable": true + }, + "cloud_init_image_path_ends_with": { + "type": "string", + "nullable": true + }, + "cloud_init_image_path_gt": { + "type": "string", + "nullable": true + }, + "cloud_init_image_path_gte": { + "type": "string", + "nullable": true + }, + "cloud_init_image_path_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cloud_init_image_path_lt": { + "type": "string", + "nullable": true + }, + "cloud_init_image_path_lte": { + "type": "string", + "nullable": true + }, + "cloud_init_image_path_not": { + "type": "string", + "nullable": true + }, + "cloud_init_image_path_not_contains": { + "type": "string", + "nullable": true + }, + "cloud_init_image_path_not_ends_with": { + "type": "string", + "nullable": true + }, + "cloud_init_image_path_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cloud_init_image_path_not_starts_with": { + "type": "string", + "nullable": true + }, + "cloud_init_image_path_starts_with": { + "type": "string", + "nullable": true + }, + "device": { + "type": "string", + "nullable": true + }, + "device_contains": { + "type": "string", + "nullable": true + }, + "device_ends_with": { + "type": "string", + "nullable": true + }, + "device_gt": { + "type": "string", + "nullable": true + }, + "device_gte": { + "type": "string", + "nullable": true + }, + "device_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "device_lt": { + "type": "string", + "nullable": true + }, + "device_lte": { + "type": "string", + "nullable": true + }, + "device_not": { + "type": "string", + "nullable": true + }, + "device_not_contains": { + "type": "string", + "nullable": true + }, + "device_not_ends_with": { + "type": "string", + "nullable": true + }, + "device_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "device_not_starts_with": { + "type": "string", + "nullable": true + }, + "device_starts_with": { + "type": "string", + "nullable": true + }, + "disabled": { + "type": "boolean", + "nullable": true + }, + "disabled_not": { + "type": "boolean", + "nullable": true + }, + "elf_image": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfImageWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "key": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "key_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "key_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "key_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "key_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "key_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "key_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "key_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_bandwidth_policy_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_bandwidth_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_iops_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops_policy_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_iops_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "serial": { + "type": "string", + "nullable": true + }, + "serial_contains": { + "type": "string", + "nullable": true + }, + "serial_ends_with": { + "type": "string", + "nullable": true + }, + "serial_gt": { + "type": "string", + "nullable": true + }, + "serial_gte": { + "type": "string", + "nullable": true + }, + "serial_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "serial_lt": { + "type": "string", + "nullable": true + }, + "serial_lte": { + "type": "string", + "nullable": true + }, + "serial_not": { + "type": "string", + "nullable": true + }, + "serial_not_contains": { + "type": "string", + "nullable": true + }, + "serial_not_ends_with": { + "type": "string", + "nullable": true + }, + "serial_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "serial_not_starts_with": { + "type": "string", + "nullable": true + }, + "serial_starts_with": { + "type": "string", + "nullable": true + }, + "svt_image": { + "allOf": [ + { + "$ref": "#/components/schemas/SvtImageWhereInput" + } + ], + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/VmDiskType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskType" + }, + "type": "array", + "nullable": true + }, + "unsafe_image_path": { + "type": "string", + "nullable": true + }, + "unsafe_image_path_contains": { + "type": "string", + "nullable": true + }, + "unsafe_image_path_ends_with": { + "type": "string", + "nullable": true + }, + "unsafe_image_path_gt": { + "type": "string", + "nullable": true + }, + "unsafe_image_path_gte": { + "type": "string", + "nullable": true + }, + "unsafe_image_path_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "unsafe_image_path_lt": { + "type": "string", + "nullable": true + }, + "unsafe_image_path_lte": { + "type": "string", + "nullable": true + }, + "unsafe_image_path_not": { + "type": "string", + "nullable": true + }, + "unsafe_image_path_not_contains": { + "type": "string", + "nullable": true + }, + "unsafe_image_path_not_ends_with": { + "type": "string", + "nullable": true + }, + "unsafe_image_path_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "unsafe_image_path_not_starts_with": { + "type": "string", + "nullable": true + }, + "unsafe_image_path_starts_with": { + "type": "string", + "nullable": true + }, + "unsafe_image_uuid": { + "type": "string", + "nullable": true + }, + "unsafe_image_uuid_contains": { + "type": "string", + "nullable": true + }, + "unsafe_image_uuid_ends_with": { + "type": "string", + "nullable": true + }, + "unsafe_image_uuid_gt": { + "type": "string", + "nullable": true + }, + "unsafe_image_uuid_gte": { + "type": "string", + "nullable": true + }, + "unsafe_image_uuid_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "unsafe_image_uuid_lt": { + "type": "string", + "nullable": true + }, + "unsafe_image_uuid_lte": { + "type": "string", + "nullable": true + }, + "unsafe_image_uuid_not": { + "type": "string", + "nullable": true + }, + "unsafe_image_uuid_not_contains": { + "type": "string", + "nullable": true + }, + "unsafe_image_uuid_not_ends_with": { + "type": "string", + "nullable": true + }, + "unsafe_image_uuid_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "unsafe_image_uuid_not_starts_with": { + "type": "string", + "nullable": true + }, + "unsafe_image_uuid_starts_with": { + "type": "string", + "nullable": true + }, + "unsafe_provision": { + "type": "string", + "nullable": true + }, + "unsafe_provision_contains": { + "type": "string", + "nullable": true + }, + "unsafe_provision_ends_with": { + "type": "string", + "nullable": true + }, + "unsafe_provision_gt": { + "type": "string", + "nullable": true + }, + "unsafe_provision_gte": { + "type": "string", + "nullable": true + }, + "unsafe_provision_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "unsafe_provision_lt": { + "type": "string", + "nullable": true + }, + "unsafe_provision_lte": { + "type": "string", + "nullable": true + }, + "unsafe_provision_not": { + "type": "string", + "nullable": true + }, + "unsafe_provision_not_contains": { + "type": "string", + "nullable": true + }, + "unsafe_provision_not_ends_with": { + "type": "string", + "nullable": true + }, + "unsafe_provision_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "unsafe_provision_not_starts_with": { + "type": "string", + "nullable": true + }, + "unsafe_provision_starts_with": { + "type": "string", + "nullable": true + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vm_volume": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "Bus": { + "enum": [ + "IDE", + "SCSI", + "USB", + "VIRTIO" + ], + "type": "string" + }, + "VmDiskIoRestrictType": { + "enum": [ + "DYNAMIC", + "FORCED" + ], + "type": "string" + }, + "SvtImageWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/SvtImageWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/SvtImageWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/SvtImageWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "path": { + "type": "string", + "nullable": true + }, + "path_contains": { + "type": "string", + "nullable": true + }, + "path_ends_with": { + "type": "string", + "nullable": true + }, + "path_gt": { + "type": "string", + "nullable": true + }, + "path_gte": { + "type": "string", + "nullable": true + }, + "path_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "path_lt": { + "type": "string", + "nullable": true + }, + "path_lte": { + "type": "string", + "nullable": true + }, + "path_not": { + "type": "string", + "nullable": true + }, + "path_not_contains": { + "type": "string", + "nullable": true + }, + "path_not_ends_with": { + "type": "string", + "nullable": true + }, + "path_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "path_not_starts_with": { + "type": "string", + "nullable": true + }, + "path_starts_with": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "version": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "version_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "version_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "version_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "version_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "version_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "version_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "version_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_disks_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + }, + "vm_disks_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + }, + "vm_disks_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmDiskType": { + "enum": [ + "CD_ROM", + "DISK" + ], + "type": "string" + }, + "VmVolumeWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VmVolumeWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VmVolumeWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VmVolumeWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "elf_storage_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + } + ], + "nullable": true + }, + "elf_storage_policy_in": { + "items": { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + }, + "type": "array", + "nullable": true + }, + "elf_storage_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + } + ], + "nullable": true + }, + "elf_storage_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "guest_size_usage": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_size_usage_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_size_usage_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_size_usage_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "guest_size_usage_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_size_usage_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_size_usage_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_size_usage_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "guest_used_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "guest_used_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "guest_used_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "guest_used_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "guest_used_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "guest_used_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "guest_used_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "guest_used_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "lun": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "mounting": { + "type": "boolean", + "nullable": true + }, + "mounting_not": { + "type": "boolean", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "path": { + "type": "string", + "nullable": true + }, + "path_contains": { + "type": "string", + "nullable": true + }, + "path_ends_with": { + "type": "string", + "nullable": true + }, + "path_gt": { + "type": "string", + "nullable": true + }, + "path_gte": { + "type": "string", + "nullable": true + }, + "path_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "path_lt": { + "type": "string", + "nullable": true + }, + "path_lte": { + "type": "string", + "nullable": true + }, + "path_not": { + "type": "string", + "nullable": true + }, + "path_not_contains": { + "type": "string", + "nullable": true + }, + "path_not_ends_with": { + "type": "string", + "nullable": true + }, + "path_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "path_not_starts_with": { + "type": "string", + "nullable": true + }, + "path_starts_with": { + "type": "string", + "nullable": true + }, + "sharing": { + "type": "boolean", + "nullable": true + }, + "sharing_not": { + "type": "boolean", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/VmVolumeType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/VmVolumeType" + }, + "type": "array", + "nullable": true + }, + "unique_logical_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "unique_logical_size_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "unique_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "vm_disks_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + }, + "vm_disks_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + }, + "vm_disks_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmVolumeElfStoragePolicyType": { + "enum": [ + "EC", + "ELF_CP_REPLICA_2_THICK_PROVISION", + "ELF_CP_REPLICA_2_THIN_PROVISION", + "ELF_CP_REPLICA_3_THICK_PROVISION", + "ELF_CP_REPLICA_3_THIN_PROVISION", + "REPLICA_1_THICK_PROVISION", + "REPLICA_1_THIN_PROVISION", + "REPLICA_2_THICK_PROVISION", + "REPLICA_2_THIN_PROVISION", + "REPLICA_3_THICK_PROVISION", + "REPLICA_3_THIN_PROVISION" + ], + "type": "string" + }, + "VmVolumeType": { + "enum": [ + "KVM_VOLUME", + "KVM_VOLUME_ISCSI" + ], + "type": "string" + }, + "VmSnapshotWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "clock_offset": { + "allOf": [ + { + "$ref": "#/components/schemas/VmClockOffset" + } + ], + "nullable": true + }, + "clock_offset_in": { + "items": { + "$ref": "#/components/schemas/VmClockOffset" + }, + "type": "array", + "nullable": true + }, + "clock_offset_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmClockOffset" + } + ], + "nullable": true + }, + "clock_offset_not_in": { + "items": { + "$ref": "#/components/schemas/VmClockOffset" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "consistent_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistentType" + } + ], + "nullable": true + }, + "consistent_type_in": { + "items": { + "$ref": "#/components/schemas/ConsistentType" + }, + "type": "array", + "nullable": true + }, + "consistent_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistentType" + } + ], + "nullable": true + }, + "consistent_type_not_in": { + "items": { + "$ref": "#/components/schemas/ConsistentType" + }, + "type": "array", + "nullable": true + }, + "cpu_model": { + "type": "string", + "nullable": true + }, + "cpu_model_contains": { + "type": "string", + "nullable": true + }, + "cpu_model_ends_with": { + "type": "string", + "nullable": true + }, + "cpu_model_gt": { + "type": "string", + "nullable": true + }, + "cpu_model_gte": { + "type": "string", + "nullable": true + }, + "cpu_model_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cpu_model_lt": { + "type": "string", + "nullable": true + }, + "cpu_model_lte": { + "type": "string", + "nullable": true + }, + "cpu_model_not": { + "type": "string", + "nullable": true + }, + "cpu_model_not_contains": { + "type": "string", + "nullable": true + }, + "cpu_model_not_ends_with": { + "type": "string", + "nullable": true + }, + "cpu_model_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cpu_model_not_starts_with": { + "type": "string", + "nullable": true + }, + "cpu_model_starts_with": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "firmware": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFirmware" + } + ], + "nullable": true + }, + "firmware_in": { + "items": { + "$ref": "#/components/schemas/VmFirmware" + }, + "type": "array", + "nullable": true + }, + "firmware_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFirmware" + } + ], + "nullable": true + }, + "firmware_not_in": { + "items": { + "$ref": "#/components/schemas/VmFirmware" + }, + "type": "array", + "nullable": true + }, + "ha": { + "type": "boolean", + "nullable": true + }, + "ha_not": { + "type": "boolean", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "io_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + }, + "io_policy_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoPolicy" + }, + "type": "array", + "nullable": true + }, + "io_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + }, + "io_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoPolicy" + }, + "type": "array", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_bandwidth_policy_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_bandwidth_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_iops_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops_policy_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_iops_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "memory": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "memory_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "snapshot_group": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotGroupWhereInput" + } + ], + "nullable": true + }, + "vcpu": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vcpu_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "win_opt": { + "type": "boolean", + "nullable": true + }, + "win_opt_not": { + "type": "boolean", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmDiskIoPolicy": { + "enum": [ + "RESTRICT_EACH_DISK", + "RESTRICT_WHOLE_VM" + ], + "type": "string" + }, + "SnapshotGroupWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/SnapshotGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/SnapshotGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/SnapshotGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "deleted": { + "type": "boolean", + "nullable": true + }, + "deleted_not": { + "type": "boolean", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "estimated_recycling_time": { + "type": "string", + "nullable": true + }, + "estimated_recycling_time_gt": { + "type": "string", + "nullable": true + }, + "estimated_recycling_time_gte": { + "type": "string", + "nullable": true + }, + "estimated_recycling_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "estimated_recycling_time_lt": { + "type": "string", + "nullable": true + }, + "estimated_recycling_time_lte": { + "type": "string", + "nullable": true + }, + "estimated_recycling_time_not": { + "type": "string", + "nullable": true + }, + "estimated_recycling_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "internal": { + "type": "boolean", + "nullable": true + }, + "internal_not": { + "type": "boolean", + "nullable": true + }, + "keep": { + "type": "boolean", + "nullable": true + }, + "keep_not": { + "type": "boolean", + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "logical_size_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "logical_size_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "object_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "object_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "object_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "object_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "object_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "object_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "object_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "object_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "snapshotPlanTask": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanTaskWhereInput" + } + ], + "nullable": true + }, + "vm_snapshots_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_snapshots_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_snapshots_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SnapshotPlanTaskWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanTaskWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanTaskWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanTaskWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "end_time": { + "type": "string", + "nullable": true + }, + "end_time_gt": { + "type": "string", + "nullable": true + }, + "end_time_gte": { + "type": "string", + "nullable": true + }, + "end_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "end_time_lt": { + "type": "string", + "nullable": true + }, + "end_time_lte": { + "type": "string", + "nullable": true + }, + "end_time_not": { + "type": "string", + "nullable": true + }, + "end_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "internal": { + "type": "boolean", + "nullable": true + }, + "internal_not": { + "type": "boolean", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "snapshotGroup": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotGroupWhereInput" + } + ], + "nullable": true + }, + "snapshotPlan": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanWhereInput" + } + ], + "nullable": true + }, + "start_time": { + "type": "string", + "nullable": true + }, + "start_time_gt": { + "type": "string", + "nullable": true + }, + "start_time_gte": { + "type": "string", + "nullable": true + }, + "start_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "start_time_lt": { + "type": "string", + "nullable": true + }, + "start_time_lte": { + "type": "string", + "nullable": true + }, + "start_time_not": { + "type": "string", + "nullable": true + }, + "start_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanExecuteStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanExecuteStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanExecuteStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanExecuteStatus" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanTaskType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanTaskType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanTaskType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanTaskType" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SnapshotPlanWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanWhereInput" + }, + "type": "array", + "nullable": true + }, + "auto_delete_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "auto_delete_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "auto_delete_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "auto_delete_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "auto_delete_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "auto_delete_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "auto_delete_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "auto_delete_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "auto_execute_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "auto_execute_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "auto_execute_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "auto_execute_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "auto_execute_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "auto_execute_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "auto_execute_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "auto_execute_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "end_time": { + "type": "string", + "nullable": true + }, + "end_time_gt": { + "type": "string", + "nullable": true + }, + "end_time_gte": { + "type": "string", + "nullable": true + }, + "end_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "end_time_lt": { + "type": "string", + "nullable": true + }, + "end_time_lte": { + "type": "string", + "nullable": true + }, + "end_time_not": { + "type": "string", + "nullable": true + }, + "end_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "execute_plan_type": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanExecuteType" + } + ], + "nullable": true + }, + "execute_plan_type_in": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanExecuteType" + }, + "type": "array", + "nullable": true + }, + "execute_plan_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanExecuteType" + } + ], + "nullable": true + }, + "execute_plan_type_not_in": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanExecuteType" + }, + "type": "array", + "nullable": true + }, + "execution_tasks_every": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanTaskWhereInput" + } + ], + "nullable": true + }, + "execution_tasks_none": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanTaskWhereInput" + } + ], + "nullable": true + }, + "execution_tasks_some": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanTaskWhereInput" + } + ], + "nullable": true + }, + "healthy": { + "type": "boolean", + "nullable": true + }, + "healthy_not": { + "type": "boolean", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "last_execute_end_time": { + "type": "string", + "nullable": true + }, + "last_execute_end_time_gt": { + "type": "string", + "nullable": true + }, + "last_execute_end_time_gte": { + "type": "string", + "nullable": true + }, + "last_execute_end_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "last_execute_end_time_lt": { + "type": "string", + "nullable": true + }, + "last_execute_end_time_lte": { + "type": "string", + "nullable": true + }, + "last_execute_end_time_not": { + "type": "string", + "nullable": true + }, + "last_execute_end_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "last_execute_status": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanExecuteStatus" + } + ], + "nullable": true + }, + "last_execute_status_in": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanExecuteStatus" + }, + "type": "array", + "nullable": true + }, + "last_execute_status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanExecuteStatus" + } + ], + "nullable": true + }, + "last_execute_status_not_in": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanExecuteStatus" + }, + "type": "array", + "nullable": true + }, + "last_execute_time": { + "type": "string", + "nullable": true + }, + "last_execute_time_gt": { + "type": "string", + "nullable": true + }, + "last_execute_time_gte": { + "type": "string", + "nullable": true + }, + "last_execute_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "last_execute_time_lt": { + "type": "string", + "nullable": true + }, + "last_execute_time_lte": { + "type": "string", + "nullable": true + }, + "last_execute_time_not": { + "type": "string", + "nullable": true + }, + "last_execute_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "logical_size_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "logical_size_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "manual_delete_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "manual_delete_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "manual_delete_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "manual_delete_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "manual_delete_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "manual_delete_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "manual_delete_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "manual_delete_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "manual_execute_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "manual_execute_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "manual_execute_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "manual_execute_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "manual_execute_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "manual_execute_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "manual_execute_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "manual_execute_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "mirror": { + "type": "boolean", + "nullable": true + }, + "mirror_not": { + "type": "boolean", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "next_execute_time": { + "type": "string", + "nullable": true + }, + "next_execute_time_gt": { + "type": "string", + "nullable": true + }, + "next_execute_time_gte": { + "type": "string", + "nullable": true + }, + "next_execute_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "next_execute_time_lt": { + "type": "string", + "nullable": true + }, + "next_execute_time_lte": { + "type": "string", + "nullable": true + }, + "next_execute_time_not": { + "type": "string", + "nullable": true + }, + "next_execute_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "object_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "object_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "object_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "object_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "object_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "object_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "object_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "object_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "physical_size_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "physical_size_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "physical_size_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "remain_snapshot_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remain_snapshot_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remain_snapshot_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remain_snapshot_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "remain_snapshot_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remain_snapshot_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remain_snapshot_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remain_snapshot_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "snapshot_group_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_group_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_group_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_group_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "snapshot_group_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_group_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_group_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_group_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "start_time": { + "type": "string", + "nullable": true + }, + "start_time_gt": { + "type": "string", + "nullable": true + }, + "start_time_gte": { + "type": "string", + "nullable": true + }, + "start_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "start_time_lt": { + "type": "string", + "nullable": true + }, + "start_time_lte": { + "type": "string", + "nullable": true + }, + "start_time_not": { + "type": "string", + "nullable": true + }, + "start_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanStatus" + }, + "type": "array", + "nullable": true + }, + "vms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SnapshotPlanExecuteType": { + "enum": [ + "DAY", + "HOUR", + "MINUTE", + "MONTH", + "WEEK" + ], + "type": "string" + }, + "SnapshotPlanExecuteStatus": { + "enum": [ + "CREATED", + "FAILED", + "IN_PROGRESS", + "SUCCEED", + "UNSPECIFIED" + ], + "type": "string" + }, + "SnapshotPlanStatus": { + "enum": [ + "NORMAL", + "STOPPED", + "SUSPENDED" + ], + "type": "string" + }, + "SnapshotPlanTaskType": { + "enum": [ + "TASK_TYPE_CLONE", + "TASK_TYPE_PROTECT", + "TASK_TYPE_ROLLBACK" + ], + "type": "string" + }, + "VmTemplateWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VmTemplateWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VmTemplateWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VmTemplateWhereInput" + }, + "type": "array", + "nullable": true + }, + "clock_offset": { + "allOf": [ + { + "$ref": "#/components/schemas/VmClockOffset" + } + ], + "nullable": true + }, + "clock_offset_in": { + "items": { + "$ref": "#/components/schemas/VmClockOffset" + }, + "type": "array", + "nullable": true + }, + "clock_offset_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmClockOffset" + } + ], + "nullable": true + }, + "clock_offset_not_in": { + "items": { + "$ref": "#/components/schemas/VmClockOffset" + }, + "type": "array", + "nullable": true + }, + "cloud_init_supported": { + "type": "boolean", + "nullable": true + }, + "cloud_init_supported_not": { + "type": "boolean", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "content_library_vm_template": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + } + ], + "nullable": true + }, + "cpu_model": { + "type": "string", + "nullable": true + }, + "cpu_model_contains": { + "type": "string", + "nullable": true + }, + "cpu_model_ends_with": { + "type": "string", + "nullable": true + }, + "cpu_model_gt": { + "type": "string", + "nullable": true + }, + "cpu_model_gte": { + "type": "string", + "nullable": true + }, + "cpu_model_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cpu_model_lt": { + "type": "string", + "nullable": true + }, + "cpu_model_lte": { + "type": "string", + "nullable": true + }, + "cpu_model_not": { + "type": "string", + "nullable": true + }, + "cpu_model_not_contains": { + "type": "string", + "nullable": true + }, + "cpu_model_not_ends_with": { + "type": "string", + "nullable": true + }, + "cpu_model_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cpu_model_not_starts_with": { + "type": "string", + "nullable": true + }, + "cpu_model_starts_with": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "firmware": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFirmware" + } + ], + "nullable": true + }, + "firmware_in": { + "items": { + "$ref": "#/components/schemas/VmFirmware" + }, + "type": "array", + "nullable": true + }, + "firmware_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFirmware" + } + ], + "nullable": true + }, + "firmware_not_in": { + "items": { + "$ref": "#/components/schemas/VmFirmware" + }, + "type": "array", + "nullable": true + }, + "ha": { + "type": "boolean", + "nullable": true + }, + "ha_not": { + "type": "boolean", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "io_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + }, + "io_policy_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoPolicy" + }, + "type": "array", + "nullable": true + }, + "io_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + }, + "io_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoPolicy" + }, + "type": "array", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_bandwidth_policy_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_bandwidth_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_iops_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops_policy_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_iops_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "memory": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "memory_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "vcpu": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vcpu_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "video_type": { + "type": "string", + "nullable": true + }, + "video_type_contains": { + "type": "string", + "nullable": true + }, + "video_type_ends_with": { + "type": "string", + "nullable": true + }, + "video_type_gt": { + "type": "string", + "nullable": true + }, + "video_type_gte": { + "type": "string", + "nullable": true + }, + "video_type_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "video_type_lt": { + "type": "string", + "nullable": true + }, + "video_type_lte": { + "type": "string", + "nullable": true + }, + "video_type_not": { + "type": "string", + "nullable": true + }, + "video_type_not_contains": { + "type": "string", + "nullable": true + }, + "video_type_not_ends_with": { + "type": "string", + "nullable": true + }, + "video_type_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "video_type_not_starts_with": { + "type": "string", + "nullable": true + }, + "video_type_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ContentLibraryVmTemplateWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + }, + "type": "array", + "nullable": true + }, + "architecture": { + "allOf": [ + { + "$ref": "#/components/schemas/Architecture" + } + ], + "nullable": true + }, + "architecture_in": { + "items": { + "$ref": "#/components/schemas/Architecture" + }, + "type": "array", + "nullable": true + }, + "architecture_not": { + "allOf": [ + { + "$ref": "#/components/schemas/Architecture" + } + ], + "nullable": true + }, + "architecture_not_in": { + "items": { + "$ref": "#/components/schemas/Architecture" + }, + "type": "array", + "nullable": true + }, + "clock_offset": { + "allOf": [ + { + "$ref": "#/components/schemas/VmClockOffset" + } + ], + "nullable": true + }, + "clock_offset_in": { + "items": { + "$ref": "#/components/schemas/VmClockOffset" + }, + "type": "array", + "nullable": true + }, + "clock_offset_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmClockOffset" + } + ], + "nullable": true + }, + "clock_offset_not_in": { + "items": { + "$ref": "#/components/schemas/VmClockOffset" + }, + "type": "array", + "nullable": true + }, + "cloud_init_supported": { + "type": "boolean", + "nullable": true + }, + "cloud_init_supported_not": { + "type": "boolean", + "nullable": true + }, + "clusters_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "clusters_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "clusters_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "cpu_model": { + "type": "string", + "nullable": true + }, + "cpu_model_contains": { + "type": "string", + "nullable": true + }, + "cpu_model_ends_with": { + "type": "string", + "nullable": true + }, + "cpu_model_gt": { + "type": "string", + "nullable": true + }, + "cpu_model_gte": { + "type": "string", + "nullable": true + }, + "cpu_model_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cpu_model_lt": { + "type": "string", + "nullable": true + }, + "cpu_model_lte": { + "type": "string", + "nullable": true + }, + "cpu_model_not": { + "type": "string", + "nullable": true + }, + "cpu_model_not_contains": { + "type": "string", + "nullable": true + }, + "cpu_model_not_ends_with": { + "type": "string", + "nullable": true + }, + "cpu_model_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cpu_model_not_starts_with": { + "type": "string", + "nullable": true + }, + "cpu_model_starts_with": { + "type": "string", + "nullable": true + }, + "createdAt": { + "type": "string", + "nullable": true + }, + "createdAt_gt": { + "type": "string", + "nullable": true + }, + "createdAt_gte": { + "type": "string", + "nullable": true + }, + "createdAt_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "createdAt_lt": { + "type": "string", + "nullable": true + }, + "createdAt_lte": { + "type": "string", + "nullable": true + }, + "createdAt_not": { + "type": "string", + "nullable": true + }, + "createdAt_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "firmware": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFirmware" + } + ], + "nullable": true + }, + "firmware_in": { + "items": { + "$ref": "#/components/schemas/VmFirmware" + }, + "type": "array", + "nullable": true + }, + "firmware_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFirmware" + } + ], + "nullable": true + }, + "firmware_not_in": { + "items": { + "$ref": "#/components/schemas/VmFirmware" + }, + "type": "array", + "nullable": true + }, + "ha": { + "type": "boolean", + "nullable": true + }, + "ha_not": { + "type": "boolean", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "io_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + }, + "io_policy_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoPolicy" + }, + "type": "array", + "nullable": true + }, + "io_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + }, + "io_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoPolicy" + }, + "type": "array", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_bandwidth_policy_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_bandwidth_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_iops_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops_policy_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "max_iops_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "type": "array", + "nullable": true + }, + "memory": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "memory_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "memory_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "os": { + "type": "string", + "nullable": true + }, + "os_contains": { + "type": "string", + "nullable": true + }, + "os_ends_with": { + "type": "string", + "nullable": true + }, + "os_gt": { + "type": "string", + "nullable": true + }, + "os_gte": { + "type": "string", + "nullable": true + }, + "os_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "os_lt": { + "type": "string", + "nullable": true + }, + "os_lte": { + "type": "string", + "nullable": true + }, + "os_not": { + "type": "string", + "nullable": true + }, + "os_not_contains": { + "type": "string", + "nullable": true + }, + "os_not_ends_with": { + "type": "string", + "nullable": true + }, + "os_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "os_not_starts_with": { + "type": "string", + "nullable": true + }, + "os_starts_with": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "vcpu": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vcpu_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vcpu_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "video_type": { + "type": "string", + "nullable": true + }, + "video_type_contains": { + "type": "string", + "nullable": true + }, + "video_type_ends_with": { + "type": "string", + "nullable": true + }, + "video_type_gt": { + "type": "string", + "nullable": true + }, + "video_type_gte": { + "type": "string", + "nullable": true + }, + "video_type_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "video_type_lt": { + "type": "string", + "nullable": true + }, + "video_type_lte": { + "type": "string", + "nullable": true + }, + "video_type_not": { + "type": "string", + "nullable": true + }, + "video_type_not_contains": { + "type": "string", + "nullable": true + }, + "video_type_not_ends_with": { + "type": "string", + "nullable": true + }, + "video_type_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "video_type_not_starts_with": { + "type": "string", + "nullable": true + }, + "video_type_starts_with": { + "type": "string", + "nullable": true + }, + "vm_templates_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + }, + "vm_templates_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + }, + "vm_templates_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + }, + "win_opt": { + "type": "boolean", + "nullable": true + }, + "win_opt_not": { + "type": "boolean", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "DatacenterWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/DatacenterWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/DatacenterWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/DatacenterWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cluster_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cluster_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cluster_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "cluster_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cluster_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cluster_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cluster_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "clusters_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "clusters_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "clusters_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "failure_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "failure_data_space_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "host_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "host_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "organization": { + "allOf": [ + { + "$ref": "#/components/schemas/OrganizationWhereInput" + } + ], + "nullable": true + }, + "total_cpu_hz": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_cpu_hz_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_data_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_data_capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_memory_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "used_cpu_hz": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "used_cpu_hz_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_cpu_hz_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "used_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "used_data_space_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "used_memory_bytes": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "used_memory_bytes_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_memory_bytes_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "OrganizationWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/OrganizationWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/OrganizationWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/OrganizationWhereInput" + }, + "type": "array", + "nullable": true + }, + "datacenters_every": { + "allOf": [ + { + "$ref": "#/components/schemas/DatacenterWhereInput" + } + ], + "nullable": true + }, + "datacenters_none": { + "allOf": [ + { + "$ref": "#/components/schemas/DatacenterWhereInput" + } + ], + "nullable": true + }, + "datacenters_some": { + "allOf": [ + { + "$ref": "#/components/schemas/DatacenterWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "IsolationPolicyWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/IsolationPolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/IsolationPolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/IsolationPolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "everoute_cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "mode": { + "allOf": [ + { + "$ref": "#/components/schemas/IsolationMode" + } + ], + "nullable": true + }, + "mode_in": { + "items": { + "$ref": "#/components/schemas/IsolationMode" + }, + "type": "array", + "nullable": true + }, + "mode_not": { + "allOf": [ + { + "$ref": "#/components/schemas/IsolationMode" + } + ], + "nullable": true + }, + "mode_not_in": { + "items": { + "$ref": "#/components/schemas/IsolationMode" + }, + "type": "array", + "nullable": true + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "EverouteClusterWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/EverouteClusterWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/EverouteClusterWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/EverouteClusterWhereInput" + }, + "type": "array", + "nullable": true + }, + "agent_elf_clusters_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "agent_elf_clusters_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "agent_elf_clusters_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "agent_elf_vdses_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "agent_elf_vdses_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "agent_elf_vdses_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "global_default_action": { + "allOf": [ + { + "$ref": "#/components/schemas/GlobalPolicyAction" + } + ], + "nullable": true + }, + "global_default_action_in": { + "items": { + "$ref": "#/components/schemas/GlobalPolicyAction" + }, + "type": "array", + "nullable": true + }, + "global_default_action_not": { + "allOf": [ + { + "$ref": "#/components/schemas/GlobalPolicyAction" + } + ], + "nullable": true + }, + "global_default_action_not_in": { + "items": { + "$ref": "#/components/schemas/GlobalPolicyAction" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "installed": { + "type": "boolean", + "nullable": true + }, + "installed_not": { + "type": "boolean", + "nullable": true + }, + "load_balancer_service": { + "allOf": [ + { + "$ref": "#/components/schemas/LoadBalancerServiceWhereInput" + } + ], + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "phase": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterPhase" + } + ], + "nullable": true + }, + "phase_in": { + "items": { + "$ref": "#/components/schemas/EverouteClusterPhase" + }, + "type": "array", + "nullable": true + }, + "phase_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterPhase" + } + ], + "nullable": true + }, + "phase_not_in": { + "items": { + "$ref": "#/components/schemas/EverouteClusterPhase" + }, + "type": "array", + "nullable": true + }, + "version": { + "type": "string", + "nullable": true + }, + "version_contains": { + "type": "string", + "nullable": true + }, + "version_ends_with": { + "type": "string", + "nullable": true + }, + "version_gt": { + "type": "string", + "nullable": true + }, + "version_gte": { + "type": "string", + "nullable": true + }, + "version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_lt": { + "type": "string", + "nullable": true + }, + "version_lte": { + "type": "string", + "nullable": true + }, + "version_not": { + "type": "string", + "nullable": true + }, + "version_not_contains": { + "type": "string", + "nullable": true + }, + "version_not_ends_with": { + "type": "string", + "nullable": true + }, + "version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_not_starts_with": { + "type": "string", + "nullable": true + }, + "version_starts_with": { + "type": "string", + "nullable": true + }, + "vpc_service": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudServiceWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VdsWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VdsWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VdsWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VdsWhereInput" + }, + "type": "array", + "nullable": true + }, + "bond_mode": { + "type": "string", + "nullable": true + }, + "bond_mode_contains": { + "type": "string", + "nullable": true + }, + "bond_mode_ends_with": { + "type": "string", + "nullable": true + }, + "bond_mode_gt": { + "type": "string", + "nullable": true + }, + "bond_mode_gte": { + "type": "string", + "nullable": true + }, + "bond_mode_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "bond_mode_lt": { + "type": "string", + "nullable": true + }, + "bond_mode_lte": { + "type": "string", + "nullable": true + }, + "bond_mode_not": { + "type": "string", + "nullable": true + }, + "bond_mode_not_contains": { + "type": "string", + "nullable": true + }, + "bond_mode_not_ends_with": { + "type": "string", + "nullable": true + }, + "bond_mode_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "bond_mode_not_starts_with": { + "type": "string", + "nullable": true + }, + "bond_mode_starts_with": { + "type": "string", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "everoute_cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "internal": { + "type": "boolean", + "nullable": true + }, + "internal_not": { + "type": "boolean", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "nics_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "nics_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "nics_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "ovsbr_name": { + "type": "string", + "nullable": true + }, + "ovsbr_name_contains": { + "type": "string", + "nullable": true + }, + "ovsbr_name_ends_with": { + "type": "string", + "nullable": true + }, + "ovsbr_name_gt": { + "type": "string", + "nullable": true + }, + "ovsbr_name_gte": { + "type": "string", + "nullable": true + }, + "ovsbr_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ovsbr_name_lt": { + "type": "string", + "nullable": true + }, + "ovsbr_name_lte": { + "type": "string", + "nullable": true + }, + "ovsbr_name_not": { + "type": "string", + "nullable": true + }, + "ovsbr_name_not_contains": { + "type": "string", + "nullable": true + }, + "ovsbr_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "ovsbr_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ovsbr_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "ovsbr_name_starts_with": { + "type": "string", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/NetworkType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/NetworkType" + }, + "type": "array", + "nullable": true + }, + "vlans_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanWhereInput" + } + ], + "nullable": true + }, + "vlans_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanWhereInput" + } + ], + "nullable": true + }, + "vlans_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlans_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlans_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlans_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vlans_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlans_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlans_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlans_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vlans_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanWhereInput" + } + ], + "nullable": true + }, + "work_mode": { + "type": "string", + "nullable": true + }, + "work_mode_contains": { + "type": "string", + "nullable": true + }, + "work_mode_ends_with": { + "type": "string", + "nullable": true + }, + "work_mode_gt": { + "type": "string", + "nullable": true + }, + "work_mode_gte": { + "type": "string", + "nullable": true + }, + "work_mode_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "work_mode_lt": { + "type": "string", + "nullable": true + }, + "work_mode_lte": { + "type": "string", + "nullable": true + }, + "work_mode_not": { + "type": "string", + "nullable": true + }, + "work_mode_not_contains": { + "type": "string", + "nullable": true + }, + "work_mode_not_ends_with": { + "type": "string", + "nullable": true + }, + "work_mode_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "work_mode_not_starts_with": { + "type": "string", + "nullable": true + }, + "work_mode_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NicWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/NicWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/NicWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/NicWhereInput" + }, + "type": "array", + "nullable": true + }, + "driver": { + "type": "string", + "nullable": true + }, + "driver_contains": { + "type": "string", + "nullable": true + }, + "driver_ends_with": { + "type": "string", + "nullable": true + }, + "driver_gt": { + "type": "string", + "nullable": true + }, + "driver_gte": { + "type": "string", + "nullable": true + }, + "driver_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "driver_lt": { + "type": "string", + "nullable": true + }, + "driver_lte": { + "type": "string", + "nullable": true + }, + "driver_not": { + "type": "string", + "nullable": true + }, + "driver_not_contains": { + "type": "string", + "nullable": true + }, + "driver_not_ends_with": { + "type": "string", + "nullable": true + }, + "driver_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "driver_not_starts_with": { + "type": "string", + "nullable": true + }, + "driver_starts_with": { + "type": "string", + "nullable": true + }, + "driver_state": { + "allOf": [ + { + "$ref": "#/components/schemas/NicDriverState" + } + ], + "nullable": true + }, + "driver_state_in": { + "items": { + "$ref": "#/components/schemas/NicDriverState" + }, + "type": "array", + "nullable": true + }, + "driver_state_not": { + "allOf": [ + { + "$ref": "#/components/schemas/NicDriverState" + } + ], + "nullable": true + }, + "driver_state_not_in": { + "items": { + "$ref": "#/components/schemas/NicDriverState" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "gateway_ip": { + "type": "string", + "nullable": true + }, + "gateway_ip_contains": { + "type": "string", + "nullable": true + }, + "gateway_ip_ends_with": { + "type": "string", + "nullable": true + }, + "gateway_ip_gt": { + "type": "string", + "nullable": true + }, + "gateway_ip_gte": { + "type": "string", + "nullable": true + }, + "gateway_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "gateway_ip_lt": { + "type": "string", + "nullable": true + }, + "gateway_ip_lte": { + "type": "string", + "nullable": true + }, + "gateway_ip_not": { + "type": "string", + "nullable": true + }, + "gateway_ip_not_contains": { + "type": "string", + "nullable": true + }, + "gateway_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "gateway_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "gateway_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "gateway_ip_starts_with": { + "type": "string", + "nullable": true + }, + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "ibdev": { + "type": "string", + "nullable": true + }, + "ibdev_contains": { + "type": "string", + "nullable": true + }, + "ibdev_ends_with": { + "type": "string", + "nullable": true + }, + "ibdev_gt": { + "type": "string", + "nullable": true + }, + "ibdev_gte": { + "type": "string", + "nullable": true + }, + "ibdev_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ibdev_lt": { + "type": "string", + "nullable": true + }, + "ibdev_lte": { + "type": "string", + "nullable": true + }, + "ibdev_not": { + "type": "string", + "nullable": true + }, + "ibdev_not_contains": { + "type": "string", + "nullable": true + }, + "ibdev_not_ends_with": { + "type": "string", + "nullable": true + }, + "ibdev_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ibdev_not_starts_with": { + "type": "string", + "nullable": true + }, + "ibdev_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "iommu_status": { + "allOf": [ + { + "$ref": "#/components/schemas/IommuStatus" + } + ], + "nullable": true + }, + "iommu_status_in": { + "items": { + "$ref": "#/components/schemas/IommuStatus" + }, + "type": "array", + "nullable": true + }, + "iommu_status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/IommuStatus" + } + ], + "nullable": true + }, + "iommu_status_not_in": { + "items": { + "$ref": "#/components/schemas/IommuStatus" + }, + "type": "array", + "nullable": true + }, + "ip_address": { + "type": "string", + "nullable": true + }, + "ip_address_contains": { + "type": "string", + "nullable": true + }, + "ip_address_ends_with": { + "type": "string", + "nullable": true + }, + "ip_address_gt": { + "type": "string", + "nullable": true + }, + "ip_address_gte": { + "type": "string", + "nullable": true + }, + "ip_address_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_address_lt": { + "type": "string", + "nullable": true + }, + "ip_address_lte": { + "type": "string", + "nullable": true + }, + "ip_address_not": { + "type": "string", + "nullable": true + }, + "ip_address_not_contains": { + "type": "string", + "nullable": true + }, + "ip_address_not_ends_with": { + "type": "string", + "nullable": true + }, + "ip_address_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_address_not_starts_with": { + "type": "string", + "nullable": true + }, + "ip_address_starts_with": { + "type": "string", + "nullable": true + }, + "is_sriov": { + "type": "boolean", + "nullable": true + }, + "is_sriov_not": { + "type": "boolean", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "mac_address": { + "type": "string", + "nullable": true + }, + "mac_address_contains": { + "type": "string", + "nullable": true + }, + "mac_address_ends_with": { + "type": "string", + "nullable": true + }, + "mac_address_gt": { + "type": "string", + "nullable": true + }, + "mac_address_gte": { + "type": "string", + "nullable": true + }, + "mac_address_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "mac_address_lt": { + "type": "string", + "nullable": true + }, + "mac_address_lte": { + "type": "string", + "nullable": true + }, + "mac_address_not": { + "type": "string", + "nullable": true + }, + "mac_address_not_contains": { + "type": "string", + "nullable": true + }, + "mac_address_not_ends_with": { + "type": "string", + "nullable": true + }, + "mac_address_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "mac_address_not_starts_with": { + "type": "string", + "nullable": true + }, + "mac_address_starts_with": { + "type": "string", + "nullable": true + }, + "max_vf_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vf_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vf_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vf_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_vf_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vf_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vf_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vf_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "model": { + "type": "string", + "nullable": true + }, + "model_contains": { + "type": "string", + "nullable": true + }, + "model_ends_with": { + "type": "string", + "nullable": true + }, + "model_gt": { + "type": "string", + "nullable": true + }, + "model_gte": { + "type": "string", + "nullable": true + }, + "model_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "model_lt": { + "type": "string", + "nullable": true + }, + "model_lte": { + "type": "string", + "nullable": true + }, + "model_not": { + "type": "string", + "nullable": true + }, + "model_not_contains": { + "type": "string", + "nullable": true + }, + "model_not_ends_with": { + "type": "string", + "nullable": true + }, + "model_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "model_not_starts_with": { + "type": "string", + "nullable": true + }, + "model_starts_with": { + "type": "string", + "nullable": true + }, + "mtu": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "mtu_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "nic_uuid": { + "type": "string", + "nullable": true + }, + "nic_uuid_contains": { + "type": "string", + "nullable": true + }, + "nic_uuid_ends_with": { + "type": "string", + "nullable": true + }, + "nic_uuid_gt": { + "type": "string", + "nullable": true + }, + "nic_uuid_gte": { + "type": "string", + "nullable": true + }, + "nic_uuid_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nic_uuid_lt": { + "type": "string", + "nullable": true + }, + "nic_uuid_lte": { + "type": "string", + "nullable": true + }, + "nic_uuid_not": { + "type": "string", + "nullable": true + }, + "nic_uuid_not_contains": { + "type": "string", + "nullable": true + }, + "nic_uuid_not_ends_with": { + "type": "string", + "nullable": true + }, + "nic_uuid_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nic_uuid_not_starts_with": { + "type": "string", + "nullable": true + }, + "nic_uuid_starts_with": { + "type": "string", + "nullable": true + }, + "physical": { + "type": "boolean", + "nullable": true + }, + "physical_not": { + "type": "boolean", + "nullable": true + }, + "rdma_enabled": { + "type": "boolean", + "nullable": true + }, + "rdma_enabled_not": { + "type": "boolean", + "nullable": true + }, + "running": { + "type": "boolean", + "nullable": true + }, + "running_not": { + "type": "boolean", + "nullable": true + }, + "speed": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "speed_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "speed_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "speed_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "speed_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "speed_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "speed_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "speed_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "subnet_mask": { + "type": "string", + "nullable": true + }, + "subnet_mask_contains": { + "type": "string", + "nullable": true + }, + "subnet_mask_ends_with": { + "type": "string", + "nullable": true + }, + "subnet_mask_gt": { + "type": "string", + "nullable": true + }, + "subnet_mask_gte": { + "type": "string", + "nullable": true + }, + "subnet_mask_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "subnet_mask_lt": { + "type": "string", + "nullable": true + }, + "subnet_mask_lte": { + "type": "string", + "nullable": true + }, + "subnet_mask_not": { + "type": "string", + "nullable": true + }, + "subnet_mask_not_contains": { + "type": "string", + "nullable": true + }, + "subnet_mask_not_ends_with": { + "type": "string", + "nullable": true + }, + "subnet_mask_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "subnet_mask_not_starts_with": { + "type": "string", + "nullable": true + }, + "subnet_mask_starts_with": { + "type": "string", + "nullable": true + }, + "total_vf_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_vf_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_vf_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_vf_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_vf_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_vf_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_vf_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_vf_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/NetworkType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/NetworkType" + }, + "type": "array", + "nullable": true + }, + "up": { + "type": "boolean", + "nullable": true + }, + "up_not": { + "type": "boolean", + "nullable": true + }, + "used_vf_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "used_vf_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "used_vf_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "used_vf_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "used_vf_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "used_vf_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "used_vf_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "used_vf_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "user_usage": { + "allOf": [ + { + "$ref": "#/components/schemas/NicUserUsage" + } + ], + "nullable": true + }, + "user_usage_in": { + "items": { + "$ref": "#/components/schemas/NicUserUsage" + }, + "type": "array", + "nullable": true + }, + "user_usage_not": { + "allOf": [ + { + "$ref": "#/components/schemas/NicUserUsage" + } + ], + "nullable": true + }, + "user_usage_not_in": { + "items": { + "$ref": "#/components/schemas/NicUserUsage" + }, + "type": "array", + "nullable": true + }, + "vds": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "vms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NicDriverState": { + "enum": [ + "NEED_REBOOT", + "NOT_READY", + "NO_DRIVER", + "READY" + ], + "type": "string" + }, + "IommuStatus": { + "enum": [ + "DISABLE", + "ENABLE", + "NEED_REBOOT" + ], + "type": "string" + }, + "NetworkType": { + "enum": [ + "ACCESS", + "MANAGEMENT", + "MIGRATION", + "STORAGE", + "STORAGE_ACCESS", + "VM", + "VPC_SYS", + "VPC_VM" + ], + "type": "string" + }, + "NicUserUsage": { + "enum": [ + "DEFAULT", + "PASS_THROUGH", + "SRIOV" + ], + "type": "string" + }, + "VlanWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VlanWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VlanWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VlanWhereInput" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "gateway_ip": { + "type": "string", + "nullable": true + }, + "gateway_ip_contains": { + "type": "string", + "nullable": true + }, + "gateway_ip_ends_with": { + "type": "string", + "nullable": true + }, + "gateway_ip_gt": { + "type": "string", + "nullable": true + }, + "gateway_ip_gte": { + "type": "string", + "nullable": true + }, + "gateway_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "gateway_ip_lt": { + "type": "string", + "nullable": true + }, + "gateway_ip_lte": { + "type": "string", + "nullable": true + }, + "gateway_ip_not": { + "type": "string", + "nullable": true + }, + "gateway_ip_not_contains": { + "type": "string", + "nullable": true + }, + "gateway_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "gateway_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "gateway_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "gateway_ip_starts_with": { + "type": "string", + "nullable": true + }, + "gateway_subnetmask": { + "type": "string", + "nullable": true + }, + "gateway_subnetmask_contains": { + "type": "string", + "nullable": true + }, + "gateway_subnetmask_ends_with": { + "type": "string", + "nullable": true + }, + "gateway_subnetmask_gt": { + "type": "string", + "nullable": true + }, + "gateway_subnetmask_gte": { + "type": "string", + "nullable": true + }, + "gateway_subnetmask_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "gateway_subnetmask_lt": { + "type": "string", + "nullable": true + }, + "gateway_subnetmask_lte": { + "type": "string", + "nullable": true + }, + "gateway_subnetmask_not": { + "type": "string", + "nullable": true + }, + "gateway_subnetmask_not_contains": { + "type": "string", + "nullable": true + }, + "gateway_subnetmask_not_ends_with": { + "type": "string", + "nullable": true + }, + "gateway_subnetmask_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "gateway_subnetmask_not_starts_with": { + "type": "string", + "nullable": true + }, + "gateway_subnetmask_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "mode_type": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanModeType" + } + ], + "nullable": true + }, + "mode_type_in": { + "items": { + "$ref": "#/components/schemas/VlanModeType" + }, + "type": "array", + "nullable": true + }, + "mode_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanModeType" + } + ], + "nullable": true + }, + "mode_type_not_in": { + "items": { + "$ref": "#/components/schemas/VlanModeType" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "qos_burst": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_burst_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_burst_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_burst_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "qos_burst_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_burst_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_burst_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_burst_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "qos_max_bandwidth": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_max_bandwidth_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_max_bandwidth_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_max_bandwidth_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "qos_max_bandwidth_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_max_bandwidth_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_max_bandwidth_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_max_bandwidth_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "qos_min_bandwidth": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_min_bandwidth_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_min_bandwidth_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_min_bandwidth_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "qos_min_bandwidth_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_min_bandwidth_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_min_bandwidth_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_min_bandwidth_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "qos_priority": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "qos_priority_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "qos_priority_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "qos_priority_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "qos_priority_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "qos_priority_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "qos_priority_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "qos_priority_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "subnetmask": { + "type": "string", + "nullable": true + }, + "subnetmask_contains": { + "type": "string", + "nullable": true + }, + "subnetmask_ends_with": { + "type": "string", + "nullable": true + }, + "subnetmask_gt": { + "type": "string", + "nullable": true + }, + "subnetmask_gte": { + "type": "string", + "nullable": true + }, + "subnetmask_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "subnetmask_lt": { + "type": "string", + "nullable": true + }, + "subnetmask_lte": { + "type": "string", + "nullable": true + }, + "subnetmask_not": { + "type": "string", + "nullable": true + }, + "subnetmask_not_contains": { + "type": "string", + "nullable": true + }, + "subnetmask_not_ends_with": { + "type": "string", + "nullable": true + }, + "subnetmask_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "subnetmask_not_starts_with": { + "type": "string", + "nullable": true + }, + "subnetmask_starts_with": { + "type": "string", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/NetworkType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/NetworkType" + }, + "type": "array", + "nullable": true + }, + "vds": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "vlan_id": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlan_id_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlan_id_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlan_id_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vlan_id_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlan_id_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlan_id_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlan_id_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_nics_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicWhereInput" + } + ], + "nullable": true + }, + "vm_nics_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicWhereInput" + } + ], + "nullable": true + }, + "vm_nics_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VlanModeType": { + "enum": [ + "GENEVE", + "VLAN_ACCESS", + "VLAN_TRUNK", + "VXLAN" + ], + "type": "string" + }, + "VmNicWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VmNicWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VmNicWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VmNicWhereInput" + }, + "type": "array", + "nullable": true + }, + "egress_rate_limit_burst_in_bit": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_burst_in_bit_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_burst_in_bit_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_burst_in_bit_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "egress_rate_limit_burst_in_bit_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_burst_in_bit_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_burst_in_bit_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_burst_in_bit_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "egress_rate_limit_enabled": { + "type": "boolean", + "nullable": true + }, + "egress_rate_limit_enabled_not": { + "type": "boolean", + "nullable": true + }, + "egress_rate_limit_max_rate_in_bitps": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_max_rate_in_bitps_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_max_rate_in_bitps_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_max_rate_in_bitps_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "egress_rate_limit_max_rate_in_bitps_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_max_rate_in_bitps_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_max_rate_in_bitps_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_max_rate_in_bitps_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "enabled": { + "type": "boolean", + "nullable": true + }, + "enabled_not": { + "type": "boolean", + "nullable": true + }, + "gateway": { + "type": "string", + "nullable": true + }, + "gateway_contains": { + "type": "string", + "nullable": true + }, + "gateway_ends_with": { + "type": "string", + "nullable": true + }, + "gateway_gt": { + "type": "string", + "nullable": true + }, + "gateway_gte": { + "type": "string", + "nullable": true + }, + "gateway_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "gateway_lt": { + "type": "string", + "nullable": true + }, + "gateway_lte": { + "type": "string", + "nullable": true + }, + "gateway_not": { + "type": "string", + "nullable": true + }, + "gateway_not_contains": { + "type": "string", + "nullable": true + }, + "gateway_not_ends_with": { + "type": "string", + "nullable": true + }, + "gateway_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "gateway_not_starts_with": { + "type": "string", + "nullable": true + }, + "gateway_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "ingress_rate_limit_burst_in_bit": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_burst_in_bit_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_burst_in_bit_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_burst_in_bit_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "ingress_rate_limit_burst_in_bit_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_burst_in_bit_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_burst_in_bit_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_burst_in_bit_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "ingress_rate_limit_enabled": { + "type": "boolean", + "nullable": true + }, + "ingress_rate_limit_enabled_not": { + "type": "boolean", + "nullable": true + }, + "ingress_rate_limit_max_rate_in_bitps": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_max_rate_in_bitps_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_max_rate_in_bitps_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_max_rate_in_bitps_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "ingress_rate_limit_max_rate_in_bitps_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_max_rate_in_bitps_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_max_rate_in_bitps_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_max_rate_in_bitps_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "interface_id": { + "type": "string", + "nullable": true + }, + "interface_id_contains": { + "type": "string", + "nullable": true + }, + "interface_id_ends_with": { + "type": "string", + "nullable": true + }, + "interface_id_gt": { + "type": "string", + "nullable": true + }, + "interface_id_gte": { + "type": "string", + "nullable": true + }, + "interface_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "interface_id_lt": { + "type": "string", + "nullable": true + }, + "interface_id_lte": { + "type": "string", + "nullable": true + }, + "interface_id_not": { + "type": "string", + "nullable": true + }, + "interface_id_not_contains": { + "type": "string", + "nullable": true + }, + "interface_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "interface_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "interface_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "interface_id_starts_with": { + "type": "string", + "nullable": true + }, + "ip_address": { + "type": "string", + "nullable": true + }, + "ip_address_contains": { + "type": "string", + "nullable": true + }, + "ip_address_ends_with": { + "type": "string", + "nullable": true + }, + "ip_address_gt": { + "type": "string", + "nullable": true + }, + "ip_address_gte": { + "type": "string", + "nullable": true + }, + "ip_address_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_address_lt": { + "type": "string", + "nullable": true + }, + "ip_address_lte": { + "type": "string", + "nullable": true + }, + "ip_address_not": { + "type": "string", + "nullable": true + }, + "ip_address_not_contains": { + "type": "string", + "nullable": true + }, + "ip_address_not_ends_with": { + "type": "string", + "nullable": true + }, + "ip_address_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_address_not_starts_with": { + "type": "string", + "nullable": true + }, + "ip_address_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "mac_address": { + "type": "string", + "nullable": true + }, + "mac_address_contains": { + "type": "string", + "nullable": true + }, + "mac_address_ends_with": { + "type": "string", + "nullable": true + }, + "mac_address_gt": { + "type": "string", + "nullable": true + }, + "mac_address_gte": { + "type": "string", + "nullable": true + }, + "mac_address_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "mac_address_lt": { + "type": "string", + "nullable": true + }, + "mac_address_lte": { + "type": "string", + "nullable": true + }, + "mac_address_not": { + "type": "string", + "nullable": true + }, + "mac_address_not_contains": { + "type": "string", + "nullable": true + }, + "mac_address_not_ends_with": { + "type": "string", + "nullable": true + }, + "mac_address_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "mac_address_not_starts_with": { + "type": "string", + "nullable": true + }, + "mac_address_starts_with": { + "type": "string", + "nullable": true + }, + "mirror": { + "type": "boolean", + "nullable": true + }, + "mirror_not": { + "type": "boolean", + "nullable": true + }, + "model": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicModel" + } + ], + "nullable": true + }, + "model_in": { + "items": { + "$ref": "#/components/schemas/VmNicModel" + }, + "type": "array", + "nullable": true + }, + "model_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicModel" + } + ], + "nullable": true + }, + "model_not_in": { + "items": { + "$ref": "#/components/schemas/VmNicModel" + }, + "type": "array", + "nullable": true + }, + "nic": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "order": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "order_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "order_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "order_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "order_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "order_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "order_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "order_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "subnet_mask": { + "type": "string", + "nullable": true + }, + "subnet_mask_contains": { + "type": "string", + "nullable": true + }, + "subnet_mask_ends_with": { + "type": "string", + "nullable": true + }, + "subnet_mask_gt": { + "type": "string", + "nullable": true + }, + "subnet_mask_gte": { + "type": "string", + "nullable": true + }, + "subnet_mask_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "subnet_mask_lt": { + "type": "string", + "nullable": true + }, + "subnet_mask_lte": { + "type": "string", + "nullable": true + }, + "subnet_mask_not": { + "type": "string", + "nullable": true + }, + "subnet_mask_not_contains": { + "type": "string", + "nullable": true + }, + "subnet_mask_not_ends_with": { + "type": "string", + "nullable": true + }, + "subnet_mask_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "subnet_mask_not_starts_with": { + "type": "string", + "nullable": true + }, + "subnet_mask_starts_with": { + "type": "string", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/VmNicType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/VmNicType" + }, + "type": "array", + "nullable": true + }, + "vlan": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanWhereInput" + } + ], + "nullable": true + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vpc_nic": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNicWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmNicModel": { + "enum": [ + "E1000", + "SRIOV", + "VIRTIO" + ], + "type": "string" + }, + "VmNicType": { + "enum": [ + "VLAN", + "VPC" + ], + "type": "string" + }, + "VirtualPrivateCloudNicWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNicWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNicWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNicWhereInput" + }, + "type": "array", + "nullable": true + }, + "floating_ip": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "snapshots_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNicSnapshotWhereInput" + } + ], + "nullable": true + }, + "snapshots_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNicSnapshotWhereInput" + } + ], + "nullable": true + }, + "snapshots_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNicSnapshotWhereInput" + } + ], + "nullable": true + }, + "vm_nic": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicWhereInput" + } + ], + "nullable": true + }, + "vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + }, + "vpc_subnet": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudFloatingIpWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpWhereInput" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "external_ip": { + "type": "string", + "nullable": true + }, + "external_ip_contains": { + "type": "string", + "nullable": true + }, + "external_ip_ends_with": { + "type": "string", + "nullable": true + }, + "external_ip_gt": { + "type": "string", + "nullable": true + }, + "external_ip_gte": { + "type": "string", + "nullable": true + }, + "external_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "external_ip_lt": { + "type": "string", + "nullable": true + }, + "external_ip_lte": { + "type": "string", + "nullable": true + }, + "external_ip_not": { + "type": "string", + "nullable": true + }, + "external_ip_not_contains": { + "type": "string", + "nullable": true + }, + "external_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "external_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "external_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "external_ip_starts_with": { + "type": "string", + "nullable": true + }, + "external_subnet": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudExternalSubnetWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetWhereInput" + }, + "type": "array", + "nullable": true + }, + "cidr": { + "type": "string", + "nullable": true + }, + "cidr_contains": { + "type": "string", + "nullable": true + }, + "cidr_ends_with": { + "type": "string", + "nullable": true + }, + "cidr_gt": { + "type": "string", + "nullable": true + }, + "cidr_gte": { + "type": "string", + "nullable": true + }, + "cidr_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cidr_lt": { + "type": "string", + "nullable": true + }, + "cidr_lte": { + "type": "string", + "nullable": true + }, + "cidr_not": { + "type": "string", + "nullable": true + }, + "cidr_not_contains": { + "type": "string", + "nullable": true + }, + "cidr_not_ends_with": { + "type": "string", + "nullable": true + }, + "cidr_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cidr_not_starts_with": { + "type": "string", + "nullable": true + }, + "cidr_starts_with": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "edge_gateway": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "exclusive": { + "type": "boolean", + "nullable": true + }, + "exclusive_not": { + "type": "boolean", + "nullable": true + }, + "floating_ip_cidr": { + "type": "string", + "nullable": true + }, + "floating_ip_cidr_contains": { + "type": "string", + "nullable": true + }, + "floating_ip_cidr_ends_with": { + "type": "string", + "nullable": true + }, + "floating_ip_cidr_gt": { + "type": "string", + "nullable": true + }, + "floating_ip_cidr_gte": { + "type": "string", + "nullable": true + }, + "floating_ip_cidr_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "floating_ip_cidr_lt": { + "type": "string", + "nullable": true + }, + "floating_ip_cidr_lte": { + "type": "string", + "nullable": true + }, + "floating_ip_cidr_not": { + "type": "string", + "nullable": true + }, + "floating_ip_cidr_not_contains": { + "type": "string", + "nullable": true + }, + "floating_ip_cidr_not_ends_with": { + "type": "string", + "nullable": true + }, + "floating_ip_cidr_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "floating_ip_cidr_not_starts_with": { + "type": "string", + "nullable": true + }, + "floating_ip_cidr_starts_with": { + "type": "string", + "nullable": true + }, + "floating_ips_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpWhereInput" + } + ], + "nullable": true + }, + "floating_ips_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpWhereInput" + } + ], + "nullable": true + }, + "floating_ips_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpWhereInput" + } + ], + "nullable": true + }, + "gateway": { + "type": "string", + "nullable": true + }, + "gateway_contains": { + "type": "string", + "nullable": true + }, + "gateway_ends_with": { + "type": "string", + "nullable": true + }, + "gateway_gt": { + "type": "string", + "nullable": true + }, + "gateway_gte": { + "type": "string", + "nullable": true + }, + "gateway_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "gateway_lt": { + "type": "string", + "nullable": true + }, + "gateway_lte": { + "type": "string", + "nullable": true + }, + "gateway_not": { + "type": "string", + "nullable": true + }, + "gateway_not_contains": { + "type": "string", + "nullable": true + }, + "gateway_not_ends_with": { + "type": "string", + "nullable": true + }, + "gateway_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "gateway_not_starts_with": { + "type": "string", + "nullable": true + }, + "gateway_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "nat_gateway_cidr": { + "type": "string", + "nullable": true + }, + "nat_gateway_cidr_contains": { + "type": "string", + "nullable": true + }, + "nat_gateway_cidr_ends_with": { + "type": "string", + "nullable": true + }, + "nat_gateway_cidr_gt": { + "type": "string", + "nullable": true + }, + "nat_gateway_cidr_gte": { + "type": "string", + "nullable": true + }, + "nat_gateway_cidr_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nat_gateway_cidr_lt": { + "type": "string", + "nullable": true + }, + "nat_gateway_cidr_lte": { + "type": "string", + "nullable": true + }, + "nat_gateway_cidr_not": { + "type": "string", + "nullable": true + }, + "nat_gateway_cidr_not_contains": { + "type": "string", + "nullable": true + }, + "nat_gateway_cidr_not_ends_with": { + "type": "string", + "nullable": true + }, + "nat_gateway_cidr_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nat_gateway_cidr_not_starts_with": { + "type": "string", + "nullable": true + }, + "nat_gateway_cidr_starts_with": { + "type": "string", + "nullable": true + }, + "nat_gateways_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayWhereInput" + } + ], + "nullable": true + }, + "nat_gateways_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayWhereInput" + } + ], + "nullable": true + }, + "nat_gateways_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayWhereInput" + } + ], + "nullable": true + }, + "router_gateway_cidr": { + "type": "string", + "nullable": true + }, + "router_gateway_cidr_contains": { + "type": "string", + "nullable": true + }, + "router_gateway_cidr_ends_with": { + "type": "string", + "nullable": true + }, + "router_gateway_cidr_gt": { + "type": "string", + "nullable": true + }, + "router_gateway_cidr_gte": { + "type": "string", + "nullable": true + }, + "router_gateway_cidr_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "router_gateway_cidr_lt": { + "type": "string", + "nullable": true + }, + "router_gateway_cidr_lte": { + "type": "string", + "nullable": true + }, + "router_gateway_cidr_not": { + "type": "string", + "nullable": true + }, + "router_gateway_cidr_not_contains": { + "type": "string", + "nullable": true + }, + "router_gateway_cidr_not_ends_with": { + "type": "string", + "nullable": true + }, + "router_gateway_cidr_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "router_gateway_cidr_not_starts_with": { + "type": "string", + "nullable": true + }, + "router_gateway_cidr_starts_with": { + "type": "string", + "nullable": true + }, + "router_gateways_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayWhereInput" + } + ], + "nullable": true + }, + "router_gateways_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayWhereInput" + } + ], + "nullable": true + }, + "router_gateways_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayWhereInput" + } + ], + "nullable": true + }, + "vlan": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanWhereInput" + } + ], + "nullable": true + }, + "vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudEdgeGatewayWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "cpu_number": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cpu_number_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cpu_number_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cpu_number_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "cpu_number_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cpu_number_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cpu_number_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cpu_number_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "createdAt": { + "type": "string", + "nullable": true + }, + "createdAt_gt": { + "type": "string", + "nullable": true + }, + "createdAt_gte": { + "type": "string", + "nullable": true + }, + "createdAt_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "createdAt_lt": { + "type": "string", + "nullable": true + }, + "createdAt_lte": { + "type": "string", + "nullable": true + }, + "createdAt_not": { + "type": "string", + "nullable": true + }, + "createdAt_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "data_volume_size": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "data_volume_size_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "data_volume_size_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "data_volume_size_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "data_volume_size_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "data_volume_size_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "data_volume_size_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "data_volume_size_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "edge_gateway_group": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayGroupWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "gateway": { + "type": "string", + "nullable": true + }, + "gateway_contains": { + "type": "string", + "nullable": true + }, + "gateway_ends_with": { + "type": "string", + "nullable": true + }, + "gateway_gt": { + "type": "string", + "nullable": true + }, + "gateway_gte": { + "type": "string", + "nullable": true + }, + "gateway_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "gateway_lt": { + "type": "string", + "nullable": true + }, + "gateway_lte": { + "type": "string", + "nullable": true + }, + "gateway_not": { + "type": "string", + "nullable": true + }, + "gateway_not_contains": { + "type": "string", + "nullable": true + }, + "gateway_not_ends_with": { + "type": "string", + "nullable": true + }, + "gateway_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "gateway_not_starts_with": { + "type": "string", + "nullable": true + }, + "gateway_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "memory_size": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "memory_size_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "memory_size_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "memory_size_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "memory_size_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "memory_size_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "memory_size_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "memory_size_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "phase": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterPhase" + } + ], + "nullable": true + }, + "phase_in": { + "items": { + "$ref": "#/components/schemas/EverouteClusterPhase" + }, + "type": "array", + "nullable": true + }, + "phase_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterPhase" + } + ], + "nullable": true + }, + "phase_not_in": { + "items": { + "$ref": "#/components/schemas/EverouteClusterPhase" + }, + "type": "array", + "nullable": true + }, + "subnet_mask": { + "type": "string", + "nullable": true + }, + "subnet_mask_contains": { + "type": "string", + "nullable": true + }, + "subnet_mask_ends_with": { + "type": "string", + "nullable": true + }, + "subnet_mask_gt": { + "type": "string", + "nullable": true + }, + "subnet_mask_gte": { + "type": "string", + "nullable": true + }, + "subnet_mask_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "subnet_mask_lt": { + "type": "string", + "nullable": true + }, + "subnet_mask_lte": { + "type": "string", + "nullable": true + }, + "subnet_mask_not": { + "type": "string", + "nullable": true + }, + "subnet_mask_not_contains": { + "type": "string", + "nullable": true + }, + "subnet_mask_not_ends_with": { + "type": "string", + "nullable": true + }, + "subnet_mask_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "subnet_mask_not_starts_with": { + "type": "string", + "nullable": true + }, + "subnet_mask_starts_with": { + "type": "string", + "nullable": true + }, + "vdses_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "vdses_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "vdses_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "vm_instances_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vm_instances_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vm_instances_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vpc_service": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudServiceWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudEdgeGatewayGroupWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "createdAt": { + "type": "string", + "nullable": true + }, + "createdAt_gt": { + "type": "string", + "nullable": true + }, + "createdAt_gte": { + "type": "string", + "nullable": true + }, + "createdAt_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "createdAt_lt": { + "type": "string", + "nullable": true + }, + "createdAt_lte": { + "type": "string", + "nullable": true + }, + "createdAt_not": { + "type": "string", + "nullable": true + }, + "createdAt_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "edge_gateways_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayWhereInput" + } + ], + "nullable": true + }, + "edge_gateways_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayWhereInput" + } + ], + "nullable": true + }, + "edge_gateways_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "external_subnet_groups_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetGroupWhereInput" + } + ], + "nullable": true + }, + "external_subnet_groups_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetGroupWhereInput" + } + ], + "nullable": true + }, + "external_subnet_groups_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetGroupWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "primary_edge_gateway_id": { + "type": "string", + "nullable": true + }, + "primary_edge_gateway_id_contains": { + "type": "string", + "nullable": true + }, + "primary_edge_gateway_id_ends_with": { + "type": "string", + "nullable": true + }, + "primary_edge_gateway_id_gt": { + "type": "string", + "nullable": true + }, + "primary_edge_gateway_id_gte": { + "type": "string", + "nullable": true + }, + "primary_edge_gateway_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "primary_edge_gateway_id_lt": { + "type": "string", + "nullable": true + }, + "primary_edge_gateway_id_lte": { + "type": "string", + "nullable": true + }, + "primary_edge_gateway_id_not": { + "type": "string", + "nullable": true + }, + "primary_edge_gateway_id_not_contains": { + "type": "string", + "nullable": true + }, + "primary_edge_gateway_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "primary_edge_gateway_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "primary_edge_gateway_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "primary_edge_gateway_id_starts_with": { + "type": "string", + "nullable": true + }, + "vpc_service": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudServiceWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudExternalSubnetGroupWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "createdAt": { + "type": "string", + "nullable": true + }, + "createdAt_gt": { + "type": "string", + "nullable": true + }, + "createdAt_gte": { + "type": "string", + "nullable": true + }, + "createdAt_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "createdAt_lt": { + "type": "string", + "nullable": true + }, + "createdAt_lte": { + "type": "string", + "nullable": true + }, + "createdAt_not": { + "type": "string", + "nullable": true + }, + "createdAt_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "edge_gateway_group": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayGroupWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "exclusive": { + "type": "boolean", + "nullable": true + }, + "exclusive_not": { + "type": "boolean", + "nullable": true + }, + "floating_ips_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpWhereInput" + } + ], + "nullable": true + }, + "floating_ips_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpWhereInput" + } + ], + "nullable": true + }, + "floating_ips_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "nat_gateways_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayWhereInput" + } + ], + "nullable": true + }, + "nat_gateways_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayWhereInput" + } + ], + "nullable": true + }, + "nat_gateways_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayWhereInput" + } + ], + "nullable": true + }, + "router_gateways_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayWhereInput" + } + ], + "nullable": true + }, + "router_gateways_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayWhereInput" + } + ], + "nullable": true + }, + "router_gateways_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayWhereInput" + } + ], + "nullable": true + }, + "shared_in_edge_gateway_group": { + "type": "boolean", + "nullable": true + }, + "shared_in_edge_gateway_group_not": { + "type": "boolean", + "nullable": true + }, + "vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudNatGatewayWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayWhereInput" + }, + "type": "array", + "nullable": true + }, + "enable_dnat": { + "type": "boolean", + "nullable": true + }, + "enable_dnat_not": { + "type": "boolean", + "nullable": true + }, + "enable_snat": { + "type": "boolean", + "nullable": true + }, + "enable_snat_not": { + "type": "boolean", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "external_ip": { + "type": "string", + "nullable": true + }, + "external_ip_contains": { + "type": "string", + "nullable": true + }, + "external_ip_ends_with": { + "type": "string", + "nullable": true + }, + "external_ip_gt": { + "type": "string", + "nullable": true + }, + "external_ip_gte": { + "type": "string", + "nullable": true + }, + "external_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "external_ip_lt": { + "type": "string", + "nullable": true + }, + "external_ip_lte": { + "type": "string", + "nullable": true + }, + "external_ip_not": { + "type": "string", + "nullable": true + }, + "external_ip_not_contains": { + "type": "string", + "nullable": true + }, + "external_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "external_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "external_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "external_ip_starts_with": { + "type": "string", + "nullable": true + }, + "external_subnet": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + }, + "type": "array", + "nullable": true + }, + "associate_external_subnet_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "associate_external_subnet_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "associate_external_subnet_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "associate_external_subnet_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "associate_external_subnet_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "associate_external_subnet_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "associate_external_subnet_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "associate_external_subnet_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "isolation_policies_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudIsolationPolicyWhereInput" + } + ], + "nullable": true + }, + "isolation_policies_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudIsolationPolicyWhereInput" + } + ], + "nullable": true + }, + "isolation_policies_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudIsolationPolicyWhereInput" + } + ], + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "mtu": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "mtu_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "route_tables_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableWhereInput" + } + ], + "nullable": true + }, + "route_tables_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableWhereInput" + } + ], + "nullable": true + }, + "route_tables_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableWhereInput" + } + ], + "nullable": true + }, + "security_groups_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupWhereInput" + } + ], + "nullable": true + }, + "security_groups_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupWhereInput" + } + ], + "nullable": true + }, + "security_groups_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupWhereInput" + } + ], + "nullable": true + }, + "security_policies_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyWhereInput" + } + ], + "nullable": true + }, + "security_policies_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyWhereInput" + } + ], + "nullable": true + }, + "security_policies_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyWhereInput" + } + ], + "nullable": true + }, + "subnets_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + ], + "nullable": true + }, + "subnets_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + ], + "nullable": true + }, + "subnets_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + ], + "nullable": true + }, + "vpc_service": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudServiceWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudIsolationPolicyWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudIsolationPolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudIsolationPolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudIsolationPolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "mode": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudIsolationPolicyMode" + } + ], + "nullable": true + }, + "mode_in": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudIsolationPolicyMode" + }, + "type": "array", + "nullable": true + }, + "mode_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudIsolationPolicyMode" + } + ], + "nullable": true + }, + "mode_not_in": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudIsolationPolicyMode" + }, + "type": "array", + "nullable": true + }, + "security_groups_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupWhereInput" + } + ], + "nullable": true + }, + "security_groups_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupWhereInput" + } + ], + "nullable": true + }, + "security_groups_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupWhereInput" + } + ], + "nullable": true + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudIsolationPolicyMode": { + "enum": [ + "ALL", + "PARTIAL" + ], + "type": "string" + }, + "VirtualPrivateCloudSecurityGroupWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "default_for_vpc": { + "type": "boolean", + "nullable": true + }, + "default_for_vpc_not": { + "type": "boolean", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "vms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudRouteTableWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableWhereInput" + }, + "type": "array", + "nullable": true + }, + "default_for_vpc": { + "type": "boolean", + "nullable": true + }, + "default_for_vpc_not": { + "type": "boolean", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "routes_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteWhereInput" + } + ], + "nullable": true + }, + "routes_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteWhereInput" + } + ], + "nullable": true + }, + "routes_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteWhereInput" + } + ], + "nullable": true + }, + "subnets_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + ], + "nullable": true + }, + "subnets_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + ], + "nullable": true + }, + "subnets_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + ], + "nullable": true + }, + "vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudRouteWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteWhereInput" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "destination": { + "type": "string", + "nullable": true + }, + "destination_contains": { + "type": "string", + "nullable": true + }, + "destination_ends_with": { + "type": "string", + "nullable": true + }, + "destination_gt": { + "type": "string", + "nullable": true + }, + "destination_gte": { + "type": "string", + "nullable": true + }, + "destination_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "destination_lt": { + "type": "string", + "nullable": true + }, + "destination_lte": { + "type": "string", + "nullable": true + }, + "destination_not": { + "type": "string", + "nullable": true + }, + "destination_not_contains": { + "type": "string", + "nullable": true + }, + "destination_not_ends_with": { + "type": "string", + "nullable": true + }, + "destination_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "destination_not_starts_with": { + "type": "string", + "nullable": true + }, + "destination_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "nat_gateway": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayWhereInput" + } + ], + "nullable": true + }, + "next_hop_local_id": { + "type": "string", + "nullable": true + }, + "next_hop_local_id_contains": { + "type": "string", + "nullable": true + }, + "next_hop_local_id_ends_with": { + "type": "string", + "nullable": true + }, + "next_hop_local_id_gt": { + "type": "string", + "nullable": true + }, + "next_hop_local_id_gte": { + "type": "string", + "nullable": true + }, + "next_hop_local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "next_hop_local_id_lt": { + "type": "string", + "nullable": true + }, + "next_hop_local_id_lte": { + "type": "string", + "nullable": true + }, + "next_hop_local_id_not": { + "type": "string", + "nullable": true + }, + "next_hop_local_id_not_contains": { + "type": "string", + "nullable": true + }, + "next_hop_local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "next_hop_local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "next_hop_local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "next_hop_local_id_starts_with": { + "type": "string", + "nullable": true + }, + "next_hop_type": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteNextHopType" + } + ], + "nullable": true + }, + "next_hop_type_in": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteNextHopType" + }, + "type": "array", + "nullable": true + }, + "next_hop_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteNextHopType" + } + ], + "nullable": true + }, + "next_hop_type_not_in": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteNextHopType" + }, + "type": "array", + "nullable": true + }, + "route_table": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableWhereInput" + } + ], + "nullable": true + }, + "router_gateway": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayWhereInput" + } + ], + "nullable": true + }, + "vpc_peering": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudPeeringWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudRouteNextHopType": { + "enum": [ + "NAT_GATEWAY", + "ROUTER_GATEWAY", + "UNKNOWN", + "VPC_PEERING" + ], + "type": "string" + }, + "VirtualPrivateCloudRouterGatewayWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayWhereInput" + }, + "type": "array", + "nullable": true + }, + "associated_subnets_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + ], + "nullable": true + }, + "associated_subnets_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + ], + "nullable": true + }, + "associated_subnets_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "external_ip": { + "type": "string", + "nullable": true + }, + "external_ip_contains": { + "type": "string", + "nullable": true + }, + "external_ip_ends_with": { + "type": "string", + "nullable": true + }, + "external_ip_gt": { + "type": "string", + "nullable": true + }, + "external_ip_gte": { + "type": "string", + "nullable": true + }, + "external_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "external_ip_lt": { + "type": "string", + "nullable": true + }, + "external_ip_lte": { + "type": "string", + "nullable": true + }, + "external_ip_not": { + "type": "string", + "nullable": true + }, + "external_ip_not_contains": { + "type": "string", + "nullable": true + }, + "external_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "external_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "external_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "external_ip_starts_with": { + "type": "string", + "nullable": true + }, + "external_subnet": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "nexthop_ip": { + "type": "string", + "nullable": true + }, + "nexthop_ip_contains": { + "type": "string", + "nullable": true + }, + "nexthop_ip_ends_with": { + "type": "string", + "nullable": true + }, + "nexthop_ip_gt": { + "type": "string", + "nullable": true + }, + "nexthop_ip_gte": { + "type": "string", + "nullable": true + }, + "nexthop_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nexthop_ip_lt": { + "type": "string", + "nullable": true + }, + "nexthop_ip_lte": { + "type": "string", + "nullable": true + }, + "nexthop_ip_not": { + "type": "string", + "nullable": true + }, + "nexthop_ip_not_contains": { + "type": "string", + "nullable": true + }, + "nexthop_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "nexthop_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "nexthop_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "nexthop_ip_starts_with": { + "type": "string", + "nullable": true + }, + "vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudSubnetWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + }, + "type": "array", + "nullable": true + }, + "cidr": { + "type": "string", + "nullable": true + }, + "cidr_contains": { + "type": "string", + "nullable": true + }, + "cidr_ends_with": { + "type": "string", + "nullable": true + }, + "cidr_gt": { + "type": "string", + "nullable": true + }, + "cidr_gte": { + "type": "string", + "nullable": true + }, + "cidr_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cidr_lt": { + "type": "string", + "nullable": true + }, + "cidr_lte": { + "type": "string", + "nullable": true + }, + "cidr_not": { + "type": "string", + "nullable": true + }, + "cidr_not_contains": { + "type": "string", + "nullable": true + }, + "cidr_not_ends_with": { + "type": "string", + "nullable": true + }, + "cidr_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cidr_not_starts_with": { + "type": "string", + "nullable": true + }, + "cidr_starts_with": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "gateway": { + "type": "string", + "nullable": true + }, + "gateway_contains": { + "type": "string", + "nullable": true + }, + "gateway_ends_with": { + "type": "string", + "nullable": true + }, + "gateway_gt": { + "type": "string", + "nullable": true + }, + "gateway_gte": { + "type": "string", + "nullable": true + }, + "gateway_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "gateway_lt": { + "type": "string", + "nullable": true + }, + "gateway_lte": { + "type": "string", + "nullable": true + }, + "gateway_not": { + "type": "string", + "nullable": true + }, + "gateway_not_contains": { + "type": "string", + "nullable": true + }, + "gateway_not_ends_with": { + "type": "string", + "nullable": true + }, + "gateway_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "gateway_not_starts_with": { + "type": "string", + "nullable": true + }, + "gateway_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "route_table": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableWhereInput" + } + ], + "nullable": true + }, + "total_ip_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_ip_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_ip_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_ip_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_ip_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_ip_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_ip_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_ip_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "unused_ip_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "unused_ip_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "unused_ip_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "unused_ip_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "unused_ip_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "unused_ip_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "unused_ip_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "unused_ip_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudPeeringWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudPeeringWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudPeeringWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudPeeringWhereInput" + }, + "type": "array", + "nullable": true + }, + "dst_vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "src_vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudSecurityPolicyWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "policy_mode": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyMode" + } + ], + "nullable": true + }, + "policy_mode_in": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyMode" + }, + "type": "array", + "nullable": true + }, + "policy_mode_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyMode" + } + ], + "nullable": true + }, + "policy_mode_not_in": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyMode" + }, + "type": "array", + "nullable": true + }, + "vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudSecurityPolicyMode": { + "enum": [ + "MONITOR", + "WORK" + ], + "type": "string" + }, + "VirtualPrivateCloudServiceWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudServiceWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudServiceWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudServiceWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster_bindings_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudClusterBindingWhereInput" + } + ], + "nullable": true + }, + "cluster_bindings_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudClusterBindingWhereInput" + } + ], + "nullable": true + }, + "cluster_bindings_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudClusterBindingWhereInput" + } + ], + "nullable": true + }, + "edge_gateway_groups_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayGroupWhereInput" + } + ], + "nullable": true + }, + "edge_gateway_groups_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayGroupWhereInput" + } + ], + "nullable": true + }, + "edge_gateway_groups_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayGroupWhereInput" + } + ], + "nullable": true + }, + "edge_gateways_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayWhereInput" + } + ], + "nullable": true + }, + "edge_gateways_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayWhereInput" + } + ], + "nullable": true + }, + "edge_gateways_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudEdgeGatewayWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "everoute_cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterWhereInput" + } + ], + "nullable": true + }, + "external_subnets_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetWhereInput" + } + ], + "nullable": true + }, + "external_subnets_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetWhereInput" + } + ], + "nullable": true + }, + "external_subnets_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "internal_cidr": { + "type": "string", + "nullable": true + }, + "internal_cidr_contains": { + "type": "string", + "nullable": true + }, + "internal_cidr_ends_with": { + "type": "string", + "nullable": true + }, + "internal_cidr_gt": { + "type": "string", + "nullable": true + }, + "internal_cidr_gte": { + "type": "string", + "nullable": true + }, + "internal_cidr_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "internal_cidr_lt": { + "type": "string", + "nullable": true + }, + "internal_cidr_lte": { + "type": "string", + "nullable": true + }, + "internal_cidr_not": { + "type": "string", + "nullable": true + }, + "internal_cidr_not_contains": { + "type": "string", + "nullable": true + }, + "internal_cidr_not_ends_with": { + "type": "string", + "nullable": true + }, + "internal_cidr_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "internal_cidr_not_starts_with": { + "type": "string", + "nullable": true + }, + "internal_cidr_starts_with": { + "type": "string", + "nullable": true + }, + "phase": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterPhase" + } + ], + "nullable": true + }, + "phase_in": { + "items": { + "$ref": "#/components/schemas/EverouteClusterPhase" + }, + "type": "array", + "nullable": true + }, + "phase_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterPhase" + } + ], + "nullable": true + }, + "phase_not_in": { + "items": { + "$ref": "#/components/schemas/EverouteClusterPhase" + }, + "type": "array", + "nullable": true + }, + "vpcs_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + }, + "vpcs_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + }, + "vpcs_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudClusterBindingWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudClusterBindingWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudClusterBindingWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudClusterBindingWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "mtu": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "mtu_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "mtu_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vds": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + }, + "vlan_id": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlan_id_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlan_id_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlan_id_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vlan_id_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlan_id_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlan_id_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vlan_id_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vpc_service": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudServiceWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "EverouteClusterPhase": { + "enum": [ + "Associated", + "Failed", + "Init", + "Running", + "Terminating", + "Updating", + "Upgrading" + ], + "type": "string" + }, + "VirtualPrivateCloudNicSnapshotWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNicSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNicSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNicSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "floating_ip": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "mac_address": { + "type": "string", + "nullable": true + }, + "mac_address_contains": { + "type": "string", + "nullable": true + }, + "mac_address_ends_with": { + "type": "string", + "nullable": true + }, + "mac_address_gt": { + "type": "string", + "nullable": true + }, + "mac_address_gte": { + "type": "string", + "nullable": true + }, + "mac_address_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "mac_address_lt": { + "type": "string", + "nullable": true + }, + "mac_address_lte": { + "type": "string", + "nullable": true + }, + "mac_address_not": { + "type": "string", + "nullable": true + }, + "mac_address_not_contains": { + "type": "string", + "nullable": true + }, + "mac_address_not_ends_with": { + "type": "string", + "nullable": true + }, + "mac_address_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "mac_address_not_starts_with": { + "type": "string", + "nullable": true + }, + "mac_address_starts_with": { + "type": "string", + "nullable": true + }, + "vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + }, + "vpc_nic": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNicWhereInput" + } + ], + "nullable": true + }, + "vpc_subnet": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GlobalPolicyAction": { + "enum": [ + "ALLOW", + "DROP" + ], + "type": "string" + }, + "LoadBalancerServiceWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/LoadBalancerServiceWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/LoadBalancerServiceWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/LoadBalancerServiceWhereInput" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "everoute_cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "phase": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterPhase" + } + ], + "nullable": true + }, + "phase_in": { + "items": { + "$ref": "#/components/schemas/EverouteClusterPhase" + }, + "type": "array", + "nullable": true + }, + "phase_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterPhase" + } + ], + "nullable": true + }, + "phase_not_in": { + "items": { + "$ref": "#/components/schemas/EverouteClusterPhase" + }, + "type": "array", + "nullable": true + }, + "vm_instances_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vm_instances_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vm_instances_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vnet_bonds_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VnetBondWhereInput" + } + ], + "nullable": true + }, + "vnet_bonds_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VnetBondWhereInput" + } + ], + "nullable": true + }, + "vnet_bonds_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VnetBondWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VnetBondWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VnetBondWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VnetBondWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VnetBondWhereInput" + }, + "type": "array", + "nullable": true + }, + "bond_for_client": { + "type": "boolean", + "nullable": true + }, + "bond_for_client_not": { + "type": "boolean", + "nullable": true + }, + "bond_for_server": { + "type": "boolean", + "nullable": true + }, + "bond_for_server_not": { + "type": "boolean", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "load_balancer_service": { + "allOf": [ + { + "$ref": "#/components/schemas/LoadBalancerServiceWhereInput" + } + ], + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "namespace": { + "type": "string", + "nullable": true + }, + "namespace_contains": { + "type": "string", + "nullable": true + }, + "namespace_ends_with": { + "type": "string", + "nullable": true + }, + "namespace_gt": { + "type": "string", + "nullable": true + }, + "namespace_gte": { + "type": "string", + "nullable": true + }, + "namespace_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "namespace_lt": { + "type": "string", + "nullable": true + }, + "namespace_lte": { + "type": "string", + "nullable": true + }, + "namespace_not": { + "type": "string", + "nullable": true + }, + "namespace_not_contains": { + "type": "string", + "nullable": true + }, + "namespace_not_ends_with": { + "type": "string", + "nullable": true + }, + "namespace_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "namespace_not_starts_with": { + "type": "string", + "nullable": true + }, + "namespace_starts_with": { + "type": "string", + "nullable": true + }, + "vlan": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "IsolationMode": { + "enum": [ + "ALL", + "PARTIAL" + ], + "type": "string" + }, + "NfsExportWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/NfsExportWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/NfsExportWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/NfsExportWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "export_inode_id": { + "type": "string", + "nullable": true + }, + "export_inode_id_contains": { + "type": "string", + "nullable": true + }, + "export_inode_id_ends_with": { + "type": "string", + "nullable": true + }, + "export_inode_id_gt": { + "type": "string", + "nullable": true + }, + "export_inode_id_gte": { + "type": "string", + "nullable": true + }, + "export_inode_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "export_inode_id_lt": { + "type": "string", + "nullable": true + }, + "export_inode_id_lte": { + "type": "string", + "nullable": true + }, + "export_inode_id_not": { + "type": "string", + "nullable": true + }, + "export_inode_id_not_contains": { + "type": "string", + "nullable": true + }, + "export_inode_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "export_inode_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "export_inode_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "export_inode_id_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "inodes_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsInodeWhereInput" + } + ], + "nullable": true + }, + "inodes_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsInodeWhereInput" + } + ], + "nullable": true + }, + "inodes_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsInodeWhereInput" + } + ], + "nullable": true + }, + "internal": { + "type": "boolean", + "nullable": true + }, + "internal_not": { + "type": "boolean", + "nullable": true + }, + "ip_whitelist": { + "type": "string", + "nullable": true + }, + "ip_whitelist_contains": { + "type": "string", + "nullable": true + }, + "ip_whitelist_ends_with": { + "type": "string", + "nullable": true + }, + "ip_whitelist_gt": { + "type": "string", + "nullable": true + }, + "ip_whitelist_gte": { + "type": "string", + "nullable": true + }, + "ip_whitelist_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_whitelist_lt": { + "type": "string", + "nullable": true + }, + "ip_whitelist_lte": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not_contains": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not_ends_with": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_whitelist_not_starts_with": { + "type": "string", + "nullable": true + }, + "ip_whitelist_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "replica_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "replica_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "thin_provision": { + "type": "boolean", + "nullable": true + }, + "thin_provision_not": { + "type": "boolean", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NfsInodeWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/NfsInodeWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/NfsInodeWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/NfsInodeWhereInput" + }, + "type": "array", + "nullable": true + }, + "assigned_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "assigned_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "assigned_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "file": { + "type": "boolean", + "nullable": true + }, + "file_not": { + "type": "boolean", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "local_updated_at": { + "type": "string", + "nullable": true + }, + "local_updated_at_gt": { + "type": "string", + "nullable": true + }, + "local_updated_at_gte": { + "type": "string", + "nullable": true + }, + "local_updated_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_updated_at_lt": { + "type": "string", + "nullable": true + }, + "local_updated_at_lte": { + "type": "string", + "nullable": true + }, + "local_updated_at_not": { + "type": "string", + "nullable": true + }, + "local_updated_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "nfs_export": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsExportWhereInput" + } + ], + "nullable": true + }, + "parent_id": { + "type": "string", + "nullable": true + }, + "parent_id_contains": { + "type": "string", + "nullable": true + }, + "parent_id_ends_with": { + "type": "string", + "nullable": true + }, + "parent_id_gt": { + "type": "string", + "nullable": true + }, + "parent_id_gte": { + "type": "string", + "nullable": true + }, + "parent_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "parent_id_lt": { + "type": "string", + "nullable": true + }, + "parent_id_lte": { + "type": "string", + "nullable": true + }, + "parent_id_not": { + "type": "string", + "nullable": true + }, + "parent_id_not_contains": { + "type": "string", + "nullable": true + }, + "parent_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "parent_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "parent_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "parent_id_starts_with": { + "type": "string", + "nullable": true + }, + "shared_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "shared_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "shared_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "snapshot_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "snapshot_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "snapshot_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "unique_logical_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "unique_logical_size_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_logical_size_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "unique_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "unique_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SecurityPolicyWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/SecurityPolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/SecurityPolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/SecurityPolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "everoute_cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "is_blocklist": { + "type": "boolean", + "nullable": true + }, + "is_blocklist_not": { + "type": "boolean", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "policy_mode": { + "allOf": [ + { + "$ref": "#/components/schemas/PolicyMode" + } + ], + "nullable": true + }, + "policy_mode_in": { + "items": { + "$ref": "#/components/schemas/PolicyMode" + }, + "type": "array", + "nullable": true + }, + "policy_mode_not": { + "allOf": [ + { + "$ref": "#/components/schemas/PolicyMode" + } + ], + "nullable": true + }, + "policy_mode_not_in": { + "items": { + "$ref": "#/components/schemas/PolicyMode" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "PolicyMode": { + "enum": [ + "MONITOR", + "WORK" + ], + "type": "string" + }, + "VmVolumeSnapshotWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VmVolumeSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VmVolumeSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VmVolumeSnapshotWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "createAt": { + "type": "string", + "nullable": true + }, + "createAt_gt": { + "type": "string", + "nullable": true + }, + "createAt_gte": { + "type": "string", + "nullable": true + }, + "createAt_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "createAt_lt": { + "type": "string", + "nullable": true + }, + "createAt_lte": { + "type": "string", + "nullable": true + }, + "createAt_not": { + "type": "string", + "nullable": true + }, + "createAt_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "elf_storage_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + } + ], + "nullable": true + }, + "elf_storage_policy_in": { + "items": { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + }, + "type": "array", + "nullable": true + }, + "elf_storage_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + } + ], + "nullable": true + }, + "elf_storage_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "labels_every": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_none": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "labels_some": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "shared_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "shared_size_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "shared_size_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "shared_size_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "shared_size_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "shared_size_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "shared_size_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "shared_size_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "size": { + "type": "number", + "format": "double", + "nullable": true + }, + "size_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "size_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "size_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "size_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "size_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeSnapshotType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/VmVolumeSnapshotType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeSnapshotType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/VmVolumeSnapshotType" + }, + "type": "array", + "nullable": true + }, + "unique_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_size_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_size_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_size_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "unique_size_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_size_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_size_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_size_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "vm_volume": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeWhereInput" + } + ], + "nullable": true + }, + "volume_sharing": { + "type": "boolean", + "nullable": true + }, + "volume_sharing_not": { + "type": "boolean", + "nullable": true + }, + "volume_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "volume_size_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "volume_size_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "volume_size_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "volume_size_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "volume_size_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "volume_size_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "volume_size_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "zbs_snapshot_uuid": { + "type": "string", + "nullable": true + }, + "zbs_snapshot_uuid_contains": { + "type": "string", + "nullable": true + }, + "zbs_snapshot_uuid_ends_with": { + "type": "string", + "nullable": true + }, + "zbs_snapshot_uuid_gt": { + "type": "string", + "nullable": true + }, + "zbs_snapshot_uuid_gte": { + "type": "string", + "nullable": true + }, + "zbs_snapshot_uuid_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "zbs_snapshot_uuid_lt": { + "type": "string", + "nullable": true + }, + "zbs_snapshot_uuid_lte": { + "type": "string", + "nullable": true + }, + "zbs_snapshot_uuid_not": { + "type": "string", + "nullable": true + }, + "zbs_snapshot_uuid_not_contains": { + "type": "string", + "nullable": true + }, + "zbs_snapshot_uuid_not_ends_with": { + "type": "string", + "nullable": true + }, + "zbs_snapshot_uuid_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "zbs_snapshot_uuid_not_starts_with": { + "type": "string", + "nullable": true + }, + "zbs_snapshot_uuid_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmVolumeSnapshotType": { + "enum": [ + "KVM_VOLUME_ISCSI_SNAPSHOT", + "KVM_VOLUME_SNAPSHOT" + ], + "type": "string" + }, + "PmemDimmWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/PmemDimmWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/PmemDimmWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/PmemDimmWhereInput" + }, + "type": "array", + "nullable": true + }, + "capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "device_locator": { + "type": "string", + "nullable": true + }, + "device_locator_contains": { + "type": "string", + "nullable": true + }, + "device_locator_ends_with": { + "type": "string", + "nullable": true + }, + "device_locator_gt": { + "type": "string", + "nullable": true + }, + "device_locator_gte": { + "type": "string", + "nullable": true + }, + "device_locator_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "device_locator_lt": { + "type": "string", + "nullable": true + }, + "device_locator_lte": { + "type": "string", + "nullable": true + }, + "device_locator_not": { + "type": "string", + "nullable": true + }, + "device_locator_not_contains": { + "type": "string", + "nullable": true + }, + "device_locator_not_ends_with": { + "type": "string", + "nullable": true + }, + "device_locator_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "device_locator_not_starts_with": { + "type": "string", + "nullable": true + }, + "device_locator_starts_with": { + "type": "string", + "nullable": true + }, + "disk": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskWhereInput" + } + ], + "nullable": true + }, + "health_status": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskHealthStatus" + } + ], + "nullable": true + }, + "health_status_in": { + "items": { + "$ref": "#/components/schemas/DiskHealthStatus" + }, + "type": "array", + "nullable": true + }, + "health_status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskHealthStatus" + } + ], + "nullable": true + }, + "health_status_not_in": { + "items": { + "$ref": "#/components/schemas/DiskHealthStatus" + }, + "type": "array", + "nullable": true + }, + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "numa_node": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "numa_node_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "numa_node_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "numa_node_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "numa_node_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "numa_node_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "numa_node_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "numa_node_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "part_number": { + "type": "string", + "nullable": true + }, + "part_number_contains": { + "type": "string", + "nullable": true + }, + "part_number_ends_with": { + "type": "string", + "nullable": true + }, + "part_number_gt": { + "type": "string", + "nullable": true + }, + "part_number_gte": { + "type": "string", + "nullable": true + }, + "part_number_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "part_number_lt": { + "type": "string", + "nullable": true + }, + "part_number_lte": { + "type": "string", + "nullable": true + }, + "part_number_not": { + "type": "string", + "nullable": true + }, + "part_number_not_contains": { + "type": "string", + "nullable": true + }, + "part_number_not_ends_with": { + "type": "string", + "nullable": true + }, + "part_number_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "part_number_not_starts_with": { + "type": "string", + "nullable": true + }, + "part_number_starts_with": { + "type": "string", + "nullable": true + }, + "remaining_life_percent": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remaining_life_percent_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remaining_life_percent_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remaining_life_percent_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "remaining_life_percent_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remaining_life_percent_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remaining_life_percent_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "remaining_life_percent_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "version": { + "type": "string", + "nullable": true + }, + "version_contains": { + "type": "string", + "nullable": true + }, + "version_ends_with": { + "type": "string", + "nullable": true + }, + "version_gt": { + "type": "string", + "nullable": true + }, + "version_gte": { + "type": "string", + "nullable": true + }, + "version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_lt": { + "type": "string", + "nullable": true + }, + "version_lte": { + "type": "string", + "nullable": true + }, + "version_not": { + "type": "string", + "nullable": true + }, + "version_not_contains": { + "type": "string", + "nullable": true + }, + "version_not_ends_with": { + "type": "string", + "nullable": true + }, + "version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_not_starts_with": { + "type": "string", + "nullable": true + }, + "version_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "DiskUsage": { + "enum": [ + "BOOT", + "CACHE", + "CACHE_AND_META", + "DATA", + "DATA_AND_META" + ], + "type": "string" + }, + "DiskType": { + "enum": [ + "HDD", + "NVMe_SSD", + "PMem", + "SATA_OR_SAS_SSD", + "SSD" + ], + "type": "string" + }, + "DiskUsageStatus": { + "enum": [ + "ISOLATED", + "MOUNTED", + "MOUNTING", + "PARTIAL_MOUNTED", + "UNMOUNTED", + "UNMOUNTING" + ], + "type": "string" + }, + "IpmiWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/IpmiWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/IpmiWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/IpmiWhereInput" + }, + "type": "array", + "nullable": true + }, + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "ip": { + "type": "string", + "nullable": true + }, + "ip_contains": { + "type": "string", + "nullable": true + }, + "ip_ends_with": { + "type": "string", + "nullable": true + }, + "ip_gt": { + "type": "string", + "nullable": true + }, + "ip_gte": { + "type": "string", + "nullable": true + }, + "ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_lt": { + "type": "string", + "nullable": true + }, + "ip_lte": { + "type": "string", + "nullable": true + }, + "ip_not": { + "type": "string", + "nullable": true + }, + "ip_not_contains": { + "type": "string", + "nullable": true + }, + "ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "ip_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "username": { + "type": "string", + "nullable": true + }, + "username_contains": { + "type": "string", + "nullable": true + }, + "username_ends_with": { + "type": "string", + "nullable": true + }, + "username_gt": { + "type": "string", + "nullable": true + }, + "username_gte": { + "type": "string", + "nullable": true + }, + "username_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_lt": { + "type": "string", + "nullable": true + }, + "username_lte": { + "type": "string", + "nullable": true + }, + "username_not": { + "type": "string", + "nullable": true + }, + "username_not_contains": { + "type": "string", + "nullable": true + }, + "username_not_ends_with": { + "type": "string", + "nullable": true + }, + "username_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_not_starts_with": { + "type": "string", + "nullable": true + }, + "username_starts_with": { + "type": "string", + "nullable": true + }, + "valid": { + "type": "boolean", + "nullable": true + }, + "valid_not": { + "type": "boolean", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "HostState": { + "enum": [ + "IDLE", + "IN_USE", + "REMOVING" + ], + "type": "string" + }, + "HostStatus": { + "enum": [ + "CONNECTED_ERROR", + "CONNECTED_HEALTHY", + "CONNECTED_WARNING", + "CONNECTING", + "INITIALIZING", + "SESSION_EXPIRED" + ], + "type": "string" + }, + "UsbDeviceWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/UsbDeviceWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/UsbDeviceWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/UsbDeviceWhereInput" + }, + "type": "array", + "nullable": true + }, + "binded": { + "type": "boolean", + "nullable": true + }, + "binded_not": { + "type": "boolean", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "manufacturer": { + "type": "string", + "nullable": true + }, + "manufacturer_contains": { + "type": "string", + "nullable": true + }, + "manufacturer_ends_with": { + "type": "string", + "nullable": true + }, + "manufacturer_gt": { + "type": "string", + "nullable": true + }, + "manufacturer_gte": { + "type": "string", + "nullable": true + }, + "manufacturer_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "manufacturer_lt": { + "type": "string", + "nullable": true + }, + "manufacturer_lte": { + "type": "string", + "nullable": true + }, + "manufacturer_not": { + "type": "string", + "nullable": true + }, + "manufacturer_not_contains": { + "type": "string", + "nullable": true + }, + "manufacturer_not_ends_with": { + "type": "string", + "nullable": true + }, + "manufacturer_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "manufacturer_not_starts_with": { + "type": "string", + "nullable": true + }, + "manufacturer_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/UsbDeviceStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/UsbDeviceStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/UsbDeviceStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/UsbDeviceStatus" + }, + "type": "array", + "nullable": true + }, + "usb_type": { + "type": "string", + "nullable": true + }, + "usb_type_contains": { + "type": "string", + "nullable": true + }, + "usb_type_ends_with": { + "type": "string", + "nullable": true + }, + "usb_type_gt": { + "type": "string", + "nullable": true + }, + "usb_type_gte": { + "type": "string", + "nullable": true + }, + "usb_type_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "usb_type_lt": { + "type": "string", + "nullable": true + }, + "usb_type_lte": { + "type": "string", + "nullable": true + }, + "usb_type_not": { + "type": "string", + "nullable": true + }, + "usb_type_not_contains": { + "type": "string", + "nullable": true + }, + "usb_type_not_ends_with": { + "type": "string", + "nullable": true + }, + "usb_type_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "usb_type_not_starts_with": { + "type": "string", + "nullable": true + }, + "usb_type_starts_with": { + "type": "string", + "nullable": true + }, + "vms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "UsbDeviceStatus": { + "enum": [ + "EJECTED", + "NORMAL" + ], + "type": "string" + }, + "VsphereEsxiAccountWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VsphereEsxiAccountWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VsphereEsxiAccountWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VsphereEsxiAccountWhereInput" + }, + "type": "array", + "nullable": true + }, + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "ip": { + "type": "string", + "nullable": true + }, + "ip_contains": { + "type": "string", + "nullable": true + }, + "ip_ends_with": { + "type": "string", + "nullable": true + }, + "ip_gt": { + "type": "string", + "nullable": true + }, + "ip_gte": { + "type": "string", + "nullable": true + }, + "ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_lt": { + "type": "string", + "nullable": true + }, + "ip_lte": { + "type": "string", + "nullable": true + }, + "ip_not": { + "type": "string", + "nullable": true + }, + "ip_not_contains": { + "type": "string", + "nullable": true + }, + "ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "ip_starts_with": { + "type": "string", + "nullable": true + }, + "is_valid": { + "type": "boolean", + "nullable": true + }, + "is_valid_not": { + "type": "boolean", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "port": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "port_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "username": { + "type": "string", + "nullable": true + }, + "username_contains": { + "type": "string", + "nullable": true + }, + "username_ends_with": { + "type": "string", + "nullable": true + }, + "username_gt": { + "type": "string", + "nullable": true + }, + "username_gte": { + "type": "string", + "nullable": true + }, + "username_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_lt": { + "type": "string", + "nullable": true + }, + "username_lte": { + "type": "string", + "nullable": true + }, + "username_not": { + "type": "string", + "nullable": true + }, + "username_not_contains": { + "type": "string", + "nullable": true + }, + "username_not_ends_with": { + "type": "string", + "nullable": true + }, + "username_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_not_starts_with": { + "type": "string", + "nullable": true + }, + "username_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ZoneWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ZoneWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ZoneWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ZoneWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "datacenter": { + "allOf": [ + { + "$ref": "#/components/schemas/DatacenterWhereInput" + } + ], + "nullable": true + }, + "failure_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "failure_data_space_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "failure_data_space_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "host_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "host_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "host_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "hosts_every": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "hosts_none": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "hosts_some": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "is_preferred": { + "type": "boolean", + "nullable": true + }, + "is_preferred_not": { + "type": "boolean", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "provisioned_cpu_cores": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "provisioned_cpu_cores_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "provisioned_cpu_cores_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "provisioned_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_data_space_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_data_space_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_data_space_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "provisioned_data_space_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_data_space_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_data_space_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_data_space_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "provisioned_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "provisioned_memory_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "running_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "running_vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stopped_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stopped_vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "suspended_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "suspended_vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_cache_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_cache_capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cache_capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_cpu_cores": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_cpu_cores_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_cpu_hz": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_cpu_hz_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_data_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_data_capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_memory_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "used_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "used_data_space_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "valid_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "valid_data_space_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GpuDeviceStatus": { + "enum": [ + "NEED_REBOOT", + "NOT_READY", + "READY" + ], + "type": "string" + }, + "GpuDeviceUsage": { + "enum": [ + "PASS_THROUGH", + "VGPU" + ], + "type": "string" + }, + "VmGuestsOperationSystem": { + "enum": [ + "LINUX", + "UNKNOWN", + "WINDOWS" + ], + "type": "string" + }, + "VmStatus": { + "enum": [ + "DELETED", + "RUNNING", + "STOPPED", + "SUSPENDED", + "UNKNOWN" + ], + "type": "string" + }, + "VmVideoType": { + "enum": [ + "CIRRUS", + "QXL", + "VGA", + "VIRTIO" + ], + "type": "string" + }, + "VmPlacementGroupWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "enabled": { + "type": "boolean", + "nullable": true + }, + "enabled_not": { + "type": "boolean", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "local_updated_at": { + "type": "string", + "nullable": true + }, + "local_updated_at_gt": { + "type": "string", + "nullable": true + }, + "local_updated_at_gte": { + "type": "string", + "nullable": true + }, + "local_updated_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_updated_at_lt": { + "type": "string", + "nullable": true + }, + "local_updated_at_lte": { + "type": "string", + "nullable": true + }, + "local_updated_at_not": { + "type": "string", + "nullable": true + }, + "local_updated_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "vm_host_must_enabled": { + "type": "boolean", + "nullable": true + }, + "vm_host_must_enabled_not": { + "type": "boolean", + "nullable": true + }, + "vm_host_must_host_uuids_every": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "vm_host_must_host_uuids_none": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "vm_host_must_host_uuids_some": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "vm_host_must_policy": { + "type": "boolean", + "nullable": true + }, + "vm_host_must_policy_not": { + "type": "boolean", + "nullable": true + }, + "vm_host_prefer_enabled": { + "type": "boolean", + "nullable": true + }, + "vm_host_prefer_enabled_not": { + "type": "boolean", + "nullable": true + }, + "vm_host_prefer_host_uuids_every": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "vm_host_prefer_host_uuids_none": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "vm_host_prefer_host_uuids_some": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "vm_host_prefer_policy": { + "type": "boolean", + "nullable": true + }, + "vm_host_prefer_policy_not": { + "type": "boolean", + "nullable": true + }, + "vm_vm_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVmPolicy" + } + ], + "nullable": true + }, + "vm_vm_policy_enabled": { + "type": "boolean", + "nullable": true + }, + "vm_vm_policy_enabled_not": { + "type": "boolean", + "nullable": true + }, + "vm_vm_policy_in": { + "items": { + "$ref": "#/components/schemas/VmVmPolicy" + }, + "type": "array", + "nullable": true + }, + "vm_vm_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVmPolicy" + } + ], + "nullable": true + }, + "vm_vm_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmVmPolicy" + }, + "type": "array", + "nullable": true + }, + "vms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmVmPolicy": { + "enum": [ + "MUST_DIFFERENT", + "MUST_SAME", + "PREFER_DIFFERENT", + "PREFER_SAME" + ], + "type": "string" + }, + "VmToolsStatus": { + "enum": [ + "NOT_INSTALLED", + "NOT_RUNNING", + "RESTRICTION", + "RUNNING" + ], + "type": "string" + }, + "VmUsage": { + "enum": [ + "ADVANCED_MONITORING", + "AGENT_MESH_NODE", + "BACKUP_CONTROLLER", + "BUNDLE_APPLICATION", + "CLOUDTOWER", + "EVEROUTE_CONTROLLER", + "REGISTRY", + "REPLICATION_CONTROLLER", + "SFS_CONTROLLER", + "SHARE_REGISTRY", + "SKS_MANAGEMENT" + ], + "type": "string" + }, + "ConnectState": { + "enum": [ + "CONNECTED", + "DISCONNECTED", + "INITIALIZING", + "REMOVING" + ], + "type": "string" + }, + "ClusterConnectorErrorCode": { + "enum": [ + "LOAD_CLUSTER_FAILED", + "LOAD_CLUSTER_NETWORK_ERROR", + "LOAD_CLUSTER_NOT_FOUND", + "LOAD_CLUSTER_UNAUTHORIZED", + "LOAD_CLUSTER_UNHEALTHY" + ], + "type": "string" + }, + "Hypervisor": { + "enum": [ + "BLUESHARK", + "ELF", + "VMWARE", + "XENSERVER" + ], + "type": "string" + }, + "LicenseType": { + "enum": [ + "PERPETUAL", + "SUBSCRIPTION", + "TRIAL" + ], + "type": "string" + }, + "NtpMode": { + "enum": [ + "EXTERNAL", + "INTERNAL" + ], + "type": "string" + }, + "ClusterSettingsWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ClusterSettingsWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ClusterSettingsWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ClusterSettingsWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "default_ha": { + "type": "boolean", + "nullable": true + }, + "default_ha_not": { + "type": "boolean", + "nullable": true + }, + "default_storage_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + } + ], + "nullable": true + }, + "default_storage_policy_in": { + "items": { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + }, + "type": "array", + "nullable": true + }, + "default_storage_policy_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + } + ], + "nullable": true + }, + "default_storage_policy_not_in": { + "items": { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + }, + "type": "array", + "nullable": true + }, + "enabled_iscsi": { + "type": "boolean", + "nullable": true + }, + "enabled_iscsi_not": { + "type": "boolean", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SoftwareEdition": { + "enum": [ + "COMMUNITY", + "ENTERPRISE", + "ENTERPRISE_PLUS", + "ESSENTIAL", + "EXPRESS", + "STANDARD", + "TRIAL" + ], + "type": "string" + }, + "ClusterType": { + "enum": [ + "BLUESHARK", + "SMTX_ELF", + "SMTX_OS", + "SMTX_ZBS" + ], + "type": "string" + }, + "VcenterAccountWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VcenterAccountWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VcenterAccountWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VcenterAccountWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "ip": { + "type": "string", + "nullable": true + }, + "ip_contains": { + "type": "string", + "nullable": true + }, + "ip_ends_with": { + "type": "string", + "nullable": true + }, + "ip_gt": { + "type": "string", + "nullable": true + }, + "ip_gte": { + "type": "string", + "nullable": true + }, + "ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_lt": { + "type": "string", + "nullable": true + }, + "ip_lte": { + "type": "string", + "nullable": true + }, + "ip_not": { + "type": "string", + "nullable": true + }, + "ip_not_contains": { + "type": "string", + "nullable": true + }, + "ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "ip_starts_with": { + "type": "string", + "nullable": true + }, + "is_valid": { + "type": "boolean", + "nullable": true + }, + "is_valid_not": { + "type": "boolean", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "port": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "port_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "username": { + "type": "string", + "nullable": true + }, + "username_contains": { + "type": "string", + "nullable": true + }, + "username_ends_with": { + "type": "string", + "nullable": true + }, + "username_gt": { + "type": "string", + "nullable": true + }, + "username_gte": { + "type": "string", + "nullable": true + }, + "username_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_lt": { + "type": "string", + "nullable": true + }, + "username_lte": { + "type": "string", + "nullable": true + }, + "username_not": { + "type": "string", + "nullable": true + }, + "username_not_contains": { + "type": "string", + "nullable": true + }, + "username_not_ends_with": { + "type": "string", + "nullable": true + }, + "username_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_not_starts_with": { + "type": "string", + "nullable": true + }, + "username_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "WitnessWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/WitnessWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/WitnessWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/WitnessWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "cpu_hz_per_core": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cpu_hz_per_core_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cpu_hz_per_core_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cpu_hz_per_core_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "cpu_hz_per_core_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cpu_hz_per_core_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cpu_hz_per_core_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cpu_hz_per_core_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "data_ip": { + "type": "string", + "nullable": true + }, + "data_ip_contains": { + "type": "string", + "nullable": true + }, + "data_ip_ends_with": { + "type": "string", + "nullable": true + }, + "data_ip_gt": { + "type": "string", + "nullable": true + }, + "data_ip_gte": { + "type": "string", + "nullable": true + }, + "data_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "data_ip_lt": { + "type": "string", + "nullable": true + }, + "data_ip_lte": { + "type": "string", + "nullable": true + }, + "data_ip_not": { + "type": "string", + "nullable": true + }, + "data_ip_not_contains": { + "type": "string", + "nullable": true + }, + "data_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "data_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "data_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "data_ip_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "management_ip": { + "type": "string", + "nullable": true + }, + "management_ip_contains": { + "type": "string", + "nullable": true + }, + "management_ip_ends_with": { + "type": "string", + "nullable": true + }, + "management_ip_gt": { + "type": "string", + "nullable": true + }, + "management_ip_gte": { + "type": "string", + "nullable": true + }, + "management_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_ip_lt": { + "type": "string", + "nullable": true + }, + "management_ip_lte": { + "type": "string", + "nullable": true + }, + "management_ip_not": { + "type": "string", + "nullable": true + }, + "management_ip_not_contains": { + "type": "string", + "nullable": true + }, + "management_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "management_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "management_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "management_ip_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "system_data_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "system_data_capacity_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "system_data_capacity_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "system_data_capacity_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "system_data_capacity_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "system_data_capacity_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "system_data_capacity_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "system_data_capacity_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "system_used_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "system_used_data_space_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "system_used_data_space_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "system_used_data_space_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "system_used_data_space_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "system_used_data_space_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "system_used_data_space_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "system_used_data_space_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_cpu_cores": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_cpu_cores_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_cores_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "total_cpu_hz": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_cpu_hz_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_hz_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "total_memory_bytes_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "AlertRuleThresholds": { + "properties": { + "value": { + "type": "integer", + "format": "int32" + }, + "severity": { + "$ref": "#/components/schemas/SeverityEnum" + } + }, + "required": [ + "value", + "severity" + ], + "type": "object" + }, + "GlobalAlertRuleUpdationParams": { + "properties": { + "data": { + "properties": { + "thresholds": { + "items": { + "$ref": "#/components/schemas/AlertRuleThresholds" + }, + "type": "array" + }, + "disabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/GlobalAlertRuleWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "ContentLanguage": { + "type": "string", + "enum": [ + "zh-CN", + "en-US", + "*" + ] + }, + "CustomizeAlertRuleUpdationParams": { + "properties": { + "data": { + "properties": { + "thresholds": { + "items": { + "$ref": "#/components/schemas/AlertRuleThresholds" + }, + "type": "array" + }, + "disabled": { + "type": "boolean" + }, + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "clusters" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/GlobalAlertRuleWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "NestedCluster": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedDisk": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedHost": { + "properties": { + "id": { + "type": "string" + }, + "management_ip": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "management_ip", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVm": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "Alert": { + "properties": { + "alert_rule": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedAlertRule" + } + ], + "nullable": true + }, + "cause": { + "type": "string" + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedCluster" + } + ], + "nullable": true + }, + "create_time": { + "type": "string", + "nullable": true + }, + "disk": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedDisk" + } + ], + "nullable": true + }, + "ended": { + "type": "boolean" + }, + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedHost" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "impact": { + "type": "string" + }, + "labels": { + "properties": {}, + "type": "object" + }, + "local_create_time": { + "type": "string" + }, + "local_end_time": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "local_start_time": { + "type": "string" + }, + "local_update_time": { + "type": "string" + }, + "message": { + "type": "string" + }, + "severity": { + "type": "string" + }, + "solution": { + "type": "string" + }, + "threshold": { + "type": "number", + "format": "double" + }, + "value": { + "type": "number", + "format": "double" + }, + "vms": { + "items": { + "$ref": "#/components/schemas/NestedVm" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "cause", + "ended", + "id", + "impact", + "labels", + "local_create_time", + "local_end_time", + "local_id", + "local_start_time", + "local_update_time", + "message", + "severity", + "solution", + "threshold", + "value" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_Alert_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/Alert" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "AlertWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/AlertWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/AlertWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/AlertWhereInput" + }, + "type": "array", + "nullable": true + }, + "alert_rule": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertRuleWhereInput" + } + ], + "nullable": true + }, + "cause": { + "type": "string", + "nullable": true + }, + "cause_contains": { + "type": "string", + "nullable": true + }, + "cause_ends_with": { + "type": "string", + "nullable": true + }, + "cause_gt": { + "type": "string", + "nullable": true + }, + "cause_gte": { + "type": "string", + "nullable": true + }, + "cause_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cause_lt": { + "type": "string", + "nullable": true + }, + "cause_lte": { + "type": "string", + "nullable": true + }, + "cause_not": { + "type": "string", + "nullable": true + }, + "cause_not_contains": { + "type": "string", + "nullable": true + }, + "cause_not_ends_with": { + "type": "string", + "nullable": true + }, + "cause_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "cause_not_starts_with": { + "type": "string", + "nullable": true + }, + "cause_starts_with": { + "type": "string", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "create_time": { + "type": "string", + "nullable": true + }, + "create_time_gt": { + "type": "string", + "nullable": true + }, + "create_time_gte": { + "type": "string", + "nullable": true + }, + "create_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "create_time_lt": { + "type": "string", + "nullable": true + }, + "create_time_lte": { + "type": "string", + "nullable": true + }, + "create_time_not": { + "type": "string", + "nullable": true + }, + "create_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "disk": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskWhereInput" + } + ], + "nullable": true + }, + "ended": { + "type": "boolean", + "nullable": true + }, + "ended_not": { + "type": "boolean", + "nullable": true + }, + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "impact": { + "type": "string", + "nullable": true + }, + "impact_contains": { + "type": "string", + "nullable": true + }, + "impact_ends_with": { + "type": "string", + "nullable": true + }, + "impact_gt": { + "type": "string", + "nullable": true + }, + "impact_gte": { + "type": "string", + "nullable": true + }, + "impact_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "impact_lt": { + "type": "string", + "nullable": true + }, + "impact_lte": { + "type": "string", + "nullable": true + }, + "impact_not": { + "type": "string", + "nullable": true + }, + "impact_not_contains": { + "type": "string", + "nullable": true + }, + "impact_not_ends_with": { + "type": "string", + "nullable": true + }, + "impact_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "impact_not_starts_with": { + "type": "string", + "nullable": true + }, + "impact_starts_with": { + "type": "string", + "nullable": true + }, + "local_create_time": { + "type": "string", + "nullable": true + }, + "local_create_time_gt": { + "type": "string", + "nullable": true + }, + "local_create_time_gte": { + "type": "string", + "nullable": true + }, + "local_create_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_create_time_lt": { + "type": "string", + "nullable": true + }, + "local_create_time_lte": { + "type": "string", + "nullable": true + }, + "local_create_time_not": { + "type": "string", + "nullable": true + }, + "local_create_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_end_time": { + "type": "string", + "nullable": true + }, + "local_end_time_contains": { + "type": "string", + "nullable": true + }, + "local_end_time_ends_with": { + "type": "string", + "nullable": true + }, + "local_end_time_gt": { + "type": "string", + "nullable": true + }, + "local_end_time_gte": { + "type": "string", + "nullable": true + }, + "local_end_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_end_time_lt": { + "type": "string", + "nullable": true + }, + "local_end_time_lte": { + "type": "string", + "nullable": true + }, + "local_end_time_not": { + "type": "string", + "nullable": true + }, + "local_end_time_not_contains": { + "type": "string", + "nullable": true + }, + "local_end_time_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_end_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_end_time_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_end_time_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "local_start_time": { + "type": "string", + "nullable": true + }, + "local_start_time_contains": { + "type": "string", + "nullable": true + }, + "local_start_time_ends_with": { + "type": "string", + "nullable": true + }, + "local_start_time_gt": { + "type": "string", + "nullable": true + }, + "local_start_time_gte": { + "type": "string", + "nullable": true + }, + "local_start_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_start_time_lt": { + "type": "string", + "nullable": true + }, + "local_start_time_lte": { + "type": "string", + "nullable": true + }, + "local_start_time_not": { + "type": "string", + "nullable": true + }, + "local_start_time_not_contains": { + "type": "string", + "nullable": true + }, + "local_start_time_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_start_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_start_time_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_start_time_starts_with": { + "type": "string", + "nullable": true + }, + "local_update_time": { + "type": "string", + "nullable": true + }, + "local_update_time_contains": { + "type": "string", + "nullable": true + }, + "local_update_time_ends_with": { + "type": "string", + "nullable": true + }, + "local_update_time_gt": { + "type": "string", + "nullable": true + }, + "local_update_time_gte": { + "type": "string", + "nullable": true + }, + "local_update_time_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_update_time_lt": { + "type": "string", + "nullable": true + }, + "local_update_time_lte": { + "type": "string", + "nullable": true + }, + "local_update_time_not": { + "type": "string", + "nullable": true + }, + "local_update_time_not_contains": { + "type": "string", + "nullable": true + }, + "local_update_time_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_update_time_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_update_time_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_update_time_starts_with": { + "type": "string", + "nullable": true + }, + "message": { + "type": "string", + "nullable": true + }, + "message_contains": { + "type": "string", + "nullable": true + }, + "message_ends_with": { + "type": "string", + "nullable": true + }, + "message_gt": { + "type": "string", + "nullable": true + }, + "message_gte": { + "type": "string", + "nullable": true + }, + "message_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "message_lt": { + "type": "string", + "nullable": true + }, + "message_lte": { + "type": "string", + "nullable": true + }, + "message_not": { + "type": "string", + "nullable": true + }, + "message_not_contains": { + "type": "string", + "nullable": true + }, + "message_not_ends_with": { + "type": "string", + "nullable": true + }, + "message_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "message_not_starts_with": { + "type": "string", + "nullable": true + }, + "message_starts_with": { + "type": "string", + "nullable": true + }, + "severity": { + "type": "string", + "nullable": true + }, + "severity_contains": { + "type": "string", + "nullable": true + }, + "severity_ends_with": { + "type": "string", + "nullable": true + }, + "severity_gt": { + "type": "string", + "nullable": true + }, + "severity_gte": { + "type": "string", + "nullable": true + }, + "severity_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "severity_lt": { + "type": "string", + "nullable": true + }, + "severity_lte": { + "type": "string", + "nullable": true + }, + "severity_not": { + "type": "string", + "nullable": true + }, + "severity_not_contains": { + "type": "string", + "nullable": true + }, + "severity_not_ends_with": { + "type": "string", + "nullable": true + }, + "severity_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "severity_not_starts_with": { + "type": "string", + "nullable": true + }, + "severity_starts_with": { + "type": "string", + "nullable": true + }, + "solution": { + "type": "string", + "nullable": true + }, + "solution_contains": { + "type": "string", + "nullable": true + }, + "solution_ends_with": { + "type": "string", + "nullable": true + }, + "solution_gt": { + "type": "string", + "nullable": true + }, + "solution_gte": { + "type": "string", + "nullable": true + }, + "solution_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "solution_lt": { + "type": "string", + "nullable": true + }, + "solution_lte": { + "type": "string", + "nullable": true + }, + "solution_not": { + "type": "string", + "nullable": true + }, + "solution_not_contains": { + "type": "string", + "nullable": true + }, + "solution_not_ends_with": { + "type": "string", + "nullable": true + }, + "solution_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "solution_not_starts_with": { + "type": "string", + "nullable": true + }, + "solution_starts_with": { + "type": "string", + "nullable": true + }, + "threshold": { + "type": "number", + "format": "double", + "nullable": true + }, + "threshold_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "threshold_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "threshold_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "threshold_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "threshold_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "threshold_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "threshold_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "value": { + "type": "number", + "format": "double", + "nullable": true + }, + "value_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "value_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "value_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "value_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "value_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "value_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "value_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "vms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ResolveAlertParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/AlertWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "UserAuditLogStatus": { + "enum": [ + "FAILED", + "SUCCESSED" + ], + "type": "string" + }, + "NestedUser": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "UserAuditLog": { + "properties": { + "action": { + "type": "string" + }, + "auth_type": { + "type": "string", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedCluster" + } + ], + "nullable": true + }, + "createdAt": { + "type": "string" + }, + "finished_at": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "ip_address": { + "type": "string" + }, + "message": { + "type": "string" + }, + "resource_id": { + "type": "string", + "nullable": true + }, + "resource_type": { + "type": "string", + "nullable": true + }, + "started_at": { + "type": "string", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/UserAuditLogStatus" + } + ], + "nullable": true + }, + "user": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedUser" + } + ], + "nullable": true + }, + "username": { + "type": "string", + "nullable": true + } + }, + "required": [ + "action", + "createdAt", + "id", + "ip_address", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_UserAuditLog_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/UserAuditLog" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "UserAuditLogMessage": { + "properties": { + "en-US": { + "type": "string" + }, + "zh-CN": { + "type": "string" + } + }, + "required": [ + "en-US", + "zh-CN" + ], + "type": "object" + }, + "UserAuditLogCreationParams": { + "properties": { + "started_at": { + "type": "string" + }, + "finished_at": { + "type": "string" + }, + "cluster_id": { + "type": "string" + }, + "resource_id": { + "type": "string" + }, + "ip_address": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/UserAuditLogStatus" + }, + "user_id": { + "type": "string" + }, + "message": { + "$ref": "#/components/schemas/UserAuditLogMessage" + }, + "resource_type": { + "type": "string", + "minLength": 1 + }, + "action": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "status", + "user_id", + "message", + "resource_type", + "action" + ], + "type": "object" + }, + "NestedBackupPlanExecution": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedBackupRestorePoint": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedBackupService": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedBackupStoreRepository": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "WeekdayTypeEnum": { + "enum": [ + "FRI", + "MON", + "SAT", + "SUN", + "THU", + "TUE", + "WED" + ], + "type": "string" + }, + "NestedBackupPlanTimePoint": { + "properties": { + "date": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "date_position": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "hour": { + "type": "integer", + "format": "int32" + }, + "minute": { + "type": "integer", + "format": "int32" + }, + "weekday": { + "allOf": [ + { + "$ref": "#/components/schemas/WeekdayTypeEnum" + } + ], + "nullable": true + } + }, + "required": [ + "hour", + "minute" + ], + "type": "object", + "additionalProperties": false + }, + "BackupPlan": { + "properties": { + "backup_delay_option": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanDelayOption" + } + ], + "nullable": true + }, + "backup_plan_executions": { + "items": { + "$ref": "#/components/schemas/NestedBackupPlanExecution" + }, + "type": "array", + "nullable": true + }, + "backup_restore_point_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "backup_restore_points": { + "items": { + "$ref": "#/components/schemas/NestedBackupRestorePoint" + }, + "type": "array", + "nullable": true + }, + "backup_service": { + "$ref": "#/components/schemas/NestedBackupService" + }, + "backup_store_repository": { + "$ref": "#/components/schemas/NestedBackupStoreRepository" + }, + "backup_total_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "compression": { + "type": "boolean", + "nullable": true + }, + "compression_ratio": { + "type": "number", + "format": "double", + "nullable": true + }, + "createdAt": { + "type": "string" + }, + "delete_strategy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanDeleteStrategy" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "enable_window": { + "type": "boolean" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "full_interval": { + "type": "integer", + "format": "int32" + }, + "full_period": { + "$ref": "#/components/schemas/BackupPlanPeriod" + }, + "full_time_point": { + "$ref": "#/components/schemas/NestedBackupPlanTimePoint" + }, + "id": { + "type": "string" + }, + "incremental_interval": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "incremental_period": { + "$ref": "#/components/schemas/BackupPlanPeriod" + }, + "incremental_time_points": { + "items": { + "$ref": "#/components/schemas/NestedBackupPlanTimePoint" + }, + "type": "array" + }, + "incremental_weekdays": { + "items": { + "$ref": "#/components/schemas/WeekdayTypeEnum" + }, + "type": "array", + "nullable": true + }, + "keep_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanKeepPolicy" + } + ], + "nullable": true + }, + "keep_policy_value": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_execute_status": { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + }, + "last_execute_status_message": { + "type": "string", + "nullable": true + }, + "last_execute_success_job_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_execute_total_job_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_executed_at": { + "type": "string", + "nullable": true + }, + "last_manual_execute_status": { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + }, + "last_manual_execute_status_message": { + "type": "string", + "nullable": true + }, + "last_manual_execute_success_job_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_manual_execute_total_job_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last_manual_executed_at": { + "type": "string", + "nullable": true + }, + "logical_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "name": { + "type": "string" + }, + "next_execute_time": { + "type": "string", + "nullable": true + }, + "phase": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanPhase" + } + ], + "nullable": true + }, + "physical_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "snapshot_consistent_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistentType" + } + ], + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/BackupPlanStatus" + }, + "valid_size_of_backup_object": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size_of_restore_point": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "vms": { + "items": { + "$ref": "#/components/schemas/NestedVm" + }, + "type": "array", + "nullable": true + }, + "window_end": { + "type": "string", + "nullable": true + }, + "window_start": { + "type": "string", + "nullable": true + } + }, + "required": [ + "backup_service", + "backup_store_repository", + "createdAt", + "enable_window", + "full_interval", + "full_period", + "full_time_point", + "id", + "incremental_period", + "incremental_time_points", + "last_execute_status", + "last_manual_execute_status", + "name", + "status" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_BackupPlan_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/BackupPlan" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "BackupPlanTimePoint": { + "properties": { + "weekday": { + "allOf": [ + { + "$ref": "#/components/schemas/WeekdayTypeEnum" + } + ], + "nullable": true + }, + "minute": { + "type": "integer", + "format": "int32" + }, + "hour": { + "type": "integer", + "format": "int32" + }, + "date_position": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "date": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "required": [ + "minute", + "hour" + ], + "type": "object" + }, + "BackupPlanCreationParams": { + "properties": { + "keep_policy_value": { + "type": "integer", + "format": "int32" + }, + "keep_policy": { + "$ref": "#/components/schemas/BackupPlanKeepPolicy" + }, + "backup_delay_option": { + "$ref": "#/components/schemas/BackupPlanDelayOption" + }, + "window_end": { + "type": "string" + }, + "window_start": { + "type": "string" + }, + "enable_window": { + "type": "boolean" + }, + "full_time_point": { + "$ref": "#/components/schemas/BackupPlanTimePoint" + }, + "full_period": { + "$ref": "#/components/schemas/BackupPlanPeriod" + }, + "full_interval": { + "type": "integer", + "format": "int32" + }, + "incremental_weekdays": { + "items": { + "$ref": "#/components/schemas/WeekdayTypeEnum" + }, + "type": "array" + }, + "incremental_time_points": { + "items": { + "$ref": "#/components/schemas/BackupPlanTimePoint" + }, + "type": "array" + }, + "incremental_interval": { + "type": "integer", + "format": "int32" + }, + "incremental_period": { + "$ref": "#/components/schemas/BackupPlanPeriod" + }, + "snapshot_consistent_type": { + "$ref": "#/components/schemas/ConsistentType" + }, + "compression": { + "type": "boolean" + }, + "vms": { + "$ref": "#/components/schemas/VmWhereInput" + }, + "description": { + "type": "string" + }, + "backup_store_repository_id": { + "type": "string" + }, + "backup_service_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "keep_policy_value", + "keep_policy", + "enable_window", + "full_time_point", + "full_period", + "full_interval", + "incremental_interval", + "incremental_period", + "snapshot_consistent_type", + "compression", + "vms", + "backup_store_repository_id", + "backup_service_id", + "name" + ], + "type": "object" + }, + "BackupPlanUpdationParams": { + "properties": { + "data": { + "properties": { + "disconnect_strategy": { + "$ref": "#/components/schemas/BackupPlanDeleteStrategy" + }, + "keep_policy_value": { + "type": "integer", + "format": "int32" + }, + "keep_policy": { + "$ref": "#/components/schemas/BackupPlanKeepPolicy" + }, + "backup_delay_option": { + "$ref": "#/components/schemas/BackupPlanDelayOption" + }, + "window_end": { + "type": "string" + }, + "window_start": { + "type": "string" + }, + "enable_window": { + "type": "boolean" + }, + "full_time_point": { + "$ref": "#/components/schemas/BackupPlanTimePoint" + }, + "full_period": { + "$ref": "#/components/schemas/BackupPlanPeriod" + }, + "full_interval": { + "type": "integer", + "format": "int32" + }, + "incremental_weekdays": { + "items": { + "$ref": "#/components/schemas/WeekdayTypeEnum" + }, + "type": "array" + }, + "incremental_time_points": { + "items": { + "$ref": "#/components/schemas/BackupPlanTimePoint" + }, + "type": "array" + }, + "incremental_interval": { + "type": "integer", + "format": "int32" + }, + "incremental_period": { + "$ref": "#/components/schemas/BackupPlanPeriod" + }, + "snapshot_consistent_type": { + "$ref": "#/components/schemas/ConsistentType" + }, + "compression": { + "type": "boolean" + }, + "vms": { + "$ref": "#/components/schemas/VmWhereInput" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteBackupPlan": { + "properties": { + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteBackupPlan_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteBackupPlan" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "BackupPlanDeletionParams": { + "properties": { + "data": { + "properties": { + "delete_strategy": { + "$ref": "#/components/schemas/BackupPlanDeleteStrategy" + } + }, + "required": [ + "delete_strategy" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "BackupPlanSuspendParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "BackupPlanResumeParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedBackupPlan": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "BackupPlanExecution": { + "properties": { + "backup_plan": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedBackupPlan" + } + ], + "nullable": true + }, + "deletable_flag_marked": { + "type": "boolean", + "nullable": true + }, + "duration": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "executed_at": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "method": { + "$ref": "#/components/schemas/BackupExecutionMethod" + }, + "state": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionState" + } + ], + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/BackupPlanExecutionStatus" + }, + "success_job_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_job_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/BackupExecutionType" + } + }, + "required": [ + "id", + "local_created_at", + "local_id", + "method", + "status", + "type" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_BackupPlanExecution_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/BackupPlanExecution" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "BackupPlanExecuteParams": { + "properties": { + "data": { + "properties": { + "type": { + "$ref": "#/components/schemas/BackupExecutionType" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "NestedBackupRestoreExecutionNetworkMapping": { + "properties": { + "dst_vlan_id": { + "type": "string" + }, + "src_vlan_id": { + "type": "string" + } + }, + "required": [ + "dst_vlan_id", + "src_vlan_id" + ], + "type": "object", + "additionalProperties": false + }, + "BackupRestoreExecution": { + "properties": { + "backup_restore_point": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedBackupRestorePoint" + } + ], + "nullable": true + }, + "duration": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "executed_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "mode": { + "$ref": "#/components/schemas/BackupRestoreExecutionMode" + }, + "name": { + "type": "string" + }, + "read_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "rebuild_name": { + "type": "string", + "nullable": true + }, + "rebuild_network_mapping": { + "items": { + "$ref": "#/components/schemas/NestedBackupRestoreExecutionNetworkMapping" + }, + "type": "array", + "nullable": true + }, + "rebuild_target_cluster": { + "type": "string", + "nullable": true + }, + "retry_times": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "startup_after_restore": { + "type": "boolean" + }, + "status": { + "$ref": "#/components/schemas/BackupExecutionStatus" + }, + "total_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + "required": [ + "executed_at", + "id", + "mode", + "name", + "startup_after_restore", + "status" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_BackupRestoreExecution_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/BackupRestoreExecution" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "BackupRestoreExecutionNetworkMapping": { + "properties": { + "src_vlan_id": { + "type": "string" + }, + "dst_vlan_id": { + "type": "string" + }, + "__typename": { + "type": "string", + "enum": [ + "BackupRestoreExecutionNetworkMapping" + ], + "nullable": false + } + }, + "required": [ + "src_vlan_id", + "dst_vlan_id" + ], + "type": "object" + }, + "BackupRestorePointRebuildParams": { + "properties": { + "data": { + "properties": { + "rebuild_network_mapping": { + "items": { + "$ref": "#/components/schemas/BackupRestoreExecutionNetworkMapping" + }, + "type": "array" + }, + "rebuild_target_host_id": { + "type": "string" + }, + "rebuild_target_cluster_id": { + "type": "string" + }, + "rebuild_name": { + "type": "string" + }, + "startup_after_restore": { + "type": "boolean" + } + }, + "required": [ + "rebuild_network_mapping", + "rebuild_target_host_id", + "rebuild_target_cluster_id", + "rebuild_name", + "startup_after_restore" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "BackupRestorePointRestoreInPlaceParams": { + "properties": { + "data": { + "properties": { + "startup_after_restore": { + "type": "boolean" + } + }, + "required": [ + "startup_after_restore" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteBackupRestorePoint": { + "properties": { + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteBackupRestorePoint-Array_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "items": { + "$ref": "#/components/schemas/DeleteBackupRestorePoint" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "BackupRestorePointDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "VmHaPriority": { + "enum": [ + "LEVEL_1_LOW", + "LEVEL_2_MEDIUM", + "LEVEL_3_HIGH" + ], + "type": "string" + }, + "VmDiskMetaData": { + "properties": { + "vm_volume_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "vm_volume_sharing": { + "type": "boolean", + "nullable": true + }, + "vm_volume_path": { + "type": "string", + "nullable": true + }, + "vm_volume_name": { + "type": "string", + "nullable": true + }, + "vm_volume_mounting": { + "type": "boolean", + "nullable": true + }, + "vm_volume_lun_zbs_volume_id": { + "type": "string", + "nullable": true + }, + "vm_volume_elf_storage_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + } + ], + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskType" + } + ], + "nullable": true + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_bandwidth": { + "type": "number", + "format": "double", + "nullable": true + }, + "disabled": { + "type": "boolean", + "nullable": true + }, + "bus": { + "allOf": [ + { + "$ref": "#/components/schemas/Bus" + } + ], + "nullable": true + }, + "boot": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "type": "object" + }, + "VmNicMetaData": { + "properties": { + "vlan_name": { + "type": "string", + "nullable": true + }, + "vlan_mode_type": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanModeType" + } + ], + "nullable": true + }, + "vlan_local_id": { + "type": "string", + "nullable": true + }, + "model": { + "type": "string", + "nullable": true + }, + "mirror": { + "type": "boolean", + "nullable": true + }, + "mac_address": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "ingress_rate_limit_max_rate_in_bitps": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_enabled": { + "type": "boolean", + "nullable": true + }, + "ingress_rate_limit_burst_in_bit": { + "type": "number", + "format": "double", + "nullable": true + }, + "enabled": { + "type": "boolean", + "nullable": true + }, + "egress_rate_limit_max_rate_in_bitps": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_enabled": { + "type": "boolean", + "nullable": true + }, + "egress_rate_limit_burst_in_bit": { + "type": "number", + "format": "double", + "nullable": true + } + }, + "type": "object" + }, + "VmMetaData": { + "properties": { + "win_opt": { + "type": "boolean", + "nullable": true + }, + "vm_tools_status": { + "allOf": [ + { + "$ref": "#/components/schemas/VmToolsStatus" + } + ], + "nullable": true + }, + "vm_nics": { + "items": { + "$ref": "#/components/schemas/VmNicMetaData" + }, + "type": "array", + "nullable": true + }, + "vm_disks": { + "items": { + "$ref": "#/components/schemas/VmDiskMetaData" + }, + "type": "array", + "nullable": true + }, + "video_type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVideoType" + } + ], + "nullable": true + }, + "vcpu": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "sync_vm_time_on_resume": { + "type": "boolean", + "nullable": true + }, + "protected": { + "type": "boolean", + "nullable": true + }, + "nested_virtualization": { + "type": "boolean", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "memory": { + "type": "number", + "format": "double", + "nullable": true + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_bandwidth": { + "type": "number", + "format": "double", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "io_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + }, + "internal": { + "type": "boolean", + "nullable": true + }, + "host_local_id": { + "type": "string", + "nullable": true + }, + "ha_priority": { + "allOf": [ + { + "$ref": "#/components/schemas/VmHaPriority" + } + ], + "nullable": true + }, + "ha": { + "type": "boolean", + "nullable": true + }, + "guest_os_type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmGuestsOperationSystem" + } + ], + "nullable": true + }, + "firmware": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFirmware" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "cpu_sockets": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cpu_model": { + "type": "string", + "nullable": true + }, + "cpu_exclusive_expected_enabled": { + "type": "boolean", + "nullable": true + }, + "cpu_cores": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "cluster_vhost_enabled": { + "type": "boolean", + "nullable": true + }, + "cluster_version": { + "type": "string", + "nullable": true + }, + "cluster_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterType" + } + ], + "nullable": true + }, + "cluster_local_id": { + "type": "string", + "nullable": true + }, + "cluster_architecture": { + "allOf": [ + { + "$ref": "#/components/schemas/Architecture" + } + ], + "nullable": true + }, + "clock_offset": { + "allOf": [ + { + "$ref": "#/components/schemas/VmClockOffset" + } + ], + "nullable": true + }, + "boot_with_host": { + "type": "boolean", + "nullable": true + } + }, + "type": "object" + }, + "BackupRestorePointWhereUniqueInput": { + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetBackupRestorePointMetadataRequestBody": { + "properties": { + "where": { + "$ref": "#/components/schemas/BackupRestorePointWhereUniqueInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedCapacity": { + "properties": { + "column": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "row": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedClusterTopo": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "Direction": { + "enum": [ + "HORIZONTAL", + "VERTICAL" + ], + "type": "string" + }, + "BrickPhaseEnum": { + "enum": [ + "BACKWARD", + "FORWARD" + ], + "type": "string" + }, + "NestedBrickDiskLayout": { + "properties": { + "column": { + "type": "integer", + "format": "int32" + }, + "direction": { + "$ref": "#/components/schemas/Direction" + }, + "phase": { + "$ref": "#/components/schemas/BrickPhaseEnum" + }, + "row": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "column", + "direction", + "phase", + "row" + ], + "type": "object", + "additionalProperties": false + }, + "NestedNodeTopo": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "PowerPosition": { + "enum": [ + "LEFT", + "MIDDLE", + "RIGHT" + ], + "type": "string" + }, + "NestedBrickPower": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedRackTopo": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedTagPosition": { + "properties": { + "column": { + "type": "integer", + "format": "int32" + }, + "row": { + "type": "integer", + "format": "int32" + }, + "tag": { + "type": "string" + } + }, + "required": [ + "column", + "row", + "tag" + ], + "type": "object", + "additionalProperties": false + }, + "BrickTopo": { + "properties": { + "capacity": { + "$ref": "#/components/schemas/NestedCapacity" + }, + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "cluster_topo": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedClusterTopo" + } + ], + "nullable": true + }, + "disk_layout": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedBrickDiskLayout" + } + ], + "nullable": true + }, + "height": { + "type": "integer", + "format": "int32" + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "model": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string" + }, + "node_topoes": { + "items": { + "$ref": "#/components/schemas/NestedNodeTopo" + }, + "type": "array", + "nullable": true + }, + "position": { + "type": "integer", + "format": "int32" + }, + "power_layout": { + "allOf": [ + { + "$ref": "#/components/schemas/Direction" + } + ], + "nullable": true + }, + "power_position": { + "allOf": [ + { + "$ref": "#/components/schemas/PowerPosition" + } + ], + "nullable": true + }, + "powers": { + "items": { + "$ref": "#/components/schemas/NestedBrickPower" + }, + "type": "array", + "nullable": true + }, + "rack_topo": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedRackTopo" + } + ], + "nullable": true + }, + "tag_position_in_brick": { + "items": { + "$ref": "#/components/schemas/NestedTagPosition" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "capacity", + "cluster", + "height", + "id", + "local_id", + "name", + "position" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_BrickTopo_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/BrickTopo" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NodeTopoWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/NodeTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/NodeTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/NodeTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "brick_topo": { + "allOf": [ + { + "$ref": "#/components/schemas/BrickTopoWhereInput" + } + ], + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "cluster_topo": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterTopoWhereInput" + } + ], + "nullable": true + }, + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "BrickTopoWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/BrickTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/BrickTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/BrickTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "cluster_topo": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterTopoWhereInput" + } + ], + "nullable": true + }, + "height": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "height_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "height_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "height_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "height_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "height_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "height_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "height_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "model": { + "type": "string", + "nullable": true + }, + "model_contains": { + "type": "string", + "nullable": true + }, + "model_ends_with": { + "type": "string", + "nullable": true + }, + "model_gt": { + "type": "string", + "nullable": true + }, + "model_gte": { + "type": "string", + "nullable": true + }, + "model_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "model_lt": { + "type": "string", + "nullable": true + }, + "model_lte": { + "type": "string", + "nullable": true + }, + "model_not": { + "type": "string", + "nullable": true + }, + "model_not_contains": { + "type": "string", + "nullable": true + }, + "model_not_ends_with": { + "type": "string", + "nullable": true + }, + "model_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "model_not_starts_with": { + "type": "string", + "nullable": true + }, + "model_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "node_topoes_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NodeTopoWhereInput" + } + ], + "nullable": true + }, + "node_topoes_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NodeTopoWhereInput" + } + ], + "nullable": true + }, + "node_topoes_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NodeTopoWhereInput" + } + ], + "nullable": true + }, + "position": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "position_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "position_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "position_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "position_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "position_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "position_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "position_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "power_layout": { + "allOf": [ + { + "$ref": "#/components/schemas/Direction" + } + ], + "nullable": true + }, + "power_layout_in": { + "items": { + "$ref": "#/components/schemas/Direction" + }, + "type": "array", + "nullable": true + }, + "power_layout_not": { + "allOf": [ + { + "$ref": "#/components/schemas/Direction" + } + ], + "nullable": true + }, + "power_layout_not_in": { + "items": { + "$ref": "#/components/schemas/Direction" + }, + "type": "array", + "nullable": true + }, + "power_position": { + "allOf": [ + { + "$ref": "#/components/schemas/PowerPosition" + } + ], + "nullable": true + }, + "power_position_in": { + "items": { + "$ref": "#/components/schemas/PowerPosition" + }, + "type": "array", + "nullable": true + }, + "power_position_not": { + "allOf": [ + { + "$ref": "#/components/schemas/PowerPosition" + } + ], + "nullable": true + }, + "power_position_not_in": { + "items": { + "$ref": "#/components/schemas/PowerPosition" + }, + "type": "array", + "nullable": true + }, + "rack_topo": { + "allOf": [ + { + "$ref": "#/components/schemas/RackTopoWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ClusterTopoWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ClusterTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ClusterTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ClusterTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "brick_topoes_every": { + "allOf": [ + { + "$ref": "#/components/schemas/BrickTopoWhereInput" + } + ], + "nullable": true + }, + "brick_topoes_none": { + "allOf": [ + { + "$ref": "#/components/schemas/BrickTopoWhereInput" + } + ], + "nullable": true + }, + "brick_topoes_some": { + "allOf": [ + { + "$ref": "#/components/schemas/BrickTopoWhereInput" + } + ], + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "node_topoes_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NodeTopoWhereInput" + } + ], + "nullable": true + }, + "node_topoes_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NodeTopoWhereInput" + } + ], + "nullable": true + }, + "node_topoes_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NodeTopoWhereInput" + } + ], + "nullable": true + }, + "zone_topoes_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneTopoWhereInput" + } + ], + "nullable": true + }, + "zone_topoes_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneTopoWhereInput" + } + ], + "nullable": true + }, + "zone_topoes_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneTopoWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ZoneTopoWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ZoneTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ZoneTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ZoneTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "cluster_topo": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterTopoWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "rack_topoes_every": { + "allOf": [ + { + "$ref": "#/components/schemas/RackTopoWhereInput" + } + ], + "nullable": true + }, + "rack_topoes_none": { + "allOf": [ + { + "$ref": "#/components/schemas/RackTopoWhereInput" + } + ], + "nullable": true + }, + "rack_topoes_some": { + "allOf": [ + { + "$ref": "#/components/schemas/RackTopoWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "RackTopoWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/RackTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/RackTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/RackTopoWhereInput" + }, + "type": "array", + "nullable": true + }, + "brick_topoes_every": { + "allOf": [ + { + "$ref": "#/components/schemas/BrickTopoWhereInput" + } + ], + "nullable": true + }, + "brick_topoes_none": { + "allOf": [ + { + "$ref": "#/components/schemas/BrickTopoWhereInput" + } + ], + "nullable": true + }, + "brick_topoes_some": { + "allOf": [ + { + "$ref": "#/components/schemas/BrickTopoWhereInput" + } + ], + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "height": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "height_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "height_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "height_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "height_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "height_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "height_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "height_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "zone_topo": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneTopoWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "BrickTopoCreationParams": { + "properties": { + "tag_position_in_brick": { + "items": { + "$ref": "#/components/schemas/NestedTagPosition" + }, + "type": "array", + "nullable": true + }, + "node_topoes": { + "$ref": "#/components/schemas/NodeTopoWhereInput" + }, + "rack_topo_id": { + "type": "string" + }, + "capacity": { + "$ref": "#/components/schemas/NestedCapacity" + }, + "cluster_id": { + "type": "string" + }, + "height": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + }, + "position": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "cluster_id", + "height", + "name", + "position" + ], + "type": "object" + }, + "BrickTopoUpdationParams": { + "properties": { + "data": { + "properties": { + "tag_position_in_brick": { + "items": { + "$ref": "#/components/schemas/NestedTagPosition" + }, + "type": "array", + "nullable": true + }, + "node_topoes": { + "$ref": "#/components/schemas/NodeTopoWhereInput" + }, + "capacity": { + "$ref": "#/components/schemas/NestedCapacity" + }, + "height": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + }, + "position": { + "type": "integer", + "format": "int32" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/BrickTopoWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "BrickTopoMoveParams": { + "properties": { + "data": { + "properties": { + "rack_topo_id": { + "type": "string" + }, + "position": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "position" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/BrickTopoWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteBrickTopo": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteBrickTopo_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteBrickTopo" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "BrickTopoDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/BrickTopoWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "UploadResourceType": { + "enum": [ + "CLOUDTOWER_APPLICATION_PACKAGE", + "CLOUDTOWER_K8S_APP_PACKAGE", + "CLUSTER_IMAGE", + "CLUSTER_IMAGE_META", + "CONTENT_LIBRARY_IMAGE", + "ELF_IMAGE", + "EVEROUTE_PACKAGE", + "HOST_PLUGIN_PACKAGE", + "MONITOR_IMAGE", + "OVF", + "SVT_IMAGE", + "VM_VOLUME_QCOW2", + "VM_VOLUME_RAW" + ], + "type": "string" + }, + "UploadTaskStatus": { + "enum": [ + "FAILED", + "INITIALIZING", + "PAUSED", + "SUCCESSED", + "UPLOADING" + ], + "type": "string" + }, + "UploadTask": { + "properties": { + "args": { + "properties": {}, + "type": "object" + }, + "chunk_size": { + "type": "integer", + "format": "int64" + }, + "current_chunk": { + "type": "integer", + "format": "int32" + }, + "finished_at": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "resource_type": { + "$ref": "#/components/schemas/UploadResourceType" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "started_at": { + "type": "string", + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/UploadTaskStatus" + }, + "updatedAt": { + "type": "string" + } + }, + "required": [ + "args", + "chunk_size", + "current_chunk", + "id", + "resource_type", + "size", + "status", + "updatedAt" + ], + "type": "object", + "additionalProperties": false + }, + "ByteUnit": { + "type": "string", + "enum": [ + "B", + "KB", + "MB", + "GB", + "TB", + "PB" + ] + }, + "DeleteCloudTowerApplicationPackage": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "DeleteCloudTowerApplicationPackageParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/CloudTowerApplicationPackageWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedCloudTowerApplicationPackage": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "CloudTowerApplication": { + "properties": { + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "instanceStatuses": { + "properties": {}, + "type": "object" + }, + "name": { + "type": "string" + }, + "package": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedCloudTowerApplicationPackage" + } + ], + "nullable": true + }, + "placementSituation": { + "type": "string", + "nullable": true + }, + "placementVerb": { + "type": "string", + "nullable": true + }, + "resourceVersion": { + "type": "integer", + "format": "int32" + }, + "state": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationState" + } + ], + "nullable": true + }, + "targetPackage": { + "type": "string" + }, + "user": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedUser" + } + ], + "nullable": true + }, + "vmSpec": { + "properties": {}, + "type": "object" + } + }, + "required": [ + "id", + "instanceStatuses", + "name", + "resourceVersion", + "targetPackage", + "vmSpec" + ], + "type": "object", + "additionalProperties": false + }, + "ApplicationVmSpecEnv": { + "properties": { + "value": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "ApplicationVmSpecNic": { + "properties": { + "vlanId": { + "type": "string" + }, + "mask": { + "type": "string" + }, + "ip": { + "type": "string" + }, + "gateway": { + "type": "string" + }, + "dhcp": { + "type": "boolean" + } + }, + "type": "object" + }, + "ApplicationVmSpecNetwork": { + "properties": { + "nics": { + "items": { + "$ref": "#/components/schemas/ApplicationVmSpecNic" + }, + "type": "array" + }, + "dns": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ApplicationVmSpecStatus": { + "properties": { + "vmIps": { + "items": { + "type": "string" + }, + "type": "array" + }, + "message": { + "$ref": "#/components/schemas/VmStatus" + } + }, + "type": "object" + }, + "ApplicationVmSpecStorage": { + "properties": { + "size_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "size": { + "type": "integer", + "format": "int64" + } + }, + "type": "object" + }, + "ApplicationVmSpec": { + "properties": { + "vmUsage": { + "$ref": "#/components/schemas/VmUsage" + }, + "storages": { + "items": { + "$ref": "#/components/schemas/ApplicationVmSpecStorage" + }, + "type": "array" + }, + "status": { + "$ref": "#/components/schemas/ApplicationVmSpecStatus" + }, + "publicKeys": { + "items": { + "type": "string" + }, + "type": "array" + }, + "network": { + "$ref": "#/components/schemas/ApplicationVmSpecNetwork" + }, + "name": { + "type": "string" + }, + "memory_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "internal": { + "type": "boolean" + }, + "image": { + "type": "string" + }, + "host": { + "type": "string" + }, + "env": { + "items": { + "$ref": "#/components/schemas/ApplicationVmSpecEnv" + }, + "type": "array" + }, + "cpu": { + "type": "integer", + "format": "int32" + }, + "cluster": { + "type": "string" + }, + "cloudInitUserData": { + "type": "string" + } + }, + "type": "object" + }, + "ApplicationVmSpecPlacementSituation": { + "enum": [ + "DIFFERENT", + "SAME" + ], + "type": "string" + }, + "ApplicationVmSpecPlacementVerb": { + "enum": [ + "MUST", + "PREFER" + ], + "type": "string" + }, + "ApplicationVmSpecPlacement": { + "properties": { + "verb": { + "$ref": "#/components/schemas/ApplicationVmSpecPlacementVerb" + }, + "situation": { + "$ref": "#/components/schemas/ApplicationVmSpecPlacementSituation" + } + }, + "required": [ + "verb", + "situation" + ], + "type": "object" + }, + "ApplicationVmSpecAffinityPolicy": { + "enum": [ + "MUST", + "PREFER" + ], + "type": "string" + }, + "ApplicationVmSpecDefinition": { + "properties": { + "vmAffinity": { + "$ref": "#/components/schemas/ApplicationVmSpecAffinityPolicy" + }, + "placement": { + "$ref": "#/components/schemas/ApplicationVmSpecPlacement" + }, + "name": { + "type": "string" + }, + "group": { + "type": "string" + }, + "template": { + "$ref": "#/components/schemas/ApplicationVmSpec" + }, + "instances": { + "items": { + "$ref": "#/components/schemas/ApplicationVmSpec" + }, + "type": "array" + } + }, + "type": "object" + }, + "DeployCloudTowerApplicationParams": { + "properties": { + "name": { + "type": "string" + }, + "targetPackage": { + "type": "string" + }, + "vmSpec": { + "$ref": "#/components/schemas/ApplicationVmSpecDefinition" + } + }, + "required": [ + "name", + "targetPackage", + "vmSpec" + ], + "type": "object" + }, + "CloudTowerApplicationWhereUniqueInput": { + "properties": { + "id": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "UpgradeCloudTowerApplicationParams": { + "properties": { + "data": { + "properties": { + "targetPackage": { + "type": "string" + } + }, + "required": [ + "targetPackage" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/CloudTowerApplicationWhereUniqueInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "UpdateCloudTowerApplicationVmSpecParams": { + "properties": { + "data": { + "properties": { + "vmSpec": { + "$ref": "#/components/schemas/ApplicationVmSpecDefinition" + } + }, + "required": [ + "vmSpec" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/CloudTowerApplicationWhereUniqueInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "UninstallCloudTowerApplicationParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/CloudTowerApplicationWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedApplication": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedConsistencyGroup": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedDatacenter": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedEverouteCluster": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedLabel": { + "properties": { + "id": { + "type": "string" + }, + "key": { + "type": "string" + }, + "value": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "key" + ], + "type": "object", + "additionalProperties": false + }, + "MetroCheckStatusEnum": { + "enum": [ + "CRITICAL", + "HEALTHY", + "INFO", + "NOTICE" + ], + "type": "string" + }, + "NestedMetroCheckItem": { + "properties": { + "critical": { + "items": { + "type": "string" + }, + "type": "array" + }, + "info": { + "items": { + "type": "string" + }, + "type": "array" + }, + "key": { + "type": "string" + }, + "labels": { + "properties": {}, + "type": "object" + }, + "notice": { + "items": { + "type": "string" + }, + "type": "array" + }, + "status": { + "$ref": "#/components/schemas/MetroCheckStatusEnum" + } + }, + "required": [ + "critical", + "info", + "key", + "labels", + "notice", + "status" + ], + "type": "object", + "additionalProperties": false + }, + "NestedMetroCheckResult": { + "properties": { + "critical": { + "type": "integer", + "format": "int32" + }, + "info": { + "type": "integer", + "format": "int32" + }, + "items": { + "items": { + "$ref": "#/components/schemas/NestedMetroCheckItem" + }, + "type": "array" + }, + "notice": { + "type": "integer", + "format": "int32" + }, + "status": { + "$ref": "#/components/schemas/MetroCheckStatusEnum" + } + }, + "required": [ + "critical", + "info", + "items", + "notice", + "status" + ], + "type": "object", + "additionalProperties": false + }, + "NestedMetroAvailabilityChecklist": { + "properties": { + "primaryZone": { + "$ref": "#/components/schemas/NestedMetroCheckResult" + }, + "primaryZoneAndWitness": { + "$ref": "#/components/schemas/NestedMetroCheckResult" + }, + "secondaryZone": { + "$ref": "#/components/schemas/NestedMetroCheckResult" + }, + "secondaryZoneAndWitness": { + "$ref": "#/components/schemas/NestedMetroCheckResult" + }, + "witness": { + "$ref": "#/components/schemas/NestedMetroCheckResult" + }, + "zoneAndZone": { + "$ref": "#/components/schemas/NestedMetroCheckResult" + } + }, + "required": [ + "primaryZone", + "primaryZoneAndWitness", + "secondaryZone", + "secondaryZoneAndWitness", + "witness", + "zoneAndZone" + ], + "type": "object", + "additionalProperties": false + }, + "NestedClusterSettings": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVcenterAccount": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVds": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVmFolder": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVmTemplate": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedWitness": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedZone": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "Cluster": { + "properties": { + "application_highest_version": { + "type": "string", + "nullable": true + }, + "applications": { + "items": { + "$ref": "#/components/schemas/NestedApplication" + }, + "type": "array", + "nullable": true + }, + "architecture": { + "$ref": "#/components/schemas/Architecture" + }, + "auto_converge": { + "type": "boolean", + "nullable": true + }, + "connect_state": { + "$ref": "#/components/schemas/ConnectState" + }, + "consistency_groups": { + "items": { + "$ref": "#/components/schemas/NestedConsistencyGroup" + }, + "type": "array", + "nullable": true + }, + "current_cpu_model": { + "type": "string", + "nullable": true + }, + "datacenters": { + "items": { + "$ref": "#/components/schemas/NestedDatacenter" + }, + "type": "array", + "nullable": true + }, + "disconnected_date": { + "type": "string", + "nullable": true + }, + "disconnected_reason": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterConnectorErrorCode" + } + ], + "nullable": true + }, + "dns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "everoute_cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedEverouteCluster" + } + ], + "nullable": true + }, + "failure_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "has_metrox": { + "type": "boolean", + "nullable": true + }, + "host_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "hosts": { + "items": { + "$ref": "#/components/schemas/NestedHost" + }, + "type": "array", + "nullable": true + }, + "hypervisor": { + "allOf": [ + { + "$ref": "#/components/schemas/Hypervisor" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "ip": { + "type": "string" + }, + "is_all_flash": { + "type": "boolean", + "nullable": true + }, + "iscsi_vip": { + "type": "string", + "nullable": true + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "license_expire_date": { + "type": "string", + "nullable": true + }, + "license_serial": { + "type": "string", + "nullable": true + }, + "license_sign_date": { + "type": "string", + "nullable": true + }, + "license_type": { + "allOf": [ + { + "$ref": "#/components/schemas/LicenseType" + } + ], + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "maintenance_end_date": { + "type": "string", + "nullable": true + }, + "maintenance_start_date": { + "type": "string", + "nullable": true + }, + "management_vip": { + "type": "string", + "nullable": true + }, + "max_chunk_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_physical_data_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_physical_data_capacity_per_node": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "metro_availability_checklist": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedMetroAvailabilityChecklist" + } + ], + "nullable": true + }, + "mgt_gateway": { + "type": "string", + "nullable": true + }, + "mgt_netmask": { + "type": "string", + "nullable": true + }, + "migration_data_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "migration_speed": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "name": { + "type": "string" + }, + "ntp_mode": { + "allOf": [ + { + "$ref": "#/components/schemas/NtpMode" + } + ], + "nullable": true + }, + "ntp_servers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "nvme_over_rdma_enabled": { + "type": "boolean", + "nullable": true + }, + "nvme_over_tcp_enabled": { + "type": "boolean", + "nullable": true + }, + "nvmf_enabled": { + "type": "boolean", + "nullable": true + }, + "pmem_enabled": { + "type": "boolean", + "nullable": true + }, + "provisioned_cpu_cores": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_for_active_vm_ratio": { + "type": "number", + "format": "double", + "nullable": true + }, + "provisioned_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_ratio": { + "type": "number", + "format": "double", + "nullable": true + }, + "rdma_enabled": { + "type": "boolean", + "nullable": true + }, + "recommended_cpu_models": { + "items": { + "type": "string" + }, + "type": "array" + }, + "recover_data_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "recover_speed": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "reserved_cpu_cores_for_system_service": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "settings": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedClusterSettings" + } + ], + "nullable": true + }, + "software_edition": { + "allOf": [ + { + "$ref": "#/components/schemas/SoftwareEdition" + } + ], + "nullable": true + }, + "stopped_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stretch": { + "type": "boolean", + "nullable": true + }, + "suspended_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cache_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_cores": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_hz": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_models": { + "items": { + "type": "string" + }, + "type": "array" + }, + "total_cpu_sockets": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_data_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/ClusterType" + }, + "upgrade_tool_version": { + "type": "string", + "nullable": true + }, + "used_cpu_hz": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_memory_bytes": { + "type": "number", + "format": "double", + "nullable": true + }, + "valid_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "vcenterAccount": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVcenterAccount" + } + ], + "nullable": true + }, + "vdses": { + "items": { + "$ref": "#/components/schemas/NestedVds" + }, + "type": "array", + "nullable": true + }, + "version": { + "type": "string" + }, + "vhost_enabled": { + "type": "boolean", + "nullable": true + }, + "vm_folders": { + "items": { + "$ref": "#/components/schemas/NestedVmFolder" + }, + "type": "array", + "nullable": true + }, + "vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_templates": { + "items": { + "$ref": "#/components/schemas/NestedVmTemplate" + }, + "type": "array", + "nullable": true + }, + "vms": { + "items": { + "$ref": "#/components/schemas/NestedVm" + }, + "type": "array", + "nullable": true + }, + "witness": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedWitness" + } + ], + "nullable": true + }, + "zones": { + "items": { + "$ref": "#/components/schemas/NestedZone" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "architecture", + "connect_state", + "dns", + "id", + "ip", + "name", + "ntp_servers", + "recommended_cpu_models", + "total_cpu_models", + "type", + "version" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_Cluster_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/Cluster" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ClusterCreationParams": { + "properties": { + "datacenter_id": { + "type": "string" + }, + "secondary_zone_datacenter_id": { + "type": "string" + }, + "primary_zone_datacenter_id": { + "type": "string" + }, + "password": { + "type": "string" + }, + "username": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "required": [ + "password", + "username", + "ip" + ], + "type": "object" + }, + "ClusterUpdationParams": { + "properties": { + "data": { + "properties": { + "secondary_zone_id": { + "type": "string" + }, + "primary_zone_id": { + "type": "string" + }, + "datacenter_id": { + "type": "string" + }, + "secondary_zone_datacenter_id": { + "type": "string" + }, + "primary_zone_datacenter_id": { + "type": "string" + }, + "password": { + "type": "string" + }, + "username": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "ClusterLicenseUpdationParams": { + "properties": { + "data": { + "properties": { + "license": { + "type": "string" + } + }, + "required": [ + "license" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "MgtIpMapper": { + "properties": { + "ip": { + "type": "string" + }, + "host_id": { + "type": "string" + } + }, + "required": [ + "ip", + "host_id" + ], + "type": "object" + }, + "ClusterNetworkSettingUpdationParams": { + "properties": { + "data": { + "properties": { + "mgt_ip_mapper": { + "items": { + "$ref": "#/components/schemas/MgtIpMapper" + }, + "type": "array" + }, + "mgt_netmask": { + "type": "string" + }, + "mgt_gateway": { + "type": "string" + }, + "ntp_mode": { + "$ref": "#/components/schemas/NtpMode" + }, + "ntp_servers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "dns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "iscsi_vip": { + "type": "string" + }, + "management_vip": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "ClusterVirtualizationUpdationParams": { + "properties": { + "data": { + "properties": { + "auto_converge": { + "type": "boolean" + }, + "current_cpu_model": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "NestedVmRecycleBin": { + "properties": { + "enabled": { + "type": "boolean" + }, + "retain": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "enabled", + "retain" + ], + "type": "object", + "additionalProperties": false + }, + "ClusterSettings": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "default_ha": { + "type": "boolean", + "nullable": true + }, + "default_storage_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + } + ], + "nullable": true + }, + "enabled_iscsi": { + "type": "boolean", + "nullable": true + }, + "id": { + "type": "string" + }, + "vm_recycle_bin": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVmRecycleBin" + } + ], + "nullable": true + } + }, + "required": [ + "cluster", + "id" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_ClusterSettings_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/ClusterSettings" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ClusterHaUpdationParams": { + "properties": { + "ha": { + "type": "boolean" + }, + "where": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "ha", + "where" + ], + "type": "object" + }, + "ClusterEnableIscsiUpdationParams": { + "properties": { + "enable_iscsi": { + "type": "boolean" + }, + "where": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "enable_iscsi", + "where" + ], + "type": "object" + }, + "DeleteCluster": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteCluster_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteCluster" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ClusterDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "MetaLeader": { + "properties": { + "meta_leader": { + "type": "string" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "meta_leader", + "cluster_id" + ], + "type": "object" + }, + "GetMetaLeaderRequestBody": { + "properties": { + "where": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedIscsiLunSnapshot": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedNvmfNamespaceSnapshot": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "ConsistencyGroupSnapshot": { + "properties": { + "Iscsi_lun_snapshots": { + "items": { + "$ref": "#/components/schemas/NestedIscsiLunSnapshot" + }, + "type": "array", + "nullable": true + }, + "consistency_group": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedConsistencyGroup" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nvmf_namespace_snapshots": { + "items": { + "$ref": "#/components/schemas/NestedNvmfNamespaceSnapshot" + }, + "type": "array", + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64" + } + }, + "required": [ + "id", + "local_created_at", + "local_id", + "name", + "unique_size" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_ConsistencyGroupSnapshot_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/ConsistencyGroupSnapshot" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ConsistencyGroupSnapshotCreationParams": { + "properties": { + "consistency_group_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "consistency_group_id", + "name" + ], + "type": "object" + }, + "ConsistencyGroupSnapshotUpdationParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "DeleteConsistencyGroupSnapshot": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteConsistencyGroupSnapshot_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteConsistencyGroupSnapshot" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ConsistencyGroupSnapshotDeletionParams": { + "properties": { + "data": { + "properties": { + "remain_volume_snapshot": { + "type": "boolean" + } + }, + "required": [ + "remain_volume_snapshot" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "NestedConsistencyGroupSnapshot": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedIscsiLun": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedNvmfNamespace": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "ConsistencyGroup": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "consistency_group_snapshots": { + "items": { + "$ref": "#/components/schemas/NestedConsistencyGroupSnapshot" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "iscsi_luns": { + "items": { + "$ref": "#/components/schemas/NestedIscsiLun" + }, + "type": "array", + "nullable": true + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespaces": { + "items": { + "$ref": "#/components/schemas/NestedNvmfNamespace" + }, + "type": "array", + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64" + } + }, + "required": [ + "cluster", + "description", + "id", + "local_created_at", + "local_id", + "name", + "unique_size" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_ConsistencyGroup_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/ConsistencyGroup" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ConsistencyGroupCreationParams": { + "properties": { + "namespaces_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "iscsi_luns_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "cluster_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "namespaces_ids", + "iscsi_luns_ids", + "cluster_id", + "name" + ], + "type": "object" + }, + "ConsistencyGroupUpdationParams": { + "properties": { + "data": { + "properties": { + "remain_volume_snapshot": { + "type": "boolean" + }, + "namespaces_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "iscsi_luns_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteConsistencyGroup": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteConsistencyGroup_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteConsistencyGroup" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ConsistencyGroupDeletionParams": { + "properties": { + "data": { + "properties": { + "remain_volume_snapshot": { + "type": "boolean" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "NestedElfImage": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVmDisk": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVmSnapshot": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "ContentLibraryImage": { + "properties": { + "clusters": { + "items": { + "$ref": "#/components/schemas/NestedCluster" + }, + "type": "array", + "nullable": true + }, + "createdAt": { + "type": "string" + }, + "description": { + "type": "string" + }, + "elf_image_uuids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "elf_images": { + "items": { + "$ref": "#/components/schemas/NestedElfImage" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "iscsi_luns": { + "items": { + "$ref": "#/components/schemas/NestedIscsiLun" + }, + "type": "array", + "nullable": true + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "vm_disks": { + "items": { + "$ref": "#/components/schemas/NestedVmDisk" + }, + "type": "array", + "nullable": true + }, + "vm_snapshots": { + "items": { + "$ref": "#/components/schemas/NestedVmSnapshot" + }, + "type": "array", + "nullable": true + }, + "vm_templates": { + "items": { + "$ref": "#/components/schemas/NestedVmTemplate" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "createdAt", + "description", + "elf_image_uuids", + "id", + "name", + "path", + "size" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_ContentLibraryImage_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/ContentLibraryImage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ContentLibraryImageUpdationParamsData": { + "properties": { + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "ContentLibraryImageUpdationParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/ContentLibraryImageUpdationParamsData" + }, + "where": { + "$ref": "#/components/schemas/ContentLibraryImageWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "ContentLibraryImageUpdationClusterParamsData": { + "properties": { + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "clusters" + ], + "type": "object" + }, + "ContentLibraryImageUpdationClusterParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/ContentLibraryImageUpdationClusterParamsData" + }, + "where": { + "$ref": "#/components/schemas/ContentLibraryImageWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteContentLibraryImage": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteContentLibraryImage_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteContentLibraryImage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ContentLibraryImageDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/ContentLibraryImageWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "ContentLibraryImageImportData": { + "properties": { + "url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "cluster": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "url", + "name", + "cluster" + ], + "type": "object" + }, + "ContentLibraryImageImportParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/ContentLibraryImageImportData" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "OvfCpu": { + "properties": { + "sockets": { + "type": "integer", + "format": "int32" + }, + "cores": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "sockets", + "cores" + ], + "type": "object" + }, + "OvfNic": { + "properties": { + "mac": { + "type": "string" + } + }, + "required": [ + "mac" + ], + "type": "object" + }, + "OvfDisk": { + "properties": { + "size": { + "type": "integer", + "format": "int64" + }, + "type": { + "$ref": "#/components/schemas/VmDiskType" + }, + "bus": { + "$ref": "#/components/schemas/Bus" + }, + "name": { + "type": "string" + } + }, + "required": [ + "size", + "type", + "bus", + "name" + ], + "type": "object" + }, + "ParsedOVF": { + "properties": { + "firmware": { + "$ref": "#/components/schemas/VmFirmware" + }, + "disks": { + "items": { + "$ref": "#/components/schemas/OvfDisk" + }, + "type": "array" + }, + "nics": { + "items": { + "$ref": "#/components/schemas/OvfNic" + }, + "type": "array" + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "cpu": { + "$ref": "#/components/schemas/OvfCpu" + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "firmware", + "disks", + "nics", + "memory", + "cpu", + "vcpu", + "name" + ], + "type": "object" + }, + "ExportFileDownloadLinks": { + "properties": { + "link": { + "type": "string" + }, + "filename": { + "type": "string" + } + }, + "required": [ + "link", + "filename" + ], + "type": "object" + }, + "VmExportFileWhereUniqueInput": { + "properties": { + "data_port_id": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetExportFileDownloadLinksParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VmExportFileWhereUniqueInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedCpu": { + "properties": { + "cores": { + "type": "integer", + "format": "int32" + }, + "sockets": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "cores", + "sockets" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVmEntityFilterResult": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedGpuDevice": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedIsolationPolicy": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedNic": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedSnapshotPlan": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedUsbDevice": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVmNic": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVmPlacementGroup": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "Vm": { + "properties": { + "backup_plans": { + "items": { + "$ref": "#/components/schemas/NestedBackupPlan" + }, + "type": "array", + "nullable": true + }, + "bios_uuid": { + "type": "string", + "nullable": true + }, + "clock_offset": { + "$ref": "#/components/schemas/VmClockOffset" + }, + "cloud_init_supported": { + "type": "boolean", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedCluster" + } + ], + "nullable": true + }, + "cpu": { + "$ref": "#/components/schemas/NestedCpu" + }, + "cpu_model": { + "type": "string" + }, + "cpu_usage": { + "type": "number", + "format": "double", + "nullable": true + }, + "deleted_at": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string" + }, + "dns_servers": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entity_filter_results": { + "items": { + "$ref": "#/components/schemas/NestedVmEntityFilterResult" + }, + "type": "array", + "nullable": true + }, + "firmware": { + "$ref": "#/components/schemas/VmFirmware" + }, + "folder": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVmFolder" + } + ], + "nullable": true + }, + "gpu_devices": { + "items": { + "$ref": "#/components/schemas/NestedGpuDevice" + }, + "type": "array", + "nullable": true + }, + "guest_cpu_model": { + "type": "string", + "nullable": true + }, + "guest_os_type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmGuestsOperationSystem" + } + ], + "nullable": true + }, + "guest_size_usage": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_used_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "ha": { + "type": "boolean" + }, + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedHost" + } + ], + "nullable": true + }, + "hostname": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "in_recycle_bin": { + "type": "boolean" + }, + "internal": { + "type": "boolean" + }, + "io_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + }, + "ips": { + "type": "string" + }, + "isolation_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedIsolationPolicy" + } + ], + "nullable": true + }, + "kernel_info": { + "type": "string", + "nullable": true + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "last_shutdown_time": { + "type": "string", + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "logical_size_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "memory_usage": { + "type": "number", + "format": "double", + "nullable": true + }, + "name": { + "type": "string" + }, + "nested_virtualization": { + "type": "boolean" + }, + "node_ip": { + "type": "string" + }, + "original_name": { + "type": "string", + "nullable": true + }, + "os": { + "type": "string", + "nullable": true + }, + "out_uninstall_usb": { + "items": { + "type": "string" + }, + "type": "array" + }, + "pci_nics": { + "items": { + "$ref": "#/components/schemas/NestedNic" + }, + "type": "array", + "nullable": true + }, + "protected": { + "type": "boolean" + }, + "provisioned_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "snapshot_plan": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedSnapshotPlan" + } + ], + "nullable": true + }, + "snapshots": { + "items": { + "$ref": "#/components/schemas/NestedVmSnapshot" + }, + "type": "array", + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/VmStatus" + }, + "unique_logical_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "usb_devices": { + "items": { + "$ref": "#/components/schemas/NestedUsbDevice" + }, + "type": "array", + "nullable": true + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "video_type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVideoType" + } + ], + "nullable": true + }, + "vm_disks": { + "items": { + "$ref": "#/components/schemas/NestedVmDisk" + }, + "type": "array", + "nullable": true + }, + "vm_nics": { + "items": { + "$ref": "#/components/schemas/NestedVmNic" + }, + "type": "array", + "nullable": true + }, + "vm_placement_group": { + "items": { + "$ref": "#/components/schemas/NestedVmPlacementGroup" + }, + "type": "array", + "nullable": true + }, + "vm_tools_status": { + "$ref": "#/components/schemas/VmToolsStatus" + }, + "vm_tools_version": { + "type": "string", + "nullable": true + }, + "vm_usage": { + "allOf": [ + { + "$ref": "#/components/schemas/VmUsage" + } + ], + "nullable": true + }, + "win_opt": { + "type": "boolean" + } + }, + "required": [ + "clock_offset", + "cpu", + "cpu_model", + "description", + "firmware", + "ha", + "id", + "in_recycle_bin", + "internal", + "ips", + "local_id", + "memory", + "name", + "nested_virtualization", + "node_ip", + "out_uninstall_usb", + "protected", + "status", + "vcpu", + "vm_tools_status", + "win_opt" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_Vm_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/Vm" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "BPSUnit": { + "type": "string", + "enum": [ + "Bps", + "KBps", + "MBps", + "GBps", + "TBps" + ] + }, + "MountNewCreateDisksParams": { + "properties": { + "max_bandwidth_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "max_bandwidth": { + "type": "integer", + "format": "int64" + }, + "max_iops_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_iops": { + "type": "integer", + "format": "int64" + }, + "vm_volume": { + "properties": { + "elf_storage_policy": { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + }, + "path": { + "type": "string" + }, + "size_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + } + }, + "required": [ + "elf_storage_policy", + "size", + "name" + ], + "type": "object" + }, + "index": { + "type": "integer", + "format": "int32" + }, + "key": { + "type": "integer", + "format": "int32" + }, + "bus": { + "$ref": "#/components/schemas/Bus" + }, + "boot": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "vm_volume", + "bus", + "boot" + ], + "type": "object" + }, + "MountDisksParams": { + "properties": { + "max_bandwidth_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "max_bandwidth": { + "type": "integer", + "format": "int64" + }, + "max_iops_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_iops": { + "type": "integer", + "format": "int64" + }, + "vm_volume_id": { + "type": "string" + }, + "index": { + "type": "integer", + "format": "int32" + }, + "key": { + "type": "integer", + "format": "int32" + }, + "bus": { + "$ref": "#/components/schemas/Bus" + }, + "boot": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "vm_volume_id", + "bus", + "boot" + ], + "type": "object" + }, + "VmCdRomParams": { + "properties": { + "content_library_image_id": { + "type": "string" + }, + "elf_image_id": { + "type": "string" + }, + "index": { + "type": "integer", + "format": "int32" + }, + "key": { + "type": "integer", + "format": "int32" + }, + "boot": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "boot" + ], + "type": "object" + }, + "VmDiskParams": { + "properties": { + "mount_cd_roms": { + "items": { + "$ref": "#/components/schemas/VmCdRomParams" + }, + "type": "array" + }, + "mount_disks": { + "items": { + "$ref": "#/components/schemas/MountDisksParams" + }, + "type": "array" + }, + "mount_new_create_disks": { + "items": { + "$ref": "#/components/schemas/MountNewCreateDisksParams" + }, + "type": "array" + } + }, + "type": "object" + }, + "BitUnit": { + "type": "string", + "enum": [ + "bit", + "Kb", + "Mb", + "Gb", + "Tb", + "Pb" + ] + }, + "BitPSUnit": { + "type": "string", + "enum": [ + "bps", + "Kbps", + "Mbps", + "Gbps", + "Tbps" + ] + }, + "VmNicQosTraffic": { + "properties": { + "rate_limit_unit": { + "$ref": "#/components/schemas/BitPSUnit" + }, + "rate_limit": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "burst_unit": { + "$ref": "#/components/schemas/BitUnit" + }, + "burst": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" + }, + "VmNicQosOption": { + "properties": { + "egress": { + "$ref": "#/components/schemas/VmNicQosTraffic" + }, + "ingress": { + "$ref": "#/components/schemas/VmNicQosTraffic" + } + }, + "type": "object" + }, + "VpcNicParams": { + "properties": { + "ip_addresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "floating_ip_id": { + "type": "string" + }, + "vpc_subnet_id": { + "type": "string" + }, + "vpc_id": { + "type": "string" + } + }, + "required": [ + "vpc_subnet_id", + "vpc_id" + ], + "type": "object" + }, + "VmNicParams": { + "properties": { + "vpc_nic": { + "$ref": "#/components/schemas/VpcNicParams" + }, + "type": { + "$ref": "#/components/schemas/VmNicType" + }, + "qos": { + "$ref": "#/components/schemas/VmNicQosOption" + }, + "subnet_mask": { + "type": "string" + }, + "gateway": { + "type": "string" + }, + "ip_address": { + "type": "string" + }, + "nic_id": { + "type": "string" + }, + "connect_vlan_id": { + "type": "string" + }, + "mirror": { + "type": "boolean" + }, + "model": { + "$ref": "#/components/schemas/VmNicModel" + }, + "enabled": { + "type": "boolean" + }, + "mac_address": { + "type": "string" + }, + "local_id": { + "type": "string" + } + }, + "type": "object" + }, + "VmGpuOperationParams": { + "properties": { + "amount": { + "type": "integer", + "format": "int32" + }, + "gpu_id": { + "type": "string" + } + }, + "required": [ + "gpu_id" + ], + "type": "object" + }, + "VmOwnerParams": { + "properties": { + "search_for": { + "type": "string", + "enum": [ + "username", + "id" + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "VmCreationParams": { + "properties": { + "owner": { + "$ref": "#/components/schemas/VmOwnerParams" + }, + "gpu_devices": { + "items": { + "$ref": "#/components/schemas/VmGpuOperationParams" + }, + "type": "array" + }, + "max_bandwidth_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "max_bandwidth": { + "type": "integer", + "format": "int64" + }, + "max_iops_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_iops": { + "type": "integer", + "format": "int64" + }, + "io_policy": { + "$ref": "#/components/schemas/VmDiskIoPolicy" + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "status": { + "$ref": "#/components/schemas/VmStatus" + }, + "firmware": { + "$ref": "#/components/schemas/VmFirmware" + }, + "ha": { + "type": "boolean" + }, + "pci_nics": { + "$ref": "#/components/schemas/NicWhereInput" + }, + "vm_placement_group": { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + }, + "vm_nics": { + "items": { + "$ref": "#/components/schemas/VmNicParams" + }, + "type": "array" + }, + "vm_disks": { + "$ref": "#/components/schemas/VmDiskParams" + }, + "memory_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "cpu_cores": { + "type": "integer", + "format": "int32" + }, + "cpu_sockets": { + "type": "integer", + "format": "int32" + }, + "guest_os_type": { + "$ref": "#/components/schemas/VmGuestsOperationSystem" + }, + "folder_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "host_id": { + "type": "string" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "status", + "firmware", + "ha", + "vm_nics", + "vm_disks", + "memory", + "cpu_cores", + "cpu_sockets", + "name", + "cluster_id" + ], + "type": "object" + }, + "DiskOperateModifyDisk": { + "properties": { + "vm_volume_id": { + "type": "string" + }, + "bus": { + "$ref": "#/components/schemas/Bus" + }, + "disk_index": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "disk_index" + ], + "type": "object" + }, + "VmDiskOperate": { + "properties": { + "remove_disks": { + "properties": { + "disk_index": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array" + } + }, + "required": [ + "disk_index" + ], + "type": "object" + }, + "modify_disks": { + "items": { + "$ref": "#/components/schemas/DiskOperateModifyDisk" + }, + "type": "array" + }, + "new_disks": { + "$ref": "#/components/schemas/VmDiskParams" + } + }, + "type": "object" + }, + "CloudInitNetworkTypeEnum": { + "enum": [ + "IPV4", + "IPV4_DHCP" + ], + "type": "string" + }, + "CloudInitNetWorkRoute": { + "properties": { + "network": { + "type": "string" + }, + "netmask": { + "type": "string" + }, + "gateway": { + "type": "string" + } + }, + "required": [ + "network", + "netmask", + "gateway" + ], + "type": "object" + }, + "CloudInitNetWork": { + "properties": { + "routes": { + "items": { + "$ref": "#/components/schemas/CloudInitNetWorkRoute" + }, + "type": "array" + }, + "type": { + "$ref": "#/components/schemas/CloudInitNetworkTypeEnum" + }, + "nic_index": { + "type": "integer", + "format": "int32" + }, + "netmask": { + "type": "string" + }, + "ip_address": { + "type": "string" + } + }, + "required": [ + "type", + "nic_index" + ], + "type": "object" + }, + "TemplateCloudInit": { + "properties": { + "user_data": { + "type": "string" + }, + "public_keys": { + "items": { + "type": "string" + }, + "type": "array" + }, + "hostname": { + "type": "string" + }, + "networks": { + "items": { + "$ref": "#/components/schemas/CloudInitNetWork" + }, + "type": "array" + }, + "nameservers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "default_user_password": { + "type": "string" + } + }, + "type": "object" + }, + "VmCreateVmFromTemplateParams": { + "properties": { + "owner": { + "$ref": "#/components/schemas/VmOwnerParams" + }, + "gpu_devices": { + "items": { + "$ref": "#/components/schemas/VmGpuOperationParams" + }, + "type": "array" + }, + "cloud_init": { + "$ref": "#/components/schemas/TemplateCloudInit" + }, + "is_full_copy": { + "type": "boolean" + }, + "template_id": { + "type": "string" + }, + "max_bandwidth_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "max_bandwidth": { + "type": "integer", + "format": "int64" + }, + "max_iops_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_iops": { + "type": "integer", + "format": "int64" + }, + "io_policy": { + "$ref": "#/components/schemas/VmDiskIoPolicy", + "deprecated": true + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "status": { + "$ref": "#/components/schemas/VmStatus" + }, + "firmware": { + "$ref": "#/components/schemas/VmFirmware" + }, + "ha": { + "type": "boolean" + }, + "pci_nics": { + "$ref": "#/components/schemas/NicWhereInput" + }, + "vm_placement_group": { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + }, + "vm_nics": { + "items": { + "$ref": "#/components/schemas/VmNicParams" + }, + "type": "array" + }, + "disk_operate": { + "$ref": "#/components/schemas/VmDiskOperate" + }, + "memory_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "cpu_cores": { + "type": "integer", + "format": "int32" + }, + "cpu_sockets": { + "type": "integer", + "format": "int32" + }, + "guest_os_type": { + "$ref": "#/components/schemas/VmGuestsOperationSystem" + }, + "folder_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "host_id": { + "type": "string" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "is_full_copy", + "template_id", + "name" + ], + "type": "object" + }, + "VmCreateVmFromContentLibraryTemplateParams": { + "properties": { + "owner": { + "$ref": "#/components/schemas/VmOwnerParams" + }, + "gpu_devices": { + "items": { + "$ref": "#/components/schemas/VmGpuOperationParams" + }, + "type": "array" + }, + "cloud_init": { + "$ref": "#/components/schemas/TemplateCloudInit" + }, + "is_full_copy": { + "type": "boolean" + }, + "template_id": { + "type": "string" + }, + "max_bandwidth_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "max_bandwidth": { + "type": "integer", + "format": "int64" + }, + "max_iops_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_iops": { + "type": "integer", + "format": "int64" + }, + "io_policy": { + "$ref": "#/components/schemas/VmDiskIoPolicy", + "deprecated": true + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "status": { + "$ref": "#/components/schemas/VmStatus" + }, + "firmware": { + "$ref": "#/components/schemas/VmFirmware" + }, + "ha": { + "type": "boolean" + }, + "pci_nics": { + "$ref": "#/components/schemas/NicWhereInput" + }, + "vm_placement_group": { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + }, + "vm_nics": { + "items": { + "$ref": "#/components/schemas/VmNicParams" + }, + "type": "array" + }, + "disk_operate": { + "$ref": "#/components/schemas/VmDiskOperate" + }, + "memory_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "cpu_cores": { + "type": "integer", + "format": "int32" + }, + "cpu_sockets": { + "type": "integer", + "format": "int32" + }, + "guest_os_type": { + "$ref": "#/components/schemas/VmGuestsOperationSystem" + }, + "folder_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "host_id": { + "type": "string" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "is_full_copy", + "template_id", + "name", + "cluster_id" + ], + "type": "object" + }, + "WithTask_Vm-Array_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "items": { + "$ref": "#/components/schemas/Vm" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmCreateVmFromContentLibraryTemplateBatchVmParams": { + "properties": { + "owner": { + "$ref": "#/components/schemas/VmOwnerParams" + }, + "gpu_devices": { + "items": { + "$ref": "#/components/schemas/VmGpuOperationParams" + }, + "type": "array" + }, + "cloud_init": { + "$ref": "#/components/schemas/TemplateCloudInit" + }, + "is_full_copy": { + "type": "boolean" + }, + "max_bandwidth_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "max_bandwidth": { + "type": "integer", + "format": "int64" + }, + "max_iops_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_iops": { + "type": "integer", + "format": "int64" + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "status": { + "$ref": "#/components/schemas/VmStatus" + }, + "firmware": { + "$ref": "#/components/schemas/VmFirmware" + }, + "ha": { + "type": "boolean" + }, + "pci_nics": { + "$ref": "#/components/schemas/NicWhereInput" + }, + "vm_placement_group": { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + }, + "vm_nics": { + "items": { + "$ref": "#/components/schemas/VmNicParams" + }, + "type": "array" + }, + "disk_operate": { + "$ref": "#/components/schemas/VmDiskOperate" + }, + "memory_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "cpu_cores": { + "type": "integer", + "format": "int32" + }, + "cpu_sockets": { + "type": "integer", + "format": "int32" + }, + "guest_os_type": { + "$ref": "#/components/schemas/VmGuestsOperationSystem" + }, + "folder_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "host_id": { + "type": "string" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "is_full_copy", + "name", + "cluster_id" + ], + "type": "object" + }, + "VmCreateVmFromContentLibraryTemplateBatchParams": { + "properties": { + "vms": { + "items": { + "$ref": "#/components/schemas/VmCreateVmFromContentLibraryTemplateBatchVmParams" + }, + "type": "array" + }, + "template_id": { + "type": "string" + } + }, + "required": [ + "vms", + "template_id" + ], + "type": "object" + }, + "ConvertVmTemplateToVmParams": { + "properties": { + "name": { + "type": "string" + }, + "converted_from_template_id": { + "type": "string" + } + }, + "required": [ + "name", + "converted_from_template_id" + ], + "type": "object" + }, + "VmCloneParams": { + "properties": { + "owner": { + "$ref": "#/components/schemas/VmOwnerParams" + }, + "gpu_devices": { + "items": { + "$ref": "#/components/schemas/VmGpuOperationParams" + }, + "type": "array" + }, + "is_full_copy": { + "type": "boolean" + }, + "src_vm_id": { + "type": "string" + }, + "max_bandwidth_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "max_bandwidth": { + "type": "integer", + "format": "int64" + }, + "max_iops_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_iops": { + "type": "integer", + "format": "int64" + }, + "io_policy": { + "$ref": "#/components/schemas/VmDiskIoPolicy", + "deprecated": true + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "status": { + "$ref": "#/components/schemas/VmStatus" + }, + "firmware": { + "$ref": "#/components/schemas/VmFirmware" + }, + "ha": { + "type": "boolean" + }, + "pci_nics": { + "$ref": "#/components/schemas/NicWhereInput" + }, + "vm_placement_group": { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + }, + "vm_nics": { + "items": { + "$ref": "#/components/schemas/VmNicParams" + }, + "type": "array" + }, + "vm_disks": { + "$ref": "#/components/schemas/VmDiskParams" + }, + "memory_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "cpu_cores": { + "type": "integer", + "format": "int32" + }, + "cpu_sockets": { + "type": "integer", + "format": "int32" + }, + "guest_os_type": { + "$ref": "#/components/schemas/VmGuestsOperationSystem" + }, + "folder_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "host_id": { + "type": "string" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "src_vm_id", + "name" + ], + "type": "object" + }, + "VmRebuildParams": { + "properties": { + "owner": { + "$ref": "#/components/schemas/VmOwnerParams" + }, + "gpu_devices": { + "items": { + "$ref": "#/components/schemas/VmGpuOperationParams" + }, + "type": "array" + }, + "is_full_copy": { + "type": "boolean" + }, + "rebuild_from_snapshot_id": { + "type": "string" + }, + "max_bandwidth_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "max_bandwidth": { + "type": "integer", + "format": "int64" + }, + "max_iops_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_iops": { + "type": "integer", + "format": "int64" + }, + "io_policy": { + "$ref": "#/components/schemas/VmDiskIoPolicy", + "deprecated": true + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "status": { + "$ref": "#/components/schemas/VmStatus" + }, + "firmware": { + "$ref": "#/components/schemas/VmFirmware" + }, + "ha": { + "type": "boolean" + }, + "pci_nics": { + "$ref": "#/components/schemas/NicWhereInput" + }, + "vm_placement_group": { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + }, + "vm_nics": { + "items": { + "$ref": "#/components/schemas/VmNicParams" + }, + "type": "array" + }, + "vm_disks": { + "$ref": "#/components/schemas/VmDiskParams" + }, + "memory_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "cpu_cores": { + "type": "integer", + "format": "int32" + }, + "cpu_sockets": { + "type": "integer", + "format": "int32" + }, + "guest_os_type": { + "$ref": "#/components/schemas/VmGuestsOperationSystem" + }, + "folder_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "host_id": { + "type": "string" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "rebuild_from_snapshot_id", + "name" + ], + "type": "object" + }, + "VmRollbackParams": { + "properties": { + "data": { + "properties": { + "snapshot_id": { + "type": "string" + } + }, + "required": [ + "snapshot_id" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmUpdateParams": { + "properties": { + "data": { + "properties": { + "vcpu": { + "type": "integer", + "format": "int32" + }, + "ha": { + "type": "boolean" + }, + "memory_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "cpu_cores": { + "type": "integer", + "format": "int32" + }, + "cpu_sockets": { + "type": "integer", + "format": "int32" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteVm": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVm_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVm" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmOperateParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "VmDeleteParams": { + "properties": { + "effect": { + "properties": { + "include_snapshots": { + "type": "boolean" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "VmStartParams": { + "properties": { + "data": { + "properties": { + "host_id": { + "type": "string" + } + }, + "required": [ + "host_id" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "VmAddDiskParams": { + "properties": { + "data": { + "properties": { + "max_bandwidth_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "max_bandwidth": { + "type": "integer", + "format": "int64" + }, + "max_iops_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_iops": { + "type": "integer", + "format": "int64" + }, + "io_policy": { + "$ref": "#/components/schemas/VmDiskIoPolicy" + }, + "vm_disks": { + "properties": { + "mount_disks": { + "items": { + "$ref": "#/components/schemas/MountDisksParams" + }, + "type": "array" + }, + "mount_new_create_disks": { + "items": { + "$ref": "#/components/schemas/MountNewCreateDisksParams" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "vm_disks" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmUpdateDiskParams": { + "properties": { + "data": { + "properties": { + "content_library_image_id": { + "type": "string", + "nullable": true + }, + "elf_image_id": { + "type": "string", + "nullable": true + }, + "vm_volume_id": { + "type": "string" + }, + "vm_disk_id": { + "type": "string" + }, + "bus": { + "$ref": "#/components/schemas/Bus" + } + }, + "required": [ + "vm_disk_id" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmExpandVmDiskParams": { + "properties": { + "size_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "where": { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + }, + "required": [ + "size", + "where" + ], + "type": "object" + }, + "VmRemoveDiskParams": { + "properties": { + "data": { + "properties": { + "disk_ids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "disk_ids" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmAddCdRomParams": { + "properties": { + "data": { + "properties": { + "vm_cd_roms": { + "items": { + "$ref": "#/components/schemas/VmCdRomParams" + }, + "type": "array" + } + }, + "required": [ + "vm_cd_roms" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmRemoveCdRomParams": { + "properties": { + "data": { + "properties": { + "cd_rom_ids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "cd_rom_ids" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmEjectCdRomParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "VmToggleCdRomDisableParams": { + "properties": { + "disabled": { + "type": "boolean" + }, + "where": { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + }, + "required": [ + "disabled", + "where" + ], + "type": "object" + }, + "VmAddNicParams": { + "properties": { + "data": { + "properties": { + "vm_nics": { + "items": { + "$ref": "#/components/schemas/VmNicParams" + }, + "type": "array" + } + }, + "required": [ + "vm_nics" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "UpdateVpcNicPayloads": { + "properties": { + "floating_ip_id": { + "type": "string", + "nullable": true + }, + "ip_addresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "vpc_subnet_id": { + "type": "string" + } + }, + "type": "object" + }, + "VmUpdateNicParams": { + "properties": { + "data": { + "properties": { + "vpc_nic": { + "$ref": "#/components/schemas/UpdateVpcNicPayloads" + }, + "subnet_mask": { + "type": "string" + }, + "gateway": { + "type": "string" + }, + "ip_address": { + "type": "string" + }, + "nic_id": { + "type": "string" + }, + "connect_vlan_id": { + "type": "string" + }, + "mirror": { + "type": "boolean" + }, + "model": { + "$ref": "#/components/schemas/VmNicModel" + }, + "enabled": { + "type": "boolean" + }, + "mac_address": { + "type": "string" + }, + "nic_index": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "nic_index" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmUpdateNicBasicInfoParams": { + "properties": { + "data": { + "properties": { + "subnet_mask": { + "type": "string" + }, + "gateway": { + "type": "string" + }, + "ip_address": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmNicWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmUpdateNicAdvanceInfoParams": { + "properties": { + "data": { + "properties": { + "mirror": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "mac_address": { + "type": "string" + }, + "nic_id": { + "type": "string" + }, + "connect_vlan_id": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmNicWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmUpdateNicQosOptionsParams": { + "properties": { + "data": { + "properties": { + "qos": { + "$ref": "#/components/schemas/VmNicQosOption" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmNicWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmOperatePciNicParams": { + "properties": { + "data": { + "properties": { + "pci_nics": { + "$ref": "#/components/schemas/NicWhereInput" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmRemoveNicParams": { + "properties": { + "data": { + "properties": { + "nic_index": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array" + } + }, + "required": [ + "nic_index" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmRemoveNicByWhereParams": { + "properties": { + "effect": { + "properties": { + "vm_ids": { + "items": { + "type": "string" + }, + "type": "array", + "minItems": 1 + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmNicWhereInput" + } + }, + "required": [ + "effect", + "where" + ], + "type": "object" + }, + "VmAddGpuDeviceParams": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/VmGpuOperationParams" + }, + "type": "array", + "minItems": 1 + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmRemoveGpuDeviceParams": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/VmGpuOperationParams" + }, + "type": "array", + "minItems": 1 + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "InstallVmtoolsParams": { + "properties": { + "data": { + "properties": { + "svt_image_id": { + "type": "string" + }, + "cd_rom_id": { + "type": "string" + } + }, + "required": [ + "svt_image_id", + "cd_rom_id" + ], + "type": "object", + "deprecated": true + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "VmMigrateParams": { + "properties": { + "data": { + "properties": { + "host_id": { + "type": "string" + } + }, + "required": [ + "host_id" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "MigrateType": { + "enum": [ + "COLD_MIGRATE", + "CUTOVER_MIGRATE", + "LIVE_MIGRATE" + ], + "type": "string" + }, + "VlanMapping": { + "properties": { + "src_vlan_local_id": { + "type": "string" + }, + "dest_vlan_local_id": { + "type": "string" + } + }, + "required": [ + "src_vlan_local_id", + "dest_vlan_local_id" + ], + "type": "object" + }, + "MigrateVmConfig": { + "properties": { + "remove_unmovable_devices": { + "type": "boolean" + }, + "new_name": { + "type": "string" + }, + "network_mapping": { + "items": { + "$ref": "#/components/schemas/VlanMapping" + }, + "type": "array" + }, + "migrate_type": { + "$ref": "#/components/schemas/MigrateType" + }, + "elf_storage_policy": { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + }, + "delete_src_vm": { + "type": "boolean" + } + }, + "required": [ + "network_mapping", + "migrate_type", + "elf_storage_policy" + ], + "type": "object" + }, + "VmMigrateAcrossClusterParams": { + "properties": { + "data": { + "properties": { + "vm_config": { + "$ref": "#/components/schemas/MigrateVmConfig" + }, + "cluster_id": { + "type": "string" + }, + "host_id": { + "type": "string" + } + }, + "required": [ + "vm_config", + "cluster_id" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "TaskWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/TaskWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/TaskWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/TaskWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "error_code": { + "type": "string", + "nullable": true + }, + "error_code_contains": { + "type": "string", + "nullable": true + }, + "error_code_ends_with": { + "type": "string", + "nullable": true + }, + "error_code_gt": { + "type": "string", + "nullable": true + }, + "error_code_gte": { + "type": "string", + "nullable": true + }, + "error_code_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "error_code_lt": { + "type": "string", + "nullable": true + }, + "error_code_lte": { + "type": "string", + "nullable": true + }, + "error_code_not": { + "type": "string", + "nullable": true + }, + "error_code_not_contains": { + "type": "string", + "nullable": true + }, + "error_code_not_ends_with": { + "type": "string", + "nullable": true + }, + "error_code_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "error_code_not_starts_with": { + "type": "string", + "nullable": true + }, + "error_code_starts_with": { + "type": "string", + "nullable": true + }, + "error_message": { + "type": "string", + "nullable": true + }, + "error_message_contains": { + "type": "string", + "nullable": true + }, + "error_message_ends_with": { + "type": "string", + "nullable": true + }, + "error_message_gt": { + "type": "string", + "nullable": true + }, + "error_message_gte": { + "type": "string", + "nullable": true + }, + "error_message_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "error_message_lt": { + "type": "string", + "nullable": true + }, + "error_message_lte": { + "type": "string", + "nullable": true + }, + "error_message_not": { + "type": "string", + "nullable": true + }, + "error_message_not_contains": { + "type": "string", + "nullable": true + }, + "error_message_not_ends_with": { + "type": "string", + "nullable": true + }, + "error_message_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "error_message_not_starts_with": { + "type": "string", + "nullable": true + }, + "error_message_starts_with": { + "type": "string", + "nullable": true + }, + "finished_at": { + "type": "string", + "nullable": true + }, + "finished_at_gt": { + "type": "string", + "nullable": true + }, + "finished_at_gte": { + "type": "string", + "nullable": true + }, + "finished_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "finished_at_lt": { + "type": "string", + "nullable": true + }, + "finished_at_lte": { + "type": "string", + "nullable": true + }, + "finished_at_not": { + "type": "string", + "nullable": true + }, + "finished_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "internal": { + "type": "boolean", + "nullable": true + }, + "internal_not": { + "type": "boolean", + "nullable": true + }, + "key": { + "type": "string", + "nullable": true + }, + "key_contains": { + "type": "string", + "nullable": true + }, + "key_ends_with": { + "type": "string", + "nullable": true + }, + "key_gt": { + "type": "string", + "nullable": true + }, + "key_gte": { + "type": "string", + "nullable": true + }, + "key_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "key_lt": { + "type": "string", + "nullable": true + }, + "key_lte": { + "type": "string", + "nullable": true + }, + "key_not": { + "type": "string", + "nullable": true + }, + "key_not_contains": { + "type": "string", + "nullable": true + }, + "key_not_ends_with": { + "type": "string", + "nullable": true + }, + "key_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "key_not_starts_with": { + "type": "string", + "nullable": true + }, + "key_starts_with": { + "type": "string", + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "progress": { + "type": "number", + "format": "double", + "nullable": true + }, + "progress_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "progress_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "progress_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "progress_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "progress_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "progress_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "progress_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "resource_id": { + "type": "string", + "nullable": true + }, + "resource_id_contains": { + "type": "string", + "nullable": true + }, + "resource_id_ends_with": { + "type": "string", + "nullable": true + }, + "resource_id_gt": { + "type": "string", + "nullable": true + }, + "resource_id_gte": { + "type": "string", + "nullable": true + }, + "resource_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_id_lt": { + "type": "string", + "nullable": true + }, + "resource_id_lte": { + "type": "string", + "nullable": true + }, + "resource_id_not": { + "type": "string", + "nullable": true + }, + "resource_id_not_contains": { + "type": "string", + "nullable": true + }, + "resource_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "resource_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "resource_id_starts_with": { + "type": "string", + "nullable": true + }, + "resource_mutation": { + "type": "string", + "nullable": true + }, + "resource_mutation_contains": { + "type": "string", + "nullable": true + }, + "resource_mutation_ends_with": { + "type": "string", + "nullable": true + }, + "resource_mutation_gt": { + "type": "string", + "nullable": true + }, + "resource_mutation_gte": { + "type": "string", + "nullable": true + }, + "resource_mutation_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_mutation_lt": { + "type": "string", + "nullable": true + }, + "resource_mutation_lte": { + "type": "string", + "nullable": true + }, + "resource_mutation_not": { + "type": "string", + "nullable": true + }, + "resource_mutation_not_contains": { + "type": "string", + "nullable": true + }, + "resource_mutation_not_ends_with": { + "type": "string", + "nullable": true + }, + "resource_mutation_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_mutation_not_starts_with": { + "type": "string", + "nullable": true + }, + "resource_mutation_starts_with": { + "type": "string", + "nullable": true + }, + "resource_rollback_error": { + "type": "string", + "nullable": true + }, + "resource_rollback_error_contains": { + "type": "string", + "nullable": true + }, + "resource_rollback_error_ends_with": { + "type": "string", + "nullable": true + }, + "resource_rollback_error_gt": { + "type": "string", + "nullable": true + }, + "resource_rollback_error_gte": { + "type": "string", + "nullable": true + }, + "resource_rollback_error_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_rollback_error_lt": { + "type": "string", + "nullable": true + }, + "resource_rollback_error_lte": { + "type": "string", + "nullable": true + }, + "resource_rollback_error_not": { + "type": "string", + "nullable": true + }, + "resource_rollback_error_not_contains": { + "type": "string", + "nullable": true + }, + "resource_rollback_error_not_ends_with": { + "type": "string", + "nullable": true + }, + "resource_rollback_error_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_rollback_error_not_starts_with": { + "type": "string", + "nullable": true + }, + "resource_rollback_error_starts_with": { + "type": "string", + "nullable": true + }, + "resource_rollback_retry_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "resource_rollback_retry_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "resource_rollback_retry_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "resource_rollback_retry_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "resource_rollback_retry_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "resource_rollback_retry_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "resource_rollback_retry_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "resource_rollback_retry_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "resource_rollbacked": { + "type": "boolean", + "nullable": true + }, + "resource_rollbacked_not": { + "type": "boolean", + "nullable": true + }, + "resource_type": { + "type": "string", + "nullable": true + }, + "resource_type_contains": { + "type": "string", + "nullable": true + }, + "resource_type_ends_with": { + "type": "string", + "nullable": true + }, + "resource_type_gt": { + "type": "string", + "nullable": true + }, + "resource_type_gte": { + "type": "string", + "nullable": true + }, + "resource_type_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_type_lt": { + "type": "string", + "nullable": true + }, + "resource_type_lte": { + "type": "string", + "nullable": true + }, + "resource_type_not": { + "type": "string", + "nullable": true + }, + "resource_type_not_contains": { + "type": "string", + "nullable": true + }, + "resource_type_not_ends_with": { + "type": "string", + "nullable": true + }, + "resource_type_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_type_not_starts_with": { + "type": "string", + "nullable": true + }, + "resource_type_starts_with": { + "type": "string", + "nullable": true + }, + "snapshot": { + "type": "string", + "nullable": true + }, + "snapshot_contains": { + "type": "string", + "nullable": true + }, + "snapshot_ends_with": { + "type": "string", + "nullable": true + }, + "snapshot_gt": { + "type": "string", + "nullable": true + }, + "snapshot_gte": { + "type": "string", + "nullable": true + }, + "snapshot_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "snapshot_lt": { + "type": "string", + "nullable": true + }, + "snapshot_lte": { + "type": "string", + "nullable": true + }, + "snapshot_not": { + "type": "string", + "nullable": true + }, + "snapshot_not_contains": { + "type": "string", + "nullable": true + }, + "snapshot_not_ends_with": { + "type": "string", + "nullable": true + }, + "snapshot_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "snapshot_not_starts_with": { + "type": "string", + "nullable": true + }, + "snapshot_starts_with": { + "type": "string", + "nullable": true + }, + "started_at": { + "type": "string", + "nullable": true + }, + "started_at_gt": { + "type": "string", + "nullable": true + }, + "started_at_gte": { + "type": "string", + "nullable": true + }, + "started_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "started_at_lt": { + "type": "string", + "nullable": true + }, + "started_at_lte": { + "type": "string", + "nullable": true + }, + "started_at_not": { + "type": "string", + "nullable": true + }, + "started_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/TaskStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/TaskStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/TaskStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/TaskStatus" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/TaskType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/TaskType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/TaskType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/TaskType" + }, + "type": "array", + "nullable": true + }, + "user": { + "allOf": [ + { + "$ref": "#/components/schemas/UserWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "TaskStatus": { + "enum": [ + "EXECUTING", + "FAILED", + "PAUSED", + "PENDING", + "SUCCESSED" + ], + "type": "string" + }, + "TaskType": { + "enum": [ + "APPLICATION", + "BACKUP", + "HOST_PLUGIN", + "REPLICATION", + "RESOLVER", + "SFS" + ], + "type": "string" + }, + "StopVmInCutoverMigrationParams": { + "properties": { + "force": { + "type": "boolean" + }, + "tasks": { + "$ref": "#/components/schemas/TaskWhereInput" + } + }, + "required": [ + "tasks" + ], + "type": "object" + }, + "StepUnit": { + "enum": [ + "BIT", + "BYTE", + "COUNT", + "PERCENT" + ], + "type": "string" + }, + "NestedStep": { + "properties": { + "current": { + "type": "number", + "format": "double", + "nullable": true + }, + "finished": { + "type": "boolean", + "nullable": true + }, + "key": { + "type": "string", + "nullable": true + }, + "per_second": { + "type": "number", + "format": "double", + "nullable": true + }, + "total": { + "type": "number", + "format": "double", + "nullable": true + }, + "unit": { + "allOf": [ + { + "$ref": "#/components/schemas/StepUnit" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "Task": { + "properties": { + "args": { + "properties": {}, + "type": "object" + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedCluster" + } + ], + "nullable": true + }, + "description": { + "type": "string" + }, + "error_code": { + "type": "string", + "nullable": true + }, + "error_message": { + "type": "string", + "nullable": true + }, + "finished_at": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "internal": { + "type": "boolean" + }, + "key": { + "type": "string", + "nullable": true + }, + "local_created_at": { + "type": "string" + }, + "progress": { + "type": "number", + "format": "double" + }, + "resource_id": { + "type": "string", + "nullable": true + }, + "resource_mutation": { + "type": "string", + "nullable": true + }, + "resource_rollback_error": { + "type": "string", + "nullable": true + }, + "resource_rollback_retry_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "resource_rollbacked": { + "type": "boolean", + "nullable": true + }, + "resource_type": { + "type": "string", + "nullable": true + }, + "snapshot": { + "type": "string" + }, + "started_at": { + "type": "string", + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/TaskStatus" + }, + "steps": { + "items": { + "$ref": "#/components/schemas/NestedStep" + }, + "type": "array" + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/TaskType" + } + ], + "nullable": true + }, + "user": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedUser" + } + ], + "nullable": true + } + }, + "required": [ + "args", + "description", + "id", + "internal", + "local_created_at", + "progress", + "snapshot", + "status", + "steps" + ], + "type": "object", + "additionalProperties": false + }, + "AbortMigrateVmAcrossClusterParams": { + "properties": { + "tasks": { + "$ref": "#/components/schemas/TaskWhereInput" + } + }, + "required": [ + "tasks" + ], + "type": "object" + }, + "VmAddFolderParams": { + "properties": { + "data": { + "properties": { + "folder_id": { + "type": "string" + } + }, + "required": [ + "folder_id" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmUpdateAdvancedOptionsParams": { + "properties": { + "data": { + "properties": { + "video_type": { + "$ref": "#/components/schemas/VmVideoType" + }, + "windows_optimize": { + "type": "boolean" + }, + "cpu_model": { + "type": "string" + }, + "clock_offset": { + "$ref": "#/components/schemas/VmClockOffset" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmUpdateHostOptionsParams": { + "properties": { + "data": { + "properties": { + "ntp_servers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "dns_servers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "hostname": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmResetGuestOsPasswordParams": { + "properties": { + "data": { + "properties": { + "password": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "password", + "username" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmUpdateOwnerParams": { + "properties": { + "data": { + "properties": { + "search_for": { + "type": "string", + "enum": [ + "username", + "id" + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "search_for", + "value" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmRestrictIoParamsData": { + "properties": { + "max_bandwidth_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "max_bandwidth": { + "type": "integer", + "format": "int64" + }, + "max_iops_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_iops": { + "type": "integer", + "format": "int64" + } + }, + "type": "object" + }, + "VmUpdateEachDiskIoPolicyParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/VmRestrictIoParamsData" + }, + "boot": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "data", + "boot" + ], + "type": "object" + }, + "VmUpdateIoPolicyParams": { + "properties": { + "data": { + "properties": { + "each_disk": { + "items": { + "$ref": "#/components/schemas/VmUpdateEachDiskIoPolicyParams" + }, + "type": "array" + }, + "whole_vm": { + "$ref": "#/components/schemas/VmRestrictIoParamsData" + }, + "io_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "NestedContentLibraryVmTemplate": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "VmExportFileType": { + "enum": [ + "OVF", + "QCOW2", + "RAW" + ], + "type": "string" + }, + "VmExportFileFile": { + "properties": { + "md5": { + "type": "string" + }, + "fileSize": { + "type": "integer", + "format": "int64" + }, + "fileSecret": { + "type": "string" + }, + "fileUUID": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/VmExportFileType" + }, + "fileName": { + "type": "string" + } + }, + "required": [ + "md5", + "fileSize", + "fileSecret", + "fileUUID", + "type", + "fileName" + ], + "type": "object" + }, + "NestedVmVolume": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "VmExportFile": { + "properties": { + "content_library_vm_template": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedContentLibraryVmTemplate" + } + ], + "nullable": true + }, + "createdAt": { + "type": "string" + }, + "damaged": { + "type": "boolean" + }, + "data_port_id": { + "type": "string" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "files": { + "items": { + "$ref": "#/components/schemas/VmExportFileFile" + }, + "type": "array" + }, + "id": { + "type": "string" + }, + "storage_cluster_id": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/VmExportFileType" + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVm" + } + ], + "nullable": true + }, + "vm_volume": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVmVolume" + } + ], + "nullable": true + } + }, + "required": [ + "createdAt", + "damaged", + "data_port_id", + "files", + "id", + "storage_cluster_id", + "type" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VmExportFile_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VmExportFile" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmExportParamsData": { + "properties": { + "keep_mac": { + "type": "boolean" + }, + "type": { + "$ref": "#/components/schemas/VmExportFileType" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "VmExportParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/VmExportParamsData" + }, + "where": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "VmdkDiskModify": { + "properties": { + "elf_storage_policy": { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + }, + "bus": { + "$ref": "#/components/schemas/Bus" + }, + "volume_name": { + "type": "string" + }, + "boot": { + "type": "integer", + "format": "int32" + }, + "vmdk_name": { + "type": "string" + } + }, + "required": [ + "vmdk_name" + ], + "type": "object" + }, + "VmdkCdromModify": { + "properties": { + "removed": { + "type": "boolean" + }, + "content_library_image_id": { + "type": "string" + }, + "elf_image_id": { + "type": "string" + }, + "boot": { + "type": "integer", + "format": "int32" + }, + "index": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "index" + ], + "type": "object" + }, + "OvfDiskOperate": { + "properties": { + "new_disks": { + "$ref": "#/components/schemas/VmDiskParams" + }, + "modify_cd_roms": { + "items": { + "$ref": "#/components/schemas/VmdkCdromModify" + }, + "type": "array" + }, + "modify_vmdk_disks": { + "items": { + "$ref": "#/components/schemas/VmdkDiskModify" + }, + "type": "array" + } + }, + "type": "object" + }, + "VmImportNicParams": { + "properties": { + "subnet_mask": { + "type": "string" + }, + "gateway": { + "type": "string" + }, + "ip_address": { + "type": "string" + }, + "nic_id": { + "type": "string" + }, + "connect_vlan_id": { + "type": "string" + }, + "mirror": { + "type": "boolean" + }, + "model": { + "$ref": "#/components/schemas/VmNicModel" + }, + "enabled": { + "type": "boolean" + }, + "mac_address": { + "type": "string" + }, + "local_id": { + "type": "string" + } + }, + "required": [ + "connect_vlan_id" + ], + "type": "object" + }, + "VmImportParams": { + "properties": { + "max_bandwidth_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "max_bandwidth": { + "type": "integer", + "format": "int64" + }, + "max_iops_policy": { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + }, + "max_iops": { + "type": "integer", + "format": "int64" + }, + "io_policy": { + "$ref": "#/components/schemas/VmDiskIoPolicy" + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "status": { + "$ref": "#/components/schemas/VmStatus" + }, + "ha": { + "type": "boolean" + }, + "vm_nics": { + "items": { + "$ref": "#/components/schemas/VmImportNicParams" + }, + "type": "array" + }, + "disk_operate": { + "$ref": "#/components/schemas/OvfDiskOperate" + }, + "memory_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "cpu_cores": { + "type": "integer", + "format": "int32" + }, + "cpu_sockets": { + "type": "integer", + "format": "int32" + }, + "guest_os_type": { + "$ref": "#/components/schemas/VmGuestsOperationSystem" + }, + "folder_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "host_id": { + "type": "string" + }, + "cluster_id": { + "type": "string" + }, + "upload_tasks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "owner_id": { + "type": "string" + }, + "parsed_ovf": { + "$ref": "#/components/schemas/ParsedOVF" + } + }, + "required": [ + "name", + "cluster_id", + "upload_tasks", + "parsed_ovf" + ], + "type": "object" + }, + "NestedGpuDriverInfo": { + "properties": { + "filename": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "rhelversion": { + "type": "string", + "nullable": true + }, + "srcversion": { + "type": "string", + "nullable": true + }, + "supported": { + "type": "string", + "nullable": true + }, + "vermagic": { + "type": "string", + "nullable": true + }, + "version": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedVgpuType": { + "properties": { + "framebuffer": { + "type": "number", + "format": "double", + "nullable": true + }, + "max_instance": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_resolution": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "vgpu_type_id": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmGpuDetail": { + "properties": { + "vgpu_instance_on_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vgpu_instance_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "user_vgpu_type_name": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_id": { + "type": "string", + "nullable": true + }, + "user_usage": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceUsage" + } + ], + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/GpuDeviceStatus" + }, + "name": { + "type": "string" + }, + "model": { + "type": "string" + }, + "mdev_supported_types": { + "items": { + "$ref": "#/components/schemas/NestedVgpuType" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "local_created_at": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "is_nvidia_vfs_supported": { + "type": "boolean", + "nullable": true + }, + "is_nvidia_vfs_enabled": { + "type": "boolean", + "nullable": true + }, + "is_nvidia_tools_ready": { + "type": "boolean", + "nullable": true + }, + "id": { + "type": "string" + }, + "host": { + "$ref": "#/components/schemas/NestedHost" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "driver_info": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedGpuDriverInfo" + } + ], + "nullable": true + }, + "description": { + "type": "string" + }, + "bus_location": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "available_vgpus_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "assigned_vgpus_num": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "required": [ + "status", + "name", + "model", + "local_id", + "local_created_at", + "id", + "host", + "description", + "bus_location", + "brand" + ], + "type": "object" + }, + "VmGpuInfo": { + "properties": { + "gpu_devices": { + "items": { + "$ref": "#/components/schemas/VmGpuDetail" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "gpu_devices", + "name", + "local_id", + "id" + ], + "type": "object" + }, + "VmOrderByInput": { + "enum": [ + "bios_uuid_ASC", + "bios_uuid_DESC", + "clock_offset_ASC", + "clock_offset_DESC", + "cloud_init_supported_ASC", + "cloud_init_supported_DESC", + "cpu_ASC", + "cpu_DESC", + "cpu_model_ASC", + "cpu_model_DESC", + "cpu_usage_ASC", + "cpu_usage_DESC", + "deleted_at_ASC", + "deleted_at_DESC", + "description_ASC", + "description_DESC", + "dns_servers_ASC", + "dns_servers_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "firmware_ASC", + "firmware_DESC", + "guest_cpu_model_ASC", + "guest_cpu_model_DESC", + "guest_os_type_ASC", + "guest_os_type_DESC", + "guest_size_usage_ASC", + "guest_size_usage_DESC", + "guest_used_size_ASC", + "guest_used_size_DESC", + "ha_ASC", + "ha_DESC", + "hostname_ASC", + "hostname_DESC", + "id_ASC", + "id_DESC", + "in_recycle_bin_ASC", + "in_recycle_bin_DESC", + "internal_ASC", + "internal_DESC", + "io_policy_ASC", + "io_policy_DESC", + "ips_ASC", + "ips_DESC", + "kernel_info_ASC", + "kernel_info_DESC", + "last_shutdown_time_ASC", + "last_shutdown_time_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "logical_size_bytes_ASC", + "logical_size_bytes_DESC", + "max_bandwidth_ASC", + "max_bandwidth_DESC", + "max_bandwidth_policy_ASC", + "max_bandwidth_policy_DESC", + "max_iops_ASC", + "max_iops_DESC", + "max_iops_policy_ASC", + "max_iops_policy_DESC", + "memory_ASC", + "memory_DESC", + "memory_usage_ASC", + "memory_usage_DESC", + "name_ASC", + "name_DESC", + "nested_virtualization_ASC", + "nested_virtualization_DESC", + "node_ip_ASC", + "node_ip_DESC", + "original_name_ASC", + "original_name_DESC", + "os_ASC", + "os_DESC", + "protected_ASC", + "protected_DESC", + "provisioned_size_ASC", + "provisioned_size_DESC", + "size_ASC", + "size_DESC", + "status_ASC", + "status_DESC", + "unique_logical_size_ASC", + "unique_logical_size_DESC", + "unique_size_ASC", + "unique_size_DESC", + "vcpu_ASC", + "vcpu_DESC", + "video_type_ASC", + "video_type_DESC", + "vm_tools_status_ASC", + "vm_tools_status_DESC", + "vm_tools_version_ASC", + "vm_tools_version_DESC", + "vm_usage_ASC", + "vm_usage_DESC", + "win_opt_ASC", + "win_opt_DESC" + ], + "type": "string" + }, + "GetVmsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmVncInfo": { + "properties": { + "vm": { + "$ref": "#/components/schemas/Vm" + }, + "terminal": { + "type": "string" + }, + "redirect": { + "type": "string" + }, + "direct": { + "type": "string" + }, + "cluster_ip": { + "type": "string" + } + }, + "required": [ + "vm", + "terminal", + "redirect", + "cluster_ip" + ], + "type": "object" + }, + "VmWhereUniqueInput": { + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetVmVncInfoParams": { + "properties": { + "vm": { + "$ref": "#/components/schemas/VmWhereUniqueInput" + } + }, + "required": [ + "vm" + ], + "type": "object" + }, + "VmUpdateVpcNicParams": { + "properties": { + "data": { + "properties": { + "vpc_nic": { + "$ref": "#/components/schemas/UpdateVpcNicPayloads" + } + }, + "required": [ + "vpc_nic" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmNicWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "NestedTemplateConfig": { + "properties": { + "cpu_exclusive_expected_enabled": { + "type": "boolean", + "nullable": true + }, + "guest_os_type": { + "type": "string", + "nullable": true + }, + "minimum_replica": { + "type": "boolean", + "nullable": true + }, + "sync_vm_time_on_resume": { + "type": "boolean", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedContentLibraryVmTemplateDisk": { + "properties": { + "boot": { + "type": "integer", + "format": "int32" + }, + "bus": { + "$ref": "#/components/schemas/Bus" + }, + "content_library_image_id": { + "type": "string", + "nullable": true + }, + "disabled": { + "type": "boolean", + "nullable": true + }, + "disk_name": { + "type": "string", + "nullable": true + }, + "index": { + "type": "integer", + "format": "int32" + }, + "max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "path": { + "type": "string", + "nullable": true + }, + "resident_in_cache": { + "type": "boolean", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "storage_encrypted": { + "type": "boolean", + "nullable": true + }, + "storage_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + } + ], + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/VmDiskType" + } + }, + "required": [ + "boot", + "bus", + "index", + "type" + ], + "type": "object", + "additionalProperties": false + }, + "NestedFrozenVlan": { + "properties": { + "name": { + "type": "string" + }, + "network_ids": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "vds_ovs": { + "type": "string" + }, + "vlan_id": { + "type": "integer", + "format": "int32" + }, + "vlan_local_id": { + "type": "string" + } + }, + "required": [ + "name", + "vds_ovs", + "vlan_id", + "vlan_local_id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedTemplateVpcNic": { + "properties": { + "use_floating_ip": { + "type": "boolean" + }, + "vpc_local_id": { + "type": "string" + }, + "vpc_subnet_local_id": { + "type": "string" + } + }, + "required": [ + "use_floating_ip", + "vpc_local_id", + "vpc_subnet_local_id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedContentLibraryVmTemplateNic": { + "properties": { + "egress_rate_limit_burst_in_bit": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_enabled": { + "type": "boolean", + "nullable": true + }, + "egress_rate_limit_max_rate_in_bitps": { + "type": "number", + "format": "double", + "nullable": true + }, + "enabled": { + "type": "boolean", + "nullable": true + }, + "index": { + "type": "integer", + "format": "int32" + }, + "ingress_rate_limit_burst_in_bit": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_enabled": { + "type": "boolean", + "nullable": true + }, + "ingress_rate_limit_max_rate_in_bitps": { + "type": "number", + "format": "double", + "nullable": true + }, + "mirror": { + "type": "boolean", + "nullable": true + }, + "model": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicModel" + } + ], + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicType" + } + ], + "nullable": true + }, + "vlan": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedFrozenVlan" + } + ], + "nullable": true + }, + "vpc_nic": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedTemplateVpcNic" + } + ], + "nullable": true + } + }, + "required": [ + "index" + ], + "type": "object", + "additionalProperties": false + }, + "NestedStoragePolicyConfig": { + "properties": { + "replica_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "thin_provision": { + "type": "boolean", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedSnapshotInfo": { + "properties": { + "index": { + "type": "integer", + "format": "int32" + }, + "iscsi_lun_snapshot_uuid": { + "type": "string" + }, + "storage_encrypted": { + "type": "boolean", + "nullable": true + }, + "storage_policy_config": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedStoragePolicyConfig" + } + ], + "nullable": true + } + }, + "required": [ + "index", + "iscsi_lun_snapshot_uuid" + ], + "type": "object", + "additionalProperties": false + }, + "NestedZbsStorageInfo": { + "properties": { + "cluster_id": { + "type": "string" + }, + "snapshot_info": { + "items": { + "$ref": "#/components/schemas/NestedSnapshotInfo" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "cluster_id" + ], + "type": "object", + "additionalProperties": false + }, + "ContentLibraryVmTemplate": { + "properties": { + "architecture": { + "$ref": "#/components/schemas/Architecture" + }, + "clock_offset": { + "allOf": [ + { + "$ref": "#/components/schemas/VmClockOffset" + } + ], + "nullable": true + }, + "cloud_init_supported": { + "type": "boolean" + }, + "clusters": { + "items": { + "$ref": "#/components/schemas/NestedCluster" + }, + "type": "array", + "nullable": true + }, + "cpu": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedCpu" + } + ], + "nullable": true + }, + "cpu_model": { + "type": "string", + "nullable": true + }, + "createdAt": { + "type": "string" + }, + "description": { + "type": "string" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "firmware": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFirmware" + } + ], + "nullable": true + }, + "ha": { + "type": "boolean", + "nullable": true + }, + "id": { + "type": "string" + }, + "io_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "os": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64" + }, + "template_config": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedTemplateConfig" + } + ], + "nullable": true + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "video_type": { + "type": "string", + "nullable": true + }, + "vm_disks": { + "items": { + "$ref": "#/components/schemas/NestedContentLibraryVmTemplateDisk" + }, + "type": "array", + "nullable": true + }, + "vm_nics": { + "items": { + "$ref": "#/components/schemas/NestedContentLibraryVmTemplateNic" + }, + "type": "array", + "nullable": true + }, + "vm_template_uuids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "vm_templates": { + "items": { + "$ref": "#/components/schemas/NestedVmTemplate" + }, + "type": "array", + "nullable": true + }, + "win_opt": { + "type": "boolean", + "nullable": true + }, + "zbs_storage_info": { + "items": { + "$ref": "#/components/schemas/NestedZbsStorageInfo" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "architecture", + "cloud_init_supported", + "createdAt", + "description", + "id", + "memory", + "name", + "size", + "vcpu", + "vm_template_uuids" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_ContentLibraryVmTemplate_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/ContentLibraryVmTemplate" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ContentLibraryVmTemplateCreationParams": { + "properties": { + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "cloud_init_supported": { + "type": "boolean" + }, + "vm": { + "$ref": "#/components/schemas/VmWhereUniqueInput" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "clusters", + "vm", + "name" + ], + "type": "object" + }, + "ContentLibraryVmTemplateUpdationParamsData": { + "properties": { + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "cloud_init_supported": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "ContentLibraryVmTemplateUpdationParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateUpdationParamsData" + }, + "where": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "ContentLibraryVmTemplateUpdationClusterParamsData": { + "properties": { + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "clusters" + ], + "type": "object" + }, + "ContentLibraryVmTemplateUpdationClusterParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateUpdationClusterParamsData" + }, + "where": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteContentLibraryVmTemplate": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteContentLibraryVmTemplate_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteContentLibraryVmTemplate" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ContentLibraryVmTemplateDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "ContentLibraryVmTemplateExportParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "ContentLibraryVmdkCdromModify": { + "properties": { + "enabled": { + "type": "boolean" + }, + "removed": { + "type": "boolean" + }, + "boot": { + "type": "integer", + "format": "int32" + }, + "index": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "index" + ], + "type": "object" + }, + "ContentLibraryVmdkCdromMount": { + "properties": { + "enabled": { + "type": "boolean" + }, + "boot": { + "type": "integer", + "format": "int32" + } + }, + "type": "object" + }, + "ContentLibraryVmTemplateOvfDiskOperate": { + "properties": { + "mount_new_cd_roms": { + "items": { + "$ref": "#/components/schemas/ContentLibraryVmdkCdromMount" + }, + "type": "array" + }, + "modify_cd_roms": { + "items": { + "$ref": "#/components/schemas/ContentLibraryVmdkCdromModify" + }, + "type": "array" + }, + "modify_vmdk_disks": { + "items": { + "$ref": "#/components/schemas/VmdkDiskModify" + }, + "type": "array" + } + }, + "type": "object" + }, + "ContentLibraryImportVmNic": { + "properties": { + "mirror": { + "type": "boolean" + }, + "model": { + "$ref": "#/components/schemas/VmNicModel" + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "model" + ], + "type": "object" + }, + "ContentLibraryVmTemplateImportParams": { + "properties": { + "vm_nics": { + "items": { + "$ref": "#/components/schemas/ContentLibraryImportVmNic" + }, + "type": "array" + }, + "disk_operate": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateOvfDiskOperate" + }, + "ha": { + "type": "boolean" + }, + "memory_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "cpu_cores": { + "type": "integer", + "format": "int32" + }, + "cpu_sockets": { + "type": "integer", + "format": "int32" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "upload_tasks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "parsed_ovf": { + "$ref": "#/components/schemas/ParsedOVF" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "name", + "upload_tasks", + "parsed_ovf", + "cluster_id" + ], + "type": "object" + }, + "NestedOrganization": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "Datacenter": { + "properties": { + "cluster_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "clusters": { + "items": { + "$ref": "#/components/schemas/NestedCluster" + }, + "type": "array", + "nullable": true + }, + "failure_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "host_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "id": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string" + }, + "organization": { + "$ref": "#/components/schemas/NestedOrganization" + }, + "total_cpu_hz": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_cpu_hz": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_memory_bytes": { + "type": "number", + "format": "double", + "nullable": true + }, + "vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "required": [ + "id", + "name", + "organization" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_Datacenter_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/Datacenter" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "DatacenterCreationParams": { + "properties": { + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "organization_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "organization_id", + "name" + ], + "type": "object" + }, + "DatacenterUpdationParams": { + "properties": { + "data": { + "properties": { + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/DatacenterWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DatacenterWhereUniqueInput": { + "properties": { + "id": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "AddClustersToDatacenterParams": { + "properties": { + "data": { + "properties": { + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/DatacenterWhereUniqueInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "RemoveClustersFromDatacenterParams": { + "properties": { + "data": { + "properties": { + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/DatacenterWhereUniqueInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteDatacenter": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteDatacenter_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteDatacenter" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "DatacenterDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/DatacenterWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedDiskFailureInformation": { + "properties": { + "chunk_checksum_error": { + "type": "boolean", + "nullable": true + }, + "chunk_errflag": { + "type": "boolean", + "nullable": true + }, + "chunk_io_error": { + "type": "boolean", + "nullable": true + }, + "chunk_warnflag": { + "type": "boolean", + "nullable": true + }, + "iostat_latency": { + "type": "boolean", + "nullable": true + }, + "iostat_latency_ms": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "smart_check": { + "type": "boolean", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "PartitionUsage": { + "enum": [ + "BOOT", + "CACHE", + "EFI_SYSTEM", + "JOURNAL", + "METAD", + "PARTITION", + "SWAP", + "SYSTEM", + "UNMOUNTED", + "UNPARTED", + "ZOOKEEPER" + ], + "type": "string" + }, + "NestedPartition": { + "properties": { + "name": { + "type": "string", + "nullable": true + }, + "path": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64" + }, + "usage": { + "$ref": "#/components/schemas/PartitionUsage" + }, + "used_size": { + "type": "integer", + "format": "int64" + } + }, + "required": [ + "size", + "usage", + "used_size" + ], + "type": "object", + "additionalProperties": false + }, + "NestedPmemDimm": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "Disk": { + "properties": { + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "failure_information": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedDiskFailureInformation" + } + ], + "nullable": true + }, + "firmware": { + "type": "string" + }, + "function": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskFunction" + } + ], + "nullable": true + }, + "health_status": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskHealthStatus" + } + ], + "nullable": true + }, + "healthy": { + "type": "boolean" + }, + "host": { + "$ref": "#/components/schemas/NestedHost" + }, + "id": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "model": { + "type": "string" + }, + "mounted": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "numa_node": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "offline": { + "type": "boolean" + }, + "partitions": { + "items": { + "$ref": "#/components/schemas/NestedPartition" + }, + "type": "array" + }, + "path": { + "type": "string" + }, + "persistent_memory_type": { + "type": "string", + "nullable": true + }, + "physical_slot_on_brick": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "pmem_dimms": { + "items": { + "$ref": "#/components/schemas/NestedPmemDimm" + }, + "type": "array", + "nullable": true + }, + "recommended_usage": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskUsage" + } + ], + "nullable": true + }, + "remaining_life_percent": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "serial": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "type": { + "$ref": "#/components/schemas/DiskType" + }, + "usage": { + "$ref": "#/components/schemas/DiskUsage" + }, + "usage_status": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskUsageStatus" + } + ], + "nullable": true + } + }, + "required": [ + "firmware", + "healthy", + "host", + "id", + "local_id", + "model", + "mounted", + "name", + "offline", + "partitions", + "path", + "serial", + "size", + "type", + "usage" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_Disk_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/Disk" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "DiskMountParams": { + "properties": { + "data": { + "properties": { + "function": { + "$ref": "#/components/schemas/DiskFunction" + } + }, + "required": [ + "function" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/DiskWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DiskUnmountParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/DiskWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "FilterRuleAggregationEnum": { + "enum": [ + "AVG", + "MAX", + "MIN", + "QUANTILE", + "SUM" + ], + "type": "string" + }, + "FilterRuleMetricEnum": { + "enum": [ + "VM_CPU_USAGE", + "VM_MEMORY_USAGE", + "VM_POWEROFF_DAYS", + "VM_POWERON_DAYS", + "VM_READWRITE_IO" + ], + "type": "string" + }, + "FilterRuleOpEnum": { + "enum": [ + "GT", + "GTE", + "LT", + "LTE" + ], + "type": "string" + }, + "NestedFilterRule": { + "properties": { + "aggregation": { + "$ref": "#/components/schemas/FilterRuleAggregationEnum" + }, + "duration": { + "type": "integer", + "format": "int32" + }, + "metric": { + "$ref": "#/components/schemas/FilterRuleMetricEnum" + }, + "op": { + "$ref": "#/components/schemas/FilterRuleOpEnum" + }, + "quantile": { + "type": "integer", + "format": "int32" + }, + "threshold": { + "type": "number", + "format": "double" + } + }, + "required": [ + "aggregation", + "duration", + "metric", + "op", + "quantile", + "threshold" + ], + "type": "object", + "additionalProperties": false + }, + "EntityFilter": { + "properties": { + "apply_to_all_clusters": { + "type": "boolean", + "nullable": true + }, + "clusters": { + "items": { + "$ref": "#/components/schemas/NestedCluster" + }, + "type": "array", + "nullable": true + }, + "entity_type": { + "$ref": "#/components/schemas/EntityType" + }, + "exclude_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "exec_failed_cluster": { + "items": { + "$ref": "#/components/schemas/NestedCluster" + }, + "type": "array", + "nullable": true + }, + "filter_error": { + "items": { + "type": "string" + }, + "type": "array" + }, + "filter_status": { + "$ref": "#/components/schemas/FilterStatus" + }, + "id": { + "type": "string" + }, + "ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "last_executed_at": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string" + }, + "preset": { + "type": "string", + "nullable": true + }, + "rules": { + "items": { + "$ref": "#/components/schemas/NestedFilterRule" + }, + "type": "array" + } + }, + "required": [ + "entity_type", + "exclude_ids", + "filter_error", + "filter_status", + "id", + "ids", + "name", + "rules" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_EntityFilter_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/EntityFilter" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "FilterRuleInput": { + "properties": { + "threshold": { + "type": "number", + "format": "double" + }, + "quantile": { + "type": "integer", + "format": "int32" + }, + "op": { + "$ref": "#/components/schemas/FilterRuleOpEnum" + }, + "metric": { + "$ref": "#/components/schemas/FilterRuleMetricEnum" + }, + "duration": { + "type": "integer", + "format": "int32" + }, + "aggregation": { + "$ref": "#/components/schemas/FilterRuleAggregationEnum" + } + }, + "required": [ + "threshold", + "quantile", + "op", + "metric", + "duration", + "aggregation" + ], + "type": "object" + }, + "EntityFilterCreationParams": { + "properties": { + "exclude_vms": { + "$ref": "#/components/schemas/VmWhereInput" + }, + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "apply_to_all_clusters": { + "type": "boolean" + }, + "rules": { + "items": { + "$ref": "#/components/schemas/FilterRuleInput" + }, + "type": "array" + }, + "name": { + "type": "string" + } + }, + "required": [ + "rules", + "name" + ], + "type": "object" + }, + "EntityFilterUpdationParams": { + "properties": { + "data": { + "properties": { + "exclude_vms": { + "$ref": "#/components/schemas/VmWhereInput" + }, + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "apply_to_all_clusters": { + "type": "boolean" + }, + "rules": { + "items": { + "$ref": "#/components/schemas/FilterRuleInput" + }, + "type": "array" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/EntityFilterWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteEntityFilter": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteEntityFilter_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteEntityFilter" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "EntityFilterDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/EntityFilterWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "GpuDevice": { + "properties": { + "assigned_vgpus_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "available_vgpus_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "brand": { + "type": "string" + }, + "bus_location": { + "type": "string" + }, + "description": { + "type": "string" + }, + "driver_info": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedGpuDriverInfo" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "host": { + "$ref": "#/components/schemas/NestedHost" + }, + "id": { + "type": "string" + }, + "is_nvidia_tools_ready": { + "type": "boolean", + "nullable": true + }, + "is_nvidia_vfs_enabled": { + "type": "boolean", + "nullable": true + }, + "is_nvidia_vfs_supported": { + "type": "boolean", + "nullable": true + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "mdev_supported_types": { + "items": { + "$ref": "#/components/schemas/NestedVgpuType" + }, + "type": "array", + "nullable": true + }, + "model": { + "type": "string" + }, + "name": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/GpuDeviceStatus" + }, + "user_usage": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceUsage" + } + ], + "nullable": true + }, + "user_vgpu_type_id": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_name": { + "type": "string", + "nullable": true + }, + "vgpu_instance_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vms": { + "items": { + "$ref": "#/components/schemas/NestedVm" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "brand", + "bus_location", + "description", + "host", + "id", + "local_created_at", + "local_id", + "model", + "name", + "status" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_GpuDevice_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/GpuDevice" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "GpuDeviceUsageUpdationParams": { + "properties": { + "data": { + "properties": { + "vgpu_spec": { + "type": "string" + }, + "usage": { + "$ref": "#/components/schemas/GpuDeviceUsage" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "GpuDeviceDescriptionUpdationParams": { + "properties": { + "data": { + "properties": { + "description": { + "type": "string" + } + }, + "required": [ + "description" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "GpuDeviceSriovSwitchParams": { + "properties": { + "data": { + "properties": { + "enable": { + "type": "boolean" + } + }, + "required": [ + "enable" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "GpuVmDetail": { + "properties": { + "vgpu_instance_on_vm_num": { + "type": "integer", + "format": "int32" + }, + "win_opt": { + "type": "boolean" + }, + "vm_usage": { + "allOf": [ + { + "$ref": "#/components/schemas/VmUsage" + } + ], + "nullable": true + }, + "vm_tools_version": { + "type": "string", + "nullable": true + }, + "vm_tools_status": { + "$ref": "#/components/schemas/VmToolsStatus" + }, + "vm_placement_group": { + "items": { + "$ref": "#/components/schemas/NestedVmPlacementGroup" + }, + "type": "array", + "nullable": true + }, + "vm_nics": { + "items": { + "$ref": "#/components/schemas/NestedVmNic" + }, + "type": "array", + "nullable": true + }, + "vm_disks": { + "items": { + "$ref": "#/components/schemas/NestedVmDisk" + }, + "type": "array", + "nullable": true + }, + "video_type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVideoType" + } + ], + "nullable": true + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "usb_devices": { + "items": { + "$ref": "#/components/schemas/NestedUsbDevice" + }, + "type": "array", + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/VmStatus" + }, + "snapshots": { + "items": { + "$ref": "#/components/schemas/NestedVmSnapshot" + }, + "type": "array", + "nullable": true + }, + "snapshot_plan": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedSnapshotPlan" + } + ], + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "protected": { + "type": "boolean" + }, + "pci_nics": { + "items": { + "$ref": "#/components/schemas/NestedNic" + }, + "type": "array", + "nullable": true + }, + "out_uninstall_usb": { + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "type": "string", + "nullable": true + }, + "original_name": { + "type": "string", + "nullable": true + }, + "node_ip": { + "type": "string" + }, + "nested_virtualization": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "memory_usage": { + "type": "number", + "format": "double", + "nullable": true + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "logical_size_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "last_shutdown_time": { + "type": "string", + "nullable": true + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "kernel_info": { + "type": "string", + "nullable": true + }, + "isolation_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedIsolationPolicy" + } + ], + "nullable": true + }, + "ips": { + "type": "string" + }, + "io_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + }, + "internal": { + "type": "boolean" + }, + "in_recycle_bin": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "hostname": { + "type": "string", + "nullable": true + }, + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedHost" + } + ], + "nullable": true + }, + "ha": { + "type": "boolean" + }, + "guest_used_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "guest_size_usage": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_os_type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmGuestsOperationSystem" + } + ], + "nullable": true + }, + "guest_cpu_model": { + "type": "string", + "nullable": true + }, + "gpu_devices": { + "items": { + "$ref": "#/components/schemas/NestedGpuDevice" + }, + "type": "array", + "nullable": true + }, + "folder": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVmFolder" + } + ], + "nullable": true + }, + "firmware": { + "$ref": "#/components/schemas/VmFirmware" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entity_filter_results": { + "items": { + "$ref": "#/components/schemas/NestedVmEntityFilterResult" + }, + "type": "array", + "nullable": true + }, + "dns_servers": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string" + }, + "deleted_at": { + "type": "string", + "nullable": true + }, + "cpu_usage": { + "type": "number", + "format": "double", + "nullable": true + }, + "cpu_model": { + "type": "string" + }, + "cpu": { + "$ref": "#/components/schemas/NestedCpu" + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedCluster" + } + ], + "nullable": true + }, + "cloud_init_supported": { + "type": "boolean", + "nullable": true + }, + "clock_offset": { + "$ref": "#/components/schemas/VmClockOffset" + } + }, + "required": [ + "win_opt", + "vm_tools_status", + "vcpu", + "status", + "protected", + "out_uninstall_usb", + "node_ip", + "nested_virtualization", + "name", + "memory", + "local_id", + "ips", + "internal", + "in_recycle_bin", + "id", + "ha", + "firmware", + "description", + "cpu_model", + "cpu", + "clock_offset" + ], + "type": "object" + }, + "GpuVmInfo": { + "properties": { + "vms": { + "items": { + "$ref": "#/components/schemas/GpuVmDetail" + }, + "type": "array" + }, + "vgpu_instance_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "user_vgpu_type_name": { + "type": "string", + "nullable": true + }, + "user_vgpu_type_id": { + "type": "string", + "nullable": true + }, + "user_usage": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceUsage" + } + ], + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/GpuDeviceStatus" + }, + "name": { + "type": "string" + }, + "model": { + "type": "string" + }, + "mdev_supported_types": { + "items": { + "$ref": "#/components/schemas/NestedVgpuType" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "local_created_at": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "is_nvidia_vfs_supported": { + "type": "boolean", + "nullable": true + }, + "is_nvidia_vfs_enabled": { + "type": "boolean", + "nullable": true + }, + "is_nvidia_tools_ready": { + "type": "boolean", + "nullable": true + }, + "id": { + "type": "string" + }, + "host": { + "$ref": "#/components/schemas/NestedHost" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "driver_info": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedGpuDriverInfo" + } + ], + "nullable": true + }, + "description": { + "type": "string" + }, + "bus_location": { + "type": "string" + }, + "brand": { + "type": "string" + }, + "available_vgpus_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "assigned_vgpus_num": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "required": [ + "vms", + "status", + "name", + "model", + "local_id", + "local_created_at", + "id", + "host", + "description", + "bus_location", + "brand" + ], + "type": "object" + }, + "GpuDeviceOrderByInput": { + "enum": [ + "assigned_vgpus_num_ASC", + "assigned_vgpus_num_DESC", + "available_vgpus_num_ASC", + "available_vgpus_num_DESC", + "brand_ASC", + "brand_DESC", + "bus_location_ASC", + "bus_location_DESC", + "description_ASC", + "description_DESC", + "driver_info_ASC", + "driver_info_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "is_nvidia_tools_ready_ASC", + "is_nvidia_tools_ready_DESC", + "is_nvidia_vfs_enabled_ASC", + "is_nvidia_vfs_enabled_DESC", + "is_nvidia_vfs_supported_ASC", + "is_nvidia_vfs_supported_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "mdev_supported_types_ASC", + "mdev_supported_types_DESC", + "model_ASC", + "model_DESC", + "name_ASC", + "name_DESC", + "status_ASC", + "status_DESC", + "user_usage_ASC", + "user_usage_DESC", + "user_vgpu_type_id_ASC", + "user_vgpu_type_id_DESC", + "user_vgpu_type_name_ASC", + "user_vgpu_type_name_DESC", + "vgpu_instance_num_ASC", + "vgpu_instance_num_DESC" + ], + "type": "string" + }, + "GetGpuDevicesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "MetricType": { + "enum": [ + "BOTTOMK", + "NORMAL", + "TOPK" + ], + "type": "string" + }, + "GraphType": { + "enum": [ + "AREA", + "STACK" + ], + "type": "string" + }, + "NestedView": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "Graph": { + "properties": { + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedCluster" + } + ], + "nullable": true + }, + "disks": { + "items": { + "$ref": "#/components/schemas/NestedDisk" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "hosts": { + "items": { + "$ref": "#/components/schemas/NestedHost" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string" + }, + "instance_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "local_id": { + "type": "string" + }, + "luns": { + "items": { + "$ref": "#/components/schemas/NestedIscsiLun" + }, + "type": "array", + "nullable": true + }, + "metric_count": { + "type": "integer", + "format": "int32" + }, + "metric_name": { + "type": "string" + }, + "metric_type": { + "$ref": "#/components/schemas/MetricType" + }, + "namespaces": { + "items": { + "$ref": "#/components/schemas/NestedNvmfNamespace" + }, + "type": "array", + "nullable": true + }, + "network": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkType" + } + ], + "nullable": true + }, + "nics": { + "items": { + "$ref": "#/components/schemas/NestedNic" + }, + "type": "array", + "nullable": true + }, + "resource_type": { + "type": "string" + }, + "service": { + "type": "string", + "nullable": true + }, + "targets": { + "properties": {}, + "type": "object" + }, + "title": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/GraphType" + }, + "view": { + "$ref": "#/components/schemas/NestedView" + }, + "vmNics": { + "items": { + "$ref": "#/components/schemas/NestedVmNic" + }, + "type": "array", + "nullable": true + }, + "vmVolumes": { + "items": { + "$ref": "#/components/schemas/NestedVmVolume" + }, + "type": "array", + "nullable": true + }, + "vms": { + "items": { + "$ref": "#/components/schemas/NestedVm" + }, + "type": "array", + "nullable": true + }, + "witnesses": { + "items": { + "$ref": "#/components/schemas/NestedWitness" + }, + "type": "array", + "nullable": true + }, + "zones": { + "items": { + "$ref": "#/components/schemas/NestedZone" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "id", + "instance_ids", + "local_id", + "metric_count", + "metric_name", + "metric_type", + "resource_type", + "targets", + "title", + "type", + "view" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_Graph_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/Graph" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "GraphCreationParams": { + "properties": { + "instance_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "network": { + "$ref": "#/components/schemas/NetworkType" + }, + "service": { + "type": "string" + }, + "metric_type": { + "$ref": "#/components/schemas/MetricType" + }, + "metric_count": { + "type": "integer", + "format": "int32" + }, + "type": { + "$ref": "#/components/schemas/GraphType" + }, + "resource_type": { + "type": "string" + }, + "view_id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "cluster_id": { + "type": "string" + }, + "connect_id": { + "items": { + "type": "string" + }, + "type": "array" + }, + "metric_name": { + "type": "string" + } + }, + "required": [ + "type", + "resource_type", + "view_id", + "title", + "cluster_id", + "connect_id", + "metric_name" + ], + "type": "object" + }, + "GraphWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/GraphWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/GraphWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/GraphWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "disks_every": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskWhereInput" + } + ], + "nullable": true + }, + "disks_none": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskWhereInput" + } + ], + "nullable": true + }, + "disks_some": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "hosts_every": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "hosts_none": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "hosts_some": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "luns_every": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "luns_none": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "luns_some": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + }, + "metric_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "metric_count_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "metric_count_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "metric_count_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "metric_count_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "metric_count_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "metric_count_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "metric_count_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "metric_name": { + "type": "string", + "nullable": true + }, + "metric_name_contains": { + "type": "string", + "nullable": true + }, + "metric_name_ends_with": { + "type": "string", + "nullable": true + }, + "metric_name_gt": { + "type": "string", + "nullable": true + }, + "metric_name_gte": { + "type": "string", + "nullable": true + }, + "metric_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "metric_name_lt": { + "type": "string", + "nullable": true + }, + "metric_name_lte": { + "type": "string", + "nullable": true + }, + "metric_name_not": { + "type": "string", + "nullable": true + }, + "metric_name_not_contains": { + "type": "string", + "nullable": true + }, + "metric_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "metric_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "metric_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "metric_name_starts_with": { + "type": "string", + "nullable": true + }, + "metric_type": { + "allOf": [ + { + "$ref": "#/components/schemas/MetricType" + } + ], + "nullable": true + }, + "metric_type_in": { + "items": { + "$ref": "#/components/schemas/MetricType" + }, + "type": "array", + "nullable": true + }, + "metric_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/MetricType" + } + ], + "nullable": true + }, + "metric_type_not_in": { + "items": { + "$ref": "#/components/schemas/MetricType" + }, + "type": "array", + "nullable": true + }, + "namespaces_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "namespaces_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "namespaces_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + }, + "network": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkType" + } + ], + "nullable": true + }, + "network_in": { + "items": { + "$ref": "#/components/schemas/NetworkType" + }, + "type": "array", + "nullable": true + }, + "network_not": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkType" + } + ], + "nullable": true + }, + "network_not_in": { + "items": { + "$ref": "#/components/schemas/NetworkType" + }, + "type": "array", + "nullable": true + }, + "nics_every": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "nics_none": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "nics_some": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + }, + "resource_type": { + "type": "string", + "nullable": true + }, + "resource_type_contains": { + "type": "string", + "nullable": true + }, + "resource_type_ends_with": { + "type": "string", + "nullable": true + }, + "resource_type_gt": { + "type": "string", + "nullable": true + }, + "resource_type_gte": { + "type": "string", + "nullable": true + }, + "resource_type_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_type_lt": { + "type": "string", + "nullable": true + }, + "resource_type_lte": { + "type": "string", + "nullable": true + }, + "resource_type_not": { + "type": "string", + "nullable": true + }, + "resource_type_not_contains": { + "type": "string", + "nullable": true + }, + "resource_type_not_ends_with": { + "type": "string", + "nullable": true + }, + "resource_type_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_type_not_starts_with": { + "type": "string", + "nullable": true + }, + "resource_type_starts_with": { + "type": "string", + "nullable": true + }, + "service": { + "type": "string", + "nullable": true + }, + "service_contains": { + "type": "string", + "nullable": true + }, + "service_ends_with": { + "type": "string", + "nullable": true + }, + "service_gt": { + "type": "string", + "nullable": true + }, + "service_gte": { + "type": "string", + "nullable": true + }, + "service_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "service_lt": { + "type": "string", + "nullable": true + }, + "service_lte": { + "type": "string", + "nullable": true + }, + "service_not": { + "type": "string", + "nullable": true + }, + "service_not_contains": { + "type": "string", + "nullable": true + }, + "service_not_ends_with": { + "type": "string", + "nullable": true + }, + "service_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "service_not_starts_with": { + "type": "string", + "nullable": true + }, + "service_starts_with": { + "type": "string", + "nullable": true + }, + "title": { + "type": "string", + "nullable": true + }, + "title_contains": { + "type": "string", + "nullable": true + }, + "title_ends_with": { + "type": "string", + "nullable": true + }, + "title_gt": { + "type": "string", + "nullable": true + }, + "title_gte": { + "type": "string", + "nullable": true + }, + "title_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "title_lt": { + "type": "string", + "nullable": true + }, + "title_lte": { + "type": "string", + "nullable": true + }, + "title_not": { + "type": "string", + "nullable": true + }, + "title_not_contains": { + "type": "string", + "nullable": true + }, + "title_not_ends_with": { + "type": "string", + "nullable": true + }, + "title_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "title_not_starts_with": { + "type": "string", + "nullable": true + }, + "title_starts_with": { + "type": "string", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/GraphType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/GraphType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/GraphType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/GraphType" + }, + "type": "array", + "nullable": true + }, + "view": { + "allOf": [ + { + "$ref": "#/components/schemas/ViewWhereInput" + } + ], + "nullable": true + }, + "vmNics_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicWhereInput" + } + ], + "nullable": true + }, + "vmNics_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicWhereInput" + } + ], + "nullable": true + }, + "vmNics_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicWhereInput" + } + ], + "nullable": true + }, + "vmVolumes_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeWhereInput" + } + ], + "nullable": true + }, + "vmVolumes_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeWhereInput" + } + ], + "nullable": true + }, + "vmVolumes_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeWhereInput" + } + ], + "nullable": true + }, + "vms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "witnesses_every": { + "allOf": [ + { + "$ref": "#/components/schemas/WitnessWhereInput" + } + ], + "nullable": true + }, + "witnesses_none": { + "allOf": [ + { + "$ref": "#/components/schemas/WitnessWhereInput" + } + ], + "nullable": true + }, + "witnesses_some": { + "allOf": [ + { + "$ref": "#/components/schemas/WitnessWhereInput" + } + ], + "nullable": true + }, + "zones_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneWhereInput" + } + ], + "nullable": true + }, + "zones_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneWhereInput" + } + ], + "nullable": true + }, + "zones_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ViewWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ViewWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ViewWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ViewWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "graphs_every": { + "allOf": [ + { + "$ref": "#/components/schemas/GraphWhereInput" + } + ], + "nullable": true + }, + "graphs_none": { + "allOf": [ + { + "$ref": "#/components/schemas/GraphWhereInput" + } + ], + "nullable": true + }, + "graphs_some": { + "allOf": [ + { + "$ref": "#/components/schemas/GraphWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "time_span": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "time_span_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "time_span_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "time_span_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "time_span_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "time_span_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "time_span_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "time_span_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "time_unit": { + "allOf": [ + { + "$ref": "#/components/schemas/TimeUnit" + } + ], + "nullable": true + }, + "time_unit_in": { + "items": { + "$ref": "#/components/schemas/TimeUnit" + }, + "type": "array", + "nullable": true + }, + "time_unit_not": { + "allOf": [ + { + "$ref": "#/components/schemas/TimeUnit" + } + ], + "nullable": true + }, + "time_unit_not_in": { + "items": { + "$ref": "#/components/schemas/TimeUnit" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "TimeUnit": { + "enum": [ + "DAY", + "HOUR", + "MONTH" + ], + "type": "string" + }, + "GraphUpdationParams": { + "properties": { + "data": { + "properties": { + "instance_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "luns": { + "$ref": "#/components/schemas/IscsiLunWhereInput" + }, + "vmNics": { + "$ref": "#/components/schemas/VmNicWhereInput" + }, + "nics": { + "$ref": "#/components/schemas/NicWhereInput" + }, + "disks": { + "$ref": "#/components/schemas/DiskWhereInput" + }, + "vmVolumes": { + "$ref": "#/components/schemas/VmVolumeWhereInput" + }, + "vms": { + "$ref": "#/components/schemas/VmWhereInput" + }, + "hosts": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "network": { + "$ref": "#/components/schemas/NetworkType" + }, + "cluster": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "service": { + "type": "string" + }, + "metric_type": { + "$ref": "#/components/schemas/MetricType" + }, + "metric_count": { + "type": "integer", + "format": "int32" + }, + "type": { + "$ref": "#/components/schemas/GraphType" + }, + "resource_type": { + "type": "string" + }, + "title": { + "type": "string" + }, + "metric_name": { + "type": "string" + }, + "connect_id": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/GraphWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "DeleteGraph": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteGraph_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteGraph" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "GraphDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/GraphWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedTask": { + "properties": { + "args": { + "properties": {}, + "type": "object" + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "internal": { + "type": "boolean" + }, + "local_created_at": { + "type": "string" + }, + "progress": { + "type": "number", + "format": "double" + }, + "snapshot": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/TaskStatus" + }, + "steps": { + "items": { + "$ref": "#/components/schemas/NestedStep" + }, + "type": "array" + } + }, + "required": [ + "args", + "description", + "id", + "internal", + "local_created_at", + "progress", + "snapshot", + "status", + "steps" + ], + "type": "object", + "additionalProperties": false + }, + "BatchHosts": { + "properties": { + "task": { + "$ref": "#/components/schemas/NestedTask" + } + }, + "required": [ + "task" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_BatchHosts_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/BatchHosts" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "HostBatchCreateIpmiInput": { + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "required": [ + "username", + "password", + "ip" + ], + "type": "object" + }, + "HostBatchCreateDiskInput": { + "properties": { + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskType" + } + ], + "nullable": true + }, + "size": { + "type": "number", + "format": "double", + "nullable": true + }, + "function": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskFunction" + } + ], + "nullable": true + }, + "drive": { + "type": "string" + } + }, + "required": [ + "drive" + ], + "type": "object" + }, + "HostBatchCreateIfaceFunction": { + "enum": [ + "ACCESS", + "MANAGEMENT", + "MIGRATION", + "STORAGE", + "VMWARE_ACCESS" + ], + "type": "string" + }, + "HostBatchCreateIfaceInput": { + "properties": { + "netmask": { + "type": "string" + }, + "name": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ip": { + "type": "string" + }, + "gateway_ip": { + "type": "string" + }, + "function": { + "$ref": "#/components/schemas/HostBatchCreateIfaceFunction" + } + }, + "required": [ + "netmask", + "name", + "ip", + "gateway_ip", + "function" + ], + "type": "object" + }, + "ZbsSpec": { + "enum": [ + "normal", + "large" + ], + "type": "string" + }, + "HostVdsConfig": { + "properties": { + "nics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + } + }, + "required": [ + "nics", + "name" + ], + "type": "object" + }, + "HostCreationParamsData": { + "properties": { + "vdses": { + "items": { + "$ref": "#/components/schemas/HostVdsConfig" + }, + "type": "array" + }, + "zbs_spec": { + "$ref": "#/components/schemas/ZbsSpec" + }, + "ifaces": { + "items": { + "$ref": "#/components/schemas/HostBatchCreateIfaceInput" + }, + "type": "array" + }, + "disks": { + "items": { + "$ref": "#/components/schemas/HostBatchCreateDiskInput" + }, + "type": "array" + }, + "platform_password": { + "type": "string" + }, + "platform_username": { + "type": "string" + }, + "platform_ip": { + "type": "string" + }, + "ipmi": { + "$ref": "#/components/schemas/HostBatchCreateIpmiInput" + }, + "hostname": { + "type": "string" + }, + "host_uuid": { + "type": "string" + }, + "host_ip": { + "type": "string" + } + }, + "required": [ + "ifaces", + "disks", + "hostname", + "host_uuid", + "host_ip" + ], + "type": "object" + }, + "HostAuthInfo": { + "properties": { + "root_user_password": { + "type": "string" + }, + "default_user_password": { + "type": "string" + } + }, + "type": "object" + }, + "HostCreationParams": { + "properties": { + "auth_info": { + "$ref": "#/components/schemas/HostAuthInfo" + }, + "data": { + "items": { + "$ref": "#/components/schemas/HostCreationParamsData" + }, + "type": "array" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "data", + "cluster_id" + ], + "type": "object" + }, + "MaintenanceModeEnum": { + "enum": [ + "ENTERING_MAINTENANCE_MODE", + "IN_USE", + "MAINTENANCE_MODE", + "REMOVING" + ], + "type": "string" + }, + "NestedMaintenanceHostState": { + "properties": { + "enter_maintenance_time": { + "type": "string" + }, + "maintenance_job_id": { + "type": "string" + }, + "state": { + "$ref": "#/components/schemas/MaintenanceModeEnum" + } + }, + "required": [ + "enter_maintenance_time", + "maintenance_job_id", + "state" + ], + "type": "object", + "additionalProperties": false + }, + "NestedIpmi": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVsphereEsxiAccount": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "Host": { + "properties": { + "access_ip": { + "type": "string", + "nullable": true + }, + "allocable_cpu_cores_for_vm_exclusive": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "allocatable_memory_bytes": { + "type": "integer", + "format": "int64" + }, + "chunk_id": { + "type": "string" + }, + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "compatible_cpu_models": { + "items": { + "type": "string" + }, + "type": "array" + }, + "cpu_brand": { + "type": "string" + }, + "cpu_fan_speed": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array" + }, + "cpu_fan_speed_unit": { + "allOf": [ + { + "$ref": "#/components/schemas/CpuFanSpeedUnit" + } + ], + "nullable": true + }, + "cpu_hz_per_core": { + "type": "integer", + "format": "int64" + }, + "cpu_model": { + "type": "string" + }, + "cpu_temperature_celsius": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array" + }, + "cpu_vendor": { + "type": "string", + "nullable": true + }, + "data_ip": { + "type": "string", + "nullable": true + }, + "disks": { + "items": { + "$ref": "#/components/schemas/NestedDisk" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "failure_data_space": { + "type": "integer", + "format": "int64" + }, + "gpu_devices": { + "items": { + "$ref": "#/components/schemas/NestedGpuDevice" + }, + "type": "array", + "nullable": true + }, + "hdd_data_capacity": { + "type": "integer", + "format": "int64" + }, + "hdd_disk_count": { + "type": "integer", + "format": "int32" + }, + "host_state": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedMaintenanceHostState" + } + ], + "nullable": true + }, + "hypervisor_ip": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "iommu": { + "allOf": [ + { + "$ref": "#/components/schemas/IommuStatus" + } + ], + "nullable": true + }, + "ipmi": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedIpmi" + } + ], + "nullable": true + }, + "is_os_in_raid1": { + "type": "boolean", + "nullable": true + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "lsm_cap_disk_safe_umount": { + "type": "boolean" + }, + "management_ip": { + "type": "string" + }, + "model": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nested_virtualization": { + "type": "boolean" + }, + "nic_count": { + "type": "integer", + "format": "int32" + }, + "nics": { + "items": { + "$ref": "#/components/schemas/NestedNic" + }, + "type": "array", + "nullable": true + }, + "node_topo_local_id": { + "type": "string", + "nullable": true + }, + "os_memory_bytes": { + "type": "integer", + "format": "int64" + }, + "os_version": { + "type": "string", + "nullable": true + }, + "pmem_dimm_capacity": { + "type": "integer", + "format": "int64" + }, + "pmem_dimm_count": { + "type": "integer", + "format": "int32" + }, + "pmem_dimms": { + "items": { + "$ref": "#/components/schemas/NestedPmemDimm" + }, + "type": "array", + "nullable": true + }, + "pmem_disk_count": { + "type": "integer", + "format": "int32" + }, + "provisioned_cpu_cores": { + "type": "integer", + "format": "int32" + }, + "provisioned_memory_bytes": { + "type": "integer", + "format": "int64" + }, + "running_pause_vm_memory_bytes": { + "type": "integer", + "format": "int64" + }, + "running_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "scvm_cpu": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "scvm_memory": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "scvm_name": { + "type": "string", + "nullable": true + }, + "serial": { + "type": "string", + "nullable": true + }, + "ssd_data_capacity": { + "type": "integer", + "format": "int64" + }, + "ssd_disk_count": { + "type": "integer", + "format": "int32" + }, + "state": { + "$ref": "#/components/schemas/HostState" + }, + "status": { + "$ref": "#/components/schemas/HostStatus" + }, + "stopped_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cache_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_cores": { + "type": "integer", + "format": "int32" + }, + "total_cpu_hz": { + "type": "integer", + "format": "int64" + }, + "total_cpu_sockets": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_data_capacity": { + "type": "integer", + "format": "int64" + }, + "total_memory_bytes": { + "type": "integer", + "format": "int64" + }, + "usb_devices": { + "items": { + "$ref": "#/components/schemas/NestedUsbDevice" + }, + "type": "array", + "nullable": true + }, + "used_cpu_hz": { + "type": "number", + "format": "double", + "nullable": true + }, + "used_data_space": { + "type": "integer", + "format": "int64" + }, + "used_memory_bytes": { + "type": "number", + "format": "double", + "nullable": true + }, + "vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vmotion_ip": { + "type": "string", + "nullable": true + }, + "vms": { + "items": { + "$ref": "#/components/schemas/NestedVm" + }, + "type": "array", + "nullable": true + }, + "vsphereEsxiAccount": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVsphereEsxiAccount" + } + ], + "nullable": true + }, + "with_faster_ssd_as_cache": { + "type": "boolean", + "nullable": true + }, + "zone": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedZone" + } + ], + "nullable": true + } + }, + "required": [ + "allocatable_memory_bytes", + "chunk_id", + "cluster", + "compatible_cpu_models", + "cpu_brand", + "cpu_fan_speed", + "cpu_hz_per_core", + "cpu_model", + "cpu_temperature_celsius", + "failure_data_space", + "hdd_data_capacity", + "hdd_disk_count", + "id", + "local_id", + "lsm_cap_disk_safe_umount", + "management_ip", + "model", + "name", + "nested_virtualization", + "nic_count", + "os_memory_bytes", + "pmem_dimm_capacity", + "pmem_dimm_count", + "pmem_disk_count", + "provisioned_cpu_cores", + "provisioned_memory_bytes", + "running_pause_vm_memory_bytes", + "ssd_data_capacity", + "ssd_disk_count", + "state", + "status", + "total_cpu_cores", + "total_cpu_hz", + "total_data_capacity", + "total_memory_bytes", + "used_data_space" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_Host_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/Host" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "TriggerDiskBlinkParams": { + "properties": { + "led_status": { + "type": "string", + "enum": [ + "on", + "off" + ] + }, + "disk_name": { + "type": "string" + }, + "host_id": { + "type": "string" + } + }, + "required": [ + "disk_name", + "host_id" + ], + "type": "object" + }, + "HostUpdationParams": { + "properties": { + "data": { + "properties": { + "ipmi": { + "$ref": "#/components/schemas/HostBatchCreateIpmiInput" + }, + "scvm_name": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/HostWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "OperateActionEnum": { + "enum": [ + "poweroff", + "reboot" + ], + "type": "string" + }, + "OperateHostPowerData": { + "properties": { + "reason": { + "type": "string" + }, + "force": { + "type": "boolean" + }, + "action": { + "$ref": "#/components/schemas/OperateActionEnum" + } + }, + "required": [ + "force", + "action" + ], + "type": "object" + }, + "OperateHostPowerParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/OperateHostPowerData" + }, + "where": { + "properties": { + "host_id": { + "type": "string" + } + }, + "required": [ + "host_id" + ], + "type": "object" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "EnterMaintenanceModeCheckResult": { + "properties": { + "task_id": { + "type": "string" + } + }, + "required": [ + "task_id" + ], + "type": "object" + }, + "EnterMaintenanceModeCheckParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/HostWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "ShutdownVmID": { + "properties": { + "vm_uuid": { + "type": "string" + } + }, + "required": [ + "vm_uuid" + ], + "type": "object" + }, + "EnterMaintenanceModeResult": { + "properties": { + "shutdownVms": { + "items": { + "$ref": "#/components/schemas/ShutdownVmID" + }, + "type": "array" + }, + "done": { + "type": "boolean" + } + }, + "required": [ + "shutdownVms", + "done" + ], + "type": "object" + }, + "EnterMaintenanceModeResultParams": { + "properties": { + "where": { + "properties": { + "task_id": { + "type": "string" + } + }, + "required": [ + "task_id" + ], + "type": "object" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "EnterMaintenanceModeInput": { + "properties": { + "shutdown_vms": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "EnterMaintenanceModeParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/EnterMaintenanceModeInput" + }, + "where": { + "properties": { + "host_id": { + "type": "string" + } + }, + "required": [ + "host_id" + ], + "type": "object" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "MaintenanceModeVerify": { + "properties": { + "reason": { + "type": "string", + "nullable": true + }, + "changed": { + "type": "boolean", + "nullable": true + } + }, + "type": "object" + }, + "MaintenanceModeVmInfo": { + "properties": { + "vm_uuid": { + "type": "string", + "nullable": true + }, + "vm_state": { + "type": "string", + "nullable": true + }, + "vm_name": { + "type": "string", + "nullable": true + }, + "vm_ha": { + "type": "boolean", + "nullable": true + }, + "verify": { + "allOf": [ + { + "$ref": "#/components/schemas/MaintenanceModeVerify" + } + ], + "nullable": true + }, + "target_host_name": { + "type": "string", + "nullable": true + }, + "state": { + "type": "string", + "nullable": true + } + }, + "type": "object" + }, + "ExitMaintenanceModeResult": { + "properties": { + "offlineMigrateVms": { + "items": { + "$ref": "#/components/schemas/MaintenanceModeVmInfo" + }, + "type": "array" + }, + "liveMigrateVms": { + "items": { + "$ref": "#/components/schemas/MaintenanceModeVmInfo" + }, + "type": "array" + }, + "shutDownVms": { + "items": { + "$ref": "#/components/schemas/MaintenanceModeVmInfo" + }, + "type": "array" + } + }, + "required": [ + "offlineMigrateVms", + "liveMigrateVms", + "shutDownVms" + ], + "type": "object" + }, + "ExitMaintenanceModeResultParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/HostWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "ExitMaintenanceModeInput": { + "properties": { + "poweron_vms": { + "items": { + "type": "string" + }, + "type": "array" + }, + "offline_migrate_back_vms": { + "items": { + "type": "string" + }, + "type": "array" + }, + "live_migrate_back_vms": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ExitMaintenanceModeParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/ExitMaintenanceModeInput" + }, + "where": { + "properties": { + "host_id": { + "type": "string" + } + }, + "required": [ + "host_id" + ], + "type": "object" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "NestedIscsiTarget": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "IscsiLunSnapshot": { + "properties": { + "consistency_group_snapshot": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedConsistencyGroupSnapshot" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "iscsi_lun": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedIscsiLun" + } + ], + "nullable": true + }, + "iscsi_target": { + "$ref": "#/components/schemas/NestedIscsiTarget" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "unique_size": { + "type": "integer", + "format": "int64" + } + }, + "required": [ + "id", + "iscsi_target", + "local_created_at", + "local_id", + "name", + "unique_size" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_IscsiLunSnapshot_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/IscsiLunSnapshot" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "IscsiLunSnapshotCreationEffect": { + "properties": { + "sync": { + "type": "boolean" + } + }, + "type": "object" + }, + "IscsiLunSnapshotCreationParams": { + "properties": { + "effect": { + "$ref": "#/components/schemas/IscsiLunSnapshotCreationEffect" + }, + "iscsi_target_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "iscsi_lun_id": { + "type": "string" + } + }, + "required": [ + "iscsi_target_id", + "name", + "iscsi_lun_id" + ], + "type": "object" + }, + "DeleteIscsiLunSnapshot": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteIscsiLunSnapshot_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteIscsiLunSnapshot" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "IscsiLunSnapshotDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/IscsiLunSnapshotWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "IscsiLun": { + "properties": { + "allowed_initiators": { + "type": "string" + }, + "assigned_size": { + "type": "integer", + "format": "int64" + }, + "bps": { + "type": "integer", + "format": "int64" + }, + "bps_max": { + "type": "integer", + "format": "int64" + }, + "bps_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_rd": { + "type": "integer", + "format": "int64" + }, + "bps_rd_max": { + "type": "integer", + "format": "int64" + }, + "bps_rd_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_wr": { + "type": "integer", + "format": "int64" + }, + "bps_wr_max": { + "type": "integer", + "format": "int64" + }, + "bps_wr_max_length": { + "type": "integer", + "format": "int64" + }, + "consistency_group": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedConsistencyGroup" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "io_size": { + "type": "integer", + "format": "int64" + }, + "iops": { + "type": "integer", + "format": "int64" + }, + "iops_max": { + "type": "integer", + "format": "int64" + }, + "iops_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_rd": { + "type": "integer", + "format": "int64" + }, + "iops_rd_max": { + "type": "integer", + "format": "int64" + }, + "iops_rd_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_wr": { + "type": "integer", + "format": "int64" + }, + "iops_wr_max": { + "type": "integer", + "format": "int64" + }, + "iops_wr_max_length": { + "type": "integer", + "format": "int64" + }, + "iscsi_target": { + "$ref": "#/components/schemas/NestedIscsiTarget" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "lun_id": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + }, + "replica_num": { + "type": "integer", + "format": "int32" + }, + "shared_size": { + "type": "integer", + "format": "int64" + }, + "snapshot_num": { + "type": "integer", + "format": "int32" + }, + "stripe_num": { + "type": "integer", + "format": "int32" + }, + "stripe_size": { + "type": "integer", + "format": "int64" + }, + "thin_provision": { + "type": "boolean" + }, + "unique_logical_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64" + }, + "zbs_volume_id": { + "type": "string" + } + }, + "required": [ + "allowed_initiators", + "assigned_size", + "bps", + "bps_max", + "bps_max_length", + "bps_rd", + "bps_rd_max", + "bps_rd_max_length", + "bps_wr", + "bps_wr_max", + "bps_wr_max_length", + "id", + "io_size", + "iops", + "iops_max", + "iops_max_length", + "iops_rd", + "iops_rd_max", + "iops_rd_max_length", + "iops_wr", + "iops_wr_max", + "iops_wr_max_length", + "iscsi_target", + "local_created_at", + "local_id", + "lun_id", + "name", + "replica_num", + "shared_size", + "snapshot_num", + "stripe_num", + "stripe_size", + "thin_provision", + "unique_size", + "zbs_volume_id" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_IscsiLun_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/IscsiLun" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "IscsiLunCommonParams": { + "properties": { + "bps_wr_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_wr_max_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_wr_max": { + "type": "integer", + "format": "int64" + }, + "bps_rd_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_rd_max_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_rd_max": { + "type": "integer", + "format": "int64" + }, + "bps_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_max_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_max": { + "type": "integer", + "format": "int64" + }, + "iops_wr_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_wr_max": { + "type": "integer", + "format": "int64" + }, + "iops_rd_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_rd_max": { + "type": "integer", + "format": "int64" + }, + "iops_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_max": { + "type": "integer", + "format": "int64" + }, + "bps_wr_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_wr": { + "type": "integer", + "format": "int64" + }, + "bps_rd_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_rd": { + "type": "integer", + "format": "int64" + }, + "bps_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps": { + "type": "integer", + "format": "int64" + }, + "iops_wr": { + "type": "integer", + "format": "int64" + }, + "iops_rd": { + "type": "integer", + "format": "int64" + }, + "iops": { + "type": "integer", + "format": "int64" + }, + "allowed_initiators": { + "type": "string" + } + }, + "type": "object" + }, + "IscsiLunCreationParams": { + "allOf": [ + { + "properties": { + "lun_id": { + "type": "integer", + "format": "int32" + }, + "assigned_size_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "assigned_size": { + "type": "integer", + "format": "int64" + }, + "replica_num": { + "type": "integer", + "format": "int32" + }, + "iscsi_target_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "assigned_size", + "replica_num", + "iscsi_target_id", + "name" + ], + "type": "object" + }, + { + "$ref": "#/components/schemas/IscsiLunCommonParams" + } + ] + }, + "IscsiLunUpdationParamsData": { + "allOf": [ + { + "properties": { + "assigned_size_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "assigned_size": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + { + "$ref": "#/components/schemas/IscsiLunCommonParams" + } + ] + }, + "IscsiLunUpdationParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/IscsiLunUpdationParamsData" + }, + "where": { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteIscsiLun": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteIscsiLun_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteIscsiLun" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "IscsiLunDeletionParams": { + "properties": { + "data": { + "properties": { + "remove_snapshot": { + "type": "boolean" + } + }, + "required": [ + "remove_snapshot" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "IscsiLunCloneParams": { + "properties": { + "iscsi_target_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "snapshot_id": { + "type": "string" + } + }, + "required": [ + "iscsi_target_id", + "name", + "snapshot_id" + ], + "type": "object" + }, + "IscsiLunRollbackParams": { + "properties": { + "lun_id": { + "type": "string" + }, + "snapshot_id": { + "type": "string" + } + }, + "required": [ + "lun_id", + "snapshot_id" + ], + "type": "object" + }, + "CopyIscsiLunParams": { + "properties": { + "dest_iscsi_target_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "src_lun_id": { + "type": "string" + } + }, + "required": [ + "name", + "src_lun_id" + ], + "type": "object" + }, + "NestedInitiatorChap": { + "properties": { + "chap_name": { + "type": "string" + }, + "chap_secret": { + "type": "string" + }, + "initiator_iqn": { + "type": "string" + } + }, + "required": [ + "chap_name", + "chap_secret", + "initiator_iqn" + ], + "type": "object", + "additionalProperties": false + }, + "IscsiTarget": { + "properties": { + "bps": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "chap_enabled": { + "type": "boolean" + }, + "chap_name": { + "type": "string", + "nullable": true + }, + "chap_secret": { + "type": "string", + "nullable": true + }, + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "description": { + "type": "string" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "external_use": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "initiator_chaps": { + "items": { + "$ref": "#/components/schemas/NestedInitiatorChap" + }, + "type": "array", + "nullable": true + }, + "internal": { + "type": "boolean" + }, + "io_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "ip_whitelist": { + "type": "string" + }, + "iqn_name": { + "type": "string" + }, + "iqn_whitelist": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "luns": { + "items": { + "$ref": "#/components/schemas/NestedIscsiLun" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string" + }, + "replica_num": { + "type": "integer", + "format": "int32" + }, + "stripe_num": { + "type": "integer", + "format": "int32" + }, + "stripe_size": { + "type": "integer", + "format": "int64" + }, + "thin_provision": { + "type": "boolean" + } + }, + "required": [ + "chap_enabled", + "cluster", + "description", + "external_use", + "id", + "internal", + "ip_whitelist", + "iqn_name", + "iqn_whitelist", + "local_id", + "name", + "replica_num", + "stripe_num", + "stripe_size", + "thin_provision" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_IscsiTarget_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/IscsiTarget" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "IscsiTargetCommonParamsInitiatorChaps": { + "properties": { + "chap_secret": { + "type": "string" + }, + "chap_name": { + "type": "string" + }, + "initiator_iqn": { + "type": "string" + } + }, + "required": [ + "chap_secret", + "chap_name", + "initiator_iqn" + ], + "type": "object" + }, + "IscsiTargetCommonParams": { + "properties": { + "bps_wr_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_wr_max_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_wr_max_size": { + "$ref": "#/components/schemas/BPSUnit", + "deprecated": true + }, + "bps_wr_max": { + "type": "integer", + "format": "int64" + }, + "bps_rd_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_rd_max_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_rd_max": { + "type": "integer", + "format": "int64" + }, + "bps_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_max_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_max": { + "type": "integer", + "format": "int64" + }, + "iops_wr_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_wr_max": { + "type": "integer", + "format": "int64" + }, + "iops_rd_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_rd_max": { + "type": "integer", + "format": "int64" + }, + "iops_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_max": { + "type": "integer", + "format": "int64" + }, + "bps_wr_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_wr": { + "type": "integer", + "format": "int64" + }, + "bps_rd_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_rd": { + "type": "integer", + "format": "int64" + }, + "bps_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps": { + "type": "integer", + "format": "int64" + }, + "iops_wr": { + "type": "integer", + "format": "int64" + }, + "iops_rd": { + "type": "integer", + "format": "int64" + }, + "iops": { + "type": "integer", + "format": "int64" + }, + "initiator_chaps": { + "items": { + "$ref": "#/components/schemas/IscsiTargetCommonParamsInitiatorChaps" + }, + "type": "array" + }, + "chap_secret": { + "type": "string" + }, + "chap_name": { + "type": "string" + }, + "chap_enabled": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "iqn_whitelist": { + "type": "string" + }, + "ip_whitelist": { + "type": "string" + } + }, + "type": "object" + }, + "IscsiTargetCreationParams": { + "allOf": [ + { + "properties": { + "stripe_size_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "stripe_size": { + "type": "integer", + "format": "int64" + }, + "stripe_num": { + "type": "integer", + "format": "int32" + }, + "replica_num": { + "type": "integer", + "format": "int32" + }, + "thin_provision": { + "type": "boolean" + }, + "cluster_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "stripe_size", + "stripe_num", + "replica_num", + "thin_provision", + "cluster_id", + "name" + ], + "type": "object" + }, + { + "$ref": "#/components/schemas/IscsiTargetCommonParams" + } + ] + }, + "IscsiTargetUpdationParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/IscsiTargetCommonParams" + }, + "where": { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteIscsiTarget": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteIscsiTarget_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteIscsiTarget" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "IscsiTargetDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedContentLibraryImage": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "ElfImage": { + "properties": { + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedCluster" + } + ], + "nullable": true + }, + "content_library_image": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedContentLibraryImage" + } + ], + "nullable": true + }, + "description": { + "type": "string" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "vm_disks": { + "items": { + "$ref": "#/components/schemas/NestedVmDisk" + }, + "type": "array", + "nullable": true + }, + "vm_snapshots": { + "items": { + "$ref": "#/components/schemas/NestedVmSnapshot" + }, + "type": "array", + "nullable": true + }, + "vm_templates": { + "items": { + "$ref": "#/components/schemas/NestedVmTemplate" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "description", + "id", + "local_created_at", + "local_id", + "name", + "path", + "size" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_ElfImage_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/ElfImage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ElfImageUpdationParams": { + "properties": { + "data": { + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/ElfImageWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteElfImage": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteElfImage_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteElfImage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ElfImageDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/ElfImageWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedNamespaceGroup": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedNfsExport": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedNfsInode": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedNvmfSubsystem": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedSecurityPolicy": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVlan": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVmVolumeSnapshot": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "Label": { + "properties": { + "cluster_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "clusters": { + "items": { + "$ref": "#/components/schemas/NestedCluster" + }, + "type": "array", + "nullable": true + }, + "consistency_group_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "consistency_group_snapshot_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "consistency_group_snapshots": { + "items": { + "$ref": "#/components/schemas/NestedConsistencyGroupSnapshot" + }, + "type": "array", + "nullable": true + }, + "consistency_groups": { + "items": { + "$ref": "#/components/schemas/NestedConsistencyGroup" + }, + "type": "array", + "nullable": true + }, + "content_library_image_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "content_library_images": { + "items": { + "$ref": "#/components/schemas/NestedContentLibraryImage" + }, + "type": "array", + "nullable": true + }, + "content_library_vm_template_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "content_library_vm_templates": { + "items": { + "$ref": "#/components/schemas/NestedContentLibraryVmTemplate" + }, + "type": "array", + "nullable": true + }, + "createdAt": { + "type": "string" + }, + "datacenter_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "datacenters": { + "items": { + "$ref": "#/components/schemas/NestedDatacenter" + }, + "type": "array", + "nullable": true + }, + "disk_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "disks": { + "items": { + "$ref": "#/components/schemas/NestedDisk" + }, + "type": "array", + "nullable": true + }, + "elf_image_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "elf_images": { + "items": { + "$ref": "#/components/schemas/NestedElfImage" + }, + "type": "array", + "nullable": true + }, + "gpu_device_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "gpu_devices": { + "items": { + "$ref": "#/components/schemas/NestedGpuDevice" + }, + "type": "array", + "nullable": true + }, + "host_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "hosts": { + "items": { + "$ref": "#/components/schemas/NestedHost" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string" + }, + "iscsi_lun_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_lun_snapshot_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_lun_snapshots": { + "items": { + "$ref": "#/components/schemas/NestedIscsiLunSnapshot" + }, + "type": "array", + "nullable": true + }, + "iscsi_luns": { + "items": { + "$ref": "#/components/schemas/NestedIscsiLun" + }, + "type": "array", + "nullable": true + }, + "iscsi_target_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_targets": { + "items": { + "$ref": "#/components/schemas/NestedIscsiTarget" + }, + "type": "array", + "nullable": true + }, + "isolation_policies": { + "items": { + "$ref": "#/components/schemas/NestedIsolationPolicy" + }, + "type": "array", + "nullable": true + }, + "isolation_policy_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "key": { + "type": "string" + }, + "namespace_group_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "namespace_groups": { + "items": { + "$ref": "#/components/schemas/NestedNamespaceGroup" + }, + "type": "array", + "nullable": true + }, + "nfs_export_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nfs_exports": { + "items": { + "$ref": "#/components/schemas/NestedNfsExport" + }, + "type": "array", + "nullable": true + }, + "nfs_inode_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nfs_inodes": { + "items": { + "$ref": "#/components/schemas/NestedNfsInode" + }, + "type": "array", + "nullable": true + }, + "nic_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nics": { + "items": { + "$ref": "#/components/schemas/NestedNic" + }, + "type": "array", + "nullable": true + }, + "nvmf_namespace_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_namespace_snapshot_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_namespace_snapshots": { + "items": { + "$ref": "#/components/schemas/NestedNvmfNamespaceSnapshot" + }, + "type": "array", + "nullable": true + }, + "nvmf_namespaces": { + "items": { + "$ref": "#/components/schemas/NestedNvmfNamespace" + }, + "type": "array", + "nullable": true + }, + "nvmf_subsystem_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "nvmf_subsystems": { + "items": { + "$ref": "#/components/schemas/NestedNvmfSubsystem" + }, + "type": "array", + "nullable": true + }, + "security_policies": { + "items": { + "$ref": "#/components/schemas/NestedSecurityPolicy" + }, + "type": "array", + "nullable": true + }, + "security_policy_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "system_vlan_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "value": { + "type": "string", + "nullable": true + }, + "vds_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vdses": { + "items": { + "$ref": "#/components/schemas/NestedVds" + }, + "type": "array", + "nullable": true + }, + "vlans": { + "items": { + "$ref": "#/components/schemas/NestedVlan" + }, + "type": "array", + "nullable": true + }, + "vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_snapshot_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_snapshots": { + "items": { + "$ref": "#/components/schemas/NestedVmSnapshot" + }, + "type": "array", + "nullable": true + }, + "vm_template_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_templates": { + "items": { + "$ref": "#/components/schemas/NestedVmTemplate" + }, + "type": "array", + "nullable": true + }, + "vm_vlan_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_snapshot_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vm_volume_snapshots": { + "items": { + "$ref": "#/components/schemas/NestedVmVolumeSnapshot" + }, + "type": "array", + "nullable": true + }, + "vm_volumes": { + "items": { + "$ref": "#/components/schemas/NestedVmVolume" + }, + "type": "array", + "nullable": true + }, + "vms": { + "items": { + "$ref": "#/components/schemas/NestedVm" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "createdAt", + "id", + "key" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_Label_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/Label" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "LabelCreationParams": { + "properties": { + "value": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "key" + ], + "type": "object" + }, + "LabelUpdationParams": { + "properties": { + "data": { + "properties": { + "value": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/LabelWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "AddLabelsToResourcesParams": { + "properties": { + "data": { + "properties": { + "gpu_devices": { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + }, + "content_library_vm_templates": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + }, + "content_library_images": { + "$ref": "#/components/schemas/ContentLibraryImageWhereInput" + }, + "isolation_policies": { + "$ref": "#/components/schemas/IsolationPolicyWhereInput" + }, + "security_policies": { + "$ref": "#/components/schemas/SecurityPolicyWhereInput" + }, + "vms": { + "$ref": "#/components/schemas/VmWhereInput" + }, + "vm_volume_snapshots": { + "$ref": "#/components/schemas/VmVolumeSnapshotWhereInput" + }, + "vm_volumes": { + "$ref": "#/components/schemas/VmVolumeWhereInput" + }, + "vm_templates": { + "$ref": "#/components/schemas/VmTemplateWhereInput" + }, + "vm_snapshots": { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + }, + "vlans": { + "$ref": "#/components/schemas/VlanWhereInput" + }, + "vdses": { + "$ref": "#/components/schemas/VdsWhereInput" + }, + "nvmf_subsystems": { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + }, + "nvmf_namespace_snapshots": { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotWhereInput" + }, + "nvmf_namespaces": { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + }, + "nics": { + "$ref": "#/components/schemas/NicWhereInput" + }, + "nfs_inodes": { + "$ref": "#/components/schemas/NfsInodeWhereInput" + }, + "nfs_exports": { + "$ref": "#/components/schemas/NfsExportWhereInput" + }, + "namespace_groups": { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + }, + "iscsi_targets": { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + }, + "iscsi_lun_snapshots": { + "$ref": "#/components/schemas/IscsiLunSnapshotWhereInput" + }, + "iscsi_luns": { + "$ref": "#/components/schemas/IscsiLunWhereInput" + }, + "hosts": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "elf_images": { + "$ref": "#/components/schemas/ElfImageWhereInput" + }, + "disks": { + "$ref": "#/components/schemas/DiskWhereInput" + }, + "datacenters": { + "$ref": "#/components/schemas/DatacenterWhereInput" + }, + "consistency_group_snapshots": { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + }, + "consistency_groups": { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + }, + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/LabelWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "RemoveLabelsFromResourcesParams": { + "$ref": "#/components/schemas/AddLabelsToResourcesParams" + }, + "DeleteLabel": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteLabel_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteLabel" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "LabelDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/LabelWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "License": { + "properties": { + "expire_date": { + "type": "string" + }, + "id": { + "type": "string" + }, + "license_serial": { + "type": "string" + }, + "maintenance_end_date": { + "type": "string", + "nullable": true + }, + "maintenance_start_date": { + "type": "string", + "nullable": true + }, + "max_chunk_num": { + "type": "integer", + "format": "int32" + }, + "max_cluster_num": { + "type": "integer", + "format": "int32" + }, + "sign_date": { + "type": "string" + }, + "software_edition": { + "$ref": "#/components/schemas/SoftwareEdition" + }, + "type": { + "$ref": "#/components/schemas/LicenseType" + } + }, + "required": [ + "expire_date", + "id", + "license_serial", + "max_chunk_num", + "max_cluster_num", + "sign_date", + "software_edition", + "type" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_License_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/License" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "LicenseUpdationParams": { + "properties": { + "data": { + "properties": { + "license": { + "type": "string" + } + }, + "required": [ + "license" + ], + "type": "object" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "LogCollectionStatus": { + "enum": [ + "EXECUTING", + "FAILED", + "STOPPING", + "SUCCESSED" + ], + "type": "string" + }, + "LogCollection": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "groups": { + "items": { + "type": "string" + }, + "type": "array" + }, + "hosts": { + "items": { + "$ref": "#/components/schemas/NestedHost" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "log_ended_at": { + "type": "string" + }, + "log_started_at": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "path": { + "type": "string" + }, + "progress": { + "type": "number", + "format": "double" + }, + "service_groups": { + "properties": {}, + "type": "object", + "nullable": true + }, + "services": { + "items": { + "type": "string" + }, + "type": "array" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "started_at": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/LogCollectionStatus" + }, + "witness": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedWitness" + } + ], + "nullable": true + } + }, + "required": [ + "cluster", + "groups", + "id", + "local_id", + "log_ended_at", + "log_started_at", + "owner", + "path", + "progress", + "services", + "size", + "started_at", + "status" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_LogCollection_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/LogCollection" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "LogCollectionServiceGroupParams": { + "properties": { + "services": { + "items": { + "type": "string" + }, + "type": "array" + }, + "group_name": { + "type": "string" + } + }, + "required": [ + "group_name" + ], + "type": "object" + }, + "LogCollectionCreationParams": { + "properties": { + "witness_id": { + "type": "string" + }, + "service_groups": { + "items": { + "$ref": "#/components/schemas/LogCollectionServiceGroupParams" + }, + "type": "array" + }, + "log_ended_at": { + "type": "string", + "format": "date-time" + }, + "log_started_at": { + "type": "string", + "format": "date-time" + }, + "cluster_id": { + "type": "string" + }, + "hosts": { + "$ref": "#/components/schemas/HostWhereInput" + } + }, + "required": [ + "log_ended_at", + "log_started_at", + "cluster_id", + "hosts" + ], + "type": "object" + }, + "LogCollectionWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/LogCollectionWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/LogCollectionWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/LogCollectionWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "hosts_every": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "hosts_none": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "hosts_some": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "log_ended_at": { + "type": "string", + "nullable": true + }, + "log_ended_at_gt": { + "type": "string", + "nullable": true + }, + "log_ended_at_gte": { + "type": "string", + "nullable": true + }, + "log_ended_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "log_ended_at_lt": { + "type": "string", + "nullable": true + }, + "log_ended_at_lte": { + "type": "string", + "nullable": true + }, + "log_ended_at_not": { + "type": "string", + "nullable": true + }, + "log_ended_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "log_started_at": { + "type": "string", + "nullable": true + }, + "log_started_at_gt": { + "type": "string", + "nullable": true + }, + "log_started_at_gte": { + "type": "string", + "nullable": true + }, + "log_started_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "log_started_at_lt": { + "type": "string", + "nullable": true + }, + "log_started_at_lte": { + "type": "string", + "nullable": true + }, + "log_started_at_not": { + "type": "string", + "nullable": true + }, + "log_started_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "owner": { + "type": "string", + "nullable": true + }, + "owner_contains": { + "type": "string", + "nullable": true + }, + "owner_ends_with": { + "type": "string", + "nullable": true + }, + "owner_gt": { + "type": "string", + "nullable": true + }, + "owner_gte": { + "type": "string", + "nullable": true + }, + "owner_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "owner_lt": { + "type": "string", + "nullable": true + }, + "owner_lte": { + "type": "string", + "nullable": true + }, + "owner_not": { + "type": "string", + "nullable": true + }, + "owner_not_contains": { + "type": "string", + "nullable": true + }, + "owner_not_ends_with": { + "type": "string", + "nullable": true + }, + "owner_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "owner_not_starts_with": { + "type": "string", + "nullable": true + }, + "owner_starts_with": { + "type": "string", + "nullable": true + }, + "path": { + "type": "string", + "nullable": true + }, + "path_contains": { + "type": "string", + "nullable": true + }, + "path_ends_with": { + "type": "string", + "nullable": true + }, + "path_gt": { + "type": "string", + "nullable": true + }, + "path_gte": { + "type": "string", + "nullable": true + }, + "path_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "path_lt": { + "type": "string", + "nullable": true + }, + "path_lte": { + "type": "string", + "nullable": true + }, + "path_not": { + "type": "string", + "nullable": true + }, + "path_not_contains": { + "type": "string", + "nullable": true + }, + "path_not_ends_with": { + "type": "string", + "nullable": true + }, + "path_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "path_not_starts_with": { + "type": "string", + "nullable": true + }, + "path_starts_with": { + "type": "string", + "nullable": true + }, + "progress": { + "type": "number", + "format": "double", + "nullable": true + }, + "progress_gt": { + "type": "number", + "format": "double", + "nullable": true + }, + "progress_gte": { + "type": "number", + "format": "double", + "nullable": true + }, + "progress_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "progress_lt": { + "type": "number", + "format": "double", + "nullable": true + }, + "progress_lte": { + "type": "number", + "format": "double", + "nullable": true + }, + "progress_not": { + "type": "number", + "format": "double", + "nullable": true + }, + "progress_not_in": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "started_at": { + "type": "string", + "nullable": true + }, + "started_at_gt": { + "type": "string", + "nullable": true + }, + "started_at_gte": { + "type": "string", + "nullable": true + }, + "started_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "started_at_lt": { + "type": "string", + "nullable": true + }, + "started_at_lte": { + "type": "string", + "nullable": true + }, + "started_at_not": { + "type": "string", + "nullable": true + }, + "started_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/LogCollectionStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/LogCollectionStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/LogCollectionStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/LogCollectionStatus" + }, + "type": "array", + "nullable": true + }, + "witness": { + "allOf": [ + { + "$ref": "#/components/schemas/WitnessWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ForceStopLogCollectionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/LogCollectionWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "DeleteLogCollection": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteLogCollection_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteLogCollection" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "LogCollectionDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/LogCollectionWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "MetricLabel": { + "properties": { + "to_hostname": { + "type": "string", + "nullable": true + }, + "serial_number": { + "type": "string", + "nullable": true + }, + "pool": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "metric_name": { + "type": "string", + "nullable": true + }, + "job": { + "type": "string", + "nullable": true + }, + "instance": { + "type": "string", + "nullable": true + }, + "_zone": { + "type": "string", + "nullable": true + }, + "_witness": { + "type": "string", + "nullable": true + }, + "_volume": { + "type": "string", + "nullable": true + }, + "_vm": { + "type": "string", + "nullable": true + }, + "_to_uuid": { + "type": "string", + "nullable": true + }, + "_service": { + "type": "string", + "nullable": true + }, + "_scvm": { + "type": "string", + "nullable": true + }, + "_network": { + "type": "string", + "nullable": true + }, + "_mac": { + "type": "string", + "nullable": true + }, + "_host": { + "type": "string", + "nullable": true + }, + "_esxi_uuid": { + "type": "string", + "nullable": true + }, + "_device": { + "type": "string", + "nullable": true + }, + "_cluster": { + "type": "string", + "nullable": true + }, + "_chunk": { + "type": "string", + "nullable": true + }, + "__typename": { + "type": "string", + "enum": [ + "MetricLabel" + ], + "nullable": false + } + }, + "type": "object" + }, + "DataPoint": { + "properties": { + "v": { + "type": "number", + "format": "double", + "nullable": true + }, + "t": { + "type": "number", + "format": "double" + }, + "__typename": { + "type": "string", + "enum": [ + "DataPoint" + ], + "nullable": false + } + }, + "required": [ + "t" + ], + "type": "object" + }, + "MetricStream": { + "properties": { + "points": { + "items": { + "$ref": "#/components/schemas/DataPoint" + }, + "type": "array", + "nullable": true + }, + "labels": { + "$ref": "#/components/schemas/MetricLabel" + }, + "__typename": { + "type": "string", + "enum": [ + "MetricStream" + ], + "nullable": false + } + }, + "required": [ + "labels" + ], + "type": "object" + }, + "MetricSample": { + "properties": { + "point": { + "allOf": [ + { + "$ref": "#/components/schemas/DataPoint" + } + ], + "nullable": true + }, + "labels": { + "$ref": "#/components/schemas/MetricLabel" + }, + "__typename": { + "type": "string", + "enum": [ + "MetricSample" + ], + "nullable": false + } + }, + "required": [ + "labels" + ], + "type": "object" + }, + "MetricUnit": { + "enum": [ + "COUNT", + "DATA_RATE_BIT", + "DATA_RATE_BYTE", + "DATA_SIZE", + "FREQUENCY", + "LOAD", + "PERCENT", + "RATIO", + "STORAGE_BAND_WIDTH", + "TEMPERATURE", + "TIME" + ], + "type": "string" + }, + "Metric": { + "properties": { + "unit": { + "$ref": "#/components/schemas/MetricUnit" + }, + "step": { + "type": "integer", + "format": "int32" + }, + "samples": { + "items": { + "$ref": "#/components/schemas/MetricSample" + }, + "type": "array", + "nullable": true + }, + "sample_streams": { + "items": { + "$ref": "#/components/schemas/MetricStream" + }, + "type": "array", + "nullable": true + }, + "dropped": { + "type": "boolean" + }, + "__typename": { + "type": "string", + "enum": [ + "Metric" + ], + "nullable": false + } + }, + "required": [ + "unit", + "step", + "dropped" + ], + "type": "object" + }, + "WithTask_Metric_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/Metric" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "GetVmMetricInput": { + "properties": { + "range": { + "type": "string" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "vms": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "range", + "metrics", + "vms" + ], + "type": "object" + }, + "GetVmNetWorkMetricInput": { + "properties": { + "range": { + "type": "string" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "nics": { + "$ref": "#/components/schemas/VmNicWhereInput" + }, + "vms": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "range", + "metrics", + "vms" + ], + "type": "object" + }, + "GetDiskMetricInput": { + "properties": { + "range": { + "type": "string" + }, + "disks": { + "$ref": "#/components/schemas/DiskWhereInput" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "range", + "disks", + "metrics" + ], + "type": "object" + }, + "GetVmVolumeMetricInput": { + "properties": { + "range": { + "type": "string" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "vmVolumes": { + "$ref": "#/components/schemas/VmVolumeWhereInput" + } + }, + "required": [ + "range", + "metrics", + "vmVolumes" + ], + "type": "object" + }, + "GetLunMetricInput": { + "properties": { + "range": { + "type": "string" + }, + "hosts": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "luns": { + "$ref": "#/components/schemas/IscsiLunWhereInput" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "range", + "luns", + "metrics" + ], + "type": "object" + }, + "GetNvmfNamespaceMetricInput": { + "properties": { + "hosts": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "nvmfNamespaces": { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "range": { + "type": "string" + } + }, + "required": [ + "nvmfNamespaces", + "metrics", + "range" + ], + "type": "object" + }, + "GetClusterMetricInput": { + "properties": { + "range": { + "type": "string" + }, + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "range", + "clusters", + "metrics" + ], + "type": "object" + }, + "GetHostMetricInput": { + "properties": { + "range": { + "type": "string" + }, + "hosts": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "range", + "hosts", + "metrics" + ], + "type": "object" + }, + "GetHostNetworkMetricInput": { + "properties": { + "hosts": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "range": { + "type": "string" + }, + "nics": { + "$ref": "#/components/schemas/NicWhereInput" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "hosts", + "range", + "metrics" + ], + "type": "object" + }, + "GetHostServiceMetricInput": { + "properties": { + "range": { + "type": "string" + }, + "hosts": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "services": { + "items": { + "type": "string" + }, + "type": "array" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "range", + "hosts", + "services", + "metrics" + ], + "type": "object" + }, + "GetScvmMetricInput": { + "properties": { + "range": { + "type": "string" + }, + "hosts": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "range", + "hosts", + "metrics" + ], + "type": "object" + }, + "GetScvmNetworkInput": { + "properties": { + "range": { + "type": "string" + }, + "hosts": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "nics": { + "$ref": "#/components/schemas/NicWhereInput" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "range", + "hosts", + "metrics" + ], + "type": "object" + }, + "GetScvmServiceMetricInput": { + "properties": { + "range": { + "type": "string" + }, + "hosts": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "services": { + "items": { + "type": "string" + }, + "type": "array" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "range", + "hosts", + "services", + "metrics" + ], + "type": "object" + }, + "GetSCVMDiskMetricInput": { + "properties": { + "range": { + "type": "string" + }, + "disks": { + "$ref": "#/components/schemas/DiskWhereInput" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "range", + "disks", + "metrics" + ], + "type": "object" + }, + "GetZoneMetricInput": { + "properties": { + "range": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "primary-to-secondary", + "secondary-to-primary" + ] + }, + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "range", + "type", + "clusters", + "metrics" + ], + "type": "object" + }, + "GetWitnessMetricInput": { + "properties": { + "range": { + "type": "string" + }, + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "range", + "clusters", + "metrics" + ], + "type": "object" + }, + "GetTopNMetricInput": { + "properties": { + "metrics": { + "items": { + "type": "string" + }, + "type": "array" + }, + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "type": { + "type": "string", + "enum": [ + "top", + "bottom" + ] + }, + "n": { + "type": "integer", + "format": "int32" + }, + "range": { + "type": "string" + } + }, + "required": [ + "metrics", + "clusters", + "type", + "n", + "range" + ], + "type": "object" + }, + "NamespaceGroup": { + "properties": { + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_create_time": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespaces": { + "items": { + "$ref": "#/components/schemas/NestedNvmfNamespace" + }, + "type": "array", + "nullable": true + }, + "nvmf_subsystem": { + "$ref": "#/components/schemas/NestedNvmfSubsystem" + } + }, + "required": [ + "id", + "local_create_time", + "local_id", + "name", + "nvmf_subsystem" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_NamespaceGroup_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/NamespaceGroup" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NamespaceGroupCreationParams": { + "properties": { + "nvmf_subsystem_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "nvmf_subsystem_id", + "name" + ], + "type": "object" + }, + "NamespaceGroupUpdationParams": { + "properties": { + "data": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteNamespaceGroup": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteNamespaceGroup_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteNamespaceGroup" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NamespaceGroupDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NfsExport": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "description": { + "type": "string" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "export_inode_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "inodes": { + "items": { + "$ref": "#/components/schemas/NestedNfsInode" + }, + "type": "array", + "nullable": true + }, + "internal": { + "type": "boolean" + }, + "ip_whitelist": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "replica_num": { + "type": "integer", + "format": "int32" + }, + "thin_provision": { + "type": "boolean" + } + }, + "required": [ + "cluster", + "description", + "export_inode_id", + "id", + "internal", + "ip_whitelist", + "local_id", + "name", + "replica_num", + "thin_provision" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_NfsExport_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/NfsExport" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NfsExportCreationParams": { + "properties": { + "cluster_id": { + "type": "string" + }, + "ip_whitelist": { + "type": "string" + }, + "thin_provision": { + "type": "boolean" + }, + "replica_num": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + } + }, + "required": [ + "cluster_id", + "thin_provision", + "replica_num", + "name" + ], + "type": "object" + }, + "NfsExportUpdationParams": { + "properties": { + "data": { + "properties": { + "ip_whitelist": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/NfsExportWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "DeleteNfsExport": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteNfsExport_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteNfsExport" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NfsExportDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/NfsExportWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "Nic": { + "properties": { + "driver": { + "type": "string", + "nullable": true + }, + "driver_state": { + "allOf": [ + { + "$ref": "#/components/schemas/NicDriverState" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "gateway_ip": { + "type": "string", + "nullable": true + }, + "host": { + "$ref": "#/components/schemas/NestedHost" + }, + "ibdev": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "iommu_status": { + "allOf": [ + { + "$ref": "#/components/schemas/IommuStatus" + } + ], + "nullable": true + }, + "ip_address": { + "type": "string", + "nullable": true + }, + "is_sriov": { + "type": "boolean", + "nullable": true + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "mac_address": { + "type": "string" + }, + "max_vf_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "model": { + "type": "string", + "nullable": true + }, + "mtu": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + }, + "nic_uuid": { + "type": "string", + "nullable": true + }, + "physical": { + "type": "boolean" + }, + "rdma_enabled": { + "type": "boolean", + "nullable": true + }, + "running": { + "type": "boolean" + }, + "speed": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "subnet_mask": { + "type": "string", + "nullable": true + }, + "total_vf_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkType" + } + ], + "nullable": true + }, + "up": { + "type": "boolean" + }, + "used_vf_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "user_usage": { + "allOf": [ + { + "$ref": "#/components/schemas/NicUserUsage" + } + ], + "nullable": true + }, + "vds": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVds" + } + ], + "nullable": true + }, + "vms": { + "items": { + "$ref": "#/components/schemas/NestedVm" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "host", + "id", + "local_id", + "mac_address", + "mtu", + "name", + "physical", + "running", + "up" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_Nic_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/Nic" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NicUpdationParams": { + "properties": { + "data": { + "properties": { + "nic_user_usage": { + "$ref": "#/components/schemas/NicUserUsage" + }, + "total_vf_num": { + "type": "integer", + "format": "int32" + }, + "mtu": { + "type": "integer", + "format": "int32" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/NicWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "NestedBrickTopo": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedPosition": { + "properties": { + "column": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "row": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NodeTopo": { + "properties": { + "brick_topo": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedBrickTopo" + } + ], + "nullable": true + }, + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "cluster_topo": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedClusterTopo" + } + ], + "nullable": true + }, + "host": { + "$ref": "#/components/schemas/NestedHost" + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "position": { + "$ref": "#/components/schemas/NestedPosition" + } + }, + "required": [ + "cluster", + "host", + "id", + "local_id", + "name", + "position" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_NodeTopo_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/NodeTopo" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NodeTopoWhereUniqueInput": { + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "Position": { + "properties": { + "row": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "column": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "__typename": { + "type": "string", + "enum": [ + "position" + ], + "nullable": false + } + }, + "type": "object" + }, + "NodeTopoUpdationParamsData": { + "properties": { + "cluster_topo_id": { + "type": "string" + }, + "position": { + "$ref": "#/components/schemas/Position" + }, + "brick_topo_id": { + "type": "string" + } + }, + "type": "object" + }, + "NodeTopUpdationParam": { + "properties": { + "data": { + "$ref": "#/components/schemas/NodeTopoUpdationParamsData" + }, + "where": { + "$ref": "#/components/schemas/NodeTopoWhereUniqueInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "NodeTopoUpdationParams": { + "items": { + "$ref": "#/components/schemas/NodeTopUpdationParam" + }, + "type": "array" + }, + "NvmfNamespaceSnapshot": { + "properties": { + "consistency_group_snapshot": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedConsistencyGroupSnapshot" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nvmf_namespace": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedNvmfNamespace" + } + ], + "nullable": true + }, + "nvmf_subsystem": { + "$ref": "#/components/schemas/NestedNvmfSubsystem" + }, + "unique_size": { + "type": "integer", + "format": "int64" + } + }, + "required": [ + "id", + "local_created_at", + "local_id", + "name", + "nvmf_subsystem", + "unique_size" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_NvmfNamespaceSnapshot_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/NvmfNamespaceSnapshot" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NvmfNamespaceSnapshotCreationParams": { + "properties": { + "nvmf_subsystem_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nvmf_namespace_id": { + "type": "string" + } + }, + "required": [ + "nvmf_subsystem_id", + "name", + "nvmf_namespace_id" + ], + "type": "object" + }, + "DeleteNvmfNamespaceSnapshot": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteNvmfNamespaceSnapshot_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteNvmfNamespaceSnapshot" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NvmfNamespaceSnapshotDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NvmfNamespace": { + "properties": { + "assigned_size": { + "type": "integer", + "format": "int64" + }, + "bps": { + "type": "integer", + "format": "int64" + }, + "bps_max": { + "type": "integer", + "format": "int64" + }, + "bps_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_rd": { + "type": "integer", + "format": "int64" + }, + "bps_rd_max": { + "type": "integer", + "format": "int64" + }, + "bps_rd_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_wr": { + "type": "integer", + "format": "int64" + }, + "bps_wr_max": { + "type": "integer", + "format": "int64" + }, + "bps_wr_max_length": { + "type": "integer", + "format": "int64" + }, + "consistency_group": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedConsistencyGroup" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "io_size": { + "type": "integer", + "format": "int64" + }, + "iops": { + "type": "integer", + "format": "int64" + }, + "iops_max": { + "type": "integer", + "format": "int64" + }, + "iops_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_rd": { + "type": "integer", + "format": "int64" + }, + "iops_rd_max": { + "type": "integer", + "format": "int64" + }, + "iops_rd_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_wr": { + "type": "integer", + "format": "int64" + }, + "iops_wr_max": { + "type": "integer", + "format": "int64" + }, + "iops_wr_max_length": { + "type": "integer", + "format": "int64" + }, + "is_shared": { + "type": "boolean" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace_group": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedNamespaceGroup" + } + ], + "nullable": true + }, + "namespace_id": { + "type": "integer", + "format": "int32" + }, + "nqn_whitelist": { + "type": "string" + }, + "nvmf_subsystem": { + "$ref": "#/components/schemas/NestedNvmfSubsystem" + }, + "replica_num": { + "type": "integer", + "format": "int32" + }, + "shared_size": { + "type": "integer", + "format": "int64" + }, + "snapshot_num": { + "type": "integer", + "format": "int32" + }, + "stripe_num": { + "type": "integer", + "format": "int32" + }, + "stripe_size": { + "type": "integer", + "format": "int64" + }, + "thin_provision": { + "type": "boolean" + }, + "unique_logical_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64" + }, + "zbs_volume_id": { + "type": "string" + } + }, + "required": [ + "assigned_size", + "bps", + "bps_max", + "bps_max_length", + "bps_rd", + "bps_rd_max", + "bps_rd_max_length", + "bps_wr", + "bps_wr_max", + "bps_wr_max_length", + "id", + "io_size", + "iops", + "iops_max", + "iops_max_length", + "iops_rd", + "iops_rd_max", + "iops_rd_max_length", + "iops_wr", + "iops_wr_max", + "iops_wr_max_length", + "is_shared", + "local_created_at", + "local_id", + "name", + "namespace_id", + "nqn_whitelist", + "nvmf_subsystem", + "replica_num", + "shared_size", + "snapshot_num", + "stripe_num", + "stripe_size", + "thin_provision", + "unique_size", + "zbs_volume_id" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_NvmfNamespace_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/NvmfNamespace" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NvmfNamespaceCommonParams": { + "properties": { + "bps_wr_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_wr_max_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_wr_max": { + "type": "integer", + "format": "int64" + }, + "bps_rd_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_rd_max_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_rd_max": { + "type": "integer", + "format": "int64" + }, + "bps_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_max_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_max": { + "type": "integer", + "format": "int64" + }, + "iops_wr_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_wr_max": { + "type": "integer", + "format": "int64" + }, + "iops_rd_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_rd_max": { + "type": "integer", + "format": "int64" + }, + "iops_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_max": { + "type": "integer", + "format": "int64" + }, + "bps_wr_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_wr": { + "type": "integer", + "format": "int64" + }, + "bps_rd_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_rd": { + "type": "integer", + "format": "int64" + }, + "bps_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps": { + "type": "integer", + "format": "int64" + }, + "iops_wr": { + "type": "integer", + "format": "int64" + }, + "iops_rd": { + "type": "integer", + "format": "int64" + }, + "iops": { + "type": "integer", + "format": "int64" + }, + "nqn_whitelist": { + "type": "string" + } + }, + "type": "object" + }, + "NvmfNamespaceCreationParams": { + "allOf": [ + { + "properties": { + "namespace_id": { + "type": "integer", + "format": "int32" + }, + "group_id": { + "type": "string" + }, + "is_shared": { + "type": "boolean" + }, + "assigned_size_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "assigned_size": { + "type": "integer", + "format": "int64" + }, + "replica_num": { + "type": "integer", + "format": "int32" + }, + "nvmf_subsystem_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "assigned_size", + "replica_num", + "nvmf_subsystem_id", + "name" + ], + "type": "object" + }, + { + "$ref": "#/components/schemas/NvmfNamespaceCommonParams" + } + ] + }, + "NvmfNamespaceUpdationParamsData": { + "allOf": [ + { + "properties": { + "assigned_size_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "assigned_size": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + { + "$ref": "#/components/schemas/NvmfNamespaceCommonParams" + } + ] + }, + "NvmfNamespaceUpdationParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/NvmfNamespaceUpdationParamsData" + }, + "where": { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteNvmfNamespace": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteNvmfNamespace_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteNvmfNamespace" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NvmfNamespaceDeletionParams": { + "properties": { + "data": { + "properties": { + "remove_snapshot": { + "type": "boolean" + } + }, + "required": [ + "remove_snapshot" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "NvmfNamespaceCloneParams": { + "properties": { + "namespace_group_id": { + "type": "string" + }, + "nvmf_subsystem_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "snapshot_id": { + "type": "string" + } + }, + "required": [ + "nvmf_subsystem_id", + "name", + "snapshot_id" + ], + "type": "object" + }, + "NvmfNamespaceRollbackParams": { + "properties": { + "namespace_id": { + "type": "string" + }, + "snapshot_id": { + "type": "string" + } + }, + "required": [ + "namespace_id", + "snapshot_id" + ], + "type": "object" + }, + "NvmfSubsystem": { + "properties": { + "bps": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_rd_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "bps_wr_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "description": { + "type": "string" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "external_use": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "internal": { + "type": "boolean" + }, + "io_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_rd_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "iops_wr_max_length": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "ip_whitelist": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "namespace_groups": { + "items": { + "$ref": "#/components/schemas/NestedNamespaceGroup" + }, + "type": "array", + "nullable": true + }, + "namespaces": { + "items": { + "$ref": "#/components/schemas/NestedNvmfNamespace" + }, + "type": "array", + "nullable": true + }, + "nqn_name": { + "type": "string" + }, + "nqn_whitelist": { + "type": "string" + }, + "policy": { + "$ref": "#/components/schemas/NvmfSubsystemPolicyType" + }, + "replica_num": { + "type": "integer", + "format": "int32" + }, + "stripe_num": { + "type": "integer", + "format": "int32" + }, + "stripe_size": { + "type": "integer", + "format": "int64" + }, + "thin_provision": { + "type": "boolean" + } + }, + "required": [ + "cluster", + "description", + "external_use", + "id", + "internal", + "ip_whitelist", + "local_id", + "name", + "nqn_name", + "nqn_whitelist", + "policy", + "replica_num", + "stripe_num", + "stripe_size", + "thin_provision" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_NvmfSubsystem_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/NvmfSubsystem" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NvmfSubsystemCommonParams": { + "properties": { + "bps_wr_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_wr_max_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_wr_max": { + "type": "integer", + "format": "int64" + }, + "bps_rd_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_rd_max_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_rd_max": { + "type": "integer", + "format": "int64" + }, + "bps_max_length": { + "type": "integer", + "format": "int64" + }, + "bps_max_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_max": { + "type": "integer", + "format": "int64" + }, + "iops_wr_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_wr_max": { + "type": "integer", + "format": "int64" + }, + "iops_rd_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_rd_max": { + "type": "integer", + "format": "int64" + }, + "iops_max_length": { + "type": "integer", + "format": "int64" + }, + "iops_max": { + "type": "integer", + "format": "int64" + }, + "bps_wr_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_wr": { + "type": "integer", + "format": "int64" + }, + "bps_rd_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps_rd": { + "type": "integer", + "format": "int64" + }, + "bps_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "bps": { + "type": "integer", + "format": "int64" + }, + "iops_wr": { + "type": "integer", + "format": "int64" + }, + "iops_rd": { + "type": "integer", + "format": "int64" + }, + "iops": { + "type": "integer", + "format": "int64" + }, + "description": { + "type": "string" + }, + "nqn_whitelist": { + "type": "string" + }, + "ip_whitelist": { + "type": "string" + } + }, + "type": "object" + }, + "NvmfSubsystemCreationParams": { + "allOf": [ + { + "properties": { + "replica_num": { + "type": "integer", + "format": "int32" + }, + "thin_provision": { + "type": "boolean" + }, + "stripe_size_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "stripe_size": { + "type": "integer", + "format": "int64" + }, + "stripe_num": { + "type": "integer", + "format": "int32" + }, + "policy": { + "$ref": "#/components/schemas/NvmfSubsystemPolicyType" + }, + "cluster_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "replica_num", + "thin_provision", + "stripe_size", + "stripe_num", + "policy", + "cluster_id", + "name" + ], + "type": "object" + }, + { + "$ref": "#/components/schemas/NvmfSubsystemCommonParams" + } + ] + }, + "NvmfSubsystemUpdationParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/NvmfSubsystemCommonParams" + }, + "where": { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteNvmfSubsystem": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteNvmfSubsystem_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteNvmfSubsystem" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NvmfSubsystemDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "DisassociateSystemServiceFromObsServiceResultType": { + "enum": [ + "FAIL", + "SUCCESS" + ], + "type": "string" + }, + "DisassociateSystemServiceFromObsServiceResult": { + "properties": { + "errorMessage": { + "type": "string" + }, + "errorCode": { + "type": "string" + }, + "result": { + "$ref": "#/components/schemas/DisassociateSystemServiceFromObsServiceResultType" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "WithTask_DisassociateSystemServiceFromObsServiceResult_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DisassociateSystemServiceFromObsServiceResult" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ObservabilityConnectedSystemServiceType": { + "enum": [ + "BACKUP_SERVICE", + "CLOUDTOWER", + "EVEROUTE_SERVICE", + "OBSERVABILITY_SERVICE", + "REPLICATION_SERVICE", + "SFS_SERVICE" + ], + "type": "string" + }, + "DisassociateSystemServiceFromObsServiceParams": { + "properties": { + "system_service_type": { + "$ref": "#/components/schemas/ObservabilityConnectedSystemServiceType" + }, + "system_service_id": { + "type": "string" + } + }, + "required": [ + "system_service_id" + ], + "type": "object" + }, + "Organization": { + "properties": { + "datacenters": { + "items": { + "$ref": "#/components/schemas/NestedDatacenter" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_Organization_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/Organization" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "OrganizationCreationParams": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "OrganizationUpdationParams": { + "properties": { + "data": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/OrganizationWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteOrganization": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteOrganization_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteOrganization" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "OrganizationDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/OrganizationWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedZoneTopo": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "RackTopo": { + "properties": { + "brick_topoes": { + "items": { + "$ref": "#/components/schemas/NestedBrickTopo" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "height": { + "type": "integer", + "format": "int32" + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "zone_topo": { + "$ref": "#/components/schemas/NestedZoneTopo" + } + }, + "required": [ + "cluster", + "height", + "id", + "local_id", + "name", + "zone_topo" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_RackTopo_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/RackTopo" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "RackTopoCreationParams": { + "properties": { + "brick_topoes": { + "$ref": "#/components/schemas/BrickTopoWhereInput" + }, + "cluster_id": { + "type": "string" + }, + "zone_topo_id": { + "type": "string" + }, + "height": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + } + }, + "required": [ + "cluster_id", + "zone_topo_id", + "height", + "name" + ], + "type": "object" + }, + "RackTopoUpdationParams": { + "properties": { + "data": { + "properties": { + "brick_topoes": { + "$ref": "#/components/schemas/BrickTopoWhereInput" + }, + "cluster_id": { + "type": "string" + }, + "zone_topo_id": { + "type": "string" + }, + "height": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/RackTopoWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteRackTopo": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteRackTopo_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteRackTopo" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "RackTopoDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/RackTopoWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "AccessMode": { + "enum": [ + "ALLOW", + "DENY", + "NONE" + ], + "type": "string" + }, + "PasswordComplexity": { + "enum": [ + "HIGH", + "LOW", + "MIDDLE" + ], + "type": "string" + }, + "NestedAuthSettings": { + "properties": { + "access_list": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "access_mode": { + "allOf": [ + { + "$ref": "#/components/schemas/AccessMode" + } + ], + "nullable": true + }, + "enable_single_session_login": { + "type": "boolean", + "nullable": true + }, + "login_miss_num_threshold": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "login_miss_time_threshold": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "password_complexity": { + "allOf": [ + { + "$ref": "#/components/schemas/PasswordComplexity" + } + ], + "nullable": true + }, + "password_expire_days": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "session_max_age": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GlobalSettings": { + "properties": { + "auth": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedAuthSettings" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "vm_recycle_bin": { + "$ref": "#/components/schemas/NestedVmRecycleBin" + } + }, + "required": [ + "id", + "vm_recycle_bin" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_GlobalSettings_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/GlobalSettings" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "GlobalRecycleBinUpdationParams": { + "properties": { + "retain": { + "type": "integer", + "format": "int32" + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "retain", + "enabled" + ], + "type": "object" + }, + "ClusterRecycleBinCreationParams": { + "properties": { + "data": { + "properties": { + "retain": { + "type": "integer", + "format": "int32" + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "retain", + "enabled" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "ClusterRecycleBinUpdationParams": { + "properties": { + "data": { + "properties": { + "retain": { + "type": "integer", + "format": "int32" + }, + "enabled": { + "type": "boolean" + } + }, + "required": [ + "retain", + "enabled" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteClusterRecycleBin": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteClusterRecycleBin_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteClusterRecycleBin" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ClusterRecycleBinDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedExecutePlan": { + "properties": { + "enabled": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "period": { + "type": "string" + }, + "retain": { + "type": "integer", + "format": "int32" + }, + "start_at": { + "type": "string" + } + }, + "required": [ + "enabled", + "id", + "period", + "retain", + "start_at" + ], + "type": "object", + "additionalProperties": false + }, + "ReportResourceInputEnum": { + "enum": [ + "ALERT", + "ALL", + "CLUSTER", + "DATA_CENTER", + "DISK", + "ELF_IMAGE", + "ENTITY_FILTERS", + "GLOBAL_ALERT_RULE", + "HOST", + "TASK", + "VDS", + "VLAN", + "VM", + "VM_TEMPLATE" + ], + "type": "string" + }, + "NestedResourceMeta": { + "properties": { + "fields": { + "items": { + "type": "string" + }, + "type": "array" + }, + "filter": { + "properties": {}, + "type": "object" + }, + "name": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/ReportResourceInputEnum" + } + }, + "required": [ + "fields", + "filter", + "name", + "type" + ], + "type": "object", + "additionalProperties": false + }, + "NestedReportTask": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "ReportTemplate": { + "properties": { + "createdAt": { + "type": "string" + }, + "description": { + "type": "string" + }, + "execute_plan": { + "items": { + "$ref": "#/components/schemas/NestedExecutePlan" + }, + "type": "array" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "preset": { + "type": "string", + "nullable": true + }, + "resource_meta": { + "items": { + "$ref": "#/components/schemas/NestedResourceMeta" + }, + "type": "array" + }, + "task_num": { + "type": "integer", + "format": "int32" + }, + "tasks": { + "items": { + "$ref": "#/components/schemas/NestedReportTask" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "createdAt", + "description", + "execute_plan", + "id", + "name", + "resource_meta", + "task_num" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_ReportTemplate_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/ReportTemplate" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ExecutePlan": { + "properties": { + "start_at": { + "type": "string" + }, + "retain": { + "type": "integer", + "format": "int32" + }, + "period": { + "type": "string" + }, + "id": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "__typename": { + "type": "string", + "enum": [ + "ExecutePlan" + ], + "nullable": false + } + }, + "required": [ + "start_at", + "retain", + "period", + "id", + "enabled" + ], + "type": "object" + }, + "ResourceMeta": { + "properties": { + "type": { + "$ref": "#/components/schemas/ReportResourceInputEnum" + }, + "name": { + "type": "string" + }, + "filter": {}, + "fields": { + "items": { + "type": "string" + }, + "type": "array" + }, + "__typename": { + "type": "string", + "enum": [ + "ResourceMeta" + ], + "nullable": false + } + }, + "required": [ + "type", + "name", + "filter", + "fields" + ], + "type": "object" + }, + "ReportTemplateCreationParams": { + "properties": { + "resource_meta": { + "items": { + "$ref": "#/components/schemas/ResourceMeta" + }, + "type": "array" + }, + "execute_plan": { + "items": { + "$ref": "#/components/schemas/ExecutePlan" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "resource_meta", + "execute_plan", + "name" + ], + "type": "object" + }, + "ReportTemplateWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ReportTemplateWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ReportTemplateWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ReportTemplateWhereInput" + }, + "type": "array", + "nullable": true + }, + "createdAt": { + "type": "string", + "nullable": true + }, + "createdAt_gt": { + "type": "string", + "nullable": true + }, + "createdAt_gte": { + "type": "string", + "nullable": true + }, + "createdAt_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "createdAt_lt": { + "type": "string", + "nullable": true + }, + "createdAt_lte": { + "type": "string", + "nullable": true + }, + "createdAt_not": { + "type": "string", + "nullable": true + }, + "createdAt_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "preset": { + "type": "string", + "nullable": true + }, + "preset_contains": { + "type": "string", + "nullable": true + }, + "preset_ends_with": { + "type": "string", + "nullable": true + }, + "preset_gt": { + "type": "string", + "nullable": true + }, + "preset_gte": { + "type": "string", + "nullable": true + }, + "preset_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "preset_lt": { + "type": "string", + "nullable": true + }, + "preset_lte": { + "type": "string", + "nullable": true + }, + "preset_not": { + "type": "string", + "nullable": true + }, + "preset_not_contains": { + "type": "string", + "nullable": true + }, + "preset_not_ends_with": { + "type": "string", + "nullable": true + }, + "preset_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "preset_not_starts_with": { + "type": "string", + "nullable": true + }, + "preset_starts_with": { + "type": "string", + "nullable": true + }, + "task_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "task_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "task_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "task_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "task_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "task_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "task_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "task_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "tasks_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ReportTaskWhereInput" + } + ], + "nullable": true + }, + "tasks_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ReportTaskWhereInput" + } + ], + "nullable": true + }, + "tasks_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ReportTaskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ReportTaskWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ReportTaskWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ReportTaskWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ReportTaskWhereInput" + }, + "type": "array", + "nullable": true + }, + "createdAt": { + "type": "string", + "nullable": true + }, + "createdAt_gt": { + "type": "string", + "nullable": true + }, + "createdAt_gte": { + "type": "string", + "nullable": true + }, + "createdAt_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "createdAt_lt": { + "type": "string", + "nullable": true + }, + "createdAt_lte": { + "type": "string", + "nullable": true + }, + "createdAt_not": { + "type": "string", + "nullable": true + }, + "createdAt_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "internal": { + "type": "boolean", + "nullable": true + }, + "internal_not": { + "type": "boolean", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "plan_id": { + "type": "string", + "nullable": true + }, + "plan_id_contains": { + "type": "string", + "nullable": true + }, + "plan_id_ends_with": { + "type": "string", + "nullable": true + }, + "plan_id_gt": { + "type": "string", + "nullable": true + }, + "plan_id_gte": { + "type": "string", + "nullable": true + }, + "plan_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "plan_id_lt": { + "type": "string", + "nullable": true + }, + "plan_id_lte": { + "type": "string", + "nullable": true + }, + "plan_id_not": { + "type": "string", + "nullable": true + }, + "plan_id_not_contains": { + "type": "string", + "nullable": true + }, + "plan_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "plan_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "plan_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "plan_id_starts_with": { + "type": "string", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/TaskStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/TaskStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/TaskStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/TaskStatus" + }, + "type": "array", + "nullable": true + }, + "template": { + "allOf": [ + { + "$ref": "#/components/schemas/ReportTemplateWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ReportTemplateUpdationParams": { + "properties": { + "data": { + "properties": { + "resource_meta": { + "items": { + "$ref": "#/components/schemas/ResourceMeta" + }, + "type": "array" + }, + "execute_plan": { + "items": { + "$ref": "#/components/schemas/ExecutePlan" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/ReportTemplateWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "NestedReportTemplate": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "ReportTask": { + "properties": { + "createdAt": { + "type": "string" + }, + "id": { + "type": "string" + }, + "internal": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "plan_id": { + "type": "string", + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/TaskStatus" + }, + "template": { + "$ref": "#/components/schemas/NestedReportTemplate" + } + }, + "required": [ + "createdAt", + "id", + "internal", + "name", + "status", + "template" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_ReportTask_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/ReportTask" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ReporteTemplateGenerationParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/ReportTemplateWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "DeleteReportTemplate": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteReportTemplate_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteReportTemplate" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ReportTemplateDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/ReportTemplateWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "UserRoleNext": { + "properties": { + "actions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "platform": { + "$ref": "#/components/schemas/UserRolePlatform" + }, + "preset": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRolePreset" + } + ], + "nullable": true + }, + "users": { + "items": { + "$ref": "#/components/schemas/NestedUser" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "actions", + "id", + "name", + "platform" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_UserRoleNext_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/UserRoleNext" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ROLE_ACTION": { + "enum": [ + "*", + "MANAGE_DATA_CENTER", + "MANAGE_CLUSTER_CONNECTION", + "MANAGE_STORAGE_CLUSTER_CONNECTION", + "MANAGE_PORT_ACCESS_CONTROL", + "MANAGE_HOST", + "MANAGE_NIC_MTU", + "MANAGE_DISK", + "MANAGE_HARDWARE_TOPO", + "MANAGE_USB_DEVICE", + "MANAGE_GPU_DEVICE", + "MANAGE_VDS", + "MANAGE_VLAN", + "MANAGE_SYSTEM_VLAN", + "MANAGE_ISCSI_DATA_STORE", + "MANAGE_NFS_DATA_STORE", + "MANAGE_NVMF_DATA_STORE", + "CREATE_VM", + "UPDATE_VM", + "DELETE_VM", + "UPDATE_VM_ADVANCED_SETTING", + "UPDATE_VM_GUEST", + "VM_OPERATION_OPEN_TERMINAL", + "VM_OPERATION_MIGRATE", + "VM_OPERATION_VM_FOLDER", + "VM_OPERATION_VM_POWER", + "VM_OPERATION_CLONE", + "VM_OPERATION_INSTALL_TOOLS", + "VM_IMPORT_EXPORT", + "CREATE_VM_TEMPLATE", + "MANAGE_VM_TEMPLATE", + "VM_TEMPLATE_IMPORT_EXPORT", + "MANAGE_VM_SNAPSHOT", + "MANAGE_VM_VOLUME", + "VM_VOLUME_IMPORT_EXPORT", + "MANAGE_ISO", + "DOWNLOAD_ISO", + "QUERY_SENSITIVE_RESOURCE_LIST", + "QUERY_SENSITIVE_RESOURCE", + "MANAGE_SENSITIVE_RESOURCE", + "MANAGE_VM_PLACEMENT_GROUP", + "MANAGE_SNAPSHOT_PLAN", + "MANAGE_ALERT", + "MANAGE_MONITOR_VIEW", + "MANAGE_ENTITY_FILTER", + "MANAGE_CLUSTER_BASIC_INFO", + "MANAGE_CLUSTER_LICENCE", + "MANAGE_CLUSTER_SNMP_TRANSPORT", + "MANAGE_SNMP_TRAP", + "MANAGE_CLUSTER_VIP", + "MANAGE_CLUSTER_MANAGEMENT_IP", + "MANAGE_DNS_SERVER", + "MANAGE_NTP_SERVER", + "MANAGE_IPMI", + "MANAGE_CLUSTER_VM_CPU_MODEL", + "MANAGE_CLUSTER_VM_TOOLS", + "MANAGE_CLUSTER_HOT_MIGRATION", + "MANAGE_CLUSTER_HA", + "MANAGE_SSL_CERTIFICATE", + "MANAGE_LOG_COLLECTION", + "MANAGE_SYSLOG", + "MANAGE_LOG_FIND", + "MANAGE_LABEL", + "MANAGE_USER_AND_ROLE", + "MANAGE_PASSWORD_SETTINGS", + "MANAGE_ACCESS_CONTROL", + "MANAGE_SESSION_EXPIRATION", + "MANAGE_VCENTER_ASSOCIATION", + "MANAGE_ESXI_ASSOCIATION", + "MANAGE_AUDIT_LOG", + "MANAGE_ALERT_EMAIL_SETTING", + "MANAGE_SMTP_SERVER", + "MANAGE_UPGRADE_CENTER", + "MANAGE_CLUSTER_UPGRADE", + "MANAGE_ALERT_NOTIFIER", + "MANAGE_VM_RECYCLE_BIN_SETTING", + "MANAGE_REPORT", + "MANAGE_SHARING_VM_TOOLS", + "MANAGE_ADVANCED_MONITOR", + "MANAGE_THIRD_PARTY_DRIVER", + "MANAGE_ORGANIZATION_NAME", + "MANAGE_CLOUD_TOWER_LICENSE", + "MANAGE_CONSISTENCY_GROUP", + "MANAGE_NIC", + "MANAGE_CLUSTER_ISCSI", + "MANAGE_BACKUP_LICENSE", + "MANAGE_BACKUP_PACKAGE", + "MANAGE_BACKUP_SERVICE", + "MANAGE_BACKUP_STORE_REPOSITORY", + "MANAGE_BACKUP_PLAN", + "MANAGE_BACKUP_TASK", + "MANAGE_BACKUP_RESTORE_POINT", + "MANAGE_BACKUP_RESTORE_POINT_TASK", + "MANAGE_SECURITY_POLICY", + "MANAGE_SECURITY_GROUP", + "ISOLATE_VM", + "MANAGE_EVEROUTE_LICENSE", + "MANAGE_EVEROUTE_PACKAGE", + "DEPLOY_EVEROUTE_CLUSTER", + "UNDEPLOY_EVEROUTE_CLUSTER", + "UPDATE_EVEROUTE_CLUSTER", + "UPGRADE_EVEROUTE_CLUSTER", + "MANAGE_EVEROUTE_NETWORK_POLICY_RULE_SERVICE", + "MANAGE_EVEROUTE_CLUSTER_ASSOCIATION", + "MANAGE_EVEROUTE_CLUSTER_GLOBAL_POLICY", + "MANAGE_MICRO_SEGMENTATION", + "MANAGE_LOAD_BALANCER_RESOURCE", + "MANAGE_LOAD_BALANCER", + "MANAGE_LOAD_BALANCER_VNET_BOND", + "MANAGE_VIRTUAL_PRIVATE_CLOUD_SERVICE", + "MANAGE_VIRTUAL_PRIVATE_CLOUD_CLUSTER_BINDING", + "MANAGE_VIRTUAL_PRIVATE_CLOUD_EDGE_GATEWAY", + "MANAGE_VIRTUAL_PRIVATE_CLOUD_EXTERNAL_SUBNET", + "MANAGE_VIRTUAL_PRIVATE_CLOUD_BASIC_RESOURCE", + "MANAGE_VIRTUAL_PRIVATE_CLOUD_SECURITY_GROUP", + "MANAGE_VIRTUAL_PRIVATE_CLOUD_SECURITY_POLICY", + "MANAGE_VIRTUAL_PRIVATE_CLOUD_ISOLATION_POLICY", + "MANAGE_VIRTUAL_PRIVATE_CLOUD_FLOATING_IP", + "MANAGE_VIRTUAL_PRIVATE_CLOUD_ROUTER_GATEWAY", + "MANAGE_VIRTUAL_PRIVATE_CLOUD_NAT_GATEWAY", + "MANAGE_VIRTUAL_PRIVATE_CLOUD_LAYER2_GATEWAY", + "MANAGE_VIRTUAL_PRIVATE_CLOUD_PEERING", + "MANAGE_VIRTUAL_PRIVATE_CLOUD_LOAD_BALANCER_RESOURCE", + "MANAGE_LDAP_AD_CONFIG", + "MANAGE_MFA_CONFIG", + "MANAGE_DEFAULT_LOGIN_OPTION", + "MANAGE_CLUSTER_STORAGE_POLICY", + "MANAGE_SKS_SERVICE", + "MANAGE_SKS_LICENSE", + "CONFIGURE_SKS_SERVICE", + "CREATE_SKS_WORKLOAD_CLUSTER", + "DELETE_SKS_WORKLOAD_CLUSTER", + "UPDATE_SKS_WORKLOAD_CLUSTER", + "MANAGE_CONTAINER_REGISTRY", + "DOWNLOAD_SKS_WORKLOAD_CLUSTER_KUBECONFIG", + "DOWNLOAD_SKS_WORKLOAD_SPEC_FILE", + "MANAGE_SKS_WORKLOAD_CLUSTER_RECONCILE", + "MANAGE_OBSERVABILITY_PACKAGE", + "MANAGE_OBSERVABILITY_SERVICE", + "CONFIG_DYNAMIC_RESOURCE_SCHEDULE", + "GENERATE_DRS_PROPOSALS", + "APPLY_DRS_PROPOSAL", + "MANAGE_AGENT_MESH", + "MANAGE_REPLICATION_SERVICE", + "MANAGE_REPLICATION_RESTORE_POINT", + "MANAGE_REPLICATION_PLAN", + "MANAGE_REPLICATION_TASK", + "MANAGE_REPLICATION_FAULT_TASK", + "MANAGE_REPLICA_OBJECT", + "MANAGE_CLUSTER_PRIORITIZED", + "SMTX_INSPECTOR", + "MANAGE_SFS_LICENSE", + "MANAGE_SFS_IMAGE", + "MANAGE_SFS_FILE_STORAGE_CLUSTER", + "MANAGE_SFS_FILE_SYSTEM_CONFIG", + "MANAGE_SFS_FILE_SYSTEM_ACCESSIBILITY", + "MANAGE_SFS_FS_CONTROLLER", + "MANAGE_SFS_SNAPSHOT", + "MANAGE_CLOUDTOWER_SNMP_TRANSPORT", + "MANAGE_CLOUD_TOWER_NTP", + "MANAGE_CLOUDTOWER_WEBHOOK_NOTIFIER", + "MANAGE_API_KEY", + "MANAGE_KMS_CLUSTER", + "MANAGE_CLUSTER_STORAGE_ENCRYPTION", + "MANAGE_SSO_LOGIN" + ], + "type": "string" + }, + "RoleCreationParams": { + "properties": { + "actions": { + "items": { + "$ref": "#/components/schemas/ROLE_ACTION" + }, + "type": "array" + }, + "name": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "actions", + "name" + ], + "type": "object" + }, + "RoleUpdationParams": { + "properties": { + "data": { + "properties": { + "actions": { + "items": { + "$ref": "#/components/schemas/ROLE_ACTION" + }, + "type": "array" + }, + "name": { + "type": "string", + "minLength": 1 + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/UserRoleNextWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteRole": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteRole_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteRole" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "RoleDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/UserRoleNextWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedLabelGroup": { + "properties": { + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array" + } + }, + "required": [ + "labels" + ], + "type": "object", + "additionalProperties": false + }, + "SecurityGroup": { + "properties": { + "description": { + "type": "string", + "nullable": true + }, + "everoute_cluster": { + "$ref": "#/components/schemas/NestedEverouteCluster" + }, + "id": { + "type": "string" + }, + "isolation_policies": { + "items": { + "$ref": "#/components/schemas/NestedIsolationPolicy" + }, + "type": "array", + "nullable": true + }, + "label_groups": { + "items": { + "$ref": "#/components/schemas/NestedLabelGroup" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string" + }, + "security_policies": { + "items": { + "$ref": "#/components/schemas/NestedSecurityPolicy" + }, + "type": "array", + "nullable": true + }, + "vms": { + "items": { + "$ref": "#/components/schemas/NestedVm" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "everoute_cluster", + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_SecurityGroup_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/SecurityGroup" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "SecurityGroupCreateParams": { + "properties": { + "vms": { + "$ref": "#/components/schemas/VmWhereInput" + }, + "label_groups": { + "items": { + "$ref": "#/components/schemas/LabelWhereInput" + }, + "type": "array", + "minItems": 1 + }, + "description": { + "type": "string" + }, + "everoute_cluster_id": { + "type": "string" + }, + "name": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "everoute_cluster_id", + "name" + ], + "type": "object" + }, + "DeleteSecurityGroup": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteSecurityGroup_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteSecurityGroup" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "SecurityGroupWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/SecurityGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/SecurityGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/SecurityGroupWhereInput" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "everoute_cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "isolation_policies_every": { + "allOf": [ + { + "$ref": "#/components/schemas/IsolationPolicyWhereInput" + } + ], + "nullable": true + }, + "isolation_policies_none": { + "allOf": [ + { + "$ref": "#/components/schemas/IsolationPolicyWhereInput" + } + ], + "nullable": true + }, + "isolation_policies_some": { + "allOf": [ + { + "$ref": "#/components/schemas/IsolationPolicyWhereInput" + } + ], + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "security_policies_every": { + "allOf": [ + { + "$ref": "#/components/schemas/SecurityPolicyWhereInput" + } + ], + "nullable": true + }, + "security_policies_none": { + "allOf": [ + { + "$ref": "#/components/schemas/SecurityPolicyWhereInput" + } + ], + "nullable": true + }, + "security_policies_some": { + "allOf": [ + { + "$ref": "#/components/schemas/SecurityPolicyWhereInput" + } + ], + "nullable": true + }, + "vms_every": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_none": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vms_some": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SecurityGroupDeleteParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/SecurityGroupWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "SecurityGroupUpdateParams": { + "properties": { + "label_groups": { + "items": { + "$ref": "#/components/schemas/LabelWhereInput" + }, + "type": "array" + }, + "vms": { + "$ref": "#/components/schemas/VmWhereInput" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "SecurityGroupUpdateBody": { + "properties": { + "data": { + "$ref": "#/components/schemas/SecurityGroupUpdateParams" + }, + "where": { + "$ref": "#/components/schemas/SecurityGroupWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "NestedSecurityGroup": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedSecurityPolicyApply": { + "properties": { + "communicable": { + "type": "boolean" + }, + "security_group": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedSecurityGroup" + } + ], + "nullable": true + }, + "security_group_id": { + "type": "string", + "nullable": true + }, + "selector": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array" + }, + "selector_ids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "communicable", + "selector", + "selector_ids" + ], + "type": "object", + "additionalProperties": false + }, + "NetworkPolicyRuleAlgProtocol": { + "enum": [ + "FTP", + "TFTP" + ], + "type": "string" + }, + "NetworkPolicyRulePortProtocol": { + "enum": [ + "ALG", + "ICMP", + "IPIP", + "TCP", + "UDP" + ], + "type": "string" + }, + "NestedNetworkPolicyRulePort": { + "properties": { + "alg_protocol": { + "allOf": [ + { + "$ref": "#/components/schemas/NetworkPolicyRuleAlgProtocol" + } + ], + "nullable": true + }, + "port": { + "type": "string", + "nullable": true + }, + "protocol": { + "$ref": "#/components/schemas/NetworkPolicyRulePortProtocol" + } + }, + "required": [ + "protocol" + ], + "type": "object", + "additionalProperties": false + }, + "NetworkPolicyRuleType": { + "enum": [ + "ALL", + "IP_BLOCK", + "SECURITY_GROUP", + "SELECTOR" + ], + "type": "string" + }, + "NestedNetworkPolicyRule": { + "properties": { + "ip_block": { + "type": "string", + "nullable": true + }, + "ports": { + "items": { + "$ref": "#/components/schemas/NestedNetworkPolicyRulePort" + }, + "type": "array", + "nullable": true + }, + "security_group": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedSecurityGroup" + } + ], + "nullable": true + }, + "security_group_id": { + "type": "string", + "nullable": true + }, + "selector": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "selector_ids": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/NetworkPolicyRuleType" + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + }, + "SecurityPolicy": { + "properties": { + "apply_to": { + "items": { + "$ref": "#/components/schemas/NestedSecurityPolicyApply" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "egress": { + "items": { + "$ref": "#/components/schemas/NestedNetworkPolicyRule" + }, + "type": "array", + "nullable": true + }, + "everoute_cluster": { + "$ref": "#/components/schemas/NestedEverouteCluster" + }, + "id": { + "type": "string" + }, + "ingress": { + "items": { + "$ref": "#/components/schemas/NestedNetworkPolicyRule" + }, + "type": "array", + "nullable": true + }, + "is_blocklist": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "policy_mode": { + "allOf": [ + { + "$ref": "#/components/schemas/PolicyMode" + } + ], + "nullable": true + } + }, + "required": [ + "apply_to", + "description", + "everoute_cluster", + "id", + "is_blocklist", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_SecurityPolicy_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/SecurityPolicy" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "SecurityPolicyApplyToInputTarget": { + "properties": { + "security_groups": { + "$ref": "#/components/schemas/SecurityGroupWhereInput" + }, + "label_groups": { + "items": { + "$ref": "#/components/schemas/LabelWhereInput" + }, + "type": "array" + } + }, + "type": "object" + }, + "SecurityPolicyApplyToInput": { + "properties": { + "communicable": { + "type": "boolean" + }, + "target": { + "$ref": "#/components/schemas/SecurityPolicyApplyToInputTarget" + } + }, + "required": [ + "target" + ], + "type": "object" + }, + "IPSecurityPolicy": { + "properties": { + "except_ip_block": { + "items": { + "type": "string" + }, + "type": "array" + }, + "ip_block": { + "type": "string" + } + }, + "required": [ + "ip_block" + ], + "type": "object" + }, + "SecurityPolicyIngressEgressInputTarget": { + "properties": { + "security_groups": { + "$ref": "#/components/schemas/SecurityGroupWhereInput" + }, + "ips": { + "items": { + "$ref": "#/components/schemas/IPSecurityPolicy" + }, + "type": "array" + }, + "label_groups": { + "items": { + "$ref": "#/components/schemas/LabelWhereInput" + }, + "type": "array" + } + }, + "type": "object" + }, + "NetworkPolicyRulePortInput": { + "properties": { + "alg_protocol": { + "$ref": "#/components/schemas/NetworkPolicyRuleAlgProtocol" + }, + "protocol": { + "$ref": "#/components/schemas/NetworkPolicyRulePortProtocol" + }, + "port": { + "type": "string" + } + }, + "required": [ + "protocol" + ], + "type": "object" + }, + "SecurityPolicyFlowControlType": { + "enum": [ + "ALL" + ], + "type": "string" + }, + "SecurityPolicyIngressEgressInput": { + "properties": { + "type": { + "$ref": "#/components/schemas/SecurityPolicyFlowControlType" + }, + "ports": { + "items": { + "$ref": "#/components/schemas/NetworkPolicyRulePortInput" + }, + "type": "array" + }, + "target": { + "$ref": "#/components/schemas/SecurityPolicyIngressEgressInputTarget" + } + }, + "type": "object" + }, + "SecurityPolicyCreateParams": { + "properties": { + "ingress": { + "items": { + "$ref": "#/components/schemas/SecurityPolicyIngressEgressInput" + }, + "type": "array" + }, + "egress": { + "items": { + "$ref": "#/components/schemas/SecurityPolicyIngressEgressInput" + }, + "type": "array" + }, + "apply_to": { + "items": { + "$ref": "#/components/schemas/SecurityPolicyApplyToInput" + }, + "type": "array", + "minItems": 1 + }, + "policy_mode": { + "$ref": "#/components/schemas/PolicyMode" + }, + "everoute_cluster_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "everoute_cluster_id", + "name" + ], + "type": "object" + }, + "DeleteSecurityPolicy": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteSecurityPolicy_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteSecurityPolicy" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "SecurityPolicyDeleteParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/SecurityPolicyWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "SecurityPolicyUpdateParams": { + "properties": { + "ingress": { + "items": { + "$ref": "#/components/schemas/SecurityPolicyIngressEgressInput" + }, + "type": "array" + }, + "egress": { + "items": { + "$ref": "#/components/schemas/SecurityPolicyIngressEgressInput" + }, + "type": "array" + }, + "apply_to": { + "items": { + "$ref": "#/components/schemas/SecurityPolicyApplyToInput" + }, + "type": "array" + }, + "policy_mode": { + "$ref": "#/components/schemas/PolicyMode" + } + }, + "type": "object" + }, + "SecurityPolicyUpdateBody": { + "properties": { + "data": { + "$ref": "#/components/schemas/SecurityPolicyUpdateParams" + }, + "where": { + "$ref": "#/components/schemas/SecurityPolicyWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "UpdatePassrodSecurityParams": { + "properties": { + "password_expire_days": { + "type": "integer", + "format": "int32" + }, + "password_complexity": { + "$ref": "#/components/schemas/PasswordComplexity" + }, + "login_miss_time_threshold": { + "type": "integer", + "format": "int32" + }, + "login_miss_num_threshold": { + "type": "integer", + "format": "int32" + } + }, + "type": "object" + }, + "UpdateAccessRestrictionParams": { + "properties": { + "access_list": { + "items": { + "type": "string" + }, + "type": "array" + }, + "access_mode": { + "$ref": "#/components/schemas/AccessMode" + } + }, + "required": [ + "access_list", + "access_mode" + ], + "type": "object" + }, + "UpdateSessionTimeoutParams": { + "properties": { + "session_max_age": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "session_max_age" + ], + "type": "object" + }, + "NestedSnapshotPlanTask": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "ProtectSnapshotStatus": { + "enum": [ + "PROTECT_SNAPSHOT_STATUS_CREATED", + "PROTECT_SNAPSHOT_STATUS_CREATING", + "PROTECT_SNAPSHOT_STATUS_DELETED", + "PROTECT_SNAPSHOT_STATUS_FAILED" + ], + "type": "string" + }, + "NestedSnapshotGroupVmDiskInfo": { + "properties": { + "disk_id": { + "type": "string" + }, + "disk_snapshot_status": { + "$ref": "#/components/schemas/ProtectSnapshotStatus" + } + }, + "required": [ + "disk_id", + "disk_snapshot_status" + ], + "type": "object", + "additionalProperties": false + }, + "NestedSnapshotGroupVmInfo": { + "properties": { + "disks": { + "items": { + "$ref": "#/components/schemas/NestedSnapshotGroupVmDiskInfo" + }, + "type": "array" + }, + "vm_id": { + "type": "string" + }, + "vm_name": { + "type": "string" + }, + "vm_snapshot_status": { + "$ref": "#/components/schemas/ProtectSnapshotStatus" + } + }, + "required": [ + "disks", + "vm_id", + "vm_name", + "vm_snapshot_status" + ], + "type": "object", + "additionalProperties": false + }, + "SnapshotGroup": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "deleted": { + "type": "boolean" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "estimated_recycling_time": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "internal": { + "type": "boolean", + "nullable": true + }, + "keep": { + "type": "boolean" + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "logical_size_bytes": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "object_num": { + "type": "integer", + "format": "int32" + }, + "snapshotPlanTask": { + "$ref": "#/components/schemas/NestedSnapshotPlanTask" + }, + "vm_info": { + "items": { + "$ref": "#/components/schemas/NestedSnapshotGroupVmInfo" + }, + "type": "array" + }, + "vm_snapshots": { + "items": { + "$ref": "#/components/schemas/NestedVmSnapshot" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "cluster", + "deleted", + "id", + "keep", + "local_created_at", + "local_id", + "logical_size_bytes", + "name", + "object_num", + "snapshotPlanTask", + "vm_info" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_SnapshotGroup_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/SnapshotGroup" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "SnapshotGroupRollbackParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/SnapshotGroupWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "SnapshotGroupCloneParam": { + "properties": { + "from_source_vm_id": { + "type": "string" + }, + "to_cloned_vm_name": { + "type": "string" + } + }, + "required": [ + "from_source_vm_id", + "to_cloned_vm_name" + ], + "type": "object" + }, + "SnapshotGroupCloneParams": { + "properties": { + "clone": { + "items": { + "$ref": "#/components/schemas/SnapshotGroupCloneParam" + }, + "type": "array" + }, + "id": { + "type": "string" + } + }, + "required": [ + "clone", + "id" + ], + "type": "object" + }, + "SnapshotGroupKeepParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/SnapshotGroupWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "DeleteSnapshotGroup": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteSnapshotGroup_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteSnapshotGroup" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "SnapshotGroupDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/SnapshotGroupWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "SnapshotPlan": { + "properties": { + "auto_delete_num": { + "type": "integer", + "format": "int32" + }, + "auto_execute_num": { + "type": "integer", + "format": "int32" + }, + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "description": { + "type": "string" + }, + "end_time": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "exec_h_m": { + "properties": {}, + "type": "object", + "nullable": true + }, + "execute_intervals": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array" + }, + "execute_plan_type": { + "$ref": "#/components/schemas/SnapshotPlanExecuteType" + }, + "execution_tasks": { + "items": { + "$ref": "#/components/schemas/NestedSnapshotPlanTask" + }, + "type": "array", + "nullable": true + }, + "healthy": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "last_execute_end_time": { + "type": "string", + "nullable": true + }, + "last_execute_status": { + "$ref": "#/components/schemas/SnapshotPlanExecuteStatus" + }, + "last_execute_time": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "logical_size_bytes": { + "type": "integer", + "format": "int64" + }, + "manual_delete_num": { + "type": "integer", + "format": "int32" + }, + "manual_execute_num": { + "type": "integer", + "format": "int32" + }, + "mirror": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "next_execute_time": { + "type": "string", + "nullable": true + }, + "object_num": { + "type": "integer", + "format": "int32" + }, + "physical_size_bytes": { + "type": "integer", + "format": "int64" + }, + "remain_snapshot_num": { + "type": "integer", + "format": "int32" + }, + "snapshot_group_num": { + "type": "integer", + "format": "int32" + }, + "start_time": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/SnapshotPlanStatus" + }, + "vms": { + "items": { + "$ref": "#/components/schemas/NestedVm" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "auto_delete_num", + "auto_execute_num", + "cluster", + "description", + "execute_intervals", + "execute_plan_type", + "healthy", + "id", + "last_execute_status", + "local_id", + "logical_size_bytes", + "manual_delete_num", + "manual_execute_num", + "mirror", + "name", + "object_num", + "physical_size_bytes", + "remain_snapshot_num", + "snapshot_group_num", + "start_time", + "status" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_SnapshotPlan_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/SnapshotPlan" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "SnapshotPlanCreationParams": { + "properties": { + "vm_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "execute_intervals": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array" + }, + "execute_plan_type": { + "$ref": "#/components/schemas/SnapshotPlanExecuteType" + }, + "exec_h_m": { + "type": "string" + }, + "end_time": { + "type": "string" + }, + "start_time": { + "type": "string" + }, + "remain_snapshot_num": { + "type": "integer", + "format": "int32" + }, + "cluster_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "vm_ids", + "execute_intervals", + "execute_plan_type", + "start_time", + "remain_snapshot_num", + "cluster_id", + "name" + ], + "type": "object" + }, + "SnapshotPlanUpdationParams": { + "properties": { + "data": { + "properties": { + "vm_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "execute_intervals": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array" + }, + "execute_plan_type": { + "$ref": "#/components/schemas/SnapshotPlanExecuteType" + }, + "exec_h_m": { + "type": "string" + }, + "end_time": { + "type": "string" + }, + "remain_snapshot_num": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/SnapshotPlanWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "DeleteSnapshotPlan": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteSnapshotPlan_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteSnapshotPlan" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "SnapshotPlanDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/SnapshotPlanWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "SnapshotPlanExecutionParams": { + "properties": { + "data": { + "properties": { + "task_name": { + "type": "string" + } + }, + "required": [ + "task_name" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/SnapshotPlanWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "SnapshotPlanSuspendedParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/SnapshotPlanWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "SnapshotPlanResumeParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/SnapshotPlanWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "SnmpAuthProtocol": { + "enum": [ + "MD5", + "SHA" + ], + "type": "string" + }, + "SnmpPrivacyProtocol": { + "enum": [ + "AES", + "DES" + ], + "type": "string" + }, + "SnmpProtocol": { + "enum": [ + "TCP", + "UDP" + ], + "type": "string" + }, + "SnmpVersion": { + "enum": [ + "V2C", + "V3" + ], + "type": "string" + }, + "SnmpTransport": { + "properties": { + "auth_pass_phrase": { + "type": "string", + "nullable": true + }, + "auth_protocol": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpAuthProtocol" + } + ], + "nullable": true + }, + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "community": { + "type": "string", + "nullable": true + }, + "disabled": { + "type": "boolean" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "port": { + "type": "integer", + "format": "int32" + }, + "privacy_pass_phrase": { + "type": "string", + "nullable": true + }, + "privacy_protocol": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpPrivacyProtocol" + } + ], + "nullable": true + }, + "protocol": { + "$ref": "#/components/schemas/SnmpProtocol" + }, + "username": { + "type": "string", + "nullable": true + }, + "version": { + "$ref": "#/components/schemas/SnmpVersion" + } + }, + "required": [ + "cluster", + "disabled", + "id", + "local_id", + "name", + "port", + "protocol", + "version" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_SnmpTransport_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/SnmpTransport" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "SnmpTransportCreationParams": { + "properties": { + "disabled": { + "type": "boolean" + }, + "privacy_protocol": { + "$ref": "#/components/schemas/SnmpPrivacyProtocol" + }, + "privacy_pass_phrase": { + "type": "string" + }, + "auth_protocol": { + "$ref": "#/components/schemas/SnmpAuthProtocol" + }, + "auth_pass_phrase": { + "type": "string" + }, + "username": { + "type": "string" + }, + "community": { + "type": "string" + }, + "port": { + "type": "integer", + "format": "int32" + }, + "protocol": { + "$ref": "#/components/schemas/SnmpProtocol" + }, + "version": { + "$ref": "#/components/schemas/SnmpVersion" + }, + "name": { + "type": "string" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "port", + "protocol", + "version", + "name", + "cluster_id" + ], + "type": "object" + }, + "SnmpTransportWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/SnmpTransportWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/SnmpTransportWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/SnmpTransportWhereInput" + }, + "type": "array", + "nullable": true + }, + "auth_pass_phrase": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_contains": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_ends_with": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_gt": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_gte": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "auth_pass_phrase_lt": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_lte": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_not": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_not_contains": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_not_ends_with": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "auth_pass_phrase_not_starts_with": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_starts_with": { + "type": "string", + "nullable": true + }, + "auth_protocol": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpAuthProtocol" + } + ], + "nullable": true + }, + "auth_protocol_in": { + "items": { + "$ref": "#/components/schemas/SnmpAuthProtocol" + }, + "type": "array", + "nullable": true + }, + "auth_protocol_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpAuthProtocol" + } + ], + "nullable": true + }, + "auth_protocol_not_in": { + "items": { + "$ref": "#/components/schemas/SnmpAuthProtocol" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "community": { + "type": "string", + "nullable": true + }, + "community_contains": { + "type": "string", + "nullable": true + }, + "community_ends_with": { + "type": "string", + "nullable": true + }, + "community_gt": { + "type": "string", + "nullable": true + }, + "community_gte": { + "type": "string", + "nullable": true + }, + "community_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "community_lt": { + "type": "string", + "nullable": true + }, + "community_lte": { + "type": "string", + "nullable": true + }, + "community_not": { + "type": "string", + "nullable": true + }, + "community_not_contains": { + "type": "string", + "nullable": true + }, + "community_not_ends_with": { + "type": "string", + "nullable": true + }, + "community_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "community_not_starts_with": { + "type": "string", + "nullable": true + }, + "community_starts_with": { + "type": "string", + "nullable": true + }, + "disabled": { + "type": "boolean", + "nullable": true + }, + "disabled_not": { + "type": "boolean", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "port": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "port_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "privacy_pass_phrase": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_contains": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_ends_with": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_gt": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_gte": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "privacy_pass_phrase_lt": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_lte": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_not": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_not_contains": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_not_ends_with": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "privacy_pass_phrase_not_starts_with": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_starts_with": { + "type": "string", + "nullable": true + }, + "privacy_protocol": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpPrivacyProtocol" + } + ], + "nullable": true + }, + "privacy_protocol_in": { + "items": { + "$ref": "#/components/schemas/SnmpPrivacyProtocol" + }, + "type": "array", + "nullable": true + }, + "privacy_protocol_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpPrivacyProtocol" + } + ], + "nullable": true + }, + "privacy_protocol_not_in": { + "items": { + "$ref": "#/components/schemas/SnmpPrivacyProtocol" + }, + "type": "array", + "nullable": true + }, + "protocol": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpProtocol" + } + ], + "nullable": true + }, + "protocol_in": { + "items": { + "$ref": "#/components/schemas/SnmpProtocol" + }, + "type": "array", + "nullable": true + }, + "protocol_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpProtocol" + } + ], + "nullable": true + }, + "protocol_not_in": { + "items": { + "$ref": "#/components/schemas/SnmpProtocol" + }, + "type": "array", + "nullable": true + }, + "username": { + "type": "string", + "nullable": true + }, + "username_contains": { + "type": "string", + "nullable": true + }, + "username_ends_with": { + "type": "string", + "nullable": true + }, + "username_gt": { + "type": "string", + "nullable": true + }, + "username_gte": { + "type": "string", + "nullable": true + }, + "username_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_lt": { + "type": "string", + "nullable": true + }, + "username_lte": { + "type": "string", + "nullable": true + }, + "username_not": { + "type": "string", + "nullable": true + }, + "username_not_contains": { + "type": "string", + "nullable": true + }, + "username_not_ends_with": { + "type": "string", + "nullable": true + }, + "username_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_not_starts_with": { + "type": "string", + "nullable": true + }, + "username_starts_with": { + "type": "string", + "nullable": true + }, + "version": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpVersion" + } + ], + "nullable": true + }, + "version_in": { + "items": { + "$ref": "#/components/schemas/SnmpVersion" + }, + "type": "array", + "nullable": true + }, + "version_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpVersion" + } + ], + "nullable": true + }, + "version_not_in": { + "items": { + "$ref": "#/components/schemas/SnmpVersion" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SnmpTransportUpdationParams": { + "properties": { + "data": { + "properties": { + "disabled": { + "type": "boolean" + }, + "privacy_protocol": { + "$ref": "#/components/schemas/SnmpPrivacyProtocol" + }, + "privacy_pass_phrase": { + "type": "string" + }, + "auth_protocol": { + "$ref": "#/components/schemas/SnmpAuthProtocol" + }, + "auth_pass_phrase": { + "type": "string" + }, + "username": { + "type": "string" + }, + "community": { + "type": "string" + }, + "port": { + "type": "integer", + "format": "int32" + }, + "protocol": { + "$ref": "#/components/schemas/SnmpProtocol" + }, + "version": { + "$ref": "#/components/schemas/SnmpVersion" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/SnmpTransportWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteSnmpTransport": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteSnmpTransport_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteSnmpTransport" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "SnmpTransportDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/SnmpTransportWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "SnmpLanguageCode": { + "enum": [ + "EN_US", + "ZH_CN" + ], + "type": "string" + }, + "SnmpTrapReceiver": { + "properties": { + "auth_pass_phrase": { + "type": "string", + "nullable": true + }, + "auth_protocol": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpAuthProtocol" + } + ], + "nullable": true + }, + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "community": { + "type": "string", + "nullable": true + }, + "disabled": { + "type": "boolean" + }, + "engine_id": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "host": { + "type": "string" + }, + "id": { + "type": "string" + }, + "inform": { + "type": "boolean" + }, + "language_code": { + "$ref": "#/components/schemas/SnmpLanguageCode" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "port": { + "type": "integer", + "format": "int32" + }, + "privacy_pass_phrase": { + "type": "string", + "nullable": true + }, + "privacy_protocol": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpPrivacyProtocol" + } + ], + "nullable": true + }, + "protocol": { + "$ref": "#/components/schemas/SnmpProtocol" + }, + "username": { + "type": "string", + "nullable": true + }, + "version": { + "$ref": "#/components/schemas/SnmpVersion" + } + }, + "required": [ + "cluster", + "disabled", + "host", + "id", + "inform", + "language_code", + "local_id", + "name", + "port", + "protocol", + "version" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_SnmpTrapReceiver_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/SnmpTrapReceiver" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "SnmpTrapReceiverCreationParams": { + "properties": { + "disabled": { + "type": "boolean" + }, + "inform": { + "type": "boolean" + }, + "engine_id": { + "type": "string" + }, + "privacy_protocol": { + "$ref": "#/components/schemas/SnmpPrivacyProtocol" + }, + "privacy_pass_phrase": { + "type": "string" + }, + "auth_protocol": { + "$ref": "#/components/schemas/SnmpAuthProtocol" + }, + "auth_pass_phrase": { + "type": "string" + }, + "username": { + "type": "string" + }, + "community": { + "type": "string" + }, + "language_code": { + "$ref": "#/components/schemas/SnmpLanguageCode" + }, + "port": { + "type": "integer", + "format": "int32" + }, + "host": { + "type": "string" + }, + "protocol": { + "$ref": "#/components/schemas/SnmpProtocol" + }, + "version": { + "$ref": "#/components/schemas/SnmpVersion" + }, + "name": { + "type": "string" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "language_code", + "port", + "host", + "protocol", + "version", + "name", + "cluster_id" + ], + "type": "object" + }, + "SnmpTrapReceiverWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/SnmpTrapReceiverWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/SnmpTrapReceiverWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/SnmpTrapReceiverWhereInput" + }, + "type": "array", + "nullable": true + }, + "auth_pass_phrase": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_contains": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_ends_with": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_gt": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_gte": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "auth_pass_phrase_lt": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_lte": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_not": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_not_contains": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_not_ends_with": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "auth_pass_phrase_not_starts_with": { + "type": "string", + "nullable": true + }, + "auth_pass_phrase_starts_with": { + "type": "string", + "nullable": true + }, + "auth_protocol": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpAuthProtocol" + } + ], + "nullable": true + }, + "auth_protocol_in": { + "items": { + "$ref": "#/components/schemas/SnmpAuthProtocol" + }, + "type": "array", + "nullable": true + }, + "auth_protocol_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpAuthProtocol" + } + ], + "nullable": true + }, + "auth_protocol_not_in": { + "items": { + "$ref": "#/components/schemas/SnmpAuthProtocol" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "community": { + "type": "string", + "nullable": true + }, + "community_contains": { + "type": "string", + "nullable": true + }, + "community_ends_with": { + "type": "string", + "nullable": true + }, + "community_gt": { + "type": "string", + "nullable": true + }, + "community_gte": { + "type": "string", + "nullable": true + }, + "community_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "community_lt": { + "type": "string", + "nullable": true + }, + "community_lte": { + "type": "string", + "nullable": true + }, + "community_not": { + "type": "string", + "nullable": true + }, + "community_not_contains": { + "type": "string", + "nullable": true + }, + "community_not_ends_with": { + "type": "string", + "nullable": true + }, + "community_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "community_not_starts_with": { + "type": "string", + "nullable": true + }, + "community_starts_with": { + "type": "string", + "nullable": true + }, + "disabled": { + "type": "boolean", + "nullable": true + }, + "disabled_not": { + "type": "boolean", + "nullable": true + }, + "engine_id": { + "type": "string", + "nullable": true + }, + "engine_id_contains": { + "type": "string", + "nullable": true + }, + "engine_id_ends_with": { + "type": "string", + "nullable": true + }, + "engine_id_gt": { + "type": "string", + "nullable": true + }, + "engine_id_gte": { + "type": "string", + "nullable": true + }, + "engine_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "engine_id_lt": { + "type": "string", + "nullable": true + }, + "engine_id_lte": { + "type": "string", + "nullable": true + }, + "engine_id_not": { + "type": "string", + "nullable": true + }, + "engine_id_not_contains": { + "type": "string", + "nullable": true + }, + "engine_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "engine_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "engine_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "engine_id_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "host": { + "type": "string", + "nullable": true + }, + "host_contains": { + "type": "string", + "nullable": true + }, + "host_ends_with": { + "type": "string", + "nullable": true + }, + "host_gt": { + "type": "string", + "nullable": true + }, + "host_gte": { + "type": "string", + "nullable": true + }, + "host_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "host_lt": { + "type": "string", + "nullable": true + }, + "host_lte": { + "type": "string", + "nullable": true + }, + "host_not": { + "type": "string", + "nullable": true + }, + "host_not_contains": { + "type": "string", + "nullable": true + }, + "host_not_ends_with": { + "type": "string", + "nullable": true + }, + "host_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "host_not_starts_with": { + "type": "string", + "nullable": true + }, + "host_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "inform": { + "type": "boolean", + "nullable": true + }, + "inform_not": { + "type": "boolean", + "nullable": true + }, + "language_code": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpLanguageCode" + } + ], + "nullable": true + }, + "language_code_in": { + "items": { + "$ref": "#/components/schemas/SnmpLanguageCode" + }, + "type": "array", + "nullable": true + }, + "language_code_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpLanguageCode" + } + ], + "nullable": true + }, + "language_code_not_in": { + "items": { + "$ref": "#/components/schemas/SnmpLanguageCode" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "port": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "port_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "privacy_pass_phrase": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_contains": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_ends_with": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_gt": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_gte": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "privacy_pass_phrase_lt": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_lte": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_not": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_not_contains": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_not_ends_with": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "privacy_pass_phrase_not_starts_with": { + "type": "string", + "nullable": true + }, + "privacy_pass_phrase_starts_with": { + "type": "string", + "nullable": true + }, + "privacy_protocol": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpPrivacyProtocol" + } + ], + "nullable": true + }, + "privacy_protocol_in": { + "items": { + "$ref": "#/components/schemas/SnmpPrivacyProtocol" + }, + "type": "array", + "nullable": true + }, + "privacy_protocol_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpPrivacyProtocol" + } + ], + "nullable": true + }, + "privacy_protocol_not_in": { + "items": { + "$ref": "#/components/schemas/SnmpPrivacyProtocol" + }, + "type": "array", + "nullable": true + }, + "protocol": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpProtocol" + } + ], + "nullable": true + }, + "protocol_in": { + "items": { + "$ref": "#/components/schemas/SnmpProtocol" + }, + "type": "array", + "nullable": true + }, + "protocol_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpProtocol" + } + ], + "nullable": true + }, + "protocol_not_in": { + "items": { + "$ref": "#/components/schemas/SnmpProtocol" + }, + "type": "array", + "nullable": true + }, + "username": { + "type": "string", + "nullable": true + }, + "username_contains": { + "type": "string", + "nullable": true + }, + "username_ends_with": { + "type": "string", + "nullable": true + }, + "username_gt": { + "type": "string", + "nullable": true + }, + "username_gte": { + "type": "string", + "nullable": true + }, + "username_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_lt": { + "type": "string", + "nullable": true + }, + "username_lte": { + "type": "string", + "nullable": true + }, + "username_not": { + "type": "string", + "nullable": true + }, + "username_not_contains": { + "type": "string", + "nullable": true + }, + "username_not_ends_with": { + "type": "string", + "nullable": true + }, + "username_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_not_starts_with": { + "type": "string", + "nullable": true + }, + "username_starts_with": { + "type": "string", + "nullable": true + }, + "version": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpVersion" + } + ], + "nullable": true + }, + "version_in": { + "items": { + "$ref": "#/components/schemas/SnmpVersion" + }, + "type": "array", + "nullable": true + }, + "version_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpVersion" + } + ], + "nullable": true + }, + "version_not_in": { + "items": { + "$ref": "#/components/schemas/SnmpVersion" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SnmpTrapReceiverUpdationParams": { + "properties": { + "data": { + "properties": { + "disabled": { + "type": "boolean" + }, + "inform": { + "type": "boolean" + }, + "engine_id": { + "type": "string" + }, + "privacy_protocol": { + "$ref": "#/components/schemas/SnmpPrivacyProtocol" + }, + "privacy_pass_phrase": { + "type": "string" + }, + "auth_protocol": { + "$ref": "#/components/schemas/SnmpAuthProtocol" + }, + "auth_pass_phrase": { + "type": "string" + }, + "username": { + "type": "string" + }, + "community": { + "type": "string" + }, + "language_code": { + "$ref": "#/components/schemas/SnmpLanguageCode" + }, + "port": { + "type": "integer", + "format": "int32" + }, + "host": { + "type": "string" + }, + "protocol": { + "$ref": "#/components/schemas/SnmpProtocol" + }, + "version": { + "$ref": "#/components/schemas/SnmpVersion" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/SnmpTrapReceiverWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteSnmpTrapReceiver": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteSnmpTrapReceiver_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteSnmpTrapReceiver" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "SnmpTrapReceiverDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/SnmpTrapReceiverWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "ColumnConfig": { + "properties": { + "name": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": [ + "name", + "path" + ], + "type": "object" + }, + "HostOrderByInput": { + "enum": [ + "access_ip_ASC", + "access_ip_DESC", + "allocable_cpu_cores_for_vm_exclusive_ASC", + "allocable_cpu_cores_for_vm_exclusive_DESC", + "allocatable_memory_bytes_ASC", + "allocatable_memory_bytes_DESC", + "chunk_id_ASC", + "chunk_id_DESC", + "cpu_brand_ASC", + "cpu_brand_DESC", + "cpu_fan_speed_unit_ASC", + "cpu_fan_speed_unit_DESC", + "cpu_hz_per_core_ASC", + "cpu_hz_per_core_DESC", + "cpu_model_ASC", + "cpu_model_DESC", + "cpu_vendor_ASC", + "cpu_vendor_DESC", + "data_ip_ASC", + "data_ip_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "failure_data_space_ASC", + "failure_data_space_DESC", + "hdd_data_capacity_ASC", + "hdd_data_capacity_DESC", + "hdd_disk_count_ASC", + "hdd_disk_count_DESC", + "host_state_ASC", + "host_state_DESC", + "hypervisor_ip_ASC", + "hypervisor_ip_DESC", + "id_ASC", + "id_DESC", + "iommu_ASC", + "iommu_DESC", + "is_os_in_raid1_ASC", + "is_os_in_raid1_DESC", + "local_id_ASC", + "local_id_DESC", + "lsm_cap_disk_safe_umount_ASC", + "lsm_cap_disk_safe_umount_DESC", + "management_ip_ASC", + "management_ip_DESC", + "model_ASC", + "model_DESC", + "name_ASC", + "name_DESC", + "nested_virtualization_ASC", + "nested_virtualization_DESC", + "nic_count_ASC", + "nic_count_DESC", + "node_topo_local_id_ASC", + "node_topo_local_id_DESC", + "os_memory_bytes_ASC", + "os_memory_bytes_DESC", + "os_version_ASC", + "os_version_DESC", + "pmem_dimm_capacity_ASC", + "pmem_dimm_capacity_DESC", + "pmem_dimm_count_ASC", + "pmem_dimm_count_DESC", + "pmem_disk_count_ASC", + "pmem_disk_count_DESC", + "provisioned_cpu_cores_ASC", + "provisioned_cpu_cores_DESC", + "provisioned_memory_bytes_ASC", + "provisioned_memory_bytes_DESC", + "running_pause_vm_memory_bytes_ASC", + "running_pause_vm_memory_bytes_DESC", + "running_vm_num_ASC", + "running_vm_num_DESC", + "scvm_cpu_ASC", + "scvm_cpu_DESC", + "scvm_memory_ASC", + "scvm_memory_DESC", + "scvm_name_ASC", + "scvm_name_DESC", + "serial_ASC", + "serial_DESC", + "ssd_data_capacity_ASC", + "ssd_data_capacity_DESC", + "ssd_disk_count_ASC", + "ssd_disk_count_DESC", + "state_ASC", + "state_DESC", + "status_ASC", + "status_DESC", + "stopped_vm_num_ASC", + "stopped_vm_num_DESC", + "suspended_vm_num_ASC", + "suspended_vm_num_DESC", + "total_cache_capacity_ASC", + "total_cache_capacity_DESC", + "total_cpu_cores_ASC", + "total_cpu_cores_DESC", + "total_cpu_hz_ASC", + "total_cpu_hz_DESC", + "total_cpu_sockets_ASC", + "total_cpu_sockets_DESC", + "total_data_capacity_ASC", + "total_data_capacity_DESC", + "total_memory_bytes_ASC", + "total_memory_bytes_DESC", + "used_cpu_hz_ASC", + "used_cpu_hz_DESC", + "used_data_space_ASC", + "used_data_space_DESC", + "used_memory_bytes_ASC", + "used_memory_bytes_DESC", + "vm_num_ASC", + "vm_num_DESC", + "vmotion_ip_ASC", + "vmotion_ip_DESC", + "with_faster_ssd_as_cache_ASC", + "with_faster_ssd_as_cache_DESC" + ], + "type": "string" + }, + "GetHostsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/HostOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "DatacenterOrderByInput": { + "enum": [ + "cluster_num_ASC", + "cluster_num_DESC", + "failure_data_space_ASC", + "failure_data_space_DESC", + "host_num_ASC", + "host_num_DESC", + "id_ASC", + "id_DESC", + "name_ASC", + "name_DESC", + "total_cpu_hz_ASC", + "total_cpu_hz_DESC", + "total_data_capacity_ASC", + "total_data_capacity_DESC", + "total_memory_bytes_ASC", + "total_memory_bytes_DESC", + "used_cpu_hz_ASC", + "used_cpu_hz_DESC", + "used_data_space_ASC", + "used_data_space_DESC", + "used_memory_bytes_ASC", + "used_memory_bytes_DESC", + "vm_num_ASC", + "vm_num_DESC" + ], + "type": "string" + }, + "GetDatacentersRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/DatacenterOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/DatacenterWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ClusterOrderByInput": { + "enum": [ + "application_highest_version_ASC", + "application_highest_version_DESC", + "architecture_ASC", + "architecture_DESC", + "auto_converge_ASC", + "auto_converge_DESC", + "connect_state_ASC", + "connect_state_DESC", + "current_cpu_model_ASC", + "current_cpu_model_DESC", + "disconnected_date_ASC", + "disconnected_date_DESC", + "disconnected_reason_ASC", + "disconnected_reason_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "failure_data_space_ASC", + "failure_data_space_DESC", + "has_metrox_ASC", + "has_metrox_DESC", + "host_num_ASC", + "host_num_DESC", + "hypervisor_ASC", + "hypervisor_DESC", + "id_ASC", + "id_DESC", + "ip_ASC", + "ip_DESC", + "is_all_flash_ASC", + "is_all_flash_DESC", + "iscsi_vip_ASC", + "iscsi_vip_DESC", + "license_expire_date_ASC", + "license_expire_date_DESC", + "license_serial_ASC", + "license_serial_DESC", + "license_sign_date_ASC", + "license_sign_date_DESC", + "license_type_ASC", + "license_type_DESC", + "local_id_ASC", + "local_id_DESC", + "maintenance_end_date_ASC", + "maintenance_end_date_DESC", + "maintenance_start_date_ASC", + "maintenance_start_date_DESC", + "management_vip_ASC", + "management_vip_DESC", + "max_chunk_num_ASC", + "max_chunk_num_DESC", + "max_physical_data_capacity_ASC", + "max_physical_data_capacity_DESC", + "max_physical_data_capacity_per_node_ASC", + "max_physical_data_capacity_per_node_DESC", + "metro_availability_checklist_ASC", + "metro_availability_checklist_DESC", + "mgt_gateway_ASC", + "mgt_gateway_DESC", + "mgt_netmask_ASC", + "mgt_netmask_DESC", + "migration_data_size_ASC", + "migration_data_size_DESC", + "migration_speed_ASC", + "migration_speed_DESC", + "name_ASC", + "name_DESC", + "ntp_mode_ASC", + "ntp_mode_DESC", + "nvme_over_rdma_enabled_ASC", + "nvme_over_rdma_enabled_DESC", + "nvme_over_tcp_enabled_ASC", + "nvme_over_tcp_enabled_DESC", + "nvmf_enabled_ASC", + "nvmf_enabled_DESC", + "pmem_enabled_ASC", + "pmem_enabled_DESC", + "provisioned_cpu_cores_ASC", + "provisioned_cpu_cores_DESC", + "provisioned_cpu_cores_for_active_vm_ASC", + "provisioned_cpu_cores_for_active_vm_DESC", + "provisioned_for_active_vm_ratio_ASC", + "provisioned_for_active_vm_ratio_DESC", + "provisioned_memory_bytes_ASC", + "provisioned_memory_bytes_DESC", + "provisioned_ratio_ASC", + "provisioned_ratio_DESC", + "rdma_enabled_ASC", + "rdma_enabled_DESC", + "recover_data_size_ASC", + "recover_data_size_DESC", + "recover_speed_ASC", + "recover_speed_DESC", + "reserved_cpu_cores_for_system_service_ASC", + "reserved_cpu_cores_for_system_service_DESC", + "running_vm_num_ASC", + "running_vm_num_DESC", + "software_edition_ASC", + "software_edition_DESC", + "stopped_vm_num_ASC", + "stopped_vm_num_DESC", + "stretch_ASC", + "stretch_DESC", + "suspended_vm_num_ASC", + "suspended_vm_num_DESC", + "total_cache_capacity_ASC", + "total_cache_capacity_DESC", + "total_cpu_cores_ASC", + "total_cpu_cores_DESC", + "total_cpu_hz_ASC", + "total_cpu_hz_DESC", + "total_cpu_sockets_ASC", + "total_cpu_sockets_DESC", + "total_data_capacity_ASC", + "total_data_capacity_DESC", + "total_memory_bytes_ASC", + "total_memory_bytes_DESC", + "type_ASC", + "type_DESC", + "upgrade_tool_version_ASC", + "upgrade_tool_version_DESC", + "used_cpu_hz_ASC", + "used_cpu_hz_DESC", + "used_data_space_ASC", + "used_data_space_DESC", + "used_memory_bytes_ASC", + "used_memory_bytes_DESC", + "valid_data_space_ASC", + "valid_data_space_DESC", + "version_ASC", + "version_DESC", + "vhost_enabled_ASC", + "vhost_enabled_DESC", + "vm_num_ASC", + "vm_num_DESC" + ], + "type": "string" + }, + "GetClustersRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NicOrderByInput": { + "enum": [ + "driver_ASC", + "driver_DESC", + "driver_state_ASC", + "driver_state_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "gateway_ip_ASC", + "gateway_ip_DESC", + "ibdev_ASC", + "ibdev_DESC", + "id_ASC", + "id_DESC", + "iommu_status_ASC", + "iommu_status_DESC", + "ip_address_ASC", + "ip_address_DESC", + "is_sriov_ASC", + "is_sriov_DESC", + "local_id_ASC", + "local_id_DESC", + "mac_address_ASC", + "mac_address_DESC", + "max_vf_num_ASC", + "max_vf_num_DESC", + "model_ASC", + "model_DESC", + "mtu_ASC", + "mtu_DESC", + "name_ASC", + "name_DESC", + "nic_uuid_ASC", + "nic_uuid_DESC", + "physical_ASC", + "physical_DESC", + "rdma_enabled_ASC", + "rdma_enabled_DESC", + "running_ASC", + "running_DESC", + "speed_ASC", + "speed_DESC", + "subnet_mask_ASC", + "subnet_mask_DESC", + "total_vf_num_ASC", + "total_vf_num_DESC", + "type_ASC", + "type_DESC", + "up_ASC", + "up_DESC", + "used_vf_num_ASC", + "used_vf_num_DESC", + "user_usage_ASC", + "user_usage_DESC" + ], + "type": "string" + }, + "GetNicsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NicOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "UsbDeviceOrderByInput": { + "enum": [ + "binded_ASC", + "binded_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "manufacturer_ASC", + "manufacturer_DESC", + "name_ASC", + "name_DESC", + "size_ASC", + "size_DESC", + "status_ASC", + "status_DESC", + "usb_type_ASC", + "usb_type_DESC" + ], + "type": "string" + }, + "GetUsbDevicesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/UsbDeviceOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/UsbDeviceWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "IscsiTargetOrderByInput": { + "enum": [ + "bps_ASC", + "bps_DESC", + "bps_max_ASC", + "bps_max_DESC", + "bps_max_length_ASC", + "bps_max_length_DESC", + "bps_rd_ASC", + "bps_rd_DESC", + "bps_rd_max_ASC", + "bps_rd_max_DESC", + "bps_rd_max_length_ASC", + "bps_rd_max_length_DESC", + "bps_wr_ASC", + "bps_wr_DESC", + "bps_wr_max_ASC", + "bps_wr_max_DESC", + "bps_wr_max_length_ASC", + "bps_wr_max_length_DESC", + "chap_enabled_ASC", + "chap_enabled_DESC", + "chap_name_ASC", + "chap_name_DESC", + "chap_secret_ASC", + "chap_secret_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "external_use_ASC", + "external_use_DESC", + "id_ASC", + "id_DESC", + "initiator_chaps_ASC", + "initiator_chaps_DESC", + "internal_ASC", + "internal_DESC", + "io_size_ASC", + "io_size_DESC", + "iops_ASC", + "iops_DESC", + "iops_max_ASC", + "iops_max_DESC", + "iops_max_length_ASC", + "iops_max_length_DESC", + "iops_rd_ASC", + "iops_rd_DESC", + "iops_rd_max_ASC", + "iops_rd_max_DESC", + "iops_rd_max_length_ASC", + "iops_rd_max_length_DESC", + "iops_wr_ASC", + "iops_wr_DESC", + "iops_wr_max_ASC", + "iops_wr_max_DESC", + "iops_wr_max_length_ASC", + "iops_wr_max_length_DESC", + "ip_whitelist_ASC", + "ip_whitelist_DESC", + "iqn_name_ASC", + "iqn_name_DESC", + "iqn_whitelist_ASC", + "iqn_whitelist_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "replica_num_ASC", + "replica_num_DESC", + "stripe_num_ASC", + "stripe_num_DESC", + "stripe_size_ASC", + "stripe_size_DESC", + "thin_provision_ASC", + "thin_provision_DESC" + ], + "type": "string" + }, + "GetIscsiTargetsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiTargetOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NfsExportOrderByInput": { + "enum": [ + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "export_inode_id_ASC", + "export_inode_id_DESC", + "id_ASC", + "id_DESC", + "internal_ASC", + "internal_DESC", + "ip_whitelist_ASC", + "ip_whitelist_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "replica_num_ASC", + "replica_num_DESC", + "thin_provision_ASC", + "thin_provision_DESC" + ], + "type": "string" + }, + "GetNfsExportsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsExportOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsExportWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ElfDataStoreOrderByInput": { + "enum": [ + "description_ASC", + "description_DESC", + "external_use_ASC", + "external_use_DESC", + "id_ASC", + "id_DESC", + "internal_ASC", + "internal_DESC", + "ip_whitelist_ASC", + "ip_whitelist_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "replica_num_ASC", + "replica_num_DESC", + "thin_provision_ASC", + "thin_provision_DESC", + "type_ASC", + "type_DESC" + ], + "type": "string" + }, + "ElfDataStoreWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ElfDataStoreWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ElfDataStoreWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ElfDataStoreWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "external_use": { + "type": "boolean", + "nullable": true + }, + "external_use_not": { + "type": "boolean", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "internal": { + "type": "boolean", + "nullable": true + }, + "internal_not": { + "type": "boolean", + "nullable": true + }, + "ip_whitelist": { + "type": "string", + "nullable": true + }, + "ip_whitelist_contains": { + "type": "string", + "nullable": true + }, + "ip_whitelist_ends_with": { + "type": "string", + "nullable": true + }, + "ip_whitelist_gt": { + "type": "string", + "nullable": true + }, + "ip_whitelist_gte": { + "type": "string", + "nullable": true + }, + "ip_whitelist_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_whitelist_lt": { + "type": "string", + "nullable": true + }, + "ip_whitelist_lte": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not_contains": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not_ends_with": { + "type": "string", + "nullable": true + }, + "ip_whitelist_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_whitelist_not_starts_with": { + "type": "string", + "nullable": true + }, + "ip_whitelist_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_target": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + } + ], + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "nfs_export": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsExportWhereInput" + } + ], + "nullable": true + }, + "nvmf_subsystem": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + } + ], + "nullable": true + }, + "replica_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "replica_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "thin_provision": { + "type": "boolean", + "nullable": true + }, + "thin_provision_not": { + "type": "boolean", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfDataStoreType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/ElfDataStoreType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfDataStoreType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/ElfDataStoreType" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ElfDataStoreType": { + "enum": [ + "ISCSI", + "NFS", + "NVMe" + ], + "type": "string" + }, + "GetElfDataStoresRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfDataStoreOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfDataStoreWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VdsOrderByInput": { + "enum": [ + "bond_mode_ASC", + "bond_mode_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "internal_ASC", + "internal_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "ovsbr_name_ASC", + "ovsbr_name_DESC", + "type_ASC", + "type_DESC", + "vlans_num_ASC", + "vlans_num_DESC", + "work_mode_ASC", + "work_mode_DESC" + ], + "type": "string" + }, + "GetVdsesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "DiskOrderByInput": { + "enum": [ + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "failure_information_ASC", + "failure_information_DESC", + "firmware_ASC", + "firmware_DESC", + "function_ASC", + "function_DESC", + "health_status_ASC", + "health_status_DESC", + "healthy_ASC", + "healthy_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "model_ASC", + "model_DESC", + "mounted_ASC", + "mounted_DESC", + "name_ASC", + "name_DESC", + "numa_node_ASC", + "numa_node_DESC", + "offline_ASC", + "offline_DESC", + "partitions_ASC", + "partitions_DESC", + "path_ASC", + "path_DESC", + "persistent_memory_type_ASC", + "persistent_memory_type_DESC", + "physical_slot_on_brick_ASC", + "physical_slot_on_brick_DESC", + "recommended_usage_ASC", + "recommended_usage_DESC", + "remaining_life_percent_ASC", + "remaining_life_percent_DESC", + "serial_ASC", + "serial_DESC", + "size_ASC", + "size_DESC", + "type_ASC", + "type_DESC", + "usage_ASC", + "usage_DESC", + "usage_status_ASC", + "usage_status_DESC" + ], + "type": "string" + }, + "GetDisksRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VlanOrderByInput": { + "enum": [ + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "gateway_ip_ASC", + "gateway_ip_DESC", + "gateway_subnetmask_ASC", + "gateway_subnetmask_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "mode_type_ASC", + "mode_type_DESC", + "name_ASC", + "name_DESC", + "qos_burst_ASC", + "qos_burst_DESC", + "qos_max_bandwidth_ASC", + "qos_max_bandwidth_DESC", + "qos_min_bandwidth_ASC", + "qos_min_bandwidth_DESC", + "qos_priority_ASC", + "qos_priority_DESC", + "subnetmask_ASC", + "subnetmask_DESC", + "type_ASC", + "type_DESC", + "vlan_id_ASC", + "vlan_id_DESC" + ], + "type": "string" + }, + "GetVlansRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmVolumeOrderByInput": { + "enum": [ + "description_ASC", + "description_DESC", + "elf_storage_policy_ASC", + "elf_storage_policy_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "guest_size_usage_ASC", + "guest_size_usage_DESC", + "guest_used_size_ASC", + "guest_used_size_DESC", + "id_ASC", + "id_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "mounting_ASC", + "mounting_DESC", + "name_ASC", + "name_DESC", + "path_ASC", + "path_DESC", + "sharing_ASC", + "sharing_DESC", + "size_ASC", + "size_DESC", + "type_ASC", + "type_DESC", + "unique_logical_size_ASC", + "unique_logical_size_DESC", + "unique_size_ASC", + "unique_size_DESC" + ], + "type": "string" + }, + "GetVmVolumesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ElfImageOrderByInput": { + "enum": [ + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "path_ASC", + "path_DESC", + "size_ASC", + "size_DESC" + ], + "type": "string" + }, + "GetElfImagesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfImageOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfImageWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmTemplateOrderByInput": { + "enum": [ + "clock_offset_ASC", + "clock_offset_DESC", + "cloud_init_supported_ASC", + "cloud_init_supported_DESC", + "cpu_ASC", + "cpu_DESC", + "cpu_model_ASC", + "cpu_model_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "firmware_ASC", + "firmware_DESC", + "ha_ASC", + "ha_DESC", + "id_ASC", + "id_DESC", + "io_policy_ASC", + "io_policy_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "max_bandwidth_ASC", + "max_bandwidth_DESC", + "max_bandwidth_policy_ASC", + "max_bandwidth_policy_DESC", + "max_iops_ASC", + "max_iops_DESC", + "max_iops_policy_ASC", + "max_iops_policy_DESC", + "memory_ASC", + "memory_DESC", + "name_ASC", + "name_DESC", + "size_ASC", + "size_DESC", + "vcpu_ASC", + "vcpu_DESC", + "video_type_ASC", + "video_type_DESC", + "vm_disks_ASC", + "vm_disks_DESC", + "vm_nics_ASC", + "vm_nics_DESC" + ], + "type": "string" + }, + "GetVmTemplatesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmPlacementGroupOrderByInput": { + "enum": [ + "description_ASC", + "description_DESC", + "enabled_ASC", + "enabled_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "local_updated_at_ASC", + "local_updated_at_DESC", + "name_ASC", + "name_DESC", + "vm_host_must_enabled_ASC", + "vm_host_must_enabled_DESC", + "vm_host_must_policy_ASC", + "vm_host_must_policy_DESC", + "vm_host_prefer_enabled_ASC", + "vm_host_prefer_enabled_DESC", + "vm_host_prefer_policy_ASC", + "vm_host_prefer_policy_DESC", + "vm_vm_policy_ASC", + "vm_vm_policy_DESC", + "vm_vm_policy_enabled_ASC", + "vm_vm_policy_enabled_DESC" + ], + "type": "string" + }, + "GetVmPlacementGroupsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmPlacementGroupOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "AlertOrderByInput": { + "enum": [ + "cause_ASC", + "cause_DESC", + "create_time_ASC", + "create_time_DESC", + "ended_ASC", + "ended_DESC", + "id_ASC", + "id_DESC", + "impact_ASC", + "impact_DESC", + "labels_ASC", + "labels_DESC", + "local_create_time_ASC", + "local_create_time_DESC", + "local_end_time_ASC", + "local_end_time_DESC", + "local_id_ASC", + "local_id_DESC", + "local_start_time_ASC", + "local_start_time_DESC", + "local_update_time_ASC", + "local_update_time_DESC", + "message_ASC", + "message_DESC", + "severity_ASC", + "severity_DESC", + "solution_ASC", + "solution_DESC", + "threshold_ASC", + "threshold_DESC", + "value_ASC", + "value_DESC" + ], + "type": "string" + }, + "GetAlertsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GlobalAlertRuleOrderByInput": { + "enum": [ + "boolean_ASC", + "boolean_DESC", + "cause_ASC", + "cause_DESC", + "default_thresholds_ASC", + "default_thresholds_DESC", + "disabled_ASC", + "disabled_DESC", + "id_ASC", + "id_DESC", + "impact_ASC", + "impact_DESC", + "message_ASC", + "message_DESC", + "name_ASC", + "name_DESC", + "object_ASC", + "object_DESC", + "operator_ASC", + "operator_DESC", + "solution_ASC", + "solution_DESC", + "thresholds_ASC", + "thresholds_DESC", + "unit_ASC", + "unit_DESC" + ], + "type": "string" + }, + "GetGlobalAlertRulesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/GlobalAlertRuleOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/GlobalAlertRuleWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SnapshotPlanOrderByInput": { + "enum": [ + "auto_delete_num_ASC", + "auto_delete_num_DESC", + "auto_execute_num_ASC", + "auto_execute_num_DESC", + "description_ASC", + "description_DESC", + "end_time_ASC", + "end_time_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "exec_h_m_ASC", + "exec_h_m_DESC", + "execute_plan_type_ASC", + "execute_plan_type_DESC", + "healthy_ASC", + "healthy_DESC", + "id_ASC", + "id_DESC", + "last_execute_end_time_ASC", + "last_execute_end_time_DESC", + "last_execute_status_ASC", + "last_execute_status_DESC", + "last_execute_time_ASC", + "last_execute_time_DESC", + "local_id_ASC", + "local_id_DESC", + "logical_size_bytes_ASC", + "logical_size_bytes_DESC", + "manual_delete_num_ASC", + "manual_delete_num_DESC", + "manual_execute_num_ASC", + "manual_execute_num_DESC", + "mirror_ASC", + "mirror_DESC", + "name_ASC", + "name_DESC", + "next_execute_time_ASC", + "next_execute_time_DESC", + "object_num_ASC", + "object_num_DESC", + "physical_size_bytes_ASC", + "physical_size_bytes_DESC", + "remain_snapshot_num_ASC", + "remain_snapshot_num_DESC", + "snapshot_group_num_ASC", + "snapshot_group_num_DESC", + "start_time_ASC", + "start_time_DESC", + "status_ASC", + "status_DESC" + ], + "type": "string" + }, + "GetSnapshotPlansRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "EntityFilterOrderByInput": { + "enum": [ + "apply_to_all_clusters_ASC", + "apply_to_all_clusters_DESC", + "entity_type_ASC", + "entity_type_DESC", + "filter_status_ASC", + "filter_status_DESC", + "id_ASC", + "id_DESC", + "last_executed_at_ASC", + "last_executed_at_DESC", + "name_ASC", + "name_DESC", + "preset_ASC", + "preset_DESC", + "rules_ASC", + "rules_DESC" + ], + "type": "string" + }, + "GetEntityFiltersRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityFilterOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityFilterWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "UserOrderByInput": { + "enum": [ + "auth_config_id_ASC", + "auth_config_id_DESC", + "display_username_ASC", + "display_username_DESC", + "email_address_ASC", + "email_address_DESC", + "id_ASC", + "id_DESC", + "internal_ASC", + "internal_DESC", + "ldap_dn_ASC", + "ldap_dn_DESC", + "mobile_phone_ASC", + "mobile_phone_DESC", + "name_ASC", + "name_DESC", + "password_expired_ASC", + "password_expired_DESC", + "password_recover_qa_ASC", + "password_recover_qa_DESC", + "password_updated_at_ASC", + "password_updated_at_DESC", + "role_ASC", + "role_DESC", + "source_ASC", + "source_DESC", + "username_ASC", + "username_DESC" + ], + "type": "string" + }, + "GetUsersRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/UserOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/UserWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ConsistencyGroupOrderByInput": { + "enum": [ + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "unique_size_ASC", + "unique_size_DESC" + ], + "type": "string" + }, + "GetConsistencyGroupsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "IscsiConnectionOrderByInput": { + "enum": [ + "client_port_ASC", + "client_port_DESC", + "id_ASC", + "id_DESC", + "initiator_ip_ASC", + "initiator_ip_DESC", + "tr_type_ASC", + "tr_type_DESC", + "type_ASC", + "type_DESC" + ], + "type": "string" + }, + "IscsiConnectionWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/IscsiConnectionWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/IscsiConnectionWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/IscsiConnectionWhereInput" + }, + "type": "array", + "nullable": true + }, + "client_port": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "client_port_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "client_port_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "client_port_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "client_port_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "client_port_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "client_port_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "client_port_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "initiator_ip": { + "type": "string", + "nullable": true + }, + "initiator_ip_contains": { + "type": "string", + "nullable": true + }, + "initiator_ip_ends_with": { + "type": "string", + "nullable": true + }, + "initiator_ip_gt": { + "type": "string", + "nullable": true + }, + "initiator_ip_gte": { + "type": "string", + "nullable": true + }, + "initiator_ip_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "initiator_ip_lt": { + "type": "string", + "nullable": true + }, + "initiator_ip_lte": { + "type": "string", + "nullable": true + }, + "initiator_ip_not": { + "type": "string", + "nullable": true + }, + "initiator_ip_not_contains": { + "type": "string", + "nullable": true + }, + "initiator_ip_not_ends_with": { + "type": "string", + "nullable": true + }, + "initiator_ip_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "initiator_ip_not_starts_with": { + "type": "string", + "nullable": true + }, + "initiator_ip_starts_with": { + "type": "string", + "nullable": true + }, + "iscsi_target": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + } + ], + "nullable": true + }, + "nvmf_subsystem": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + } + ], + "nullable": true + }, + "tr_type": { + "allOf": [ + { + "$ref": "#/components/schemas/StoreTransportType" + } + ], + "nullable": true + }, + "tr_type_in": { + "items": { + "$ref": "#/components/schemas/StoreTransportType" + }, + "type": "array", + "nullable": true + }, + "tr_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/StoreTransportType" + } + ], + "nullable": true + }, + "tr_type_not_in": { + "items": { + "$ref": "#/components/schemas/StoreTransportType" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/StoreConnectionType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/StoreConnectionType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/StoreConnectionType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/StoreConnectionType" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "StoreTransportType": { + "enum": [ + "RDMA", + "TCP" + ], + "type": "string" + }, + "StoreConnectionType": { + "enum": [ + "ISCSI", + "NVMe" + ], + "type": "string" + }, + "GetIscsiConnectionsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiConnectionOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiConnectionWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "IscsiLunSnapshotOrderByInput": { + "enum": [ + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "unique_size_ASC", + "unique_size_DESC" + ], + "type": "string" + }, + "GetIscsiLunSnapshotsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunSnapshotOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunSnapshotWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SystemAuditLogOrderByInput": { + "enum": [ + "action_ASC", + "action_DESC", + "finished_at_ASC", + "finished_at_DESC", + "id_ASC", + "id_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "message_ASC", + "message_DESC", + "resource_id_ASC", + "resource_id_DESC", + "status_ASC", + "status_DESC" + ], + "type": "string" + }, + "SystemAuditLogWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/SystemAuditLogWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/SystemAuditLogWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/SystemAuditLogWhereInput" + }, + "type": "array", + "nullable": true + }, + "action": { + "type": "string", + "nullable": true + }, + "action_contains": { + "type": "string", + "nullable": true + }, + "action_ends_with": { + "type": "string", + "nullable": true + }, + "action_gt": { + "type": "string", + "nullable": true + }, + "action_gte": { + "type": "string", + "nullable": true + }, + "action_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "action_lt": { + "type": "string", + "nullable": true + }, + "action_lte": { + "type": "string", + "nullable": true + }, + "action_not": { + "type": "string", + "nullable": true + }, + "action_not_contains": { + "type": "string", + "nullable": true + }, + "action_not_ends_with": { + "type": "string", + "nullable": true + }, + "action_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "action_not_starts_with": { + "type": "string", + "nullable": true + }, + "action_starts_with": { + "type": "string", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "finished_at": { + "type": "string", + "nullable": true + }, + "finished_at_gt": { + "type": "string", + "nullable": true + }, + "finished_at_gte": { + "type": "string", + "nullable": true + }, + "finished_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "finished_at_lt": { + "type": "string", + "nullable": true + }, + "finished_at_lte": { + "type": "string", + "nullable": true + }, + "finished_at_not": { + "type": "string", + "nullable": true + }, + "finished_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "message": { + "type": "string", + "nullable": true + }, + "message_contains": { + "type": "string", + "nullable": true + }, + "message_ends_with": { + "type": "string", + "nullable": true + }, + "message_gt": { + "type": "string", + "nullable": true + }, + "message_gte": { + "type": "string", + "nullable": true + }, + "message_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "message_lt": { + "type": "string", + "nullable": true + }, + "message_lte": { + "type": "string", + "nullable": true + }, + "message_not": { + "type": "string", + "nullable": true + }, + "message_not_contains": { + "type": "string", + "nullable": true + }, + "message_not_ends_with": { + "type": "string", + "nullable": true + }, + "message_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "message_not_starts_with": { + "type": "string", + "nullable": true + }, + "message_starts_with": { + "type": "string", + "nullable": true + }, + "resource_id": { + "type": "string", + "nullable": true + }, + "resource_id_contains": { + "type": "string", + "nullable": true + }, + "resource_id_ends_with": { + "type": "string", + "nullable": true + }, + "resource_id_gt": { + "type": "string", + "nullable": true + }, + "resource_id_gte": { + "type": "string", + "nullable": true + }, + "resource_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_id_lt": { + "type": "string", + "nullable": true + }, + "resource_id_lte": { + "type": "string", + "nullable": true + }, + "resource_id_not": { + "type": "string", + "nullable": true + }, + "resource_id_not_contains": { + "type": "string", + "nullable": true + }, + "resource_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "resource_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "resource_id_starts_with": { + "type": "string", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/UserAuditLogStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/UserAuditLogStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/UserAuditLogStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/UserAuditLogStatus" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetSystemAuditLogsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SystemAuditLogOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SystemAuditLogWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "UserAuditLogOrderByInput": { + "enum": [ + "action_ASC", + "action_DESC", + "auth_type_ASC", + "auth_type_DESC", + "createdAt_ASC", + "createdAt_DESC", + "finished_at_ASC", + "finished_at_DESC", + "id_ASC", + "id_DESC", + "ip_address_ASC", + "ip_address_DESC", + "message_ASC", + "message_DESC", + "resource_id_ASC", + "resource_id_DESC", + "resource_type_ASC", + "resource_type_DESC", + "started_at_ASC", + "started_at_DESC", + "status_ASC", + "status_DESC", + "username_ASC", + "username_DESC" + ], + "type": "string" + }, + "UserAuditLogWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/UserAuditLogWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/UserAuditLogWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/UserAuditLogWhereInput" + }, + "type": "array", + "nullable": true + }, + "action": { + "type": "string", + "nullable": true + }, + "action_contains": { + "type": "string", + "nullable": true + }, + "action_ends_with": { + "type": "string", + "nullable": true + }, + "action_gt": { + "type": "string", + "nullable": true + }, + "action_gte": { + "type": "string", + "nullable": true + }, + "action_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "action_lt": { + "type": "string", + "nullable": true + }, + "action_lte": { + "type": "string", + "nullable": true + }, + "action_not": { + "type": "string", + "nullable": true + }, + "action_not_contains": { + "type": "string", + "nullable": true + }, + "action_not_ends_with": { + "type": "string", + "nullable": true + }, + "action_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "action_not_starts_with": { + "type": "string", + "nullable": true + }, + "action_starts_with": { + "type": "string", + "nullable": true + }, + "auth_type": { + "type": "string", + "nullable": true + }, + "auth_type_contains": { + "type": "string", + "nullable": true + }, + "auth_type_ends_with": { + "type": "string", + "nullable": true + }, + "auth_type_gt": { + "type": "string", + "nullable": true + }, + "auth_type_gte": { + "type": "string", + "nullable": true + }, + "auth_type_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "auth_type_lt": { + "type": "string", + "nullable": true + }, + "auth_type_lte": { + "type": "string", + "nullable": true + }, + "auth_type_not": { + "type": "string", + "nullable": true + }, + "auth_type_not_contains": { + "type": "string", + "nullable": true + }, + "auth_type_not_ends_with": { + "type": "string", + "nullable": true + }, + "auth_type_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "auth_type_not_starts_with": { + "type": "string", + "nullable": true + }, + "auth_type_starts_with": { + "type": "string", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "createdAt": { + "type": "string", + "nullable": true + }, + "createdAt_gt": { + "type": "string", + "nullable": true + }, + "createdAt_gte": { + "type": "string", + "nullable": true + }, + "createdAt_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "createdAt_lt": { + "type": "string", + "nullable": true + }, + "createdAt_lte": { + "type": "string", + "nullable": true + }, + "createdAt_not": { + "type": "string", + "nullable": true + }, + "createdAt_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "finished_at": { + "type": "string", + "nullable": true + }, + "finished_at_gt": { + "type": "string", + "nullable": true + }, + "finished_at_gte": { + "type": "string", + "nullable": true + }, + "finished_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "finished_at_lt": { + "type": "string", + "nullable": true + }, + "finished_at_lte": { + "type": "string", + "nullable": true + }, + "finished_at_not": { + "type": "string", + "nullable": true + }, + "finished_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "ip_address": { + "type": "string", + "nullable": true + }, + "ip_address_contains": { + "type": "string", + "nullable": true + }, + "ip_address_ends_with": { + "type": "string", + "nullable": true + }, + "ip_address_gt": { + "type": "string", + "nullable": true + }, + "ip_address_gte": { + "type": "string", + "nullable": true + }, + "ip_address_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_address_lt": { + "type": "string", + "nullable": true + }, + "ip_address_lte": { + "type": "string", + "nullable": true + }, + "ip_address_not": { + "type": "string", + "nullable": true + }, + "ip_address_not_contains": { + "type": "string", + "nullable": true + }, + "ip_address_not_ends_with": { + "type": "string", + "nullable": true + }, + "ip_address_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_address_not_starts_with": { + "type": "string", + "nullable": true + }, + "ip_address_starts_with": { + "type": "string", + "nullable": true + }, + "message": { + "type": "string", + "nullable": true + }, + "message_contains": { + "type": "string", + "nullable": true + }, + "message_ends_with": { + "type": "string", + "nullable": true + }, + "message_gt": { + "type": "string", + "nullable": true + }, + "message_gte": { + "type": "string", + "nullable": true + }, + "message_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "message_lt": { + "type": "string", + "nullable": true + }, + "message_lte": { + "type": "string", + "nullable": true + }, + "message_not": { + "type": "string", + "nullable": true + }, + "message_not_contains": { + "type": "string", + "nullable": true + }, + "message_not_ends_with": { + "type": "string", + "nullable": true + }, + "message_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "message_not_starts_with": { + "type": "string", + "nullable": true + }, + "message_starts_with": { + "type": "string", + "nullable": true + }, + "resource_id": { + "type": "string", + "nullable": true + }, + "resource_id_contains": { + "type": "string", + "nullable": true + }, + "resource_id_ends_with": { + "type": "string", + "nullable": true + }, + "resource_id_gt": { + "type": "string", + "nullable": true + }, + "resource_id_gte": { + "type": "string", + "nullable": true + }, + "resource_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_id_lt": { + "type": "string", + "nullable": true + }, + "resource_id_lte": { + "type": "string", + "nullable": true + }, + "resource_id_not": { + "type": "string", + "nullable": true + }, + "resource_id_not_contains": { + "type": "string", + "nullable": true + }, + "resource_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "resource_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "resource_id_starts_with": { + "type": "string", + "nullable": true + }, + "resource_type": { + "type": "string", + "nullable": true + }, + "resource_type_contains": { + "type": "string", + "nullable": true + }, + "resource_type_ends_with": { + "type": "string", + "nullable": true + }, + "resource_type_gt": { + "type": "string", + "nullable": true + }, + "resource_type_gte": { + "type": "string", + "nullable": true + }, + "resource_type_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_type_lt": { + "type": "string", + "nullable": true + }, + "resource_type_lte": { + "type": "string", + "nullable": true + }, + "resource_type_not": { + "type": "string", + "nullable": true + }, + "resource_type_not_contains": { + "type": "string", + "nullable": true + }, + "resource_type_not_ends_with": { + "type": "string", + "nullable": true + }, + "resource_type_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "resource_type_not_starts_with": { + "type": "string", + "nullable": true + }, + "resource_type_starts_with": { + "type": "string", + "nullable": true + }, + "started_at": { + "type": "string", + "nullable": true + }, + "started_at_gt": { + "type": "string", + "nullable": true + }, + "started_at_gte": { + "type": "string", + "nullable": true + }, + "started_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "started_at_lt": { + "type": "string", + "nullable": true + }, + "started_at_lte": { + "type": "string", + "nullable": true + }, + "started_at_not": { + "type": "string", + "nullable": true + }, + "started_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/UserAuditLogStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/UserAuditLogStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/UserAuditLogStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/UserAuditLogStatus" + }, + "type": "array", + "nullable": true + }, + "user": { + "allOf": [ + { + "$ref": "#/components/schemas/UserWhereInput" + } + ], + "nullable": true + }, + "username": { + "type": "string", + "nullable": true + }, + "username_contains": { + "type": "string", + "nullable": true + }, + "username_ends_with": { + "type": "string", + "nullable": true + }, + "username_gt": { + "type": "string", + "nullable": true + }, + "username_gte": { + "type": "string", + "nullable": true + }, + "username_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_lt": { + "type": "string", + "nullable": true + }, + "username_lte": { + "type": "string", + "nullable": true + }, + "username_not": { + "type": "string", + "nullable": true + }, + "username_not_contains": { + "type": "string", + "nullable": true + }, + "username_not_ends_with": { + "type": "string", + "nullable": true + }, + "username_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_not_starts_with": { + "type": "string", + "nullable": true + }, + "username_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetUserAuditLogsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/UserAuditLogOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/UserAuditLogWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "TaskOrderByInput": { + "enum": [ + "args_ASC", + "args_DESC", + "description_ASC", + "description_DESC", + "error_code_ASC", + "error_code_DESC", + "error_message_ASC", + "error_message_DESC", + "finished_at_ASC", + "finished_at_DESC", + "id_ASC", + "id_DESC", + "internal_ASC", + "internal_DESC", + "key_ASC", + "key_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "progress_ASC", + "progress_DESC", + "resource_id_ASC", + "resource_id_DESC", + "resource_mutation_ASC", + "resource_mutation_DESC", + "resource_rollback_error_ASC", + "resource_rollback_error_DESC", + "resource_rollback_retry_count_ASC", + "resource_rollback_retry_count_DESC", + "resource_rollbacked_ASC", + "resource_rollbacked_DESC", + "resource_type_ASC", + "resource_type_DESC", + "snapshot_ASC", + "snapshot_DESC", + "started_at_ASC", + "started_at_DESC", + "status_ASC", + "status_DESC", + "steps_ASC", + "steps_DESC", + "type_ASC", + "type_DESC" + ], + "type": "string" + }, + "GetTasksRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/TaskOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/TaskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "IscsiLunOrderByInput": { + "enum": [ + "allowed_initiators_ASC", + "allowed_initiators_DESC", + "assigned_size_ASC", + "assigned_size_DESC", + "bps_ASC", + "bps_DESC", + "bps_max_ASC", + "bps_max_DESC", + "bps_max_length_ASC", + "bps_max_length_DESC", + "bps_rd_ASC", + "bps_rd_DESC", + "bps_rd_max_ASC", + "bps_rd_max_DESC", + "bps_rd_max_length_ASC", + "bps_rd_max_length_DESC", + "bps_wr_ASC", + "bps_wr_DESC", + "bps_wr_max_ASC", + "bps_wr_max_DESC", + "bps_wr_max_length_ASC", + "bps_wr_max_length_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "io_size_ASC", + "io_size_DESC", + "iops_ASC", + "iops_DESC", + "iops_max_ASC", + "iops_max_DESC", + "iops_max_length_ASC", + "iops_max_length_DESC", + "iops_rd_ASC", + "iops_rd_DESC", + "iops_rd_max_ASC", + "iops_rd_max_DESC", + "iops_rd_max_length_ASC", + "iops_rd_max_length_DESC", + "iops_wr_ASC", + "iops_wr_DESC", + "iops_wr_max_ASC", + "iops_wr_max_DESC", + "iops_wr_max_length_ASC", + "iops_wr_max_length_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "lun_id_ASC", + "lun_id_DESC", + "name_ASC", + "name_DESC", + "replica_num_ASC", + "replica_num_DESC", + "shared_size_ASC", + "shared_size_DESC", + "snapshot_num_ASC", + "snapshot_num_DESC", + "stripe_num_ASC", + "stripe_num_DESC", + "stripe_size_ASC", + "stripe_size_DESC", + "thin_provision_ASC", + "thin_provision_DESC", + "unique_logical_size_ASC", + "unique_logical_size_DESC", + "unique_size_ASC", + "unique_size_DESC", + "zbs_volume_id_ASC", + "zbs_volume_id_DESC" + ], + "type": "string" + }, + "GetIscsiLunsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NamespaceGroupOrderByInput": { + "enum": [ + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_create_time_ASC", + "local_create_time_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC" + ], + "type": "string" + }, + "GetNamespaceGroupsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NamespaceGroupOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NvmfNamespaceOrderByInput": { + "enum": [ + "assigned_size_ASC", + "assigned_size_DESC", + "bps_ASC", + "bps_DESC", + "bps_max_ASC", + "bps_max_DESC", + "bps_max_length_ASC", + "bps_max_length_DESC", + "bps_rd_ASC", + "bps_rd_DESC", + "bps_rd_max_ASC", + "bps_rd_max_DESC", + "bps_rd_max_length_ASC", + "bps_rd_max_length_DESC", + "bps_wr_ASC", + "bps_wr_DESC", + "bps_wr_max_ASC", + "bps_wr_max_DESC", + "bps_wr_max_length_ASC", + "bps_wr_max_length_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "io_size_ASC", + "io_size_DESC", + "iops_ASC", + "iops_DESC", + "iops_max_ASC", + "iops_max_DESC", + "iops_max_length_ASC", + "iops_max_length_DESC", + "iops_rd_ASC", + "iops_rd_DESC", + "iops_rd_max_ASC", + "iops_rd_max_DESC", + "iops_rd_max_length_ASC", + "iops_rd_max_length_DESC", + "iops_wr_ASC", + "iops_wr_DESC", + "iops_wr_max_ASC", + "iops_wr_max_DESC", + "iops_wr_max_length_ASC", + "iops_wr_max_length_DESC", + "is_shared_ASC", + "is_shared_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "namespace_id_ASC", + "namespace_id_DESC", + "nqn_whitelist_ASC", + "nqn_whitelist_DESC", + "replica_num_ASC", + "replica_num_DESC", + "shared_size_ASC", + "shared_size_DESC", + "snapshot_num_ASC", + "snapshot_num_DESC", + "stripe_num_ASC", + "stripe_num_DESC", + "stripe_size_ASC", + "stripe_size_DESC", + "thin_provision_ASC", + "thin_provision_DESC", + "unique_logical_size_ASC", + "unique_logical_size_DESC", + "unique_size_ASC", + "unique_size_DESC", + "zbs_volume_id_ASC", + "zbs_volume_id_DESC" + ], + "type": "string" + }, + "GetNvmfNamespacesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ContentLibraryImageOrderByInput": { + "enum": [ + "createdAt_ASC", + "createdAt_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "name_ASC", + "name_DESC", + "path_ASC", + "path_DESC", + "size_ASC", + "size_DESC" + ], + "type": "string" + }, + "GetContentLibraryImagesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryImageOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryImageWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NvmfNamespaceSnapshotOrderByInput": { + "enum": [ + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "unique_size_ASC", + "unique_size_DESC" + ], + "type": "string" + }, + "GetNvmfNamespaceSnapshotsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ContentLibraryVmTemplateOrderByInput": { + "enum": [ + "architecture_ASC", + "architecture_DESC", + "clock_offset_ASC", + "clock_offset_DESC", + "cloud_init_supported_ASC", + "cloud_init_supported_DESC", + "cpu_ASC", + "cpu_DESC", + "cpu_model_ASC", + "cpu_model_DESC", + "createdAt_ASC", + "createdAt_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "firmware_ASC", + "firmware_DESC", + "ha_ASC", + "ha_DESC", + "id_ASC", + "id_DESC", + "io_policy_ASC", + "io_policy_DESC", + "max_bandwidth_ASC", + "max_bandwidth_DESC", + "max_bandwidth_policy_ASC", + "max_bandwidth_policy_DESC", + "max_iops_ASC", + "max_iops_DESC", + "max_iops_policy_ASC", + "max_iops_policy_DESC", + "memory_ASC", + "memory_DESC", + "name_ASC", + "name_DESC", + "os_ASC", + "os_DESC", + "size_ASC", + "size_DESC", + "template_config_ASC", + "template_config_DESC", + "vcpu_ASC", + "vcpu_DESC", + "video_type_ASC", + "video_type_DESC", + "vm_disks_ASC", + "vm_disks_DESC", + "vm_nics_ASC", + "vm_nics_DESC", + "win_opt_ASC", + "win_opt_DESC", + "zbs_storage_info_ASC", + "zbs_storage_info_DESC" + ], + "type": "string" + }, + "GetContentLibraryVmTemplatesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryVmTemplateOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NvmfSubsystemOrderByInput": { + "enum": [ + "bps_ASC", + "bps_DESC", + "bps_max_ASC", + "bps_max_DESC", + "bps_max_length_ASC", + "bps_max_length_DESC", + "bps_rd_ASC", + "bps_rd_DESC", + "bps_rd_max_ASC", + "bps_rd_max_DESC", + "bps_rd_max_length_ASC", + "bps_rd_max_length_DESC", + "bps_wr_ASC", + "bps_wr_DESC", + "bps_wr_max_ASC", + "bps_wr_max_DESC", + "bps_wr_max_length_ASC", + "bps_wr_max_length_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "external_use_ASC", + "external_use_DESC", + "id_ASC", + "id_DESC", + "internal_ASC", + "internal_DESC", + "io_size_ASC", + "io_size_DESC", + "iops_ASC", + "iops_DESC", + "iops_max_ASC", + "iops_max_DESC", + "iops_max_length_ASC", + "iops_max_length_DESC", + "iops_rd_ASC", + "iops_rd_DESC", + "iops_rd_max_ASC", + "iops_rd_max_DESC", + "iops_rd_max_length_ASC", + "iops_rd_max_length_DESC", + "iops_wr_ASC", + "iops_wr_DESC", + "iops_wr_max_ASC", + "iops_wr_max_DESC", + "iops_wr_max_length_ASC", + "iops_wr_max_length_DESC", + "ip_whitelist_ASC", + "ip_whitelist_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "nqn_name_ASC", + "nqn_name_DESC", + "nqn_whitelist_ASC", + "nqn_whitelist_DESC", + "policy_ASC", + "policy_DESC", + "replica_num_ASC", + "replica_num_DESC", + "stripe_num_ASC", + "stripe_num_DESC", + "stripe_size_ASC", + "stripe_size_DESC", + "thin_provision_ASC", + "thin_provision_DESC" + ], + "type": "string" + }, + "GetNvmfSubsystemsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfSubsystemOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "TableReporterParams": { + "properties": { + "filter": { + "properties": { + "nvmfSubsystems": { + "$ref": "#/components/schemas/GetNvmfSubsystemsRequestBody" + }, + "contentLibraryVmTemplates": { + "$ref": "#/components/schemas/GetContentLibraryVmTemplatesRequestBody" + }, + "nvmfNamespaceSnapshots": { + "$ref": "#/components/schemas/GetNvmfNamespaceSnapshotsRequestBody" + }, + "contentLibraryImages": { + "$ref": "#/components/schemas/GetContentLibraryImagesRequestBody" + }, + "nvmfNamespaces": { + "$ref": "#/components/schemas/GetNvmfNamespacesRequestBody" + }, + "namespaceGroups": { + "$ref": "#/components/schemas/GetNamespaceGroupsRequestBody" + }, + "iscsiLuns": { + "$ref": "#/components/schemas/GetIscsiLunsRequestBody" + }, + "tasks": { + "$ref": "#/components/schemas/GetTasksRequestBody" + }, + "userAuditLogs": { + "$ref": "#/components/schemas/GetUserAuditLogsRequestBody" + }, + "systemAuditLogs": { + "$ref": "#/components/schemas/GetSystemAuditLogsRequestBody" + }, + "iscsiLunSnapshots": { + "$ref": "#/components/schemas/GetIscsiLunSnapshotsRequestBody" + }, + "iscsiConnections": { + "$ref": "#/components/schemas/GetIscsiConnectionsRequestBody" + }, + "consistencyGroups": { + "$ref": "#/components/schemas/GetConsistencyGroupsRequestBody" + }, + "users": { + "$ref": "#/components/schemas/GetUsersRequestBody" + }, + "vmEntityFilters": { + "$ref": "#/components/schemas/GetEntityFiltersRequestBody" + }, + "snapshotPlans": { + "$ref": "#/components/schemas/GetSnapshotPlansRequestBody" + }, + "globalAlertRules": { + "$ref": "#/components/schemas/GetGlobalAlertRulesRequestBody" + }, + "alerts": { + "$ref": "#/components/schemas/GetAlertsRequestBody" + }, + "vmPlacementGroups": { + "$ref": "#/components/schemas/GetVmPlacementGroupsRequestBody" + }, + "vmTemplates": { + "$ref": "#/components/schemas/GetVmTemplatesRequestBody" + }, + "elfImages": { + "$ref": "#/components/schemas/GetElfImagesRequestBody" + }, + "vmVolumes": { + "$ref": "#/components/schemas/GetVmVolumesRequestBody" + }, + "vlans": { + "$ref": "#/components/schemas/GetVlansRequestBody" + }, + "disks": { + "$ref": "#/components/schemas/GetDisksRequestBody" + }, + "vdses": { + "$ref": "#/components/schemas/GetVdsesRequestBody" + }, + "elfDataStores": { + "$ref": "#/components/schemas/GetElfDataStoresRequestBody", + "deprecated": true + }, + "vms": { + "$ref": "#/components/schemas/GetVmsRequestBody" + }, + "nfsExports": { + "$ref": "#/components/schemas/GetNfsExportsRequestBody" + }, + "iscsiTargets": { + "$ref": "#/components/schemas/GetIscsiTargetsRequestBody" + }, + "usbDevices": { + "$ref": "#/components/schemas/GetUsbDevicesRequestBody" + }, + "nics": { + "$ref": "#/components/schemas/GetNicsRequestBody" + }, + "clusters": { + "$ref": "#/components/schemas/GetClustersRequestBody" + }, + "datacenters": { + "$ref": "#/components/schemas/GetDatacentersRequestBody" + }, + "hosts": { + "$ref": "#/components/schemas/GetHostsRequestBody" + } + }, + "type": "object" + }, + "columns": { + "items": { + "$ref": "#/components/schemas/ColumnConfig" + }, + "type": "array" + }, + "name": { + "type": "string" + } + }, + "required": [ + "filter", + "columns", + "name" + ], + "type": "object" + }, + "WithTask_Task_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/Task" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "TaskDescription": { + "properties": { + "en-US": { + "type": "string" + }, + "zh-CN": { + "type": "string" + } + }, + "required": [ + "en-US", + "zh-CN" + ], + "type": "object" + }, + "TaskStepCreationParams": { + "properties": { + "description": { + "type": "string" + }, + "finished": { + "type": "boolean" + }, + "key": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "finished", + "key" + ], + "type": "object" + }, + "TaskCreationParams": { + "properties": { + "steps": { + "items": { + "$ref": "#/components/schemas/TaskStepCreationParams" + }, + "type": "array" + }, + "args": { + "additionalProperties": false, + "type": "object" + }, + "key": { + "type": "string" + }, + "internal": { + "type": "boolean" + }, + "type": { + "$ref": "#/components/schemas/TaskType" + }, + "resource_id": { + "type": "string" + }, + "cluster_id": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "description": { + "$ref": "#/components/schemas/TaskDescription" + }, + "resource_mutation": { + "type": "string", + "minLength": 1 + }, + "resource_type": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "user_id", + "description", + "resource_mutation", + "resource_type" + ], + "type": "object" + }, + "TaskUpdateParams": { + "properties": { + "data": { + "properties": { + "resource_rollback_retry_count": { + "type": "integer", + "format": "int32" + }, + "resource_rollback_error": { + "type": "string" + }, + "resource_rollbacked": { + "type": "boolean" + }, + "steps": { + "items": { + "$ref": "#/components/schemas/TaskStepCreationParams" + }, + "type": "array" + }, + "error_message": { + "type": "string" + }, + "error_code": { + "type": "string" + }, + "progress": { + "type": "number", + "format": "float" + }, + "status": { + "$ref": "#/components/schemas/TaskStatus" + }, + "snapshot": { + "type": "string" + }, + "args": { + "additionalProperties": false, + "type": "object" + }, + "key": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/TaskType" + }, + "resource_id": { + "type": "string" + }, + "cluster_id": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "resource_mutation": { + "type": "string" + }, + "resource_type": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/TaskWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "UploadTaskWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/UploadTaskWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/UploadTaskWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/UploadTaskWhereInput" + }, + "type": "array", + "nullable": true + }, + "chunk_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "chunk_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "chunk_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "chunk_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "chunk_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "chunk_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "chunk_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "chunk_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "current_chunk": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "current_chunk_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "current_chunk_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "current_chunk_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "current_chunk_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "current_chunk_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "current_chunk_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "current_chunk_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "finished_at": { + "type": "string", + "nullable": true + }, + "finished_at_gt": { + "type": "string", + "nullable": true + }, + "finished_at_gte": { + "type": "string", + "nullable": true + }, + "finished_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "finished_at_lt": { + "type": "string", + "nullable": true + }, + "finished_at_lte": { + "type": "string", + "nullable": true + }, + "finished_at_not": { + "type": "string", + "nullable": true + }, + "finished_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "resource_type": { + "allOf": [ + { + "$ref": "#/components/schemas/UploadResourceType" + } + ], + "nullable": true + }, + "resource_type_in": { + "items": { + "$ref": "#/components/schemas/UploadResourceType" + }, + "type": "array", + "nullable": true + }, + "resource_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/UploadResourceType" + } + ], + "nullable": true + }, + "resource_type_not_in": { + "items": { + "$ref": "#/components/schemas/UploadResourceType" + }, + "type": "array", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "started_at": { + "type": "string", + "nullable": true + }, + "started_at_gt": { + "type": "string", + "nullable": true + }, + "started_at_gte": { + "type": "string", + "nullable": true + }, + "started_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "started_at_lt": { + "type": "string", + "nullable": true + }, + "started_at_lte": { + "type": "string", + "nullable": true + }, + "started_at_not": { + "type": "string", + "nullable": true + }, + "started_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/UploadTaskStatus" + } + ], + "nullable": true + }, + "status_in": { + "items": { + "$ref": "#/components/schemas/UploadTaskStatus" + }, + "type": "array", + "nullable": true + }, + "status_not": { + "allOf": [ + { + "$ref": "#/components/schemas/UploadTaskStatus" + } + ], + "nullable": true + }, + "status_not_in": { + "items": { + "$ref": "#/components/schemas/UploadTaskStatus" + }, + "type": "array", + "nullable": true + }, + "updatedAt": { + "type": "string", + "nullable": true + }, + "updatedAt_gt": { + "type": "string", + "nullable": true + }, + "updatedAt_gte": { + "type": "string", + "nullable": true + }, + "updatedAt_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "updatedAt_lt": { + "type": "string", + "nullable": true + }, + "updatedAt_lte": { + "type": "string", + "nullable": true + }, + "updatedAt_not": { + "type": "string", + "nullable": true + }, + "updatedAt_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "CancelUploadTaskParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/UploadTaskWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "UsbDevice": { + "properties": { + "binded": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "host": { + "$ref": "#/components/schemas/NestedHost" + }, + "id": { + "type": "string" + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "manufacturer": { + "type": "string" + }, + "name": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "status": { + "$ref": "#/components/schemas/UsbDeviceStatus" + }, + "usb_type": { + "type": "string" + }, + "vms": { + "items": { + "$ref": "#/components/schemas/NestedVm" + }, + "type": "array", + "nullable": true + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVm" + } + ], + "nullable": true, + "deprecated": true + } + }, + "required": [ + "binded", + "description", + "host", + "id", + "local_created_at", + "local_id", + "manufacturer", + "name", + "size", + "status", + "usb_type" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_UsbDevice_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/UsbDevice" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "UsbDeviceMountParams": { + "properties": { + "data": { + "properties": { + "vms": { + "$ref": "#/components/schemas/VmWhereInput" + }, + "vm_id": { + "type": "string", + "deprecated": true + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/UsbDeviceWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "UsbDeviceUnmountParams": { + "properties": { + "data": { + "properties": { + "vms": { + "$ref": "#/components/schemas/VmWhereInput" + } + }, + "required": [ + "vms" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/UsbDeviceWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "LoginResponse": { + "properties": { + "token": { + "type": "string" + } + }, + "required": [ + "token" + ], + "type": "object" + }, + "WithTask_LoginResponse_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/LoginResponse" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "MfaType": { + "enum": [ + "Mail", + "Sms" + ], + "type": "string" + }, + "LoginInput": { + "properties": { + "username": { + "type": "string" + }, + "source": { + "allOf": [ + { + "$ref": "#/components/schemas/UserSource" + } + ], + "nullable": true + }, + "password": { + "type": "string" + }, + "mfa_type": { + "allOf": [ + { + "$ref": "#/components/schemas/MfaType" + } + ], + "nullable": true + }, + "auth_config_id": { + "type": "string", + "nullable": true + } + }, + "required": [ + "username", + "password" + ], + "type": "object" + }, + "NestedPasswordReoverQaItem": { + "properties": { + "question": { + "type": "string" + } + }, + "required": [ + "question" + ], + "type": "object", + "additionalProperties": false + }, + "NestedPasswordRecoverQa": { + "properties": { + "enabled": { + "type": "boolean" + }, + "items": { + "items": { + "$ref": "#/components/schemas/NestedPasswordReoverQaItem" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "enabled" + ], + "type": "object", + "additionalProperties": false + }, + "NestedUserRoleNext": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "User": { + "properties": { + "auth_config_id": { + "type": "string", + "nullable": true + }, + "display_username": { + "type": "string" + }, + "email_address": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "internal": { + "type": "boolean" + }, + "ldap_dn": { + "type": "string", + "nullable": true + }, + "mobile_phone": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string" + }, + "password_expired": { + "type": "boolean", + "nullable": true + }, + "password_recover_qa": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedPasswordRecoverQa" + } + ], + "nullable": true + }, + "password_updated_at": { + "type": "string", + "nullable": true + }, + "role": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRole" + } + ], + "nullable": true + }, + "roles": { + "items": { + "$ref": "#/components/schemas/NestedUserRoleNext" + }, + "type": "array", + "nullable": true + }, + "source": { + "$ref": "#/components/schemas/UserSource" + }, + "username": { + "type": "string" + } + }, + "required": [ + "display_username", + "id", + "internal", + "name", + "source", + "username" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_User_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/User" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "UserCreationParams": { + "properties": { + "auth_config_id": { + "type": "string" + }, + "ldap_dn": { + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/UserSource" + }, + "mobile_phone": { + "type": "string" + }, + "email_address": { + "type": "string" + }, + "internal": { + "type": "boolean" + }, + "role_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "password": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "required": [ + "role_id", + "name", + "username" + ], + "type": "object" + }, + "UserUpdationParams": { + "properties": { + "data": { + "properties": { + "internal": { + "type": "boolean" + }, + "mobile_phone": { + "type": "string", + "nullable": true + }, + "email_address": { + "type": "string", + "nullable": true + }, + "role_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "password": { + "type": "string" + }, + "username": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/UserWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteUser": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteUser_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteUser" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "UserDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/UserWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "RootUserCreationParams": { + "properties": { + "password": { + "type": "string" + } + }, + "required": [ + "password" + ], + "type": "object" + }, + "VcenterAccount": { + "properties": { + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedCluster" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "ip": { + "type": "string" + }, + "is_valid": { + "type": "boolean" + }, + "local_id": { + "type": "string" + }, + "port": { + "type": "integer", + "format": "int32" + }, + "username": { + "type": "string" + } + }, + "required": [ + "id", + "ip", + "is_valid", + "local_id", + "port", + "username" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VcenterAccount_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VcenterAccount" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "CreateVcenterAccountParamsData": { + "properties": { + "port": { + "type": "integer", + "format": "int32" + }, + "password": { + "type": "string" + }, + "username": { + "type": "string" + }, + "ip": { + "type": "string" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "port", + "password", + "username", + "ip", + "cluster_id" + ], + "type": "object" + }, + "CreateVcenterAccountParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/CreateVcenterAccountParamsData" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VcenterAccountWhereUniqueInput": { + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "UpdateVcenterAccountParamsData": { + "properties": { + "port": { + "type": "integer", + "format": "int32" + }, + "password": { + "type": "string" + }, + "username": { + "type": "string" + }, + "ip": { + "type": "string" + } + }, + "required": [ + "port", + "password", + "username", + "ip" + ], + "type": "object" + }, + "UpdateVcenterAccountParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/UpdateVcenterAccountParamsData" + }, + "where": { + "$ref": "#/components/schemas/VcenterAccountWhereUniqueInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "Vds": { + "properties": { + "bond_mode": { + "type": "string" + }, + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "everoute_cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedEverouteCluster" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "internal": { + "type": "boolean" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nics": { + "items": { + "$ref": "#/components/schemas/NestedNic" + }, + "type": "array", + "nullable": true + }, + "ovsbr_name": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/NetworkType" + }, + "vlans": { + "items": { + "$ref": "#/components/schemas/NestedVlan" + }, + "type": "array", + "nullable": true + }, + "vlans_num": { + "type": "integer", + "format": "int32" + }, + "work_mode": { + "type": "string", + "nullable": true + } + }, + "required": [ + "bond_mode", + "cluster", + "id", + "internal", + "local_id", + "name", + "ovsbr_name", + "type", + "vlans_num" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_Vds_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/Vds" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VdsCreationParams": { + "properties": { + "nic_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "cluster_id": { + "type": "string" + }, + "work_mode": { + "type": "string" + }, + "bond_mode": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "nic_ids", + "cluster_id", + "name" + ], + "type": "object" + }, + "VdsCreationWithMigrateVlanParams": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsCreationParams" + }, + { + "properties": { + "vlan": { + "properties": { + "extra_ip": { + "items": { + "properties": { + "management_ip": { + "type": "string" + }, + "host_id": { + "type": "string" + } + }, + "required": [ + "management_ip", + "host_id" + ], + "type": "object" + }, + "type": "array" + }, + "subnetmask": { + "type": "string" + }, + "gateway_subnetmask": { + "type": "string" + }, + "gateway_ip": { + "type": "string" + }, + "vlan_id": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "extra_ip", + "subnetmask", + "vlan_id" + ], + "type": "object" + } + }, + "required": [ + "vlan" + ], + "type": "object" + } + ] + }, + "VdsCreationWithMAccessVlanParams": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsCreationParams" + }, + { + "properties": { + "vlan": { + "properties": { + "extra_ip": { + "items": { + "properties": { + "management_ip": { + "type": "string" + }, + "host_id": { + "type": "string" + } + }, + "required": [ + "management_ip", + "host_id" + ], + "type": "object" + }, + "type": "array" + }, + "subnetmask": { + "type": "string" + }, + "gateway_subnetmask": { + "type": "string" + }, + "gateway_ip": { + "type": "string" + }, + "vlan_id": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "extra_ip", + "subnetmask", + "vlan_id" + ], + "type": "object" + } + }, + "required": [ + "vlan" + ], + "type": "object" + } + ] + }, + "VdsUpdationParams": { + "properties": { + "data": { + "properties": { + "nicIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "work_mode": { + "type": "string" + }, + "bond_mode": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VdsWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteVds": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVds_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVds" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VdsDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VdsWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedGraph": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "View": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "graphs": { + "items": { + "$ref": "#/components/schemas/NestedGraph" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "time_span": { + "type": "integer", + "format": "int32" + }, + "time_unit": { + "$ref": "#/components/schemas/TimeUnit" + } + }, + "required": [ + "cluster", + "id", + "local_id", + "name", + "time_span", + "time_unit" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_View_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/View" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ViewCreationParams": { + "properties": { + "time_unit": { + "$ref": "#/components/schemas/TimeUnit" + }, + "time_span": { + "type": "integer", + "format": "int32" + }, + "cluster_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "time_unit", + "time_span", + "cluster_id", + "name" + ], + "type": "object" + }, + "ViewUpdationParams": { + "properties": { + "data": { + "properties": { + "time_unit": { + "$ref": "#/components/schemas/TimeUnit" + }, + "time_span": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/ViewWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "DeleteView": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteView_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteView" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "ViewDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/ViewWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedVirtualPrivateCloudExternalSubnet": { + "properties": { + "floating_ip_cidr": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nat_gateway_cidr": { + "type": "string", + "nullable": true + }, + "router_gateway_cidr": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVirtualPrivateCloud": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudFloatingIp": { + "properties": { + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "external_ip": { + "type": "string", + "nullable": true + }, + "external_subnet": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudExternalSubnet" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "vpc": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloud" + } + }, + "required": [ + "id", + "local_id", + "vpc" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VirtualPrivateCloudFloatingIp_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIp" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudFloatingIpCreationParams": { + "properties": { + "external_ip": { + "type": "string" + }, + "external_subnet_id": { + "type": "string" + }, + "vpc_id": { + "type": "string" + } + }, + "required": [ + "external_subnet_id", + "vpc_id" + ], + "type": "object" + }, + "DeleteVirtualPrivateCloudFloatingIp": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVirtualPrivateCloudFloatingIp_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVirtualPrivateCloudFloatingIp" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudFloatingIpDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedVpcDnatRuleType": { + "properties": { + "port": { + "type": "integer", + "format": "int32" + }, + "target_ip": { + "type": "string" + }, + "target_port": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "port", + "target_ip", + "target_port" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudNatGateway": { + "properties": { + "dnat_rules": { + "items": { + "$ref": "#/components/schemas/NestedVpcDnatRuleType" + }, + "type": "array", + "nullable": true + }, + "enable_dnat": { + "type": "boolean", + "nullable": true + }, + "enable_snat": { + "type": "boolean", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "external_ip": { + "type": "string", + "nullable": true + }, + "external_subnet": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudExternalSubnet" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vpc": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloud" + } + }, + "required": [ + "id", + "local_id", + "name", + "vpc" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VirtualPrivateCloudNatGateway_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGateway" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudDnatRuleParams": { + "properties": { + "target_port": { + "type": "integer", + "format": "int32" + }, + "port": { + "type": "integer", + "format": "int32" + }, + "target_ip": { + "type": "string" + } + }, + "required": [ + "target_port", + "port", + "target_ip" + ], + "type": "object" + }, + "VirtualPrivateCloudNatGatewayCreationParams": { + "properties": { + "external_ip": { + "type": "string" + }, + "external_subnet_id": { + "type": "string" + }, + "dnat_rules": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudDnatRuleParams" + }, + "type": "array" + }, + "enable_dnat": { + "type": "boolean" + }, + "enable_snat": { + "type": "boolean" + }, + "vpc_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "external_subnet_id", + "enable_dnat", + "enable_snat", + "vpc_id", + "name" + ], + "type": "object" + }, + "VirtualPrivateCloudNatGatewayUpdationParams": { + "properties": { + "data": { + "properties": { + "external_ip": { + "type": "string" + }, + "dnat_rules": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudDnatRuleParams" + }, + "type": "array" + }, + "enable_dnat": { + "type": "boolean" + }, + "enable_snat": { + "type": "boolean" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteVirtualPrivateCloudNatGateway": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVirtualPrivateCloudNatGateway_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVirtualPrivateCloudNatGateway" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudNatGatewayDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedVirtualPrivateCloudRoute": { + "properties": { + "destination": { + "type": "string" + }, + "id": { + "type": "string" + }, + "next_hop_local_id": { + "type": "string" + }, + "next_hop_type": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteNextHopType" + } + }, + "required": [ + "destination", + "id", + "next_hop_local_id", + "next_hop_type" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVirtualPrivateCloudSubnet": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudRouteTable": { + "properties": { + "default_for_vpc": { + "type": "boolean", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "routes": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudRoute" + }, + "type": "array", + "nullable": true + }, + "subnets": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudSubnet" + }, + "type": "array", + "nullable": true + }, + "vpc": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloud" + } + }, + "required": [ + "id", + "local_id", + "name", + "vpc" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VirtualPrivateCloudRouteTable_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTable" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudRouteParams": { + "properties": { + "destination": { + "type": "string" + }, + "next_hop_local_id": { + "type": "string" + }, + "next_hop_type": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteNextHopType" + } + }, + "required": [ + "destination", + "next_hop_local_id", + "next_hop_type" + ], + "type": "object" + }, + "VirtualPrivateCloudRouteTableCreationParams": { + "properties": { + "routes": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteParams" + }, + "type": "array" + }, + "vpc_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "vpc_id", + "name" + ], + "type": "object" + }, + "VirtualPrivateCloudRouteTableUpdationParams": { + "properties": { + "data": { + "properties": { + "routes": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteParams" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteVirtualPrivateCloudRouteTable": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVirtualPrivateCloudRouteTable_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVirtualPrivateCloudRouteTable" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudRouteTableDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedVpcRouterGatewayRuleType": { + "properties": { + "dst": { + "type": "string" + }, + "nexthop": { + "type": "string", + "nullable": true + } + }, + "required": [ + "dst" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudRouterGateway": { + "properties": { + "associated_subnets": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudSubnet" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "external_ip": { + "type": "string", + "nullable": true + }, + "external_subnet": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudExternalSubnet" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nexthop_ip": { + "type": "string", + "nullable": true + }, + "rules": { + "items": { + "$ref": "#/components/schemas/NestedVpcRouterGatewayRuleType" + }, + "type": "array" + }, + "vpc": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloud" + } + }, + "required": [ + "id", + "local_id", + "name", + "rules", + "vpc" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VirtualPrivateCloudRouterGateway_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGateway" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudRouterGatewayRuleInputType": { + "properties": { + "dst": { + "type": "string" + }, + "nexthop": { + "type": "string" + } + }, + "required": [ + "dst" + ], + "type": "object" + }, + "VirtualPrivateCloudRouterGatewayCreationParams": { + "properties": { + "rules": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayRuleInputType" + }, + "type": "array" + }, + "associated_subnets_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "external_ip": { + "type": "string" + }, + "external_subnet_id": { + "type": "string" + }, + "vpc_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "rules", + "associated_subnets_ids", + "external_subnet_id", + "vpc_id", + "name" + ], + "type": "object" + }, + "VirtualPrivateCloudRouterGatewayUpdateDataParams": { + "properties": { + "rules": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayRuleInputType" + }, + "type": "array" + }, + "associated_subnets_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "external_ip": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "VirtualPrivateCloudRouterGatewayUpdationParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayUpdateDataParams" + }, + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteVirtualPrivateCloudRouterGateway": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVirtualPrivateCloudRouterGateway_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVirtualPrivateCloudRouterGateway" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudRouterGatewayDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedVirtualPrivateCloudLabelGroup": { + "properties": { + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array" + } + }, + "required": [ + "labels" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudSecurityGroup": { + "properties": { + "default_for_vpc": { + "type": "boolean", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "label_groups": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudLabelGroup" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vms": { + "items": { + "$ref": "#/components/schemas/NestedVm" + }, + "type": "array", + "nullable": true + }, + "vpc": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloud" + } + }, + "required": [ + "id", + "local_id", + "name", + "vpc" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VirtualPrivateCloudSecurityGroup_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroup" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "LabelGroup": { + "properties": { + "label_ids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "label_ids" + ], + "type": "object" + }, + "VirtualPrivateCloudSecurityGroupCreationParams": { + "properties": { + "vm_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "label_groups": { + "items": { + "$ref": "#/components/schemas/LabelGroup" + }, + "type": "array" + }, + "vpc_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "vpc_id", + "name" + ], + "type": "object" + }, + "VirtualPrivateCloudSecurityGroupUpdationParams": { + "properties": { + "data": { + "properties": { + "vm_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "label_groups": { + "items": { + "$ref": "#/components/schemas/LabelGroup" + }, + "type": "array" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteVirtualPrivateCloudSecurityGroup": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVirtualPrivateCloudSecurityGroup_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVirtualPrivateCloudSecurityGroup" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudSecurityGroupDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedVirtualPrivateCloudSecurityGroup": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVirtualPrivateCloudSecurityPolicyApply": { + "properties": { + "communicable": { + "type": "boolean" + }, + "security_group": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudSecurityGroup" + } + ], + "nullable": true + }, + "security_group_id": { + "type": "string" + } + }, + "required": [ + "communicable", + "security_group_id" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudNetworkPolicyRulePortProtocol": { + "enum": [ + "ICMP", + "TCP", + "UDP" + ], + "type": "string" + }, + "NestedVirtualPrivateCloudNetworkPolicyRulePort": { + "properties": { + "port": { + "type": "string", + "nullable": true + }, + "protocol": { + "$ref": "#/components/schemas/VirtualPrivateCloudNetworkPolicyRulePortProtocol" + } + }, + "required": [ + "protocol" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudNetworkPolicyRuleType": { + "enum": [ + "ALL", + "IP_BLOCK", + "SECURITY_GROUP", + "SELECTOR" + ], + "type": "string" + }, + "NestedVirtualPrivateCloudNetworkPolicyRule": { + "properties": { + "except_ip_block": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "ip_block": { + "type": "string", + "nullable": true + }, + "ports": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudNetworkPolicyRulePort" + }, + "type": "array", + "nullable": true + }, + "security_group": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudSecurityGroup" + } + ], + "nullable": true + }, + "security_group_id": { + "type": "string", + "nullable": true + }, + "selector": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "selector_ids": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/VirtualPrivateCloudNetworkPolicyRuleType" + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudSecurityPolicy": { + "properties": { + "apply_to": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudSecurityPolicyApply" + }, + "type": "array" + }, + "description": { + "type": "string", + "nullable": true + }, + "egress": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudNetworkPolicyRule" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "ingress": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudNetworkPolicyRule" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "policy_mode": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyMode" + } + ], + "nullable": true + }, + "vpc": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloud" + } + }, + "required": [ + "apply_to", + "id", + "local_id", + "name", + "vpc" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VirtualPrivateCloudSecurityPolicy_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicy" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudSecurityPolicyApplyInput": { + "properties": { + "security_group_id": { + "type": "string" + }, + "communicable": { + "type": "boolean" + } + }, + "required": [ + "security_group_id", + "communicable" + ], + "type": "object" + }, + "VirtualPrivateCloudNetworkPolicyRulePortInput": { + "properties": { + "protocol": { + "$ref": "#/components/schemas/VirtualPrivateCloudNetworkPolicyRulePortProtocol" + }, + "port": { + "type": "string", + "nullable": true + } + }, + "required": [ + "protocol" + ], + "type": "object" + }, + "VirtualPrivateCloudNetworkPolicyRuleInput": { + "properties": { + "type": { + "$ref": "#/components/schemas/VirtualPrivateCloudNetworkPolicyRuleType" + }, + "selector_ids": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "security_group_id": { + "type": "string", + "nullable": true + }, + "ports": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNetworkPolicyRulePortInput" + }, + "type": "array", + "nullable": true + }, + "ip_block": { + "type": "string", + "nullable": true + }, + "except_ip_block": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "VirtualPrivateCloudSecurityPolicyCreateParams": { + "properties": { + "egress": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNetworkPolicyRuleInput" + }, + "type": "array" + }, + "ingress": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNetworkPolicyRuleInput" + }, + "type": "array" + }, + "apply_to": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyApplyInput" + }, + "type": "array", + "minItems": 1 + }, + "policy_mode": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyMode" + }, + "vpc_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string", + "minLength": 1 + } + }, + "required": [ + "apply_to", + "vpc_id", + "name" + ], + "type": "object" + }, + "DeleteVirtualPrivateCloudSecurityPolicy": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVirtualPrivateCloudSecurityPolicy_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVirtualPrivateCloudSecurityPolicy" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudSecurityPolicyDeleteParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "VirtualPrivateCloudSecurityPolicyUpdateParams": { + "properties": { + "ingress": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNetworkPolicyRuleInput" + }, + "type": "array" + }, + "egress": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNetworkPolicyRuleInput" + }, + "type": "array" + }, + "apply_to": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyApplyInput" + }, + "type": "array" + }, + "policy_mode": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyMode" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "VirtualPrivateCloudSecurityPolicyUpdateBody": { + "properties": { + "data": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyUpdateParams" + }, + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "NestedVpcSubnetIpPooType": { + "properties": { + "end": { + "type": "string" + }, + "start": { + "type": "string" + } + }, + "required": [ + "end", + "start" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVirtualPrivateCloudRouteTable": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudSubnet": { + "properties": { + "cidr": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "gateway": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "ip_pools": { + "items": { + "$ref": "#/components/schemas/NestedVpcSubnetIpPooType" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "route_table": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudRouteTable" + }, + "total_ip_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "unused_ip_count": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vpc": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloud" + } + }, + "required": [ + "cidr", + "id", + "local_id", + "name", + "route_table", + "vpc" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VirtualPrivateCloudSubnet_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnet" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudSubnetIpPoolParams": { + "properties": { + "end": { + "type": "string" + }, + "start": { + "type": "string" + } + }, + "required": [ + "end", + "start" + ], + "type": "object" + }, + "VirtualPrivateCloudSubnetCreationParams": { + "properties": { + "route_table_id": { + "type": "string" + }, + "ip_pools": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetIpPoolParams" + }, + "type": "array" + }, + "gateway": { + "type": "string" + }, + "cidr": { + "type": "string" + }, + "vpc_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "route_table_id", + "gateway", + "cidr", + "vpc_id", + "name" + ], + "type": "object" + }, + "VirtualPrivateCloudSubnetUpdateDataParams": { + "properties": { + "route_table_id": { + "type": "string" + }, + "ip_pools": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetIpPoolParams" + }, + "type": "array" + }, + "gateway": { + "type": "string" + }, + "cidr": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "VirtualPrivateCloudSubnetUpdationParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetUpdateDataParams" + }, + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteVirtualPrivateCloudSubnet": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVirtualPrivateCloudSubnet_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVirtualPrivateCloudSubnet" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudSubnetDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedVirtualPrivateCloudIsolationPolicy": { + "properties": { + "id": { + "type": "string" + }, + "vm": { + "$ref": "#/components/schemas/NestedVm" + } + }, + "required": [ + "id", + "vm" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVirtualPrivateCloudSecurityPolicy": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVirtualPrivateCloudServiceTepIpPool": { + "properties": { + "display_name": { + "type": "string" + }, + "gateway": { + "type": "string" + }, + "ip_end": { + "type": "string" + }, + "ip_start": { + "type": "string" + }, + "netmask": { + "type": "string" + } + }, + "required": [ + "display_name", + "gateway", + "ip_end", + "ip_start", + "netmask" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVirtualPrivateCloudService": { + "properties": { + "id": { + "type": "string" + }, + "internal_cidr": { + "type": "string" + }, + "tep_ip_pools": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudServiceTepIpPool" + }, + "type": "array" + } + }, + "required": [ + "id", + "internal_cidr", + "tep_ip_pools" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloud": { + "properties": { + "associate_external_subnet_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "isolation_policies": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudIsolationPolicy" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "mtu": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "name": { + "type": "string" + }, + "route_tables": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudRouteTable" + }, + "type": "array", + "nullable": true + }, + "security_groups": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudSecurityGroup" + }, + "type": "array", + "nullable": true + }, + "security_policies": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudSecurityPolicy" + }, + "type": "array", + "nullable": true + }, + "subnets": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudSubnet" + }, + "type": "array", + "nullable": true + }, + "vpc_service": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudService" + } + }, + "required": [ + "id", + "local_id", + "name", + "vpc_service" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VirtualPrivateCloud_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VirtualPrivateCloud" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudCreationParams": { + "properties": { + "mtu": { + "type": "integer", + "format": "int32" + }, + "vpc_service_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "vpc_service_id", + "name" + ], + "type": "object" + }, + "VirtualPrivateCloudUpdateDataParams": { + "properties": { + "mtu": { + "type": "integer", + "format": "int32" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "VirtualPrivateCloudUpdationParams": { + "properties": { + "data": { + "$ref": "#/components/schemas/VirtualPrivateCloudUpdateDataParams" + }, + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteVirtualPrivateCloud": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVirtualPrivateCloud_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVirtualPrivateCloud" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VirtualPrivateCloudDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "Vlan": { + "properties": { + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "gateway_ip": { + "type": "string", + "nullable": true + }, + "gateway_subnetmask": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "mode_type": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanModeType" + } + ], + "nullable": true + }, + "name": { + "type": "string" + }, + "network_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "qos_burst": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_max_bandwidth": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_min_bandwidth": { + "type": "number", + "format": "double", + "nullable": true + }, + "qos_priority": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "subnetmask": { + "type": "string", + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/NetworkType" + }, + "vds": { + "$ref": "#/components/schemas/NestedVds" + }, + "vlan_id": { + "type": "integer", + "format": "int32" + }, + "vm_nics": { + "items": { + "$ref": "#/components/schemas/NestedVmNic" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "id", + "local_id", + "name", + "network_ids", + "type", + "vds", + "vlan_id" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_Vlan_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/Vlan" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VlanId": { + "type": "integer", + "format": "int32", + "minimum": 0, + "maximum": 4095 + }, + "Priority": { + "type": "number", + "format": "double", + "minimum": 0 + }, + "VmVlanCreationParams": { + "properties": { + "qos_burst_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "qos_burst": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "qos_max_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "qos_max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "qos_min_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "qos_min_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "qos_priority": { + "$ref": "#/components/schemas/Priority" + }, + "mode_type": { + "$ref": "#/components/schemas/VlanModeType" + }, + "network_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "vds_id": { + "type": "string" + }, + "vlan_id": { + "$ref": "#/components/schemas/VlanId" + }, + "name": { + "type": "string" + } + }, + "required": [ + "vds_id", + "name" + ], + "type": "object" + }, + "VmVlanUpdationParams": { + "properties": { + "data": { + "properties": { + "qos_burst_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "qos_burst": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "qos_max_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "qos_max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "qos_min_bandwidth_unit": { + "$ref": "#/components/schemas/BPSUnit" + }, + "qos_min_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "qos_priority": { + "$ref": "#/components/schemas/Priority" + }, + "mode_type": { + "$ref": "#/components/schemas/VlanModeType" + }, + "network_ids": { + "items": { + "type": "string" + }, + "type": "array" + }, + "vlan_id": { + "$ref": "#/components/schemas/VlanId" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VlanWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "ExtraIp": { + "properties": { + "management_ip": { + "type": "string" + }, + "host_id": { + "type": "string" + } + }, + "required": [ + "management_ip", + "host_id" + ], + "type": "object" + }, + "ManagementVlanUpdationParams": { + "properties": { + "data": { + "properties": { + "extra_ip": { + "items": { + "$ref": "#/components/schemas/ExtraIp" + }, + "type": "array" + }, + "subnetmask": { + "type": "string" + }, + "gateway_ip": { + "type": "string" + }, + "vlan_id": { + "$ref": "#/components/schemas/VlanId" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VlanWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "MigrationVlanUpdationParams": { + "properties": { + "data": { + "properties": { + "extra_ip": { + "items": { + "$ref": "#/components/schemas/ExtraIp" + }, + "type": "array" + }, + "subnetmask": { + "type": "string" + }, + "gateway_ip": { + "type": "string" + }, + "vlan_id": { + "$ref": "#/components/schemas/VlanId" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VlanWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "DeleteVlan": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVlan_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVlan" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VlanDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VlanWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "VmFolder": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string" + }, + "vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vms": { + "items": { + "$ref": "#/components/schemas/NestedVm" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "cluster", + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VmFolder_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VmFolder" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmFolderCreationParams": { + "properties": { + "cluster_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "cluster_id", + "name" + ], + "type": "object" + }, + "VmFolderUpdationParams": { + "properties": { + "data": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmFolderWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteVmFolder": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVmFolder_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVmFolder" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmFolderDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VmFolderWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "VmPlacementGroup": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "local_updated_at": { + "type": "string" + }, + "name": { + "type": "string" + }, + "vm_host_must_enabled": { + "type": "boolean" + }, + "vm_host_must_host_uuids": { + "items": { + "$ref": "#/components/schemas/NestedHost" + }, + "type": "array", + "nullable": true + }, + "vm_host_must_policy": { + "type": "boolean" + }, + "vm_host_prefer_enabled": { + "type": "boolean" + }, + "vm_host_prefer_host_uuids": { + "items": { + "$ref": "#/components/schemas/NestedHost" + }, + "type": "array", + "nullable": true + }, + "vm_host_prefer_policy": { + "type": "boolean" + }, + "vm_vm_policy": { + "$ref": "#/components/schemas/VmVmPolicy" + }, + "vm_vm_policy_enabled": { + "type": "boolean" + }, + "vms": { + "items": { + "$ref": "#/components/schemas/NestedVm" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "cluster", + "description", + "enabled", + "id", + "local_created_at", + "local_id", + "local_updated_at", + "name", + "vm_host_must_enabled", + "vm_host_must_policy", + "vm_host_prefer_enabled", + "vm_host_prefer_policy", + "vm_vm_policy", + "vm_vm_policy_enabled" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VmPlacementGroup_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VmPlacementGroup" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmPlacementGroupCreationParams": { + "properties": { + "vm_vm_policy": { + "$ref": "#/components/schemas/VmVmPolicy" + }, + "vm_host_prefer_enabled": { + "type": "boolean" + }, + "vm_host_must_policy": { + "type": "boolean" + }, + "vm_host_must_enabled": { + "type": "boolean" + }, + "vm_host_prefer_policy": { + "type": "boolean" + }, + "vm_vm_policy_enabled": { + "type": "boolean" + }, + "vms": { + "$ref": "#/components/schemas/VmWhereInput" + }, + "prefer_hosts": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "must_hosts": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "name", + "enabled", + "cluster_id" + ], + "type": "object" + }, + "VmPlacementGroupUpdationParams": { + "properties": { + "data": { + "properties": { + "vm_vm_policy": { + "$ref": "#/components/schemas/VmVmPolicy" + }, + "vms": { + "$ref": "#/components/schemas/VmWhereInput" + }, + "prefer_hosts": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "must_hosts": { + "$ref": "#/components/schemas/HostWhereInput" + }, + "vm_host_prefer_enabled": { + "type": "boolean" + }, + "vm_host_must_policy": { + "type": "boolean" + }, + "vm_host_must_enabled": { + "type": "boolean" + }, + "vm_host_prefer_policy": { + "type": "boolean" + }, + "vm_vm_policy_enabled": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "enabled": { + "type": "boolean" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "DeleteVmPlacementGroup": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVmPlacementGroup_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVmPlacementGroup" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmPlacementGroupDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedSnapshotGroup": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedFrozenDisks": { + "properties": { + "boot": { + "type": "integer", + "format": "int32" + }, + "bus": { + "$ref": "#/components/schemas/Bus" + }, + "disabled": { + "type": "boolean", + "nullable": true + }, + "disk_name": { + "type": "string", + "nullable": true + }, + "elf_image_local_id": { + "type": "string" + }, + "image_name": { + "type": "string", + "nullable": true + }, + "index": { + "type": "integer", + "format": "int32" + }, + "key": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "path": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "snapshot_local_id": { + "type": "string", + "nullable": true + }, + "storage_policy_uuid": { + "type": "string" + }, + "svt_image_local_id": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/VmDiskType" + }, + "vm_volume_local_id": { + "type": "string" + }, + "vm_volume_snapshot_uuid": { + "type": "string", + "nullable": true + }, + "vm_volume_template_uuid": { + "type": "string", + "nullable": true + } + }, + "required": [ + "boot", + "bus", + "elf_image_local_id", + "index", + "path", + "size", + "storage_policy_uuid", + "svt_image_local_id", + "type", + "vm_volume_local_id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedFrozenNic": { + "properties": { + "enabled": { + "type": "boolean", + "nullable": true + }, + "gateway": { + "type": "string" + }, + "index": { + "type": "integer", + "format": "int32" + }, + "ip_address": { + "type": "string" + }, + "mac_address": { + "type": "string" + }, + "mirror": { + "type": "boolean", + "nullable": true + }, + "model": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicModel" + } + ], + "nullable": true + }, + "subnet_mask": { + "type": "string" + }, + "vlan": { + "$ref": "#/components/schemas/NestedFrozenVlan" + } + }, + "required": [ + "gateway", + "index", + "ip_address", + "mac_address", + "subnet_mask", + "vlan" + ], + "type": "object", + "additionalProperties": false + }, + "VmSnapshot": { + "properties": { + "clock_offset": { + "$ref": "#/components/schemas/VmClockOffset" + }, + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "consistent_type": { + "$ref": "#/components/schemas/ConsistentType" + }, + "cpu": { + "$ref": "#/components/schemas/NestedCpu" + }, + "cpu_model": { + "type": "string" + }, + "description": { + "type": "string" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "firmware": { + "$ref": "#/components/schemas/VmFirmware" + }, + "ha": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "io_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "snapshot_group": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedSnapshotGroup" + } + ], + "nullable": true + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVm" + } + ], + "nullable": true + }, + "vm_disks": { + "items": { + "$ref": "#/components/schemas/NestedFrozenDisks" + }, + "type": "array", + "nullable": true + }, + "vm_nics": { + "items": { + "$ref": "#/components/schemas/NestedFrozenNic" + }, + "type": "array", + "nullable": true + }, + "win_opt": { + "type": "boolean" + } + }, + "required": [ + "clock_offset", + "cluster", + "consistent_type", + "cpu", + "cpu_model", + "description", + "firmware", + "ha", + "id", + "local_id", + "memory", + "name", + "size", + "vcpu", + "win_opt" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VmSnapshot_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VmSnapshot" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmSnapshotCreationParamsData": { + "properties": { + "consistent_type": { + "$ref": "#/components/schemas/ConsistentType" + }, + "name": { + "type": "string" + }, + "vm_id": { + "type": "string" + } + }, + "required": [ + "name", + "vm_id" + ], + "type": "object" + }, + "VmSnapshotCreationParams": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/VmSnapshotCreationParamsData" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "DeleteVmSnapshot": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVmSnapshot_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVmSnapshot" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmSnapshotDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "NestedTemplateNic": { + "properties": { + "enabled": { + "type": "boolean", + "nullable": true + }, + "index": { + "type": "integer", + "format": "int32" + }, + "ip_address": { + "type": "string", + "nullable": true + }, + "mac_address": { + "type": "string", + "nullable": true + }, + "mirror": { + "type": "boolean", + "nullable": true + }, + "model": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicModel" + } + ], + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicType" + } + ], + "nullable": true + }, + "vlan": { + "$ref": "#/components/schemas/NestedFrozenVlan" + }, + "vpc_nic": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedTemplateVpcNic" + } + ], + "nullable": true + } + }, + "required": [ + "index", + "vlan" + ], + "type": "object", + "additionalProperties": false + }, + "VmTemplate": { + "properties": { + "clock_offset": { + "$ref": "#/components/schemas/VmClockOffset" + }, + "cloud_init_supported": { + "type": "boolean" + }, + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "content_library_vm_template": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedContentLibraryVmTemplate" + } + ], + "nullable": true + }, + "cpu": { + "$ref": "#/components/schemas/NestedCpu" + }, + "cpu_model": { + "type": "string" + }, + "description": { + "type": "string" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "firmware": { + "$ref": "#/components/schemas/VmFirmware" + }, + "ha": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "io_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoPolicy" + } + ], + "nullable": true + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "video_type": { + "type": "string", + "nullable": true + }, + "vm_disks": { + "items": { + "$ref": "#/components/schemas/NestedFrozenDisks" + }, + "type": "array", + "nullable": true + }, + "vm_nics": { + "items": { + "$ref": "#/components/schemas/NestedTemplateNic" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "clock_offset", + "cloud_init_supported", + "cluster", + "cpu", + "cpu_model", + "description", + "firmware", + "ha", + "id", + "local_id", + "memory", + "name", + "size", + "vcpu" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VmTemplate_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VmTemplate" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmTemplateCreationParams": { + "properties": { + "cluster_id": { + "type": "string" + }, + "cloud_init_supported": { + "type": "boolean" + }, + "vm_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "cloud_init_supported", + "vm_id", + "name" + ], + "type": "object" + }, + "VmTemplateUpdationParams": { + "properties": { + "data": { + "properties": { + "cloud_init_supported": { + "type": "boolean" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "DeleteVmTemplate": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVmTemplate_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVmTemplate" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmTemplateDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "VmVolumeSnapshot": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "createAt": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string" + }, + "elf_storage_policy": { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "shared_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "size": { + "type": "number", + "format": "double", + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/VmVolumeSnapshotType" + }, + "unique_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "vm_volume": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVmVolume" + } + ], + "nullable": true + }, + "volume_sharing": { + "type": "boolean", + "nullable": true + }, + "volume_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "zbs_snapshot_uuid": { + "type": "string", + "nullable": true + } + }, + "required": [ + "cluster", + "description", + "elf_storage_policy", + "id", + "local_created_at", + "local_id", + "name", + "type" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VmVolumeSnapshot_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VmVolumeSnapshot" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmVolumeSnapshotCreationParams": { + "properties": { + "volume_id": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "volume_id", + "description", + "name" + ], + "type": "object" + }, + "DeleteVmVolumeSnapshot": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVmVolumeSnapshot_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVmVolumeSnapshot" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmVolumeSnapshotDeletionParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VmVolumeSnapshotWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "VmVolume": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "description": { + "type": "string", + "nullable": true + }, + "elf_storage_policy": { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "guest_size_usage": { + "type": "number", + "format": "double", + "nullable": true + }, + "guest_used_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "id": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "lun": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedIscsiLun" + } + ], + "nullable": true + }, + "mounting": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "sharing": { + "type": "boolean" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeType" + } + ], + "nullable": true + }, + "unique_logical_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "vm_disks": { + "items": { + "$ref": "#/components/schemas/NestedVmDisk" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "cluster", + "elf_storage_policy", + "id", + "local_created_at", + "local_id", + "mounting", + "name", + "path", + "sharing", + "size" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VmVolume_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/VmVolume" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmVolumeCreationParams": { + "properties": { + "elf_storage_policy": { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + }, + "size_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "sharing": { + "type": "boolean" + }, + "cluster_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "elf_storage_policy", + "size", + "sharing", + "cluster_id", + "name" + ], + "type": "object" + }, + "DeleteVmVolume": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteVmVolume_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteVmVolume" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "VmVolumeDeletionParamsEffect": { + "properties": { + "include_snapshots": { + "type": "boolean" + } + }, + "type": "object" + }, + "VmVolumeDeletionParams": { + "properties": { + "effect": { + "$ref": "#/components/schemas/VmVolumeDeletionParamsEffect" + }, + "where": { + "$ref": "#/components/schemas/VmVolumeWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "VmVolumeRebuildParams": { + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "volume_snapshot_id": { + "type": "string" + } + }, + "required": [ + "name", + "description", + "volume_snapshot_id" + ], + "type": "object" + }, + "VmVolumeRollbackParams": { + "properties": { + "volume_snapshot_id": { + "type": "string" + } + }, + "required": [ + "volume_snapshot_id" + ], + "type": "object" + }, + "VmVolumeWhereUniqueInput": { + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "CloneVmVolumeParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VmVolumeWhereUniqueInput" + }, + "data": { + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "where", + "data" + ], + "type": "object" + }, + "UpdateVmVolumeParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/VmVolumeWhereInput" + }, + "data": { + "properties": { + "size_unit": { + "$ref": "#/components/schemas/ByteUnit" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "type": "object" + } + }, + "required": [ + "where", + "data" + ], + "type": "object" + }, + "VmVolumeExportFileType": { + "type": "string", + "enum": [ + "QCOW2", + "RAW" + ] + }, + "ExportVmVolumeParams": { + "properties": { + "data": { + "properties": { + "type": { + "$ref": "#/components/schemas/VmVolumeExportFileType" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "where": { + "$ref": "#/components/schemas/VmVolumeWhereInput" + } + }, + "required": [ + "data", + "where" + ], + "type": "object" + }, + "ImportVmVolumeParams": { + "properties": { + "upload_task_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "storage_policy": { + "$ref": "#/components/schemas/VmVolumeElfStoragePolicyType" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "upload_task_id", + "name", + "storage_policy", + "cluster_id" + ], + "type": "object" + }, + "VsphereEsxiAccount": { + "properties": { + "host": { + "$ref": "#/components/schemas/NestedHost" + }, + "id": { + "type": "string" + }, + "ip": { + "type": "string" + }, + "is_valid": { + "type": "boolean" + }, + "local_id": { + "type": "string" + }, + "port": { + "type": "integer", + "format": "int32" + }, + "username": { + "type": "string" + } + }, + "required": [ + "host", + "id", + "ip", + "is_valid", + "local_id", + "port", + "username" + ], + "type": "object", + "additionalProperties": false + }, + "WithTask_VsphereEsxiAccount-Array_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "items": { + "$ref": "#/components/schemas/VsphereEsxiAccount" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "UpdateVsphereEsxiAccountParamsData": { + "properties": { + "port": { + "type": "integer", + "format": "int32" + }, + "password": { + "type": "string" + }, + "username": { + "type": "string" + }, + "ip": { + "type": "string" + }, + "esxi_account_id": { + "type": "string" + } + }, + "required": [ + "username", + "ip", + "esxi_account_id" + ], + "type": "object" + }, + "UpdateVsphereEsxiAccountParams": { + "properties": { + "data": { + "items": { + "$ref": "#/components/schemas/UpdateVsphereEsxiAccountParamsData" + }, + "type": "array" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "NotifierLanguageCode": { + "enum": [ + "EN_US", + "ZH_CN" + ], + "type": "string" + }, + "NotifierSecurityMode": { + "enum": [ + "SSL", + "STARTTLS", + "UNSPECIFIED" + ], + "type": "string" + }, + "NestedSmtpServer": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "AlertNotifier": { + "properties": { + "clusters": { + "items": { + "$ref": "#/components/schemas/NestedCluster" + }, + "type": "array", + "nullable": true + }, + "disabled": { + "type": "boolean" + }, + "email_from": { + "type": "string", + "nullable": true + }, + "email_tos": { + "items": { + "type": "string" + }, + "type": "array" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "language_code": { + "allOf": [ + { + "$ref": "#/components/schemas/NotifierLanguageCode" + } + ], + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "notice_severities": { + "items": { + "type": "string" + }, + "type": "array" + }, + "security_mode": { + "allOf": [ + { + "$ref": "#/components/schemas/NotifierSecurityMode" + } + ], + "nullable": true + }, + "smtp_server_config": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedSmtpServer" + } + ], + "nullable": true + }, + "smtp_server_host": { + "type": "string", + "nullable": true + }, + "smtp_server_port": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "username": { + "type": "string", + "nullable": true + } + }, + "required": [ + "disabled", + "email_tos", + "id", + "notice_severities" + ], + "type": "object", + "additionalProperties": false + }, + "AlertNotifierOrderByInput": { + "enum": [ + "disabled_ASC", + "disabled_DESC", + "email_from_ASC", + "email_from_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "language_code_ASC", + "language_code_DESC", + "name_ASC", + "name_DESC", + "security_mode_ASC", + "security_mode_DESC", + "smtp_server_host_ASC", + "smtp_server_host_DESC", + "smtp_server_port_ASC", + "smtp_server_port_DESC", + "username_ASC", + "username_DESC" + ], + "type": "string" + }, + "AlertNotifierWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/AlertNotifierWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/AlertNotifierWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/AlertNotifierWhereInput" + }, + "type": "array", + "nullable": true + }, + "clusters_every": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "clusters_none": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "clusters_some": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "disabled": { + "type": "boolean", + "nullable": true + }, + "disabled_not": { + "type": "boolean", + "nullable": true + }, + "email_from": { + "type": "string", + "nullable": true + }, + "email_from_contains": { + "type": "string", + "nullable": true + }, + "email_from_ends_with": { + "type": "string", + "nullable": true + }, + "email_from_gt": { + "type": "string", + "nullable": true + }, + "email_from_gte": { + "type": "string", + "nullable": true + }, + "email_from_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "email_from_lt": { + "type": "string", + "nullable": true + }, + "email_from_lte": { + "type": "string", + "nullable": true + }, + "email_from_not": { + "type": "string", + "nullable": true + }, + "email_from_not_contains": { + "type": "string", + "nullable": true + }, + "email_from_not_ends_with": { + "type": "string", + "nullable": true + }, + "email_from_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "email_from_not_starts_with": { + "type": "string", + "nullable": true + }, + "email_from_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "language_code": { + "allOf": [ + { + "$ref": "#/components/schemas/NotifierLanguageCode" + } + ], + "nullable": true + }, + "language_code_in": { + "items": { + "$ref": "#/components/schemas/NotifierLanguageCode" + }, + "type": "array", + "nullable": true + }, + "language_code_not": { + "allOf": [ + { + "$ref": "#/components/schemas/NotifierLanguageCode" + } + ], + "nullable": true + }, + "language_code_not_in": { + "items": { + "$ref": "#/components/schemas/NotifierLanguageCode" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "security_mode": { + "allOf": [ + { + "$ref": "#/components/schemas/NotifierSecurityMode" + } + ], + "nullable": true + }, + "security_mode_in": { + "items": { + "$ref": "#/components/schemas/NotifierSecurityMode" + }, + "type": "array", + "nullable": true + }, + "security_mode_not": { + "allOf": [ + { + "$ref": "#/components/schemas/NotifierSecurityMode" + } + ], + "nullable": true + }, + "security_mode_not_in": { + "items": { + "$ref": "#/components/schemas/NotifierSecurityMode" + }, + "type": "array", + "nullable": true + }, + "smtp_server_config": { + "allOf": [ + { + "$ref": "#/components/schemas/SmtpServerWhereInput" + } + ], + "nullable": true + }, + "smtp_server_host": { + "type": "string", + "nullable": true + }, + "smtp_server_host_contains": { + "type": "string", + "nullable": true + }, + "smtp_server_host_ends_with": { + "type": "string", + "nullable": true + }, + "smtp_server_host_gt": { + "type": "string", + "nullable": true + }, + "smtp_server_host_gte": { + "type": "string", + "nullable": true + }, + "smtp_server_host_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "smtp_server_host_lt": { + "type": "string", + "nullable": true + }, + "smtp_server_host_lte": { + "type": "string", + "nullable": true + }, + "smtp_server_host_not": { + "type": "string", + "nullable": true + }, + "smtp_server_host_not_contains": { + "type": "string", + "nullable": true + }, + "smtp_server_host_not_ends_with": { + "type": "string", + "nullable": true + }, + "smtp_server_host_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "smtp_server_host_not_starts_with": { + "type": "string", + "nullable": true + }, + "smtp_server_host_starts_with": { + "type": "string", + "nullable": true + }, + "smtp_server_port": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "smtp_server_port_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "smtp_server_port_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "smtp_server_port_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "smtp_server_port_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "smtp_server_port_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "smtp_server_port_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "smtp_server_port_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "username": { + "type": "string", + "nullable": true + }, + "username_contains": { + "type": "string", + "nullable": true + }, + "username_ends_with": { + "type": "string", + "nullable": true + }, + "username_gt": { + "type": "string", + "nullable": true + }, + "username_gte": { + "type": "string", + "nullable": true + }, + "username_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_lt": { + "type": "string", + "nullable": true + }, + "username_lte": { + "type": "string", + "nullable": true + }, + "username_not": { + "type": "string", + "nullable": true + }, + "username_not_contains": { + "type": "string", + "nullable": true + }, + "username_not_ends_with": { + "type": "string", + "nullable": true + }, + "username_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_not_starts_with": { + "type": "string", + "nullable": true + }, + "username_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SmtpServerWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/SmtpServerWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/SmtpServerWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/SmtpServerWhereInput" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "host": { + "type": "string", + "nullable": true + }, + "host_contains": { + "type": "string", + "nullable": true + }, + "host_ends_with": { + "type": "string", + "nullable": true + }, + "host_gt": { + "type": "string", + "nullable": true + }, + "host_gte": { + "type": "string", + "nullable": true + }, + "host_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "host_lt": { + "type": "string", + "nullable": true + }, + "host_lte": { + "type": "string", + "nullable": true + }, + "host_not": { + "type": "string", + "nullable": true + }, + "host_not_contains": { + "type": "string", + "nullable": true + }, + "host_not_ends_with": { + "type": "string", + "nullable": true + }, + "host_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "host_not_starts_with": { + "type": "string", + "nullable": true + }, + "host_starts_with": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "is_record_password": { + "type": "boolean", + "nullable": true + }, + "is_record_password_not": { + "type": "boolean", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "password": { + "type": "string", + "nullable": true + }, + "password_contains": { + "type": "string", + "nullable": true + }, + "password_ends_with": { + "type": "string", + "nullable": true + }, + "password_gt": { + "type": "string", + "nullable": true + }, + "password_gte": { + "type": "string", + "nullable": true + }, + "password_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "password_lt": { + "type": "string", + "nullable": true + }, + "password_lte": { + "type": "string", + "nullable": true + }, + "password_not": { + "type": "string", + "nullable": true + }, + "password_not_contains": { + "type": "string", + "nullable": true + }, + "password_not_ends_with": { + "type": "string", + "nullable": true + }, + "password_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "password_not_starts_with": { + "type": "string", + "nullable": true + }, + "password_starts_with": { + "type": "string", + "nullable": true + }, + "port": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "port_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "port_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "secure_mode": { + "allOf": [ + { + "$ref": "#/components/schemas/SmtpSecureMode" + } + ], + "nullable": true + }, + "secure_mode_in": { + "items": { + "$ref": "#/components/schemas/SmtpSecureMode" + }, + "type": "array", + "nullable": true + }, + "secure_mode_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SmtpSecureMode" + } + ], + "nullable": true + }, + "secure_mode_not_in": { + "items": { + "$ref": "#/components/schemas/SmtpSecureMode" + }, + "type": "array", + "nullable": true + }, + "username": { + "type": "string", + "nullable": true + }, + "username_contains": { + "type": "string", + "nullable": true + }, + "username_ends_with": { + "type": "string", + "nullable": true + }, + "username_gt": { + "type": "string", + "nullable": true + }, + "username_gte": { + "type": "string", + "nullable": true + }, + "username_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_lt": { + "type": "string", + "nullable": true + }, + "username_lte": { + "type": "string", + "nullable": true + }, + "username_not": { + "type": "string", + "nullable": true + }, + "username_not_contains": { + "type": "string", + "nullable": true + }, + "username_not_ends_with": { + "type": "string", + "nullable": true + }, + "username_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "username_not_starts_with": { + "type": "string", + "nullable": true + }, + "username_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SmtpSecureMode": { + "enum": [ + "SSL", + "STARTTLS", + "UNSPECIFIED" + ], + "type": "string" + }, + "GetAlertNotifiersRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertNotifierOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertNotifierWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateAlertNotifier": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "AlertNotifierConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateAlertNotifier" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetAlertNotifiersConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertNotifierOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertNotifierWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedGlobalAlertRule": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "AlertRule": { + "properties": { + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedCluster" + } + ], + "nullable": true + }, + "customized": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "global_alert_rule": { + "$ref": "#/components/schemas/NestedGlobalAlertRule" + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "thresholds": { + "items": { + "$ref": "#/components/schemas/NestedThresholds" + }, + "type": "array" + } + }, + "required": [ + "customized", + "disabled", + "global_alert_rule", + "id", + "local_id", + "thresholds" + ], + "type": "object", + "additionalProperties": false + }, + "AlertRuleOrderByInput": { + "enum": [ + "customized_ASC", + "customized_DESC", + "disabled_ASC", + "disabled_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "thresholds_ASC", + "thresholds_DESC" + ], + "type": "string" + }, + "GetAlertRulesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertRuleOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertRuleWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateAlertRule": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "AlertRuleConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateAlertRule" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetAlertRulesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertRuleOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertRuleWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateAlert": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "AlertConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateAlert" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetAlertsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/AlertWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "Application": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "error_message": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "image_name": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "state": { + "$ref": "#/components/schemas/ApplicationState" + }, + "storage_ip": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/ApplicationType" + }, + "update_time": { + "type": "string", + "nullable": true + }, + "vcpu": { + "type": "integer", + "format": "int32" + }, + "version": { + "type": "string" + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVm" + } + ], + "nullable": true + }, + "volume_size": { + "type": "integer", + "format": "int64" + } + }, + "required": [ + "cluster", + "id", + "local_id", + "memory", + "state", + "storage_ip", + "type", + "vcpu", + "version", + "volume_size" + ], + "type": "object", + "additionalProperties": false + }, + "ApplicationOrderByInput": { + "enum": [ + "error_message_ASC", + "error_message_DESC", + "id_ASC", + "id_DESC", + "image_name_ASC", + "image_name_DESC", + "local_id_ASC", + "local_id_DESC", + "memory_ASC", + "memory_DESC", + "state_ASC", + "state_DESC", + "storage_ip_ASC", + "storage_ip_DESC", + "type_ASC", + "type_DESC", + "update_time_ASC", + "update_time_DESC", + "vcpu_ASC", + "vcpu_DESC", + "version_ASC", + "version_DESC", + "volume_size_ASC", + "volume_size_DESC" + ], + "type": "string" + }, + "GetApplicationsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ApplicationOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ApplicationWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateApplication": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ApplicationConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateApplication" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetApplicationsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ApplicationOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ApplicationWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "BackupPlanExecutionOrderByInput": { + "enum": [ + "deletable_flag_marked_ASC", + "deletable_flag_marked_DESC", + "duration_ASC", + "duration_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "executed_at_ASC", + "executed_at_DESC", + "id_ASC", + "id_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "method_ASC", + "method_DESC", + "state_ASC", + "state_DESC", + "status_ASC", + "status_DESC", + "success_job_count_ASC", + "success_job_count_DESC", + "total_job_count_ASC", + "total_job_count_DESC", + "type_ASC", + "type_DESC" + ], + "type": "string" + }, + "GetBackupPlanExecutionsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateBackupPlanExecution": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "BackupPlanExecutionConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateBackupPlanExecution" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetBackupPlanExecutionsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanExecutionWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "BackupPlanOrderByInput": { + "enum": [ + "backup_delay_option_ASC", + "backup_delay_option_DESC", + "backup_restore_point_count_ASC", + "backup_restore_point_count_DESC", + "backup_total_size_ASC", + "backup_total_size_DESC", + "compression_ASC", + "compression_DESC", + "compression_ratio_ASC", + "compression_ratio_DESC", + "createdAt_ASC", + "createdAt_DESC", + "delete_strategy_ASC", + "delete_strategy_DESC", + "description_ASC", + "description_DESC", + "enable_window_ASC", + "enable_window_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "full_interval_ASC", + "full_interval_DESC", + "full_period_ASC", + "full_period_DESC", + "full_time_point_ASC", + "full_time_point_DESC", + "id_ASC", + "id_DESC", + "incremental_interval_ASC", + "incremental_interval_DESC", + "incremental_period_ASC", + "incremental_period_DESC", + "incremental_time_points_ASC", + "incremental_time_points_DESC", + "keep_policy_ASC", + "keep_policy_DESC", + "keep_policy_value_ASC", + "keep_policy_value_DESC", + "last_execute_status_ASC", + "last_execute_status_DESC", + "last_execute_status_message_ASC", + "last_execute_status_message_DESC", + "last_execute_success_job_count_ASC", + "last_execute_success_job_count_DESC", + "last_execute_total_job_count_ASC", + "last_execute_total_job_count_DESC", + "last_executed_at_ASC", + "last_executed_at_DESC", + "last_manual_execute_status_ASC", + "last_manual_execute_status_DESC", + "last_manual_execute_status_message_ASC", + "last_manual_execute_status_message_DESC", + "last_manual_execute_success_job_count_ASC", + "last_manual_execute_success_job_count_DESC", + "last_manual_execute_total_job_count_ASC", + "last_manual_execute_total_job_count_DESC", + "last_manual_executed_at_ASC", + "last_manual_executed_at_DESC", + "logical_size_ASC", + "logical_size_DESC", + "name_ASC", + "name_DESC", + "next_execute_time_ASC", + "next_execute_time_DESC", + "phase_ASC", + "phase_DESC", + "physical_size_ASC", + "physical_size_DESC", + "snapshot_consistent_type_ASC", + "snapshot_consistent_type_DESC", + "status_ASC", + "status_DESC", + "valid_size_of_backup_object_ASC", + "valid_size_of_backup_object_DESC", + "valid_size_of_restore_point_ASC", + "valid_size_of_restore_point_DESC", + "window_end_ASC", + "window_end_DESC", + "window_start_ASC", + "window_start_DESC" + ], + "type": "string" + }, + "GetBackupPlansRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateBackupPlan": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "BackupPlanConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateBackupPlan" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetBackupPlansConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupPlanWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "BackupRestoreExecutionOrderByInput": { + "enum": [ + "duration_ASC", + "duration_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "executed_at_ASC", + "executed_at_DESC", + "id_ASC", + "id_DESC", + "mode_ASC", + "mode_DESC", + "name_ASC", + "name_DESC", + "read_bytes_ASC", + "read_bytes_DESC", + "rebuild_name_ASC", + "rebuild_name_DESC", + "rebuild_network_mapping_ASC", + "rebuild_network_mapping_DESC", + "rebuild_target_cluster_ASC", + "rebuild_target_cluster_DESC", + "retry_times_ASC", + "retry_times_DESC", + "startup_after_restore_ASC", + "startup_after_restore_DESC", + "status_ASC", + "status_DESC", + "total_bytes_ASC", + "total_bytes_DESC" + ], + "type": "string" + }, + "GetBackupRestoreExecutionsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestoreExecutionOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestoreExecutionWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateBackupRestoreExecution": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "BackupRestoreExecutionConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateBackupRestoreExecution" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetBackupRestoreExecutionsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestoreExecutionOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestoreExecutionWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedBackupRestoreExecution": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedBackupTargetExecution": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "BackupRestorePoint": { + "properties": { + "backup_plan": { + "$ref": "#/components/schemas/NestedBackupPlan" + }, + "backup_restore_executions": { + "items": { + "$ref": "#/components/schemas/NestedBackupRestoreExecution" + }, + "type": "array", + "nullable": true + }, + "backup_target_execution": { + "$ref": "#/components/schemas/NestedBackupTargetExecution" + }, + "cluster_local_id": { + "type": "string", + "nullable": true + }, + "compressed": { + "type": "boolean", + "nullable": true + }, + "compression_ratio": { + "type": "number", + "format": "double", + "nullable": true + }, + "creation": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointCreation" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "logical_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "parent_restore_point": { + "type": "string", + "nullable": true + }, + "physical_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "slice": { + "type": "string" + }, + "snapshot_consistent_type": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistentType" + } + ], + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointType" + } + ], + "nullable": true + }, + "valid_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVm" + } + ], + "nullable": true + }, + "vm_local_id": { + "type": "string", + "nullable": true + }, + "vm_name": { + "type": "string", + "nullable": true + } + }, + "required": [ + "backup_plan", + "backup_target_execution", + "id", + "local_id", + "slice" + ], + "type": "object", + "additionalProperties": false + }, + "BackupRestorePointOrderByInput": { + "enum": [ + "cluster_local_id_ASC", + "cluster_local_id_DESC", + "compressed_ASC", + "compressed_DESC", + "compression_ratio_ASC", + "compression_ratio_DESC", + "creation_ASC", + "creation_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "logical_size_ASC", + "logical_size_DESC", + "parent_restore_point_ASC", + "parent_restore_point_DESC", + "physical_size_ASC", + "physical_size_DESC", + "size_ASC", + "size_DESC", + "slice_ASC", + "slice_DESC", + "snapshot_consistent_type_ASC", + "snapshot_consistent_type_DESC", + "type_ASC", + "type_DESC", + "valid_capacity_ASC", + "valid_capacity_DESC", + "valid_size_ASC", + "valid_size_DESC", + "vm_local_id_ASC", + "vm_local_id_DESC", + "vm_name_ASC", + "vm_name_DESC" + ], + "type": "string" + }, + "GetBackupRestorePointsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateBackupRestorePoint": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "BackupRestorePointConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateBackupRestorePoint" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetBackupRestorePointsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupRestorePointWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedCloudTowerApplication": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "BackupServiceNetworkStatusEnum": { + "enum": [ + "CONNECTED", + "DISCONNECTED" + ], + "type": "string" + }, + "NestedBackupServiceNetworkStatus": { + "properties": { + "cluster": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/BackupServiceNetworkStatusEnum" + } + }, + "required": [ + "cluster", + "status" + ], + "type": "object", + "additionalProperties": false + }, + "BackupService": { + "properties": { + "application": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedCloudTowerApplication" + } + ], + "nullable": true + }, + "backup_clusters": { + "items": { + "$ref": "#/components/schemas/NestedCluster" + }, + "type": "array", + "nullable": true + }, + "backup_network_gateway": { + "type": "string", + "nullable": true + }, + "backup_network_ip": { + "type": "string", + "nullable": true + }, + "backup_network_subnet_mask": { + "type": "string", + "nullable": true + }, + "backup_network_type": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceNetworkType" + } + ], + "nullable": true + }, + "backup_network_vlan": { + "type": "string", + "nullable": true + }, + "backup_plans": { + "items": { + "$ref": "#/components/schemas/NestedBackupPlan" + }, + "type": "array", + "nullable": true + }, + "backup_rd_iops_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "backup_store_repositories": { + "items": { + "$ref": "#/components/schemas/NestedBackupStoreRepository" + }, + "type": "array", + "nullable": true + }, + "backup_wr_iops_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "kube_config": { + "type": "string" + }, + "management_network_gateway": { + "type": "string", + "nullable": true + }, + "management_network_ip": { + "type": "string", + "nullable": true + }, + "management_network_subnet_mask": { + "type": "string", + "nullable": true + }, + "management_network_vlan": { + "type": "string", + "nullable": true + }, + "max_job_retry_times": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_parallel_backup_jobs": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_parallel_restore_jobs": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "name": { + "type": "string" + }, + "network_status": { + "items": { + "$ref": "#/components/schemas/NestedBackupServiceNetworkStatus" + }, + "type": "array", + "nullable": true + }, + "restore_rd_iops_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "restore_wr_iops_max": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "retry_interval": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "running_vm": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVm" + } + ], + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceStatus" + } + ], + "nullable": true + }, + "storage_network_gateway": { + "type": "string", + "nullable": true + }, + "storage_network_ip": { + "type": "string", + "nullable": true + }, + "storage_network_subnet_mask": { + "type": "string", + "nullable": true + }, + "storage_network_type": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceNetworkType" + } + ], + "nullable": true + }, + "storage_network_vlan": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "kube_config", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "BackupServiceOrderByInput": { + "enum": [ + "backup_network_gateway_ASC", + "backup_network_gateway_DESC", + "backup_network_ip_ASC", + "backup_network_ip_DESC", + "backup_network_subnet_mask_ASC", + "backup_network_subnet_mask_DESC", + "backup_network_type_ASC", + "backup_network_type_DESC", + "backup_network_vlan_ASC", + "backup_network_vlan_DESC", + "backup_rd_iops_max_ASC", + "backup_rd_iops_max_DESC", + "backup_wr_iops_max_ASC", + "backup_wr_iops_max_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "kube_config_ASC", + "kube_config_DESC", + "management_network_gateway_ASC", + "management_network_gateway_DESC", + "management_network_ip_ASC", + "management_network_ip_DESC", + "management_network_subnet_mask_ASC", + "management_network_subnet_mask_DESC", + "management_network_vlan_ASC", + "management_network_vlan_DESC", + "max_job_retry_times_ASC", + "max_job_retry_times_DESC", + "max_parallel_backup_jobs_ASC", + "max_parallel_backup_jobs_DESC", + "max_parallel_restore_jobs_ASC", + "max_parallel_restore_jobs_DESC", + "name_ASC", + "name_DESC", + "network_status_ASC", + "network_status_DESC", + "restore_rd_iops_max_ASC", + "restore_rd_iops_max_DESC", + "restore_wr_iops_max_ASC", + "restore_wr_iops_max_DESC", + "retry_interval_ASC", + "retry_interval_DESC", + "status_ASC", + "status_DESC", + "storage_network_gateway_ASC", + "storage_network_gateway_DESC", + "storage_network_ip_ASC", + "storage_network_ip_DESC", + "storage_network_subnet_mask_ASC", + "storage_network_subnet_mask_DESC", + "storage_network_type_ASC", + "storage_network_type_DESC", + "storage_network_vlan_ASC", + "storage_network_vlan_DESC" + ], + "type": "string" + }, + "GetBackupServicesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateBackupService": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "BackupServiceConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateBackupService" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetBackupServicesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupServiceWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "BackupStoreRepository": { + "properties": { + "backup_plans": { + "items": { + "$ref": "#/components/schemas/NestedBackupPlan" + }, + "type": "array", + "nullable": true + }, + "backup_restore_points": { + "items": { + "$ref": "#/components/schemas/NestedBackupRestorePoint" + }, + "type": "array", + "nullable": true + }, + "backup_service": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedBackupService" + } + ], + "nullable": true + }, + "createdAt": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "error_code": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "iscsi_chap_name": { + "type": "string", + "nullable": true + }, + "iscsi_chap_secret": { + "type": "string", + "nullable": true + }, + "iscsi_ip": { + "type": "string", + "nullable": true + }, + "iscsi_lun_id": { + "type": "string", + "nullable": true + }, + "iscsi_port": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "iscsi_target_iqn": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string" + }, + "nfs_path": { + "type": "string", + "nullable": true + }, + "nfs_server": { + "type": "string", + "nullable": true + }, + "status": { + "$ref": "#/components/schemas/BackupStoreStatus" + }, + "total_capacity": { + "type": "integer", + "format": "int64" + }, + "type": { + "$ref": "#/components/schemas/BackupStoreType" + }, + "update_timestamp": { + "type": "string", + "nullable": true + }, + "used_data_space": { + "type": "integer", + "format": "int64" + }, + "used_data_space_usage": { + "type": "number", + "format": "double", + "nullable": true + }, + "valid_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + } + }, + "required": [ + "createdAt", + "id", + "name", + "status", + "total_capacity", + "type", + "used_data_space" + ], + "type": "object", + "additionalProperties": false + }, + "BackupStoreRepositoryOrderByInput": { + "enum": [ + "createdAt_ASC", + "createdAt_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "error_code_ASC", + "error_code_DESC", + "id_ASC", + "id_DESC", + "iscsi_chap_name_ASC", + "iscsi_chap_name_DESC", + "iscsi_chap_secret_ASC", + "iscsi_chap_secret_DESC", + "iscsi_ip_ASC", + "iscsi_ip_DESC", + "iscsi_lun_id_ASC", + "iscsi_lun_id_DESC", + "iscsi_port_ASC", + "iscsi_port_DESC", + "iscsi_target_iqn_ASC", + "iscsi_target_iqn_DESC", + "name_ASC", + "name_DESC", + "nfs_path_ASC", + "nfs_path_DESC", + "nfs_server_ASC", + "nfs_server_DESC", + "status_ASC", + "status_DESC", + "total_capacity_ASC", + "total_capacity_DESC", + "type_ASC", + "type_DESC", + "update_timestamp_ASC", + "update_timestamp_DESC", + "used_data_space_ASC", + "used_data_space_DESC", + "used_data_space_usage_ASC", + "used_data_space_usage_DESC", + "valid_data_space_ASC", + "valid_data_space_DESC" + ], + "type": "string" + }, + "GetBackupStoreRepositoriesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupStoreRepositoryOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupStoreRepositoryWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateBackupStoreRepository": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "BackupStoreRepositoryConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateBackupStoreRepository" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetBackupStoreRepositoriesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupStoreRepositoryOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupStoreRepositoryWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "BackupTargetExecution": { + "properties": { + "backup_group": { + "type": "string" + }, + "backup_plan_execution": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedBackupPlanExecution" + } + ], + "nullable": true + }, + "backup_restore_point": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedBackupRestorePoint" + } + ], + "nullable": true + }, + "cluster_local_id": { + "type": "string", + "nullable": true + }, + "duration": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "executed_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "parent_backup": { + "type": "string" + }, + "read_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "retry_times": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupExecutionStatus" + } + ], + "nullable": true + }, + "total_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/BackupExecutionType" + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVm" + } + ], + "nullable": true + }, + "vm_local_id": { + "type": "string", + "nullable": true + }, + "vm_name": { + "type": "string", + "nullable": true + } + }, + "required": [ + "backup_group", + "executed_at", + "id", + "local_id", + "parent_backup", + "type" + ], + "type": "object", + "additionalProperties": false + }, + "BackupTargetExecutionOrderByInput": { + "enum": [ + "backup_group_ASC", + "backup_group_DESC", + "cluster_local_id_ASC", + "cluster_local_id_DESC", + "duration_ASC", + "duration_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "executed_at_ASC", + "executed_at_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "parent_backup_ASC", + "parent_backup_DESC", + "read_bytes_ASC", + "read_bytes_DESC", + "retry_times_ASC", + "retry_times_DESC", + "status_ASC", + "status_DESC", + "total_bytes_ASC", + "total_bytes_DESC", + "type_ASC", + "type_DESC", + "vm_local_id_ASC", + "vm_local_id_DESC", + "vm_name_ASC", + "vm_name_DESC" + ], + "type": "string" + }, + "GetBackupTargetExecutionsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupTargetExecutionOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupTargetExecutionWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateBackupTargetExecution": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "BackupTargetExecutionConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateBackupTargetExecution" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetBackupTargetExecutionsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupTargetExecutionOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BackupTargetExecutionWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "BrickTopoOrderByInput": { + "enum": [ + "capacity_ASC", + "capacity_DESC", + "disk_layout_ASC", + "disk_layout_DESC", + "height_ASC", + "height_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "model_ASC", + "model_DESC", + "name_ASC", + "name_DESC", + "position_ASC", + "position_DESC", + "power_layout_ASC", + "power_layout_DESC", + "power_position_ASC", + "power_position_DESC", + "powers_ASC", + "powers_DESC", + "tag_position_in_brick_ASC", + "tag_position_in_brick_DESC" + ], + "type": "string" + }, + "GetBrickTopoesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BrickTopoOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BrickTopoWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateBrickTopo": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "BrickTopoConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateBrickTopo" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetBrickTopoesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/BrickTopoOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/BrickTopoWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "CloudTowerApplicationPackage": { + "properties": { + "applications": { + "items": { + "$ref": "#/components/schemas/NestedCloudTowerApplication" + }, + "type": "array", + "nullable": true + }, + "architecture": { + "$ref": "#/components/schemas/Architecture" + }, + "containers": { + "properties": {}, + "type": "object" + }, + "id": { + "type": "string" + }, + "images": { + "properties": {}, + "type": "object" + }, + "name": { + "type": "string" + }, + "scosVersion": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "architecture", + "containers", + "id", + "images", + "name", + "scosVersion", + "version" + ], + "type": "object", + "additionalProperties": false + }, + "CloudTowerApplicationPackageOrderByInput": { + "enum": [ + "architecture_ASC", + "architecture_DESC", + "containers_ASC", + "containers_DESC", + "id_ASC", + "id_DESC", + "images_ASC", + "images_DESC", + "name_ASC", + "name_DESC", + "scosVersion_ASC", + "scosVersion_DESC", + "version_ASC", + "version_DESC" + ], + "type": "string" + }, + "GetCloudTowerApplicationPackagesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationPackageOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationPackageWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateCloudTowerApplicationPackage": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "CloudTowerApplicationPackageConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateCloudTowerApplicationPackage" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetCloudTowerApplicationPackagesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationPackageOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationPackageWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "CloudTowerApplicationOrderByInput": { + "enum": [ + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "instanceStatuses_ASC", + "instanceStatuses_DESC", + "name_ASC", + "name_DESC", + "placementSituation_ASC", + "placementSituation_DESC", + "placementVerb_ASC", + "placementVerb_DESC", + "resourceVersion_ASC", + "resourceVersion_DESC", + "state_ASC", + "state_DESC", + "targetPackage_ASC", + "targetPackage_DESC", + "vmSpec_ASC", + "vmSpec_DESC" + ], + "type": "string" + }, + "GetCloudTowerApplicationsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateCloudTowerApplication": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "CloudTowerApplicationConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateCloudTowerApplication" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetCloudTowerApplicationsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/CloudTowerApplicationWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ClusterImage": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string", + "nullable": true + }, + "meta_name": { + "type": "string" + }, + "meta_size": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "upgrade_from": { + "items": { + "type": "string" + }, + "type": "array" + }, + "upgrade_tool_version": { + "type": "string", + "nullable": true + }, + "version": { + "type": "string" + }, + "zbs_version": { + "type": "string", + "nullable": true + } + }, + "required": [ + "cluster", + "id", + "meta_name", + "meta_size", + "name", + "size", + "upgrade_from", + "version" + ], + "type": "object", + "additionalProperties": false + }, + "ClusterImageOrderByInput": { + "enum": [ + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "meta_name_ASC", + "meta_name_DESC", + "meta_size_ASC", + "meta_size_DESC", + "name_ASC", + "name_DESC", + "size_ASC", + "size_DESC", + "upgrade_tool_version_ASC", + "upgrade_tool_version_DESC", + "version_ASC", + "version_DESC", + "zbs_version_ASC", + "zbs_version_DESC" + ], + "type": "string" + }, + "ClusterImageWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ClusterImageWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ClusterImageWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ClusterImageWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "meta_name": { + "type": "string", + "nullable": true + }, + "meta_name_contains": { + "type": "string", + "nullable": true + }, + "meta_name_ends_with": { + "type": "string", + "nullable": true + }, + "meta_name_gt": { + "type": "string", + "nullable": true + }, + "meta_name_gte": { + "type": "string", + "nullable": true + }, + "meta_name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "meta_name_lt": { + "type": "string", + "nullable": true + }, + "meta_name_lte": { + "type": "string", + "nullable": true + }, + "meta_name_not": { + "type": "string", + "nullable": true + }, + "meta_name_not_contains": { + "type": "string", + "nullable": true + }, + "meta_name_not_ends_with": { + "type": "string", + "nullable": true + }, + "meta_name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "meta_name_not_starts_with": { + "type": "string", + "nullable": true + }, + "meta_name_starts_with": { + "type": "string", + "nullable": true + }, + "meta_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "meta_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "meta_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "meta_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "meta_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "meta_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "meta_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "meta_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "upgrade_tool_version": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_contains": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_ends_with": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_gt": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_gte": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "upgrade_tool_version_lt": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_lte": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_not": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_not_contains": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_not_ends_with": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "upgrade_tool_version_not_starts_with": { + "type": "string", + "nullable": true + }, + "upgrade_tool_version_starts_with": { + "type": "string", + "nullable": true + }, + "version": { + "type": "string", + "nullable": true + }, + "version_contains": { + "type": "string", + "nullable": true + }, + "version_ends_with": { + "type": "string", + "nullable": true + }, + "version_gt": { + "type": "string", + "nullable": true + }, + "version_gte": { + "type": "string", + "nullable": true + }, + "version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_lt": { + "type": "string", + "nullable": true + }, + "version_lte": { + "type": "string", + "nullable": true + }, + "version_not": { + "type": "string", + "nullable": true + }, + "version_not_contains": { + "type": "string", + "nullable": true + }, + "version_not_ends_with": { + "type": "string", + "nullable": true + }, + "version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_not_starts_with": { + "type": "string", + "nullable": true + }, + "version_semantic_gt": { + "type": "string", + "nullable": true + }, + "version_semantic_gte": { + "type": "string", + "nullable": true + }, + "version_semantic_lt": { + "type": "string", + "nullable": true + }, + "version_semantic_lte": { + "type": "string", + "nullable": true + }, + "version_starts_with": { + "type": "string", + "nullable": true + }, + "zbs_version": { + "type": "string", + "nullable": true + }, + "zbs_version_contains": { + "type": "string", + "nullable": true + }, + "zbs_version_ends_with": { + "type": "string", + "nullable": true + }, + "zbs_version_gt": { + "type": "string", + "nullable": true + }, + "zbs_version_gte": { + "type": "string", + "nullable": true + }, + "zbs_version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "zbs_version_lt": { + "type": "string", + "nullable": true + }, + "zbs_version_lte": { + "type": "string", + "nullable": true + }, + "zbs_version_not": { + "type": "string", + "nullable": true + }, + "zbs_version_not_contains": { + "type": "string", + "nullable": true + }, + "zbs_version_not_ends_with": { + "type": "string", + "nullable": true + }, + "zbs_version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "zbs_version_not_starts_with": { + "type": "string", + "nullable": true + }, + "zbs_version_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetClusterImagesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterImageOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterImageWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateClusterImage": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ClusterImageConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateClusterImage" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetClusterImagesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterImageOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterImageWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ClusterSettingsOrderByInput": { + "enum": [ + "default_ha_ASC", + "default_ha_DESC", + "default_storage_policy_ASC", + "default_storage_policy_DESC", + "enabled_iscsi_ASC", + "enabled_iscsi_DESC", + "id_ASC", + "id_DESC", + "vm_recycle_bin_ASC", + "vm_recycle_bin_DESC" + ], + "type": "string" + }, + "GetClusterSettingsesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterSettingsOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterSettingsWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateClusterSettings": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ClusterSettingsConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateClusterSettings" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetClusterSettingsesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterSettingsOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterSettingsWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ClusterTopo": { + "properties": { + "brick_topoes": { + "items": { + "$ref": "#/components/schemas/NestedBrickTopo" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "node_topoes": { + "items": { + "$ref": "#/components/schemas/NestedNodeTopo" + }, + "type": "array", + "nullable": true + }, + "zone_topoes": { + "items": { + "$ref": "#/components/schemas/NestedZoneTopo" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "cluster", + "id", + "local_id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "ClusterTopoOrderByInput": { + "enum": [ + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC" + ], + "type": "string" + }, + "GetClusterTopoesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterTopoOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterTopoWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateClusterTopo": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ClusterTopoConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateClusterTopo" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetClusterTopoesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterTopoOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterTopoWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ClusterUpgradeHistory": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "date": { + "type": "string" + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "progress": { + "properties": {}, + "type": "object" + }, + "result": { + "type": "string" + }, + "task_uuid": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "cluster", + "date", + "id", + "local_id", + "progress", + "result", + "task_uuid", + "version" + ], + "type": "object", + "additionalProperties": false + }, + "ClusterUpgradeHistoryOrderByInput": { + "enum": [ + "date_ASC", + "date_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "progress_ASC", + "progress_DESC", + "result_ASC", + "result_DESC", + "task_uuid_ASC", + "task_uuid_DESC", + "version_ASC", + "version_DESC" + ], + "type": "string" + }, + "ClusterUpgradeHistoryWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ClusterUpgradeHistoryWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ClusterUpgradeHistoryWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ClusterUpgradeHistoryWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "date": { + "type": "string", + "nullable": true + }, + "date_gt": { + "type": "string", + "nullable": true + }, + "date_gte": { + "type": "string", + "nullable": true + }, + "date_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "date_lt": { + "type": "string", + "nullable": true + }, + "date_lte": { + "type": "string", + "nullable": true + }, + "date_not": { + "type": "string", + "nullable": true + }, + "date_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "result": { + "type": "string", + "nullable": true + }, + "result_contains": { + "type": "string", + "nullable": true + }, + "result_ends_with": { + "type": "string", + "nullable": true + }, + "result_gt": { + "type": "string", + "nullable": true + }, + "result_gte": { + "type": "string", + "nullable": true + }, + "result_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "result_lt": { + "type": "string", + "nullable": true + }, + "result_lte": { + "type": "string", + "nullable": true + }, + "result_not": { + "type": "string", + "nullable": true + }, + "result_not_contains": { + "type": "string", + "nullable": true + }, + "result_not_ends_with": { + "type": "string", + "nullable": true + }, + "result_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "result_not_starts_with": { + "type": "string", + "nullable": true + }, + "result_starts_with": { + "type": "string", + "nullable": true + }, + "task_uuid": { + "type": "string", + "nullable": true + }, + "task_uuid_contains": { + "type": "string", + "nullable": true + }, + "task_uuid_ends_with": { + "type": "string", + "nullable": true + }, + "task_uuid_gt": { + "type": "string", + "nullable": true + }, + "task_uuid_gte": { + "type": "string", + "nullable": true + }, + "task_uuid_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "task_uuid_lt": { + "type": "string", + "nullable": true + }, + "task_uuid_lte": { + "type": "string", + "nullable": true + }, + "task_uuid_not": { + "type": "string", + "nullable": true + }, + "task_uuid_not_contains": { + "type": "string", + "nullable": true + }, + "task_uuid_not_ends_with": { + "type": "string", + "nullable": true + }, + "task_uuid_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "task_uuid_not_starts_with": { + "type": "string", + "nullable": true + }, + "task_uuid_starts_with": { + "type": "string", + "nullable": true + }, + "version": { + "type": "string", + "nullable": true + }, + "version_contains": { + "type": "string", + "nullable": true + }, + "version_ends_with": { + "type": "string", + "nullable": true + }, + "version_gt": { + "type": "string", + "nullable": true + }, + "version_gte": { + "type": "string", + "nullable": true + }, + "version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_lt": { + "type": "string", + "nullable": true + }, + "version_lte": { + "type": "string", + "nullable": true + }, + "version_not": { + "type": "string", + "nullable": true + }, + "version_not_contains": { + "type": "string", + "nullable": true + }, + "version_not_ends_with": { + "type": "string", + "nullable": true + }, + "version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_not_starts_with": { + "type": "string", + "nullable": true + }, + "version_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetClusterUpgradeHistoriesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterUpgradeHistoryOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterUpgradeHistoryWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateClusterUpgradeHistory": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ClusterUpgradeHistoryConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateClusterUpgradeHistory" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetClusterUpgradeHistoriesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterUpgradeHistoryOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterUpgradeHistoryWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateCluster": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ClusterConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateCluster" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetClustersConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ConsistencyGroupSnapshotOrderByInput": { + "enum": [ + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "unique_size_ASC", + "unique_size_DESC" + ], + "type": "string" + }, + "GetConsistencyGroupSnapshotsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateConsistencyGroupSnapshot": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ConsistencyGroupSnapshotConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateConsistencyGroupSnapshot" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetConsistencyGroupSnapshotsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateConsistencyGroup": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ConsistencyGroupConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateConsistencyGroup" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetConsistencyGroupsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ConsistencyGroupWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateContentLibraryImage": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ContentLibraryImageConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateContentLibraryImage" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetContentLibraryImagesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryImageOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryImageWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateContentLibraryVmTemplate": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ContentLibraryVmTemplateConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateContentLibraryVmTemplate" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetContentLibraryVmTemplatesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryVmTemplateOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateDatacenter": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "DatacenterConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateDatacenter" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetDatacentersConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/DatacenterOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/DatacenterWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedLicense": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "Deploy": { + "properties": { + "id": { + "type": "string" + }, + "license": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedLicense" + } + ], + "nullable": true + }, + "version": { + "type": "string" + } + }, + "required": [ + "id", + "version" + ], + "type": "object", + "additionalProperties": false + }, + "DeployOrderByInput": { + "enum": [ + "id_ASC", + "id_DESC", + "version_ASC", + "version_DESC" + ], + "type": "string" + }, + "DeployWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/DeployWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/DeployWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/DeployWhereInput" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "license": { + "allOf": [ + { + "$ref": "#/components/schemas/LicenseWhereInput" + } + ], + "nullable": true + }, + "version": { + "type": "string", + "nullable": true + }, + "version_contains": { + "type": "string", + "nullable": true + }, + "version_ends_with": { + "type": "string", + "nullable": true + }, + "version_gt": { + "type": "string", + "nullable": true + }, + "version_gte": { + "type": "string", + "nullable": true + }, + "version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_lt": { + "type": "string", + "nullable": true + }, + "version_lte": { + "type": "string", + "nullable": true + }, + "version_not": { + "type": "string", + "nullable": true + }, + "version_not_contains": { + "type": "string", + "nullable": true + }, + "version_not_ends_with": { + "type": "string", + "nullable": true + }, + "version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_not_starts_with": { + "type": "string", + "nullable": true + }, + "version_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "LicenseWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/LicenseWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/LicenseWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/LicenseWhereInput" + }, + "type": "array", + "nullable": true + }, + "expire_date": { + "type": "string", + "nullable": true + }, + "expire_date_gt": { + "type": "string", + "nullable": true + }, + "expire_date_gte": { + "type": "string", + "nullable": true + }, + "expire_date_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "expire_date_lt": { + "type": "string", + "nullable": true + }, + "expire_date_lte": { + "type": "string", + "nullable": true + }, + "expire_date_not": { + "type": "string", + "nullable": true + }, + "expire_date_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "license_serial": { + "type": "string", + "nullable": true + }, + "license_serial_contains": { + "type": "string", + "nullable": true + }, + "license_serial_ends_with": { + "type": "string", + "nullable": true + }, + "license_serial_gt": { + "type": "string", + "nullable": true + }, + "license_serial_gte": { + "type": "string", + "nullable": true + }, + "license_serial_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "license_serial_lt": { + "type": "string", + "nullable": true + }, + "license_serial_lte": { + "type": "string", + "nullable": true + }, + "license_serial_not": { + "type": "string", + "nullable": true + }, + "license_serial_not_contains": { + "type": "string", + "nullable": true + }, + "license_serial_not_ends_with": { + "type": "string", + "nullable": true + }, + "license_serial_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "license_serial_not_starts_with": { + "type": "string", + "nullable": true + }, + "license_serial_starts_with": { + "type": "string", + "nullable": true + }, + "maintenance_end_date": { + "type": "string", + "nullable": true + }, + "maintenance_end_date_gt": { + "type": "string", + "nullable": true + }, + "maintenance_end_date_gte": { + "type": "string", + "nullable": true + }, + "maintenance_end_date_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "maintenance_end_date_lt": { + "type": "string", + "nullable": true + }, + "maintenance_end_date_lte": { + "type": "string", + "nullable": true + }, + "maintenance_end_date_not": { + "type": "string", + "nullable": true + }, + "maintenance_end_date_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "maintenance_start_date": { + "type": "string", + "nullable": true + }, + "maintenance_start_date_gt": { + "type": "string", + "nullable": true + }, + "maintenance_start_date_gte": { + "type": "string", + "nullable": true + }, + "maintenance_start_date_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "maintenance_start_date_lt": { + "type": "string", + "nullable": true + }, + "maintenance_start_date_lte": { + "type": "string", + "nullable": true + }, + "maintenance_start_date_not": { + "type": "string", + "nullable": true + }, + "maintenance_start_date_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "max_chunk_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_chunk_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_chunk_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_chunk_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_chunk_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_chunk_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_chunk_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_chunk_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_cluster_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_cluster_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_cluster_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_cluster_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_cluster_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_cluster_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_cluster_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_cluster_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "sign_date": { + "type": "string", + "nullable": true + }, + "sign_date_gt": { + "type": "string", + "nullable": true + }, + "sign_date_gte": { + "type": "string", + "nullable": true + }, + "sign_date_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "sign_date_lt": { + "type": "string", + "nullable": true + }, + "sign_date_lte": { + "type": "string", + "nullable": true + }, + "sign_date_not": { + "type": "string", + "nullable": true + }, + "sign_date_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "software_edition": { + "allOf": [ + { + "$ref": "#/components/schemas/SoftwareEdition" + } + ], + "nullable": true + }, + "software_edition_in": { + "items": { + "$ref": "#/components/schemas/SoftwareEdition" + }, + "type": "array", + "nullable": true + }, + "software_edition_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SoftwareEdition" + } + ], + "nullable": true + }, + "software_edition_not_in": { + "items": { + "$ref": "#/components/schemas/SoftwareEdition" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/LicenseType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/LicenseType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/LicenseType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/LicenseType" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetDeploysRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/DeployOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/DeployWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateDeploy": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "DeployConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateDeploy" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetDeploysConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/DeployOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/DeployWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedDiscoveredHostDimms": { + "properties": { + "dimm_id": { + "type": "string" + }, + "fw_version": { + "type": "string" + }, + "health_status": { + "type": "string" + }, + "socket_id": { + "type": "string" + } + }, + "required": [ + "dimm_id", + "fw_version", + "health_status", + "socket_id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedDiscoveredHostDisk": { + "properties": { + "dimm_ids": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "drive": { + "type": "string" + }, + "function": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskFunction" + } + ], + "nullable": true + }, + "model": { + "type": "string" + }, + "numa_node": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "persistent_memory_type": { + "type": "string", + "nullable": true + }, + "serial": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "type": { + "$ref": "#/components/schemas/DiskType" + } + }, + "required": [ + "drive", + "model", + "serial", + "size", + "type" + ], + "type": "object", + "additionalProperties": false + }, + "NestedDiscoveredHostIface": { + "properties": { + "ipv4": { + "type": "string", + "nullable": true + }, + "ipv6": { + "type": "string", + "nullable": true + }, + "mac_address": { + "type": "string" + }, + "mtu": { + "type": "integer", + "format": "int32" + }, + "name": { + "type": "string" + }, + "pci_slot_name": { + "type": "string", + "nullable": true + }, + "rdma_enabled": { + "type": "boolean", + "nullable": true + }, + "speed": { + "type": "number", + "format": "double", + "nullable": true + }, + "up": { + "type": "boolean" + } + }, + "required": [ + "mac_address", + "mtu", + "name", + "up" + ], + "type": "object", + "additionalProperties": false + }, + "DiscoveredHost": { + "properties": { + "all_flash": { + "type": "boolean" + }, + "deployed": { + "type": "boolean", + "nullable": true + }, + "dimms": { + "items": { + "$ref": "#/components/schemas/NestedDiscoveredHostDimms" + }, + "type": "array", + "nullable": true + }, + "disks": { + "items": { + "$ref": "#/components/schemas/NestedDiscoveredHostDisk" + }, + "type": "array" + }, + "host_ip": { + "type": "string" + }, + "host_uuid": { + "type": "string" + }, + "hostname": { + "type": "string" + }, + "ifaces": { + "items": { + "$ref": "#/components/schemas/NestedDiscoveredHostIface" + }, + "type": "array" + }, + "ipmi_ip": { + "type": "string", + "nullable": true + }, + "is_os_in_raid1": { + "type": "boolean", + "nullable": true + }, + "product": { + "type": "string", + "nullable": true + }, + "serial": { + "type": "string" + }, + "sockets": { + "type": "integer", + "format": "int32" + }, + "version": { + "type": "string" + }, + "zbs_spec": { + "type": "string", + "nullable": true + } + }, + "required": [ + "all_flash", + "disks", + "host_ip", + "host_uuid", + "hostname", + "ifaces", + "serial", + "sockets", + "version" + ], + "type": "object", + "additionalProperties": false + }, + "ClusterWhereUniqueInput": { + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetDiscoverHostsRequestBody": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/ClusterWhereUniqueInput" + }, + "host_address": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "cluster" + ], + "type": "object", + "additionalProperties": false + }, + "NestedAggregateDisk": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "DiskConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateDisk" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetDisksConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ElfDataStore": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "description": { + "type": "string" + }, + "external_use": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "internal": { + "type": "boolean" + }, + "ip_whitelist": { + "type": "string" + }, + "iscsi_target": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedIscsiTarget" + } + ], + "nullable": true + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nfs_export": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedNfsExport" + } + ], + "nullable": true + }, + "nvmf_subsystem": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedNvmfSubsystem" + } + ], + "nullable": true + }, + "replica_num": { + "type": "integer", + "format": "int32" + }, + "thin_provision": { + "type": "boolean" + }, + "type": { + "$ref": "#/components/schemas/ElfDataStoreType" + } + }, + "required": [ + "cluster", + "description", + "external_use", + "id", + "internal", + "ip_whitelist", + "local_id", + "name", + "replica_num", + "thin_provision", + "type" + ], + "type": "object", + "additionalProperties": false + }, + "NestedAggregateElfDataStore": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ElfDataStoreConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateElfDataStore" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetElfDataStoresConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfDataStoreOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfDataStoreWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateElfImage": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ElfImageConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateElfImage" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetElfImagesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfImageOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfImageWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ElfStoragePolicy": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "description": { + "type": "string" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "replica_num": { + "type": "integer", + "format": "int32" + }, + "stripe_num": { + "type": "integer", + "format": "int32" + }, + "stripe_size": { + "type": "integer", + "format": "int64" + }, + "thin_provision": { + "type": "boolean" + } + }, + "required": [ + "cluster", + "description", + "id", + "local_id", + "name", + "replica_num", + "stripe_num", + "stripe_size", + "thin_provision" + ], + "type": "object", + "additionalProperties": false + }, + "ElfStoragePolicyOrderByInput": { + "enum": [ + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "replica_num_ASC", + "replica_num_DESC", + "stripe_num_ASC", + "stripe_num_DESC", + "stripe_size_ASC", + "stripe_size_DESC", + "thin_provision_ASC", + "thin_provision_DESC" + ], + "type": "string" + }, + "ElfStoragePolicyWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/ElfStoragePolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/ElfStoragePolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/ElfStoragePolicyWhereInput" + }, + "type": "array", + "nullable": true + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/ClusterWhereInput" + } + ], + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + }, + "local_id_contains": { + "type": "string", + "nullable": true + }, + "local_id_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_gt": { + "type": "string", + "nullable": true + }, + "local_id_gte": { + "type": "string", + "nullable": true + }, + "local_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_lt": { + "type": "string", + "nullable": true + }, + "local_id_lte": { + "type": "string", + "nullable": true + }, + "local_id_not": { + "type": "string", + "nullable": true + }, + "local_id_not_contains": { + "type": "string", + "nullable": true + }, + "local_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "local_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "local_id_starts_with": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "replica_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "replica_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "replica_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stripe_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "stripe_size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "stripe_size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "stripe_size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "thin_provision": { + "type": "boolean", + "nullable": true + }, + "thin_provision_not": { + "type": "boolean", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetElfStoragePoliciesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfStoragePolicyOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfStoragePolicyWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateElfStoragePolicy": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ElfStoragePolicyConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateElfStoragePolicy" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetElfStoragePoliciesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfStoragePolicyOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ElfStoragePolicyWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateEntityFilter": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "EntityFilterConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateEntityFilter" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetEntityFiltersConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityFilterOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityFilterWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedEverouteControllerInstance": { + "properties": { + "ipAddr": { + "type": "string" + }, + "vlan": { + "type": "string" + } + }, + "required": [ + "ipAddr", + "vlan" + ], + "type": "object", + "additionalProperties": false + }, + "NestedEverouteControllerTemplate": { + "properties": { + "cluster": { + "type": "string" + }, + "gateway": { + "type": "string" + }, + "memory": { + "type": "integer", + "format": "int64" + }, + "netmask": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "vcpu": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "cluster", + "gateway", + "memory", + "netmask", + "size", + "vcpu" + ], + "type": "object", + "additionalProperties": false + }, + "NestedEverouteClusterWhitelist": { + "properties": { + "egress": { + "items": { + "$ref": "#/components/schemas/NestedNetworkPolicyRule" + }, + "type": "array", + "nullable": true + }, + "enable": { + "type": "boolean" + }, + "ingress": { + "items": { + "$ref": "#/components/schemas/NestedNetworkPolicyRule" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "enable" + ], + "type": "object", + "additionalProperties": false + }, + "NestedLoadBalancerService": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedEverouteAgentStatus": { + "properties": { + "host": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedHost" + } + ], + "nullable": true + }, + "hostID": { + "type": "string", + "nullable": true + }, + "ipAddr": { + "type": "string", + "nullable": true + }, + "isHealth": { + "type": "boolean" + }, + "message": { + "type": "string", + "nullable": true + }, + "phase": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterPhase" + } + ], + "nullable": true + }, + "reason": { + "type": "string", + "nullable": true + } + }, + "required": [ + "isHealth" + ], + "type": "object", + "additionalProperties": false + }, + "NestedEverouteManageVDSStatus": { + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "phase": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterPhase" + } + ], + "nullable": true + }, + "reason": { + "type": "string", + "nullable": true + }, + "retryCount": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vds": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVds" + } + ], + "nullable": true + }, + "vdsID": { + "type": "string" + } + }, + "required": [ + "vdsID" + ], + "type": "object", + "additionalProperties": false + }, + "NestedEverouteClusterAgentStatus": { + "properties": { + "currentNumber": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "expectNumber": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "instances": { + "items": { + "$ref": "#/components/schemas/NestedEverouteAgentStatus" + }, + "type": "array", + "nullable": true + }, + "manageVDSes": { + "items": { + "$ref": "#/components/schemas/NestedEverouteManageVDSStatus" + }, + "type": "array", + "nullable": true + }, + "numberHealth": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedEverouteClusterCondition": { + "properties": { + "lastProbeTime": { + "type": "string", + "nullable": true + }, + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "additionalProperties": false + }, + "NestedEverouteClusterVMMetrics": { + "properties": { + "cpuUsage": { + "type": "number", + "format": "double" + }, + "dataVolumeUsage": { + "type": "number", + "format": "double" + }, + "lastAcquisitionTime": { + "type": "string" + }, + "memoryUsage": { + "type": "number", + "format": "double" + } + }, + "required": [ + "cpuUsage", + "dataVolumeUsage", + "lastAcquisitionTime", + "memoryUsage" + ], + "type": "object", + "additionalProperties": false + }, + "NestedEverouteControllerStatus": { + "properties": { + "ipAddr": { + "type": "string", + "nullable": true + }, + "isHealth": { + "type": "boolean" + }, + "message": { + "type": "string", + "nullable": true + }, + "metrics": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedEverouteClusterVMMetrics" + } + ], + "nullable": true + }, + "phase": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterPhase" + } + ], + "nullable": true + }, + "reason": { + "type": "string", + "nullable": true + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVm" + } + ], + "nullable": true + }, + "vmID": { + "type": "string", + "nullable": true + } + }, + "required": [ + "isHealth" + ], + "type": "object", + "additionalProperties": false + }, + "NestedEverouteClusterControllerStatus": { + "properties": { + "currentNumber": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "expectNumber": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "instances": { + "items": { + "$ref": "#/components/schemas/NestedEverouteControllerStatus" + }, + "type": "array", + "nullable": true + }, + "numberHealth": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedEverouteClusterStatus": { + "properties": { + "agents": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedEverouteClusterAgentStatus" + } + ], + "nullable": true + }, + "conditions": { + "items": { + "$ref": "#/components/schemas/NestedEverouteClusterCondition" + }, + "type": "array", + "nullable": true + }, + "controllers": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedEverouteClusterControllerStatus" + } + ], + "nullable": true + }, + "message": { + "type": "string", + "nullable": true + }, + "phase": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterPhase" + } + ], + "nullable": true + }, + "reason": { + "type": "string", + "nullable": true + }, + "retryCount": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "version": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "EverouteCluster": { + "properties": { + "agent_elf_clusters": { + "items": { + "$ref": "#/components/schemas/NestedCluster" + }, + "type": "array", + "nullable": true + }, + "agent_elf_vdses": { + "items": { + "$ref": "#/components/schemas/NestedVds" + }, + "type": "array", + "nullable": true + }, + "controller_instances": { + "items": { + "$ref": "#/components/schemas/NestedEverouteControllerInstance" + }, + "type": "array" + }, + "controller_template": { + "$ref": "#/components/schemas/NestedEverouteControllerTemplate" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "global_default_action": { + "$ref": "#/components/schemas/GlobalPolicyAction" + }, + "global_whitelist": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedEverouteClusterWhitelist" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "installed": { + "type": "boolean", + "nullable": true + }, + "load_balancer_service": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedLoadBalancerService" + } + ], + "nullable": true + }, + "name": { + "type": "string" + }, + "phase": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterPhase" + } + ], + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedEverouteClusterStatus" + } + ], + "nullable": true + }, + "version": { + "type": "string" + }, + "vpc_service": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudService" + } + ], + "nullable": true + } + }, + "required": [ + "controller_instances", + "controller_template", + "global_default_action", + "id", + "name", + "version" + ], + "type": "object", + "additionalProperties": false + }, + "EverouteClusterOrderByInput": { + "enum": [ + "controller_instances_ASC", + "controller_instances_DESC", + "controller_template_ASC", + "controller_template_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "global_default_action_ASC", + "global_default_action_DESC", + "global_whitelist_ASC", + "global_whitelist_DESC", + "id_ASC", + "id_DESC", + "installed_ASC", + "installed_DESC", + "name_ASC", + "name_DESC", + "phase_ASC", + "phase_DESC", + "status_ASC", + "status_DESC", + "version_ASC", + "version_DESC" + ], + "type": "string" + }, + "GetEverouteClustersRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateEverouteCluster": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "EverouteClusterConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateEverouteCluster" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetEverouteClustersConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteClusterWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "EverouteLicense": { + "properties": { + "code": { + "type": "string" + }, + "expire_date": { + "type": "string" + }, + "id": { + "type": "string" + }, + "max_socket_num": { + "type": "integer", + "format": "int32" + }, + "serial": { + "type": "string" + }, + "sign_date": { + "type": "string" + }, + "software_edition": { + "$ref": "#/components/schemas/SoftwareEdition" + }, + "type": { + "$ref": "#/components/schemas/LicenseType" + }, + "uid": { + "type": "string" + } + }, + "required": [ + "code", + "expire_date", + "id", + "max_socket_num", + "serial", + "sign_date", + "software_edition", + "type", + "uid" + ], + "type": "object", + "additionalProperties": false + }, + "EverouteLicenseOrderByInput": { + "enum": [ + "code_ASC", + "code_DESC", + "expire_date_ASC", + "expire_date_DESC", + "id_ASC", + "id_DESC", + "max_socket_num_ASC", + "max_socket_num_DESC", + "serial_ASC", + "serial_DESC", + "sign_date_ASC", + "sign_date_DESC", + "software_edition_ASC", + "software_edition_DESC", + "type_ASC", + "type_DESC", + "uid_ASC", + "uid_DESC" + ], + "type": "string" + }, + "EverouteLicenseWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/EverouteLicenseWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/EverouteLicenseWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/EverouteLicenseWhereInput" + }, + "type": "array", + "nullable": true + }, + "code": { + "type": "string", + "nullable": true + }, + "code_contains": { + "type": "string", + "nullable": true + }, + "code_ends_with": { + "type": "string", + "nullable": true + }, + "code_gt": { + "type": "string", + "nullable": true + }, + "code_gte": { + "type": "string", + "nullable": true + }, + "code_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "code_lt": { + "type": "string", + "nullable": true + }, + "code_lte": { + "type": "string", + "nullable": true + }, + "code_not": { + "type": "string", + "nullable": true + }, + "code_not_contains": { + "type": "string", + "nullable": true + }, + "code_not_ends_with": { + "type": "string", + "nullable": true + }, + "code_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "code_not_starts_with": { + "type": "string", + "nullable": true + }, + "code_starts_with": { + "type": "string", + "nullable": true + }, + "expire_date": { + "type": "string", + "nullable": true + }, + "expire_date_gt": { + "type": "string", + "nullable": true + }, + "expire_date_gte": { + "type": "string", + "nullable": true + }, + "expire_date_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "expire_date_lt": { + "type": "string", + "nullable": true + }, + "expire_date_lte": { + "type": "string", + "nullable": true + }, + "expire_date_not": { + "type": "string", + "nullable": true + }, + "expire_date_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "max_socket_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_socket_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_socket_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_socket_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_socket_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_socket_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_socket_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_socket_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "serial": { + "type": "string", + "nullable": true + }, + "serial_contains": { + "type": "string", + "nullable": true + }, + "serial_ends_with": { + "type": "string", + "nullable": true + }, + "serial_gt": { + "type": "string", + "nullable": true + }, + "serial_gte": { + "type": "string", + "nullable": true + }, + "serial_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "serial_lt": { + "type": "string", + "nullable": true + }, + "serial_lte": { + "type": "string", + "nullable": true + }, + "serial_not": { + "type": "string", + "nullable": true + }, + "serial_not_contains": { + "type": "string", + "nullable": true + }, + "serial_not_ends_with": { + "type": "string", + "nullable": true + }, + "serial_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "serial_not_starts_with": { + "type": "string", + "nullable": true + }, + "serial_starts_with": { + "type": "string", + "nullable": true + }, + "sign_date": { + "type": "string", + "nullable": true + }, + "sign_date_gt": { + "type": "string", + "nullable": true + }, + "sign_date_gte": { + "type": "string", + "nullable": true + }, + "sign_date_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "sign_date_lt": { + "type": "string", + "nullable": true + }, + "sign_date_lte": { + "type": "string", + "nullable": true + }, + "sign_date_not": { + "type": "string", + "nullable": true + }, + "sign_date_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "software_edition": { + "allOf": [ + { + "$ref": "#/components/schemas/SoftwareEdition" + } + ], + "nullable": true + }, + "software_edition_in": { + "items": { + "$ref": "#/components/schemas/SoftwareEdition" + }, + "type": "array", + "nullable": true + }, + "software_edition_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SoftwareEdition" + } + ], + "nullable": true + }, + "software_edition_not_in": { + "items": { + "$ref": "#/components/schemas/SoftwareEdition" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/LicenseType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/LicenseType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/LicenseType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/LicenseType" + }, + "type": "array", + "nullable": true + }, + "uid": { + "type": "string", + "nullable": true + }, + "uid_contains": { + "type": "string", + "nullable": true + }, + "uid_ends_with": { + "type": "string", + "nullable": true + }, + "uid_gt": { + "type": "string", + "nullable": true + }, + "uid_gte": { + "type": "string", + "nullable": true + }, + "uid_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "uid_lt": { + "type": "string", + "nullable": true + }, + "uid_lte": { + "type": "string", + "nullable": true + }, + "uid_not": { + "type": "string", + "nullable": true + }, + "uid_not_contains": { + "type": "string", + "nullable": true + }, + "uid_not_ends_with": { + "type": "string", + "nullable": true + }, + "uid_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "uid_not_starts_with": { + "type": "string", + "nullable": true + }, + "uid_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetEverouteLicensesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteLicenseOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteLicenseWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateEverouteLicense": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "EverouteLicenseConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateEverouteLicense" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetEverouteLicensesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteLicenseOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteLicenseWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "EveroutePackage": { + "properties": { + "arch": { + "$ref": "#/components/schemas/Architecture" + }, + "description": { + "type": "string" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "local_created_at": { + "type": "string" + }, + "name": { + "type": "string" + }, + "package_info": { + "properties": {}, + "type": "object" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "version": { + "type": "string" + } + }, + "required": [ + "arch", + "description", + "id", + "local_created_at", + "name", + "package_info", + "size", + "version" + ], + "type": "object", + "additionalProperties": false + }, + "EveroutePackageOrderByInput": { + "enum": [ + "arch_ASC", + "arch_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "name_ASC", + "name_DESC", + "package_info_ASC", + "package_info_DESC", + "size_ASC", + "size_DESC", + "version_ASC", + "version_DESC" + ], + "type": "string" + }, + "EveroutePackageWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/EveroutePackageWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/EveroutePackageWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/EveroutePackageWhereInput" + }, + "type": "array", + "nullable": true + }, + "arch": { + "allOf": [ + { + "$ref": "#/components/schemas/Architecture" + } + ], + "nullable": true + }, + "arch_in": { + "items": { + "$ref": "#/components/schemas/Architecture" + }, + "type": "array", + "nullable": true + }, + "arch_not": { + "allOf": [ + { + "$ref": "#/components/schemas/Architecture" + } + ], + "nullable": true + }, + "arch_not_in": { + "items": { + "$ref": "#/components/schemas/Architecture" + }, + "type": "array", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + }, + "description_contains": { + "type": "string", + "nullable": true + }, + "description_ends_with": { + "type": "string", + "nullable": true + }, + "description_gt": { + "type": "string", + "nullable": true + }, + "description_gte": { + "type": "string", + "nullable": true + }, + "description_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_lt": { + "type": "string", + "nullable": true + }, + "description_lte": { + "type": "string", + "nullable": true + }, + "description_not": { + "type": "string", + "nullable": true + }, + "description_not_contains": { + "type": "string", + "nullable": true + }, + "description_not_ends_with": { + "type": "string", + "nullable": true + }, + "description_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "description_not_starts_with": { + "type": "string", + "nullable": true + }, + "description_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_created_at_gt": { + "type": "string", + "nullable": true + }, + "local_created_at_gte": { + "type": "string", + "nullable": true + }, + "local_created_at_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "local_created_at_lt": { + "type": "string", + "nullable": true + }, + "local_created_at_lte": { + "type": "string", + "nullable": true + }, + "local_created_at_not": { + "type": "string", + "nullable": true + }, + "local_created_at_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name": { + "type": "string", + "nullable": true + }, + "name_contains": { + "type": "string", + "nullable": true + }, + "name_ends_with": { + "type": "string", + "nullable": true + }, + "name_gt": { + "type": "string", + "nullable": true + }, + "name_gte": { + "type": "string", + "nullable": true + }, + "name_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_lt": { + "type": "string", + "nullable": true + }, + "name_lte": { + "type": "string", + "nullable": true + }, + "name_not": { + "type": "string", + "nullable": true + }, + "name_not_contains": { + "type": "string", + "nullable": true + }, + "name_not_ends_with": { + "type": "string", + "nullable": true + }, + "name_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "name_not_starts_with": { + "type": "string", + "nullable": true + }, + "name_starts_with": { + "type": "string", + "nullable": true + }, + "size": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_gte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "size_lt": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_lte": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "size_not_in": { + "items": { + "type": "integer", + "format": "int64" + }, + "type": "array", + "nullable": true + }, + "version": { + "type": "string", + "nullable": true + }, + "version_contains": { + "type": "string", + "nullable": true + }, + "version_ends_with": { + "type": "string", + "nullable": true + }, + "version_gt": { + "type": "string", + "nullable": true + }, + "version_gte": { + "type": "string", + "nullable": true + }, + "version_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_lt": { + "type": "string", + "nullable": true + }, + "version_lte": { + "type": "string", + "nullable": true + }, + "version_not": { + "type": "string", + "nullable": true + }, + "version_not_contains": { + "type": "string", + "nullable": true + }, + "version_not_ends_with": { + "type": "string", + "nullable": true + }, + "version_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "version_not_starts_with": { + "type": "string", + "nullable": true + }, + "version_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetEveroutePackagesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/EveroutePackageOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/EveroutePackageWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateEveroutePackage": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "EveroutePackageConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateEveroutePackage" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetEveroutePackagesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/EveroutePackageOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/EveroutePackageWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateGlobalAlertRule": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "GlobalAlertRuleConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateGlobalAlertRule" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetGlobalAlertRulesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/GlobalAlertRuleOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/GlobalAlertRuleWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GlobalSettingsOrderByInput": { + "enum": [ + "auth_ASC", + "auth_DESC", + "id_ASC", + "id_DESC", + "vm_recycle_bin_ASC", + "vm_recycle_bin_DESC" + ], + "type": "string" + }, + "GlobalSettingsWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/GlobalSettingsWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/GlobalSettingsWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/GlobalSettingsWhereInput" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetGlobalSettingsesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/GlobalSettingsOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/GlobalSettingsWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateGlobalSettings": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "GlobalSettingsConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateGlobalSettings" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetGlobalSettingsesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/GlobalSettingsOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/GlobalSettingsWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateGpuDevice": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "GpuDeviceConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateGpuDevice" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetGpuDevicesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/GpuDeviceWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GraphOrderByInput": { + "enum": [ + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "metric_count_ASC", + "metric_count_DESC", + "metric_name_ASC", + "metric_name_DESC", + "metric_type_ASC", + "metric_type_DESC", + "network_ASC", + "network_DESC", + "resource_type_ASC", + "resource_type_DESC", + "service_ASC", + "service_DESC", + "targets_ASC", + "targets_DESC", + "title_ASC", + "title_DESC", + "type_ASC", + "type_DESC" + ], + "type": "string" + }, + "GetGraphsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/GraphOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/GraphWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateGraph": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "GraphConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateGraph" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetGraphsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/GraphOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/GraphWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateHost": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "HostConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateHost" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetHostsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/HostOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/HostWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "Ipmi": { + "properties": { + "host": { + "$ref": "#/components/schemas/NestedHost" + }, + "id": { + "type": "string" + }, + "ip": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "username": { + "type": "string" + }, + "valid": { + "type": "boolean" + } + }, + "required": [ + "host", + "id", + "ip", + "local_id", + "username", + "valid" + ], + "type": "object", + "additionalProperties": false + }, + "IpmiOrderByInput": { + "enum": [ + "id_ASC", + "id_DESC", + "ip_ASC", + "ip_DESC", + "local_id_ASC", + "local_id_DESC", + "username_ASC", + "username_DESC", + "valid_ASC", + "valid_DESC" + ], + "type": "string" + }, + "GetIpmisRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/IpmiOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/IpmiWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "IscsiConnection": { + "properties": { + "client_port": { + "type": "integer", + "format": "int32" + }, + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "host": { + "$ref": "#/components/schemas/NestedHost" + }, + "id": { + "type": "string" + }, + "initiator_ip": { + "type": "string" + }, + "iscsi_target": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedIscsiTarget" + } + ], + "nullable": true + }, + "nvmf_subsystem": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedNvmfSubsystem" + } + ], + "nullable": true + }, + "tr_type": { + "allOf": [ + { + "$ref": "#/components/schemas/StoreTransportType" + } + ], + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/StoreConnectionType" + } + }, + "required": [ + "client_port", + "cluster", + "host", + "id", + "initiator_ip", + "type" + ], + "type": "object", + "additionalProperties": false + }, + "NestedAggregateIscsiConnection": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "IscsiConnectionConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateIscsiConnection" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetIscsiConnectionsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiConnectionOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiConnectionWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateIscsiLunSnapshot": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "IscsiLunSnapshotConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateIscsiLunSnapshot" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetIscsiLunSnapshotsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunSnapshotOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunSnapshotWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateIscsiLun": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "IscsiLunConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateIscsiLun" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetIscsiLunsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiLunWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateIscsiTarget": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "IscsiTargetConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateIscsiTarget" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetIscsiTargetsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiTargetOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/IscsiTargetWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "IsolationPolicy": { + "properties": { + "egress": { + "items": { + "$ref": "#/components/schemas/NestedNetworkPolicyRule" + }, + "type": "array", + "nullable": true + }, + "everoute_cluster": { + "$ref": "#/components/schemas/NestedEverouteCluster" + }, + "id": { + "type": "string" + }, + "ingress": { + "items": { + "$ref": "#/components/schemas/NestedNetworkPolicyRule" + }, + "type": "array", + "nullable": true + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "mode": { + "$ref": "#/components/schemas/IsolationMode" + }, + "vm": { + "$ref": "#/components/schemas/NestedVm" + } + }, + "required": [ + "everoute_cluster", + "id", + "mode", + "vm" + ], + "type": "object", + "additionalProperties": false + }, + "IsolationPolicyOrderByInput": { + "enum": [ + "egress_ASC", + "egress_DESC", + "id_ASC", + "id_DESC", + "ingress_ASC", + "ingress_DESC", + "mode_ASC", + "mode_DESC" + ], + "type": "string" + }, + "GetIsolationPoliciesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/IsolationPolicyOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/IsolationPolicyWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateIsolationPolicy": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "IsolationPolicyConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateIsolationPolicy" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetIsolationPoliciesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/IsolationPolicyOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/IsolationPolicyWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "LabelOrderByInput": { + "enum": [ + "cluster_num_ASC", + "cluster_num_DESC", + "consistency_group_num_ASC", + "consistency_group_num_DESC", + "consistency_group_snapshot_num_ASC", + "consistency_group_snapshot_num_DESC", + "content_library_image_num_ASC", + "content_library_image_num_DESC", + "content_library_vm_template_num_ASC", + "content_library_vm_template_num_DESC", + "createdAt_ASC", + "createdAt_DESC", + "datacenter_num_ASC", + "datacenter_num_DESC", + "disk_num_ASC", + "disk_num_DESC", + "elf_image_num_ASC", + "elf_image_num_DESC", + "gpu_device_num_ASC", + "gpu_device_num_DESC", + "host_num_ASC", + "host_num_DESC", + "id_ASC", + "id_DESC", + "iscsi_lun_num_ASC", + "iscsi_lun_num_DESC", + "iscsi_lun_snapshot_num_ASC", + "iscsi_lun_snapshot_num_DESC", + "iscsi_target_num_ASC", + "iscsi_target_num_DESC", + "isolation_policy_num_ASC", + "isolation_policy_num_DESC", + "key_ASC", + "key_DESC", + "namespace_group_num_ASC", + "namespace_group_num_DESC", + "nfs_export_num_ASC", + "nfs_export_num_DESC", + "nfs_inode_num_ASC", + "nfs_inode_num_DESC", + "nic_num_ASC", + "nic_num_DESC", + "nvmf_namespace_num_ASC", + "nvmf_namespace_num_DESC", + "nvmf_namespace_snapshot_num_ASC", + "nvmf_namespace_snapshot_num_DESC", + "nvmf_subsystem_num_ASC", + "nvmf_subsystem_num_DESC", + "security_policy_num_ASC", + "security_policy_num_DESC", + "system_vlan_num_ASC", + "system_vlan_num_DESC", + "total_num_ASC", + "total_num_DESC", + "value_ASC", + "value_DESC", + "vds_num_ASC", + "vds_num_DESC", + "vm_num_ASC", + "vm_num_DESC", + "vm_snapshot_num_ASC", + "vm_snapshot_num_DESC", + "vm_template_num_ASC", + "vm_template_num_DESC", + "vm_vlan_num_ASC", + "vm_vlan_num_DESC", + "vm_volume_num_ASC", + "vm_volume_num_DESC", + "vm_volume_snapshot_num_ASC", + "vm_volume_snapshot_num_DESC" + ], + "type": "string" + }, + "GetLabelsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateLabel": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "LabelConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateLabel" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetLabelsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/LabelWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "LicenseOrderByInput": { + "enum": [ + "expire_date_ASC", + "expire_date_DESC", + "id_ASC", + "id_DESC", + "license_serial_ASC", + "license_serial_DESC", + "maintenance_end_date_ASC", + "maintenance_end_date_DESC", + "maintenance_start_date_ASC", + "maintenance_start_date_DESC", + "max_chunk_num_ASC", + "max_chunk_num_DESC", + "max_cluster_num_ASC", + "max_cluster_num_DESC", + "sign_date_ASC", + "sign_date_DESC", + "software_edition_ASC", + "software_edition_DESC", + "type_ASC", + "type_DESC" + ], + "type": "string" + }, + "GetLicensesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/LicenseOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/LicenseWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateLicense": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "LicenseConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateLicense" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetLicensesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/LicenseOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/LicenseWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "LogCollectionOrderByInput": { + "enum": [ + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "log_ended_at_ASC", + "log_ended_at_DESC", + "log_started_at_ASC", + "log_started_at_DESC", + "owner_ASC", + "owner_DESC", + "path_ASC", + "path_DESC", + "progress_ASC", + "progress_DESC", + "service_groups_ASC", + "service_groups_DESC", + "size_ASC", + "size_DESC", + "started_at_ASC", + "started_at_DESC", + "status_ASC", + "status_DESC" + ], + "type": "string" + }, + "GetLogCollectionsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/LogCollectionOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/LogCollectionWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateLogCollection": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "LogCollectionConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateLogCollection" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetLogCollectionsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/LogCollectionOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/LogCollectionWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "LogServiceConfig": { + "properties": { + "group_name": { + "type": "string" + }, + "service_list": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "group_name", + "service_list" + ], + "type": "object", + "additionalProperties": false + }, + "LogServiceConfigsInput": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/ClusterWhereUniqueInput" + } + }, + "required": [ + "cluster" + ], + "type": "object", + "additionalProperties": false + }, + "GetLogServiceConfigsRequestBody": { + "properties": { + "input": { + "$ref": "#/components/schemas/LogServiceConfigsInput" + } + }, + "required": [ + "input" + ], + "type": "object", + "additionalProperties": false + }, + "NestedAggregateNamespaceGroup": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "NamespaceGroupConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateNamespaceGroup" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetNamespaceGroupsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NamespaceGroupOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NamespaceGroupWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateNfsExport": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "NfsExportConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateNfsExport" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetNfsExportsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsExportOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsExportWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NfsInode": { + "properties": { + "assigned_size": { + "type": "integer", + "format": "int64" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "file": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "labels": { + "items": { + "$ref": "#/components/schemas/NestedLabel" + }, + "type": "array", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "local_updated_at": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nfs_export": { + "$ref": "#/components/schemas/NestedNfsExport" + }, + "parent_id": { + "type": "string" + }, + "shared_size": { + "type": "integer", + "format": "int64" + }, + "snapshot_num": { + "type": "integer", + "format": "int32" + }, + "unique_logical_size": { + "type": "number", + "format": "double", + "nullable": true + }, + "unique_size": { + "type": "integer", + "format": "int64" + } + }, + "required": [ + "assigned_size", + "file", + "id", + "local_id", + "local_updated_at", + "name", + "nfs_export", + "parent_id", + "shared_size", + "snapshot_num", + "unique_size" + ], + "type": "object", + "additionalProperties": false + }, + "NfsInodeOrderByInput": { + "enum": [ + "assigned_size_ASC", + "assigned_size_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "file_ASC", + "file_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "local_updated_at_ASC", + "local_updated_at_DESC", + "name_ASC", + "name_DESC", + "parent_id_ASC", + "parent_id_DESC", + "shared_size_ASC", + "shared_size_DESC", + "snapshot_num_ASC", + "snapshot_num_DESC", + "unique_logical_size_ASC", + "unique_logical_size_DESC", + "unique_size_ASC", + "unique_size_DESC" + ], + "type": "string" + }, + "GetNfsInodesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsInodeOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsInodeWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateNfsInode": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "NfsInodeConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateNfsInode" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetNfsInodesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsInodeOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NfsInodeWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateNic": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "NicConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateNic" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetNicsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NicOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NicWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NodeTopoOrderByInput": { + "enum": [ + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "position_ASC", + "position_DESC" + ], + "type": "string" + }, + "GetNodeTopoesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NodeTopoOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NodeTopoWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateNodeTopo": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "NodeTopoConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateNodeTopo" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetNodeTopoesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NodeTopoOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NodeTopoWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateNvmfNamespaceSnapshot": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "NvmfNamespaceSnapshotConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateNvmfNamespaceSnapshot" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetNvmfNamespaceSnapshotsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateNvmfNamespace": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "NvmfNamespaceConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateNvmfNamespace" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetNvmfNamespacesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfNamespaceWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateNvmfSubsystem": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "NvmfSubsystemConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateNvmfSubsystem" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetNvmfSubsystemsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfSubsystemOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/NvmfSubsystemWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "OrganizationOrderByInput": { + "enum": [ + "id_ASC", + "id_DESC", + "name_ASC", + "name_DESC" + ], + "type": "string" + }, + "GetOrganizationsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/OrganizationOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/OrganizationWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateOrganization": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "OrganizationConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateOrganization" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetOrganizationsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/OrganizationOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/OrganizationWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "PmemDimm": { + "properties": { + "capacity": { + "type": "integer", + "format": "int64" + }, + "device_locator": { + "type": "string" + }, + "disk": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedDisk" + } + ], + "nullable": true + }, + "health_status": { + "allOf": [ + { + "$ref": "#/components/schemas/DiskHealthStatus" + } + ], + "nullable": true + }, + "host": { + "$ref": "#/components/schemas/NestedHost" + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string" + }, + "numa_node": { + "type": "integer", + "format": "int32" + }, + "part_number": { + "type": "string" + }, + "remaining_life_percent": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "version": { + "type": "string" + } + }, + "required": [ + "capacity", + "device_locator", + "host", + "id", + "name", + "numa_node", + "part_number", + "version" + ], + "type": "object", + "additionalProperties": false + }, + "PmemDimmOrderByInput": { + "enum": [ + "capacity_ASC", + "capacity_DESC", + "device_locator_ASC", + "device_locator_DESC", + "health_status_ASC", + "health_status_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "numa_node_ASC", + "numa_node_DESC", + "part_number_ASC", + "part_number_DESC", + "remaining_life_percent_ASC", + "remaining_life_percent_DESC", + "version_ASC", + "version_DESC" + ], + "type": "string" + }, + "GetPmemDimmsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/PmemDimmOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/PmemDimmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregatePmemDimm": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "PmemDimmConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregatePmemDimm" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetPmemDimmsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/PmemDimmOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/PmemDimmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "RackTopoOrderByInput": { + "enum": [ + "height_ASC", + "height_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC" + ], + "type": "string" + }, + "GetRackTopoesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/RackTopoOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/RackTopoWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateRackTopo": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "RackTopoConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateRackTopo" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetRackTopoesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/RackTopoOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/RackTopoWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ReportTaskOrderByInput": { + "enum": [ + "createdAt_ASC", + "createdAt_DESC", + "id_ASC", + "id_DESC", + "internal_ASC", + "internal_DESC", + "name_ASC", + "name_DESC", + "plan_id_ASC", + "plan_id_DESC", + "status_ASC", + "status_DESC" + ], + "type": "string" + }, + "GetReportTasksRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ReportTaskOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ReportTaskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateReportTask": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ReportTaskConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateReportTask" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetReportTasksConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ReportTaskOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ReportTaskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ReportTemplateOrderByInput": { + "enum": [ + "createdAt_ASC", + "createdAt_DESC", + "description_ASC", + "description_DESC", + "execute_plan_ASC", + "execute_plan_DESC", + "id_ASC", + "id_DESC", + "name_ASC", + "name_DESC", + "preset_ASC", + "preset_DESC", + "resource_meta_ASC", + "resource_meta_DESC", + "task_num_ASC", + "task_num_DESC" + ], + "type": "string" + }, + "GetReportTemplatesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ReportTemplateOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ReportTemplateWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateReportTemplate": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ReportTemplateConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateReportTemplate" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetReportTemplatesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ReportTemplateOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ReportTemplateWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SecurityGroupOrderByInput": { + "enum": [ + "description_ASC", + "description_DESC", + "id_ASC", + "id_DESC", + "label_groups_ASC", + "label_groups_DESC", + "name_ASC", + "name_DESC" + ], + "type": "string" + }, + "GetSecurityGroupsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SecurityGroupOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SecurityGroupWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateSecurityGroup": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "SecurityGroupConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateSecurityGroup" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetSecurityGroupsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SecurityGroupOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SecurityGroupWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SecurityPolicyOrderByInput": { + "enum": [ + "apply_to_ASC", + "apply_to_DESC", + "description_ASC", + "description_DESC", + "egress_ASC", + "egress_DESC", + "id_ASC", + "id_DESC", + "ingress_ASC", + "ingress_DESC", + "is_blocklist_ASC", + "is_blocklist_DESC", + "name_ASC", + "name_DESC", + "policy_mode_ASC", + "policy_mode_DESC" + ], + "type": "string" + }, + "GetSecurityPoliciesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SecurityPolicyOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SecurityPolicyWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateSecurityPolicy": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "SecurityPolicyConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateSecurityPolicy" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetSecurityPoliciesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SecurityPolicyOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SecurityPolicyWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SnapshotGroupOrderByInput": { + "enum": [ + "deleted_ASC", + "deleted_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "estimated_recycling_time_ASC", + "estimated_recycling_time_DESC", + "id_ASC", + "id_DESC", + "internal_ASC", + "internal_DESC", + "keep_ASC", + "keep_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "logical_size_bytes_ASC", + "logical_size_bytes_DESC", + "name_ASC", + "name_DESC", + "object_num_ASC", + "object_num_DESC", + "vm_info_ASC", + "vm_info_DESC" + ], + "type": "string" + }, + "GetSnapshotGroupsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotGroupOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotGroupWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateSnapshotGroup": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "SnapshotGroupConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateSnapshotGroup" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetSnapshotGroupsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotGroupOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotGroupWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SnapshotPlanTask": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "end_time": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "internal": { + "type": "boolean", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "snapshotGroup": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedSnapshotGroup" + } + ], + "nullable": true + }, + "snapshotPlan": { + "$ref": "#/components/schemas/NestedSnapshotPlan" + }, + "start_time": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/SnapshotPlanExecuteStatus" + }, + "type": { + "$ref": "#/components/schemas/SnapshotPlanTaskType" + } + }, + "required": [ + "cluster", + "id", + "local_id", + "snapshotPlan", + "start_time", + "status", + "type" + ], + "type": "object", + "additionalProperties": false + }, + "SnapshotPlanTaskOrderByInput": { + "enum": [ + "end_time_ASC", + "end_time_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "internal_ASC", + "internal_DESC", + "local_id_ASC", + "local_id_DESC", + "start_time_ASC", + "start_time_DESC", + "status_ASC", + "status_DESC", + "type_ASC", + "type_DESC" + ], + "type": "string" + }, + "GetSnapshotPlanTasksRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanTaskOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanTaskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateSnapshotPlanTask": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "SnapshotPlanTaskConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateSnapshotPlanTask" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetSnapshotPlanTasksConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanTaskOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanTaskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateSnapshotPlan": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "SnapshotPlanConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateSnapshotPlan" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetSnapshotPlansConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SnapshotPlanWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SnmpTransportOrderByInput": { + "enum": [ + "auth_pass_phrase_ASC", + "auth_pass_phrase_DESC", + "auth_protocol_ASC", + "auth_protocol_DESC", + "community_ASC", + "community_DESC", + "disabled_ASC", + "disabled_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "port_ASC", + "port_DESC", + "privacy_pass_phrase_ASC", + "privacy_pass_phrase_DESC", + "privacy_protocol_ASC", + "privacy_protocol_DESC", + "protocol_ASC", + "protocol_DESC", + "username_ASC", + "username_DESC", + "version_ASC", + "version_DESC" + ], + "type": "string" + }, + "GetSnmpTransportsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpTransportOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpTransportWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateSnmpTransport": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "SnmpTransportConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateSnmpTransport" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetSnmpTransportsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpTransportOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpTransportWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SnmpTrapReceiverOrderByInput": { + "enum": [ + "auth_pass_phrase_ASC", + "auth_pass_phrase_DESC", + "auth_protocol_ASC", + "auth_protocol_DESC", + "community_ASC", + "community_DESC", + "disabled_ASC", + "disabled_DESC", + "engine_id_ASC", + "engine_id_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "host_ASC", + "host_DESC", + "id_ASC", + "id_DESC", + "inform_ASC", + "inform_DESC", + "language_code_ASC", + "language_code_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "port_ASC", + "port_DESC", + "privacy_pass_phrase_ASC", + "privacy_pass_phrase_DESC", + "privacy_protocol_ASC", + "privacy_protocol_DESC", + "protocol_ASC", + "protocol_DESC", + "username_ASC", + "username_DESC", + "version_ASC", + "version_DESC" + ], + "type": "string" + }, + "GetSnmpTrapReceiversRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpTrapReceiverOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpTrapReceiverWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateSnmpTrapReceiver": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "SnmpTrapReceiverConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateSnmpTrapReceiver" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetSnmpTrapReceiversConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpTrapReceiverOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SnmpTrapReceiverWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SvtImage": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "local_created_at": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "integer", + "format": "int64" + }, + "version": { + "type": "integer", + "format": "int32" + }, + "vm_disks": { + "items": { + "$ref": "#/components/schemas/NestedVmDisk" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "cluster", + "id", + "local_created_at", + "local_id", + "name", + "path", + "size", + "version" + ], + "type": "object", + "additionalProperties": false + }, + "SvtImageOrderByInput": { + "enum": [ + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "path_ASC", + "path_DESC", + "size_ASC", + "size_DESC", + "version_ASC", + "version_DESC" + ], + "type": "string" + }, + "GetSvtImagesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SvtImageOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SvtImageWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateSvtImage": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "SvtImageConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateSvtImage" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetSvtImagesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SvtImageOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SvtImageWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "SystemAuditLog": { + "properties": { + "action": { + "type": "string" + }, + "cluster": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedCluster" + } + ], + "nullable": true + }, + "finished_at": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "local_created_at": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "message": { + "type": "string" + }, + "resource_id": { + "type": "string", + "nullable": true + }, + "status": { + "allOf": [ + { + "$ref": "#/components/schemas/UserAuditLogStatus" + } + ], + "nullable": true + } + }, + "required": [ + "action", + "id", + "local_id", + "message" + ], + "type": "object", + "additionalProperties": false + }, + "NestedAggregateSystemAuditLog": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "SystemAuditLogConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateSystemAuditLog" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetSystemAuditLogsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/SystemAuditLogOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/SystemAuditLogWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateTask": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "TaskConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateTask" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetTasksConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/TaskOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/TaskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "UploadTaskOrderByInput": { + "enum": [ + "args_ASC", + "args_DESC", + "chunk_size_ASC", + "chunk_size_DESC", + "current_chunk_ASC", + "current_chunk_DESC", + "finished_at_ASC", + "finished_at_DESC", + "id_ASC", + "id_DESC", + "resource_type_ASC", + "resource_type_DESC", + "size_ASC", + "size_DESC", + "started_at_ASC", + "started_at_DESC", + "status_ASC", + "status_DESC", + "updatedAt_ASC", + "updatedAt_DESC" + ], + "type": "string" + }, + "GetUploadTasksRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/UploadTaskOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/UploadTaskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateUploadTask": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "UploadTaskConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateUploadTask" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetUploadTasksConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/UploadTaskOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/UploadTaskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateUsbDevice": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "UsbDeviceConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateUsbDevice" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetUsbDevicesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/UsbDeviceOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/UsbDeviceWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateUserAuditLog": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "UserAuditLogConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateUserAuditLog" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetUserAuditLogsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/UserAuditLogOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/UserAuditLogWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "UserRoleNextOrderByInput": { + "enum": [ + "id_ASC", + "id_DESC", + "name_ASC", + "name_DESC", + "platform_ASC", + "platform_DESC", + "preset_ASC", + "preset_DESC" + ], + "type": "string" + }, + "GetUserRoleNextsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRoleNextOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRoleNextWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateUserRoleNext": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "UserRoleNextConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateUserRoleNext" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetUserRoleNextsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRoleNextOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/UserRoleNextWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateUser": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "UserConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateUser" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetUsersConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/UserOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/UserWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "EverouteFeatureType": { + "enum": [ + "DFW", + "LB", + "VPC" + ], + "type": "string" + }, + "EverouteLicensePricingType": { + "enum": [ + "CPU_SLOT_NUM", + "VM_NUM" + ], + "type": "string" + }, + "V2EverouteLicense": { + "properties": { + "code": { + "type": "string" + }, + "expire_date": { + "type": "string" + }, + "feature_type": { + "$ref": "#/components/schemas/EverouteFeatureType" + }, + "id": { + "type": "string" + }, + "max_socket_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vcpu_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vpc_socket_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "pricing_type": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteLicensePricingType" + } + ], + "nullable": true + }, + "serial": { + "type": "string" + }, + "sign_date": { + "type": "string" + }, + "software_edition": { + "$ref": "#/components/schemas/SoftwareEdition" + }, + "type": { + "$ref": "#/components/schemas/LicenseType" + }, + "uid": { + "type": "string" + }, + "version": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "code", + "expire_date", + "feature_type", + "id", + "serial", + "sign_date", + "software_edition", + "type", + "uid", + "version" + ], + "type": "object", + "additionalProperties": false + }, + "V2EverouteLicenseOrderByInput": { + "enum": [ + "code_ASC", + "code_DESC", + "expire_date_ASC", + "expire_date_DESC", + "feature_type_ASC", + "feature_type_DESC", + "id_ASC", + "id_DESC", + "max_socket_num_ASC", + "max_socket_num_DESC", + "max_vcpu_num_ASC", + "max_vcpu_num_DESC", + "max_vm_num_ASC", + "max_vm_num_DESC", + "max_vpc_socket_num_ASC", + "max_vpc_socket_num_DESC", + "pricing_type_ASC", + "pricing_type_DESC", + "serial_ASC", + "serial_DESC", + "sign_date_ASC", + "sign_date_DESC", + "software_edition_ASC", + "software_edition_DESC", + "type_ASC", + "type_DESC", + "uid_ASC", + "uid_DESC", + "version_ASC", + "version_DESC" + ], + "type": "string" + }, + "V2EverouteLicenseWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/V2EverouteLicenseWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/V2EverouteLicenseWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/V2EverouteLicenseWhereInput" + }, + "type": "array", + "nullable": true + }, + "code": { + "type": "string", + "nullable": true + }, + "code_contains": { + "type": "string", + "nullable": true + }, + "code_ends_with": { + "type": "string", + "nullable": true + }, + "code_gt": { + "type": "string", + "nullable": true + }, + "code_gte": { + "type": "string", + "nullable": true + }, + "code_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "code_lt": { + "type": "string", + "nullable": true + }, + "code_lte": { + "type": "string", + "nullable": true + }, + "code_not": { + "type": "string", + "nullable": true + }, + "code_not_contains": { + "type": "string", + "nullable": true + }, + "code_not_ends_with": { + "type": "string", + "nullable": true + }, + "code_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "code_not_starts_with": { + "type": "string", + "nullable": true + }, + "code_starts_with": { + "type": "string", + "nullable": true + }, + "expire_date": { + "type": "string", + "nullable": true + }, + "expire_date_gt": { + "type": "string", + "nullable": true + }, + "expire_date_gte": { + "type": "string", + "nullable": true + }, + "expire_date_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "expire_date_lt": { + "type": "string", + "nullable": true + }, + "expire_date_lte": { + "type": "string", + "nullable": true + }, + "expire_date_not": { + "type": "string", + "nullable": true + }, + "expire_date_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "feature_type": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteFeatureType" + } + ], + "nullable": true + }, + "feature_type_in": { + "items": { + "$ref": "#/components/schemas/EverouteFeatureType" + }, + "type": "array", + "nullable": true + }, + "feature_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteFeatureType" + } + ], + "nullable": true + }, + "feature_type_not_in": { + "items": { + "$ref": "#/components/schemas/EverouteFeatureType" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "max_socket_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_socket_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_socket_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_socket_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_socket_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_socket_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_socket_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_socket_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_vcpu_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vcpu_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vcpu_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vcpu_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_vcpu_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vcpu_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vcpu_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vcpu_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vm_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vm_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vm_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_vm_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vm_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vm_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vm_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_vpc_socket_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vpc_socket_num_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vpc_socket_num_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vpc_socket_num_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "max_vpc_socket_num_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vpc_socket_num_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vpc_socket_num_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_vpc_socket_num_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "pricing_type": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteLicensePricingType" + } + ], + "nullable": true + }, + "pricing_type_in": { + "items": { + "$ref": "#/components/schemas/EverouteLicensePricingType" + }, + "type": "array", + "nullable": true + }, + "pricing_type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EverouteLicensePricingType" + } + ], + "nullable": true + }, + "pricing_type_not_in": { + "items": { + "$ref": "#/components/schemas/EverouteLicensePricingType" + }, + "type": "array", + "nullable": true + }, + "serial": { + "type": "string", + "nullable": true + }, + "serial_contains": { + "type": "string", + "nullable": true + }, + "serial_ends_with": { + "type": "string", + "nullable": true + }, + "serial_gt": { + "type": "string", + "nullable": true + }, + "serial_gte": { + "type": "string", + "nullable": true + }, + "serial_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "serial_lt": { + "type": "string", + "nullable": true + }, + "serial_lte": { + "type": "string", + "nullable": true + }, + "serial_not": { + "type": "string", + "nullable": true + }, + "serial_not_contains": { + "type": "string", + "nullable": true + }, + "serial_not_ends_with": { + "type": "string", + "nullable": true + }, + "serial_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "serial_not_starts_with": { + "type": "string", + "nullable": true + }, + "serial_starts_with": { + "type": "string", + "nullable": true + }, + "sign_date": { + "type": "string", + "nullable": true + }, + "sign_date_gt": { + "type": "string", + "nullable": true + }, + "sign_date_gte": { + "type": "string", + "nullable": true + }, + "sign_date_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "sign_date_lt": { + "type": "string", + "nullable": true + }, + "sign_date_lte": { + "type": "string", + "nullable": true + }, + "sign_date_not": { + "type": "string", + "nullable": true + }, + "sign_date_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "software_edition": { + "allOf": [ + { + "$ref": "#/components/schemas/SoftwareEdition" + } + ], + "nullable": true + }, + "software_edition_in": { + "items": { + "$ref": "#/components/schemas/SoftwareEdition" + }, + "type": "array", + "nullable": true + }, + "software_edition_not": { + "allOf": [ + { + "$ref": "#/components/schemas/SoftwareEdition" + } + ], + "nullable": true + }, + "software_edition_not_in": { + "items": { + "$ref": "#/components/schemas/SoftwareEdition" + }, + "type": "array", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/LicenseType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/LicenseType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/LicenseType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/LicenseType" + }, + "type": "array", + "nullable": true + }, + "uid": { + "type": "string", + "nullable": true + }, + "uid_contains": { + "type": "string", + "nullable": true + }, + "uid_ends_with": { + "type": "string", + "nullable": true + }, + "uid_gt": { + "type": "string", + "nullable": true + }, + "uid_gte": { + "type": "string", + "nullable": true + }, + "uid_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "uid_lt": { + "type": "string", + "nullable": true + }, + "uid_lte": { + "type": "string", + "nullable": true + }, + "uid_not": { + "type": "string", + "nullable": true + }, + "uid_not_contains": { + "type": "string", + "nullable": true + }, + "uid_not_ends_with": { + "type": "string", + "nullable": true + }, + "uid_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "uid_not_starts_with": { + "type": "string", + "nullable": true + }, + "uid_starts_with": { + "type": "string", + "nullable": true + }, + "version": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "version_gt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "version_gte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "version_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + }, + "version_lt": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "version_lte": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "version_not": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "version_not_in": { + "items": { + "type": "integer", + "format": "int32" + }, + "type": "array", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetV2EverouteLicensesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/V2EverouteLicenseOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/V2EverouteLicenseWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateV2EverouteLicense": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "V2EverouteLicenseConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateV2EverouteLicense" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetV2EverouteLicensesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/V2EverouteLicenseOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/V2EverouteLicenseWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VcenterAccountOrderByInput": { + "enum": [ + "id_ASC", + "id_DESC", + "ip_ASC", + "ip_DESC", + "is_valid_ASC", + "is_valid_DESC", + "local_id_ASC", + "local_id_DESC", + "port_ASC", + "port_DESC", + "username_ASC", + "username_DESC" + ], + "type": "string" + }, + "GetVcenterAccountsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VcenterAccountOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VcenterAccountWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVcenterAccount": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VcenterAccountConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVcenterAccount" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVcenterAccountsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VcenterAccountOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VcenterAccountWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVds": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VdsConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVds" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVdsesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VdsWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ViewOrderByInput": { + "enum": [ + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "time_span_ASC", + "time_span_DESC", + "time_unit_ASC", + "time_unit_DESC" + ], + "type": "string" + }, + "GetViewsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ViewOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ViewWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateView": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ViewConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateView" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetViewsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ViewOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ViewWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudClusterBinding": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "mtu": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "vds": { + "$ref": "#/components/schemas/NestedVds" + }, + "vlan_id": { + "type": "integer", + "format": "int32" + }, + "vpc_service": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudService" + } + }, + "required": [ + "cluster", + "id", + "vds", + "vlan_id", + "vpc_service" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudClusterBindingOrderByInput": { + "enum": [ + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "mtu_ASC", + "mtu_DESC", + "vlan_id_ASC", + "vlan_id_DESC" + ], + "type": "string" + }, + "GetVirtualPrivateCloudClusterBindingsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudClusterBindingOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudClusterBindingWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVirtualPrivateCloudClusterBinding": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudClusterBindingConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVirtualPrivateCloudClusterBinding" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVirtualPrivateCloudClusterBindingsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudClusterBindingOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudClusterBindingWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedVirtualPrivateCloudEdgeGateway": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVirtualPrivateCloudFloatingIp": { + "properties": { + "external_ip": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVirtualPrivateCloudNatGateway": { + "properties": { + "external_ip": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "NestedVirtualPrivateCloudRouterGateway": { + "properties": { + "external_ip": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudExternalSubnet": { + "properties": { + "cidr": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "edge_gateway": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudEdgeGateway" + } + ], + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "exclusive": { + "type": "boolean" + }, + "floating_ip_cidr": { + "type": "string", + "nullable": true + }, + "floating_ips": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudFloatingIp" + }, + "type": "array", + "nullable": true + }, + "gateway": { + "type": "string" + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "nat_gateway_cidr": { + "type": "string", + "nullable": true + }, + "nat_gateways": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudNatGateway" + }, + "type": "array", + "nullable": true + }, + "router_gateway_cidr": { + "type": "string", + "nullable": true + }, + "router_gateways": { + "items": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudRouterGateway" + }, + "type": "array", + "nullable": true + }, + "vlan": { + "$ref": "#/components/schemas/NestedVlan" + }, + "vpc": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVirtualPrivateCloud" + } + ], + "nullable": true + } + }, + "required": [ + "cidr", + "exclusive", + "gateway", + "id", + "local_id", + "name", + "vlan" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudExternalSubnetOrderByInput": { + "enum": [ + "cidr_ASC", + "cidr_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "exclusive_ASC", + "exclusive_DESC", + "floating_ip_cidr_ASC", + "floating_ip_cidr_DESC", + "gateway_ASC", + "gateway_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "nat_gateway_cidr_ASC", + "nat_gateway_cidr_DESC", + "router_gateway_cidr_ASC", + "router_gateway_cidr_DESC" + ], + "type": "string" + }, + "GetVirtualPrivateCloudExternalSubnetsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVirtualPrivateCloudExternalSubnet": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudExternalSubnetConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVirtualPrivateCloudExternalSubnet" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVirtualPrivateCloudExternalSubnetsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudFloatingIpOrderByInput": { + "enum": [ + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "external_ip_ASC", + "external_ip_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC" + ], + "type": "string" + }, + "GetVirtualPrivateCloudFloatingIpsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVirtualPrivateCloudFloatingIp": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudFloatingIpConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVirtualPrivateCloudFloatingIp" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVirtualPrivateCloudFloatingIpsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudNatGatewayOrderByInput": { + "enum": [ + "dnat_rules_ASC", + "dnat_rules_DESC", + "enable_dnat_ASC", + "enable_dnat_DESC", + "enable_snat_ASC", + "enable_snat_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "external_ip_ASC", + "external_ip_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC" + ], + "type": "string" + }, + "GetVirtualPrivateCloudNatGatewaysRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVirtualPrivateCloudNatGateway": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudNatGatewayConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVirtualPrivateCloudNatGateway" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVirtualPrivateCloudNatGatewaysConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudRouteTableOrderByInput": { + "enum": [ + "default_for_vpc_ASC", + "default_for_vpc_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC" + ], + "type": "string" + }, + "GetVirtualPrivateCloudRouteTablesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVirtualPrivateCloudRouteTable": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudRouteTableConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVirtualPrivateCloudRouteTable" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVirtualPrivateCloudRouteTablesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudRouterGatewayOrderByInput": { + "enum": [ + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "external_ip_ASC", + "external_ip_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "nexthop_ip_ASC", + "nexthop_ip_DESC", + "rules_ASC", + "rules_DESC" + ], + "type": "string" + }, + "GetVirtualPrivateCloudRouterGatewaysRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVirtualPrivateCloudRouterGateway": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudRouterGatewayConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVirtualPrivateCloudRouterGateway" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVirtualPrivateCloudRouterGatewaysConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudSecurityGroupOrderByInput": { + "enum": [ + "default_for_vpc_ASC", + "default_for_vpc_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "label_groups_ASC", + "label_groups_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC" + ], + "type": "string" + }, + "GetVirtualPrivateCloudSecurityGroupsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVirtualPrivateCloudSecurityGroup": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudSecurityGroupConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVirtualPrivateCloudSecurityGroup" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVirtualPrivateCloudSecurityGroupsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudSecurityPolicyOrderByInput": { + "enum": [ + "apply_to_ASC", + "apply_to_DESC", + "description_ASC", + "description_DESC", + "egress_ASC", + "egress_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "ingress_ASC", + "ingress_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "policy_mode_ASC", + "policy_mode_DESC" + ], + "type": "string" + }, + "GetVirtualPrivateCloudSecurityPoliciesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVirtualPrivateCloudSecurityPolicy": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudSecurityPolicyConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVirtualPrivateCloudSecurityPolicy" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVirtualPrivateCloudSecurityPoliciesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudSubnetOrderByInput": { + "enum": [ + "cidr_ASC", + "cidr_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "gateway_ASC", + "gateway_DESC", + "id_ASC", + "id_DESC", + "ip_pools_ASC", + "ip_pools_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "total_ip_count_ASC", + "total_ip_count_DESC", + "unused_ip_count_ASC", + "unused_ip_count_DESC" + ], + "type": "string" + }, + "GetVirtualPrivateCloudSubnetsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVirtualPrivateCloudSubnet": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudSubnetConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVirtualPrivateCloudSubnet" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVirtualPrivateCloudSubnetsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudOrderByInput": { + "enum": [ + "associate_external_subnet_num_ASC", + "associate_external_subnet_num_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "mtu_ASC", + "mtu_DESC", + "name_ASC", + "name_DESC" + ], + "type": "string" + }, + "GetVirtualPrivateCloudsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVirtualPrivateCloud": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VirtualPrivateCloudConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVirtualPrivateCloud" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVirtualPrivateCloudsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VirtualPrivateCloudWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVlan": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VlanConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVlan" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVlansConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VlanWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedSvtImage": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "VmDisk": { + "properties": { + "boot": { + "type": "integer", + "format": "int32" + }, + "bus": { + "$ref": "#/components/schemas/Bus" + }, + "cloud_init_image_name": { + "type": "string", + "nullable": true + }, + "cloud_init_image_path": { + "type": "string", + "nullable": true + }, + "device": { + "type": "string", + "nullable": true + }, + "disabled": { + "type": "boolean", + "nullable": true + }, + "elf_image": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedElfImage" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "key": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_bandwidth": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "max_bandwidth_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "max_iops": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "max_iops_policy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskIoRestrictType" + } + ], + "nullable": true + }, + "serial": { + "type": "string", + "nullable": true + }, + "svt_image": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedSvtImage" + } + ], + "nullable": true + }, + "type": { + "$ref": "#/components/schemas/VmDiskType" + }, + "unsafe_image_path": { + "type": "string", + "nullable": true + }, + "unsafe_image_uuid": { + "type": "string", + "nullable": true + }, + "unsafe_provision": { + "type": "string", + "nullable": true + }, + "vm": { + "$ref": "#/components/schemas/NestedVm" + }, + "vm_volume": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVmVolume" + } + ], + "nullable": true + } + }, + "required": [ + "boot", + "bus", + "id", + "type", + "vm" + ], + "type": "object", + "additionalProperties": false + }, + "VmDiskOrderByInput": { + "enum": [ + "boot_ASC", + "boot_DESC", + "bus_ASC", + "bus_DESC", + "cloud_init_image_name_ASC", + "cloud_init_image_name_DESC", + "cloud_init_image_path_ASC", + "cloud_init_image_path_DESC", + "device_ASC", + "device_DESC", + "disabled_ASC", + "disabled_DESC", + "id_ASC", + "id_DESC", + "key_ASC", + "key_DESC", + "max_bandwidth_ASC", + "max_bandwidth_DESC", + "max_bandwidth_policy_ASC", + "max_bandwidth_policy_DESC", + "max_iops_ASC", + "max_iops_DESC", + "max_iops_policy_ASC", + "max_iops_policy_DESC", + "serial_ASC", + "serial_DESC", + "type_ASC", + "type_DESC", + "unsafe_image_path_ASC", + "unsafe_image_path_DESC", + "unsafe_image_uuid_ASC", + "unsafe_image_uuid_DESC", + "unsafe_provision_ASC", + "unsafe_provision_DESC" + ], + "type": "string" + }, + "GetVmDisksRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVmDisk": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VmDiskConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVmDisk" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVmDisksConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmDiskWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedEntityFilter": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "additionalProperties": false + }, + "VmEntityFilterResult": { + "properties": { + "entityFilter": { + "$ref": "#/components/schemas/NestedEntityFilter" + }, + "id": { + "type": "string" + }, + "result": { + "items": { + "type": "number", + "format": "double" + }, + "type": "array" + }, + "vm": { + "$ref": "#/components/schemas/NestedVm" + } + }, + "required": [ + "entityFilter", + "id", + "result", + "vm" + ], + "type": "object", + "additionalProperties": false + }, + "VmEntityFilterResultOrderByInput": { + "enum": [ + "id_ASC", + "id_DESC" + ], + "type": "string" + }, + "GetVmEntityFilterResultsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmEntityFilterResultOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmEntityFilterResultWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVmEntityFilterResult": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VmEntityFilterResultConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVmEntityFilterResult" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVmEntityFilterResultsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmEntityFilterResultOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmEntityFilterResultWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmExportFileOrderByInput": { + "enum": [ + "createdAt_ASC", + "createdAt_DESC", + "damaged_ASC", + "damaged_DESC", + "data_port_id_ASC", + "data_port_id_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "files_ASC", + "files_DESC", + "id_ASC", + "id_DESC", + "storage_cluster_id_ASC", + "storage_cluster_id_DESC", + "type_ASC", + "type_DESC" + ], + "type": "string" + }, + "VmExportFileWhereInput": { + "properties": { + "AND": { + "items": { + "$ref": "#/components/schemas/VmExportFileWhereInput" + }, + "type": "array", + "nullable": true + }, + "NOT": { + "items": { + "$ref": "#/components/schemas/VmExportFileWhereInput" + }, + "type": "array", + "nullable": true + }, + "OR": { + "items": { + "$ref": "#/components/schemas/VmExportFileWhereInput" + }, + "type": "array", + "nullable": true + }, + "content_library_vm_template": { + "allOf": [ + { + "$ref": "#/components/schemas/ContentLibraryVmTemplateWhereInput" + } + ], + "nullable": true + }, + "createdAt": { + "type": "string", + "nullable": true + }, + "createdAt_gt": { + "type": "string", + "nullable": true + }, + "createdAt_gte": { + "type": "string", + "nullable": true + }, + "createdAt_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "createdAt_lt": { + "type": "string", + "nullable": true + }, + "createdAt_lte": { + "type": "string", + "nullable": true + }, + "createdAt_not": { + "type": "string", + "nullable": true + }, + "createdAt_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "damaged": { + "type": "boolean", + "nullable": true + }, + "damaged_not": { + "type": "boolean", + "nullable": true + }, + "data_port_id": { + "type": "string", + "nullable": true + }, + "data_port_id_contains": { + "type": "string", + "nullable": true + }, + "data_port_id_ends_with": { + "type": "string", + "nullable": true + }, + "data_port_id_gt": { + "type": "string", + "nullable": true + }, + "data_port_id_gte": { + "type": "string", + "nullable": true + }, + "data_port_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "data_port_id_lt": { + "type": "string", + "nullable": true + }, + "data_port_id_lte": { + "type": "string", + "nullable": true + }, + "data_port_id_not": { + "type": "string", + "nullable": true + }, + "data_port_id_not_contains": { + "type": "string", + "nullable": true + }, + "data_port_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "data_port_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "data_port_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "data_port_id_starts_with": { + "type": "string", + "nullable": true + }, + "entityAsyncStatus": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "entityAsyncStatus_not": { + "allOf": [ + { + "$ref": "#/components/schemas/EntityAsyncStatus" + } + ], + "nullable": true + }, + "entityAsyncStatus_not_in": { + "items": { + "$ref": "#/components/schemas/EntityAsyncStatus" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string", + "nullable": true + }, + "id_contains": { + "type": "string", + "nullable": true + }, + "id_ends_with": { + "type": "string", + "nullable": true + }, + "id_gt": { + "type": "string", + "nullable": true + }, + "id_gte": { + "type": "string", + "nullable": true + }, + "id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_lt": { + "type": "string", + "nullable": true + }, + "id_lte": { + "type": "string", + "nullable": true + }, + "id_not": { + "type": "string", + "nullable": true + }, + "id_not_contains": { + "type": "string", + "nullable": true + }, + "id_not_ends_with": { + "type": "string", + "nullable": true + }, + "id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "id_not_starts_with": { + "type": "string", + "nullable": true + }, + "id_starts_with": { + "type": "string", + "nullable": true + }, + "storage_cluster_id": { + "type": "string", + "nullable": true + }, + "storage_cluster_id_contains": { + "type": "string", + "nullable": true + }, + "storage_cluster_id_ends_with": { + "type": "string", + "nullable": true + }, + "storage_cluster_id_gt": { + "type": "string", + "nullable": true + }, + "storage_cluster_id_gte": { + "type": "string", + "nullable": true + }, + "storage_cluster_id_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "storage_cluster_id_lt": { + "type": "string", + "nullable": true + }, + "storage_cluster_id_lte": { + "type": "string", + "nullable": true + }, + "storage_cluster_id_not": { + "type": "string", + "nullable": true + }, + "storage_cluster_id_not_contains": { + "type": "string", + "nullable": true + }, + "storage_cluster_id_not_ends_with": { + "type": "string", + "nullable": true + }, + "storage_cluster_id_not_in": { + "items": { + "type": "string" + }, + "type": "array", + "nullable": true + }, + "storage_cluster_id_not_starts_with": { + "type": "string", + "nullable": true + }, + "storage_cluster_id_starts_with": { + "type": "string", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmExportFileType" + } + ], + "nullable": true + }, + "type_in": { + "items": { + "$ref": "#/components/schemas/VmExportFileType" + }, + "type": "array", + "nullable": true + }, + "type_not": { + "allOf": [ + { + "$ref": "#/components/schemas/VmExportFileType" + } + ], + "nullable": true + }, + "type_not_in": { + "items": { + "$ref": "#/components/schemas/VmExportFileType" + }, + "type": "array", + "nullable": true + }, + "vm": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + }, + "vm_volume": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetVmExportFilesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmExportFileOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmExportFileWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVmExportFile": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VmExportFileConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVmExportFile" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVmExportFilesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmExportFileOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmExportFileWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmFolderOrderByInput": { + "enum": [ + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "vm_num_ASC", + "vm_num_DESC" + ], + "type": "string" + }, + "GetVmFoldersRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFolderOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFolderWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVmFolder": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VmFolderConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVmFolder" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVmFoldersConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFolderOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmFolderWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedVirtualPrivateCloudNic": { + "properties": { + "floating_ip": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudFloatingIp" + } + ], + "nullable": true + }, + "id": { + "type": "string" + }, + "ip_addresses": { + "items": { + "type": "string" + }, + "type": "array" + }, + "local_id": { + "type": "string" + }, + "vpc": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloud" + }, + "vpc_subnet": { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudSubnet" + } + }, + "required": [ + "id", + "ip_addresses", + "local_id", + "vpc", + "vpc_subnet" + ], + "type": "object", + "additionalProperties": false + }, + "VmNic": { + "properties": { + "egress_rate_limit_burst_in_bit": { + "type": "number", + "format": "double", + "nullable": true + }, + "egress_rate_limit_enabled": { + "type": "boolean", + "nullable": true + }, + "egress_rate_limit_max_rate_in_bitps": { + "type": "number", + "format": "double", + "nullable": true + }, + "enabled": { + "type": "boolean", + "nullable": true + }, + "gateway": { + "type": "string", + "nullable": true + }, + "id": { + "type": "string" + }, + "ingress_rate_limit_burst_in_bit": { + "type": "number", + "format": "double", + "nullable": true + }, + "ingress_rate_limit_enabled": { + "type": "boolean", + "nullable": true + }, + "ingress_rate_limit_max_rate_in_bitps": { + "type": "number", + "format": "double", + "nullable": true + }, + "interface_id": { + "type": "string", + "nullable": true + }, + "ip_address": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string" + }, + "mac_address": { + "type": "string", + "nullable": true + }, + "mirror": { + "type": "boolean", + "nullable": true + }, + "model": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicModel" + } + ], + "nullable": true + }, + "nic": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedNic" + } + ], + "nullable": true + }, + "order": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "subnet_mask": { + "type": "string", + "nullable": true + }, + "type": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicType" + } + ], + "nullable": true + }, + "vlan": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVlan" + } + ], + "nullable": true + }, + "vm": { + "$ref": "#/components/schemas/NestedVm" + }, + "vpc_nic": { + "allOf": [ + { + "$ref": "#/components/schemas/NestedVirtualPrivateCloudNic" + } + ], + "nullable": true + } + }, + "required": [ + "id", + "local_id", + "vm" + ], + "type": "object", + "additionalProperties": false + }, + "VmNicOrderByInput": { + "enum": [ + "egress_rate_limit_burst_in_bit_ASC", + "egress_rate_limit_burst_in_bit_DESC", + "egress_rate_limit_enabled_ASC", + "egress_rate_limit_enabled_DESC", + "egress_rate_limit_max_rate_in_bitps_ASC", + "egress_rate_limit_max_rate_in_bitps_DESC", + "enabled_ASC", + "enabled_DESC", + "gateway_ASC", + "gateway_DESC", + "id_ASC", + "id_DESC", + "ingress_rate_limit_burst_in_bit_ASC", + "ingress_rate_limit_burst_in_bit_DESC", + "ingress_rate_limit_enabled_ASC", + "ingress_rate_limit_enabled_DESC", + "ingress_rate_limit_max_rate_in_bitps_ASC", + "ingress_rate_limit_max_rate_in_bitps_DESC", + "interface_id_ASC", + "interface_id_DESC", + "ip_address_ASC", + "ip_address_DESC", + "local_id_ASC", + "local_id_DESC", + "mac_address_ASC", + "mac_address_DESC", + "mirror_ASC", + "mirror_DESC", + "model_ASC", + "model_DESC", + "order_ASC", + "order_DESC", + "subnet_mask_ASC", + "subnet_mask_DESC", + "type_ASC", + "type_DESC" + ], + "type": "string" + }, + "GetVmNicsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVmNic": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VmNicConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVmNic" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVmNicsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmNicWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVmPlacementGroup": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VmPlacementGroupConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVmPlacementGroup" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVmPlacementGroupsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmPlacementGroupOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmPlacementGroupWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmSnapshotOrderByInput": { + "enum": [ + "clock_offset_ASC", + "clock_offset_DESC", + "consistent_type_ASC", + "consistent_type_DESC", + "cpu_ASC", + "cpu_DESC", + "cpu_model_ASC", + "cpu_model_DESC", + "description_ASC", + "description_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "firmware_ASC", + "firmware_DESC", + "ha_ASC", + "ha_DESC", + "id_ASC", + "id_DESC", + "io_policy_ASC", + "io_policy_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "max_bandwidth_ASC", + "max_bandwidth_DESC", + "max_bandwidth_policy_ASC", + "max_bandwidth_policy_DESC", + "max_iops_ASC", + "max_iops_DESC", + "max_iops_policy_ASC", + "max_iops_policy_DESC", + "memory_ASC", + "memory_DESC", + "name_ASC", + "name_DESC", + "size_ASC", + "size_DESC", + "vcpu_ASC", + "vcpu_DESC", + "vm_disks_ASC", + "vm_disks_DESC", + "vm_nics_ASC", + "vm_nics_DESC", + "win_opt_ASC", + "win_opt_DESC" + ], + "type": "string" + }, + "GetVmSnapshotsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVmSnapshot": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VmSnapshotConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVmSnapshot" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVmSnapshotsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmSnapshotWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVmTemplate": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VmTemplateConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVmTemplate" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVmTemplatesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmTemplateWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VmVolumeSnapshotOrderByInput": { + "enum": [ + "createAt_ASC", + "createAt_DESC", + "description_ASC", + "description_DESC", + "elf_storage_policy_ASC", + "elf_storage_policy_DESC", + "entityAsyncStatus_ASC", + "entityAsyncStatus_DESC", + "id_ASC", + "id_DESC", + "local_created_at_ASC", + "local_created_at_DESC", + "local_id_ASC", + "local_id_DESC", + "name_ASC", + "name_DESC", + "shared_size_ASC", + "shared_size_DESC", + "size_ASC", + "size_DESC", + "type_ASC", + "type_DESC", + "unique_size_ASC", + "unique_size_DESC", + "volume_sharing_ASC", + "volume_sharing_DESC", + "volume_size_ASC", + "volume_size_DESC", + "zbs_snapshot_uuid_ASC", + "zbs_snapshot_uuid_DESC" + ], + "type": "string" + }, + "GetVmVolumeSnapshotsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeSnapshotOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeSnapshotWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVmVolumeSnapshot": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VmVolumeSnapshotConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVmVolumeSnapshot" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVmVolumeSnapshotsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeSnapshotOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeSnapshotWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVmVolume": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VmVolumeConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVmVolume" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVmVolumesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmVolumeWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVm": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VmConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVm" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVmsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VmOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VmWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "VsphereEsxiAccountOrderByInput": { + "enum": [ + "id_ASC", + "id_DESC", + "ip_ASC", + "ip_DESC", + "is_valid_ASC", + "is_valid_DESC", + "local_id_ASC", + "local_id_DESC", + "port_ASC", + "port_DESC", + "username_ASC", + "username_DESC" + ], + "type": "string" + }, + "GetVsphereEsxiAccountsRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VsphereEsxiAccountOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VsphereEsxiAccountWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateVsphereEsxiAccount": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "VsphereEsxiAccountConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateVsphereEsxiAccount" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetVsphereEsxiAccountsConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/VsphereEsxiAccountOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/VsphereEsxiAccountWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "WitnessService": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "role": { + "type": "string" + }, + "state": { + "type": "string" + }, + "state_duration": { + "type": "number", + "format": "double" + } + }, + "required": [ + "id", + "name", + "role", + "state", + "state_duration" + ], + "type": "object", + "additionalProperties": false + }, + "WitnessWhereUniqueInput": { + "properties": { + "id": { + "type": "string", + "nullable": true + }, + "local_id": { + "type": "string", + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "GetWitnessServicesRequestBody": { + "properties": { + "where": { + "$ref": "#/components/schemas/WitnessWhereUniqueInput" + } + }, + "required": [ + "where" + ], + "type": "object", + "additionalProperties": false + }, + "Witness": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "cpu_hz_per_core": { + "type": "integer", + "format": "int64" + }, + "data_ip": { + "type": "string" + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string", + "nullable": true + }, + "management_ip": { + "type": "string" + }, + "name": { + "type": "string" + }, + "system_data_capacity": { + "type": "integer", + "format": "int64" + }, + "system_used_data_space": { + "type": "integer", + "format": "int64" + }, + "total_cpu_cores": { + "type": "integer", + "format": "int32" + }, + "total_cpu_hz": { + "type": "integer", + "format": "int64" + }, + "total_memory_bytes": { + "type": "integer", + "format": "int64" + } + }, + "required": [ + "cluster", + "cpu_hz_per_core", + "data_ip", + "id", + "management_ip", + "name", + "system_data_capacity", + "system_used_data_space", + "total_cpu_cores", + "total_cpu_hz", + "total_memory_bytes" + ], + "type": "object", + "additionalProperties": false + }, + "WitnessOrderByInput": { + "enum": [ + "cpu_hz_per_core_ASC", + "cpu_hz_per_core_DESC", + "data_ip_ASC", + "data_ip_DESC", + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC", + "management_ip_ASC", + "management_ip_DESC", + "name_ASC", + "name_DESC", + "system_data_capacity_ASC", + "system_data_capacity_DESC", + "system_used_data_space_ASC", + "system_used_data_space_DESC", + "total_cpu_cores_ASC", + "total_cpu_cores_DESC", + "total_cpu_hz_ASC", + "total_cpu_hz_DESC", + "total_memory_bytes_ASC", + "total_memory_bytes_DESC" + ], + "type": "string" + }, + "GetWitnessesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/WitnessOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/WitnessWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateWitness": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "WitnessConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateWitness" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetWitnessesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/WitnessOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/WitnessWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "ZoneTopo": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "cluster_topo": { + "$ref": "#/components/schemas/NestedClusterTopo" + }, + "id": { + "type": "string" + }, + "local_id": { + "type": "string" + }, + "rack_topoes": { + "items": { + "$ref": "#/components/schemas/NestedRackTopo" + }, + "type": "array", + "nullable": true + } + }, + "required": [ + "cluster", + "cluster_topo", + "id", + "local_id" + ], + "type": "object", + "additionalProperties": false + }, + "ZoneTopoOrderByInput": { + "enum": [ + "id_ASC", + "id_DESC", + "local_id_ASC", + "local_id_DESC" + ], + "type": "string" + }, + "GetZoneTopoesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneTopoOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneTopoWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateZoneTopo": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ZoneTopoConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateZoneTopo" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetZoneTopoesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneTopoOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneTopoWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "Zone": { + "properties": { + "cluster": { + "$ref": "#/components/schemas/NestedCluster" + }, + "datacenter": { + "$ref": "#/components/schemas/NestedDatacenter" + }, + "failure_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "host_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "hosts": { + "items": { + "$ref": "#/components/schemas/NestedHost" + }, + "type": "array", + "nullable": true + }, + "id": { + "type": "string" + }, + "is_preferred": { + "type": "boolean" + }, + "local_id": { + "type": "string", + "nullable": true + }, + "provisioned_cpu_cores": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_cpu_cores_for_active_vm": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "provisioned_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "provisioned_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "running_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "stopped_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "suspended_vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cache_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_cpu_cores": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "total_cpu_hz": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_data_capacity": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "total_memory_bytes": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "used_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "valid_data_space": { + "type": "integer", + "format": "int64", + "nullable": true + }, + "vm_num": { + "type": "integer", + "format": "int32", + "nullable": true + } + }, + "required": [ + "cluster", + "datacenter", + "id", + "is_preferred" + ], + "type": "object", + "additionalProperties": false + }, + "ZoneOrderByInput": { + "enum": [ + "failure_data_space_ASC", + "failure_data_space_DESC", + "host_num_ASC", + "host_num_DESC", + "id_ASC", + "id_DESC", + "is_preferred_ASC", + "is_preferred_DESC", + "local_id_ASC", + "local_id_DESC", + "provisioned_cpu_cores_ASC", + "provisioned_cpu_cores_DESC", + "provisioned_cpu_cores_for_active_vm_ASC", + "provisioned_cpu_cores_for_active_vm_DESC", + "provisioned_data_space_ASC", + "provisioned_data_space_DESC", + "provisioned_memory_bytes_ASC", + "provisioned_memory_bytes_DESC", + "running_vm_num_ASC", + "running_vm_num_DESC", + "stopped_vm_num_ASC", + "stopped_vm_num_DESC", + "suspended_vm_num_ASC", + "suspended_vm_num_DESC", + "total_cache_capacity_ASC", + "total_cache_capacity_DESC", + "total_cpu_cores_ASC", + "total_cpu_cores_DESC", + "total_cpu_hz_ASC", + "total_cpu_hz_DESC", + "total_data_capacity_ASC", + "total_data_capacity_DESC", + "total_memory_bytes_ASC", + "total_memory_bytes_DESC", + "used_data_space_ASC", + "used_data_space_DESC", + "valid_data_space_ASC", + "valid_data_space_DESC", + "vm_num_ASC", + "vm_num_DESC" + ], + "type": "string" + }, + "GetZonesRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "NestedAggregateZone": { + "properties": { + "count": { + "type": "integer", + "format": "int32" + } + }, + "required": [ + "count" + ], + "type": "object", + "additionalProperties": false + }, + "ZoneConnection": { + "properties": { + "aggregate": { + "$ref": "#/components/schemas/NestedAggregateZone" + } + }, + "required": [ + "aggregate" + ], + "type": "object", + "additionalProperties": false + }, + "GetZonesConnectionRequestBody": { + "properties": { + "after": { + "type": "string", + "nullable": true + }, + "before": { + "type": "string", + "nullable": true + }, + "first": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "last": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "orderBy": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneOrderByInput" + } + ], + "nullable": true + }, + "skip": { + "type": "integer", + "format": "int32", + "nullable": true + }, + "where": { + "allOf": [ + { + "$ref": "#/components/schemas/ZoneWhereInput" + } + ], + "nullable": true + } + }, + "type": "object", + "additionalProperties": false + }, + "WithTask_AlertNotifier_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/AlertNotifier" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "AlertNotifierCreationParams": { + "properties": { + "notice_severities": { + "items": { + "type": "string", + "enum": [ + "CRITICAL", + "NOTICE", + "INFO" + ] + }, + "type": "array" + }, + "language_code": { + "$ref": "#/components/schemas/NotifierLanguageCode" + }, + "email_tos": { + "items": { + "type": "string" + }, + "type": "array" + }, + "email_from": { + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "smtp_server_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + } + }, + "required": [ + "notice_severities", + "language_code", + "email_tos", + "email_from", + "disabled", + "smtp_server_id", + "name", + "clusters" + ], + "type": "object" + }, + "AlertNotifierUpdationParams": { + "properties": { + "notice_severities": { + "items": { + "type": "string", + "enum": [ + "CRITICAL", + "NOTICE", + "INFO" + ] + }, + "type": "array" + }, + "language_code": { + "$ref": "#/components/schemas/NotifierLanguageCode" + }, + "email_tos": { + "items": { + "type": "string" + }, + "type": "array" + }, + "email_from": { + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "smtp_server_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "clusters": { + "$ref": "#/components/schemas/ClusterWhereInput" + }, + "id": { + "type": "string" + } + }, + "type": "object" + }, + "AlertNotifierManyUpdationParams": { + "properties": { + "notice_severities": { + "items": { + "type": "string", + "enum": [ + "CRITICAL", + "NOTICE", + "INFO" + ] + }, + "type": "array" + }, + "language_code": { + "$ref": "#/components/schemas/NotifierLanguageCode" + }, + "email_tos": { + "items": { + "type": "string" + }, + "type": "array" + }, + "email_from": { + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "smtp_server_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "where": { + "$ref": "#/components/schemas/AlertNotifierWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + }, + "DeleteAlertNotifier": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + }, + "WithTask_DeleteAlertNotifier_": { + "properties": { + "task_id": { + "type": "string", + "nullable": true + }, + "data": { + "$ref": "#/components/schemas/DeleteAlertNotifier" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "DeleteAlertNotifierParams": { + "properties": { + "where": { + "$ref": "#/components/schemas/AlertNotifierWhereInput" + } + }, + "required": [ + "where" + ], + "type": "object" + } + }, + "securitySchemes": { + "Authorization": { + "type": "apiKey", + "name": "Authorization", + "in": "header", + "description": "" + } + } + }, + "info": { + "title": "", + "version": "2.3.0", + "description": "cloudtower operation API and SDK" + }, + "openapi": "3.0.0", + "paths": { + "/update-global-alert-rule": { + "post": { + "operationId": "UpdateGlobalAlertRule", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_GlobalAlertRule_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GlobalAlertRule" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalAlertRuleUpdationParams" + } + } + } + } + } + }, + "/update-customize-alert-rule": { + "post": { + "operationId": "UpdateCustomizeAlertRule", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_GlobalAlertRule_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GlobalAlertRule" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CustomizeAlertRuleUpdationParams" + } + } + } + } + } + }, + "/resolve-alert": { + "post": { + "operationId": "ResolveAlert", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Alert_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Alert" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ResolveAlertParams" + } + } + } + } + } + }, + "/create-user-audit-log": { + "post": { + "operationId": "CreateUserAuditLog", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_UserAuditLog_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UserAuditLog" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/UserAuditLogCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/create-backup-plan": { + "post": { + "operationId": "CreateBackupPlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_BackupPlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/BackupPlanCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-backup-plan": { + "post": { + "operationId": "UpdateBackupPlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_BackupPlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupPlanUpdationParams" + } + } + } + } + } + }, + "/delete-backup-plan": { + "post": { + "operationId": "DeleteBackupPlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteBackupPlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupPlanDeletionParams" + } + } + } + } + } + }, + "/suspend-backup-plan": { + "post": { + "operationId": "SuspendBackupPlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_BackupPlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupPlanSuspendParams" + } + } + } + } + } + }, + "/resume-backup-plan": { + "post": { + "operationId": "ResumeBackupPlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_BackupPlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupPlanResumeParams" + } + } + } + } + } + }, + "/execute-backup-plan": { + "post": { + "operationId": "ExecuteBackupPlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_BackupPlanExecution_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupPlanExecuteParams" + } + } + } + } + } + }, + "/backup-rebuild-vm": { + "post": { + "operationId": "BackupRebuildVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_BackupRestoreExecution_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupRestorePointRebuildParams" + } + } + } + } + } + }, + "/backup-restore-vm-in-place": { + "post": { + "operationId": "BackupRestoreVmInPlace", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_BackupRestoreExecution_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupRestorePointRestoreInPlaceParams" + } + } + } + } + } + }, + "/delete-backup-restore-point": { + "post": { + "operationId": "DeleteBackupRestorePoint", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteBackupRestorePoint-Array_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupRestorePointDeletionParams" + } + } + } + } + } + }, + "/get-backup-restore-point-metadata": { + "post": { + "operationId": "GetBackupRestorePointMetadata", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmMetaData" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupRestorePointMetadataRequestBody" + } + } + } + } + } + }, + "/create-brick-topo": { + "post": { + "operationId": "CreateBrickTopo", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_BrickTopo_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BrickTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/BrickTopoCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-brick-topo": { + "post": { + "operationId": "UpdateBrickTopo", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_BrickTopo_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BrickTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BrickTopoUpdationParams" + } + } + } + } + } + }, + "/move-brick-topo": { + "post": { + "operationId": "MoveBrickTopo", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_BrickTopo_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BrickTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BrickTopoMoveParams" + } + } + } + } + } + }, + "/delete-brick-topo": { + "post": { + "operationId": "DeleteBrickTopo", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteBrickTopo_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BrickTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BrickTopoDeletionParams" + } + } + } + } + } + }, + "/upload-cloudtower-application-package": { + "post": { + "operationId": "UploadCloudTowerApplicationPackage", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/UploadTask" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "CloudTowerApplication" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "format": "binary" + }, + "name": { + "type": "string" + }, + "size": { + "type": "string" + }, + "size_unit": { + "type": "string" + }, + "upload_task_id": { + "type": "string" + } + }, + "required": [ + "file" + ] + } + } + } + } + } + }, + "/delete-cloudtower-application-package": { + "post": { + "operationId": "DeleteCloudTowerApplicationPackage", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/DeleteCloudTowerApplicationPackage" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "CloudTowerApplication" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteCloudTowerApplicationPackageParams" + } + } + } + } + } + }, + "/deploy-cloudtower-application": { + "post": { + "operationId": "DeployCloudTowerApplication", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloudTowerApplication" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "CloudTowerApplication" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeployCloudTowerApplicationParams" + } + } + } + } + } + }, + "/upgrade-cloudtower-application": { + "post": { + "operationId": "UpgradeCloudTowerApplication", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloudTowerApplication" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "CloudTowerApplication" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpgradeCloudTowerApplicationParams" + } + } + } + } + } + }, + "/uninstall-cloudtower-application": { + "post": { + "operationId": "UninstallCloudTowerApplication", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/CloudTowerApplication" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "CloudTowerApplication" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UninstallCloudTowerApplicationParams" + } + } + } + } + } + }, + "/connect-cluster": { + "post": { + "operationId": "ConnectCluster", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Cluster_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Cluster" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ClusterCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-cluster": { + "post": { + "operationId": "UpdateCluster", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Cluster_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Cluster" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterUpdationParams" + } + } + } + } + } + }, + "/update-cluster-license": { + "post": { + "operationId": "UpdateClusterLicense", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Cluster_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Cluster" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterLicenseUpdationParams" + } + } + } + } + } + }, + "/update-cluster-network-setting": { + "post": { + "operationId": "UpdateClusterNetworkSetting", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Cluster_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Cluster" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterNetworkSettingUpdationParams" + } + } + } + } + } + }, + "/update-cluster-virtualization-setting": { + "post": { + "operationId": "UpdateClusterVirtualizationSetting", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Cluster_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Cluster" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterVirtualizationUpdationParams" + } + } + } + } + } + }, + "/update-cluster-ha-setting": { + "post": { + "operationId": "UpdateClusterHaSetting", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ClusterSettings_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Cluster" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterHaUpdationParams" + } + } + } + } + } + }, + "/update-cluster-enable-iscsi-setting": { + "post": { + "operationId": "UpdateClusterEnableISCSISetting", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ClusterSettings_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Cluster" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterEnableIscsiUpdationParams" + } + } + } + } + } + }, + "/delete-cluster": { + "post": { + "operationId": "DeleteCluster", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteCluster_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Cluster" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterDeletionParams" + } + } + } + } + } + }, + "/get-meta-leader": { + "post": { + "operationId": "GetMetaLeader", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/MetaLeader" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Cluster" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetMetaLeaderRequestBody" + } + } + } + } + } + }, + "/create-consistency-snapshot-group": { + "post": { + "operationId": "CreateConsistencyGroupSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ConsistencyGroupSnapshot_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ConsistencyGroupSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/rollback-consistency-snapshot-group": { + "post": { + "operationId": "UpdateConsistencyGroupSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ConsistencyGroupSnapshot_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ConsistencyGroupSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotUpdationParams" + } + } + } + } + } + }, + "/delete-consistency-snapshot-group": { + "post": { + "operationId": "DeleteConsistencyGroupSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteConsistencyGroupSnapshot_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ConsistencyGroupSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotDeletionParams" + } + } + } + } + } + }, + "/create-consistency-group": { + "post": { + "operationId": "CreateConsistencyGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ConsistencyGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ConsistencyGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ConsistencyGroupCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-consistency-group": { + "post": { + "operationId": "UpdateConsistencyGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ConsistencyGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ConsistencyGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConsistencyGroupUpdationParams" + } + } + } + } + } + }, + "/delete-consistency-group": { + "post": { + "operationId": "DeleteConsistencyGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteConsistencyGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ConsistencyGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConsistencyGroupDeletionParams" + } + } + } + } + } + }, + "/upload-content-library-image": { + "post": { + "operationId": "CreateContentLibraryImage", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/UploadTask" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "format": "binary" + }, + "clusters": { + "type": "string" + }, + "name": { + "type": "string" + }, + "size": { + "type": "string" + }, + "size_unit": { + "type": "string" + }, + "description": { + "type": "string" + }, + "upload_task_id": { + "type": "string" + } + }, + "required": [ + "file", + "clusters" + ] + } + } + } + } + } + }, + "/update-content-library-image": { + "post": { + "operationId": "UpdateContentLibraryImage", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ContentLibraryImage_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentLibraryImageUpdationParams" + } + } + } + } + } + }, + "/distribute-content-library-image-clusters": { + "post": { + "operationId": "DistributeContentLibraryImageClusters", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ContentLibraryImage_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentLibraryImageUpdationClusterParams" + } + } + } + } + } + }, + "/remove-content-library-image-clusters": { + "post": { + "operationId": "RemoveContentLibraryImageClusters", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ContentLibraryImage_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentLibraryImageUpdationClusterParams" + } + } + } + } + } + }, + "/delete-content-library-image": { + "post": { + "operationId": "DeleteContentLibraryImage", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteContentLibraryImage_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentLibraryImageDeletionParams" + } + } + } + } + } + }, + "/import-content-library-image": { + "post": { + "operationId": "ImportContentLibraryImage", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UploadTask" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentLibraryImageImportParams" + } + } + } + } + } + }, + "/upload-elf-file": { + "post": { + "operationId": "UploadElfFile", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UploadTask" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Ovf" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "format": "binary" + }, + "cluster_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "size": { + "type": "string" + }, + "size_unit": { + "type": "string" + }, + "upload_task_id": { + "type": "string" + } + }, + "required": [ + "file" + ] + } + } + } + } + } + }, + "/parse-ovf": { + "post": { + "operationId": "ParseOvf", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ParsedOVF" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Ovf" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "format": "binary" + }, + "cluster_id": { + "type": "string" + } + }, + "required": [ + "file", + "cluster_id" + ] + } + } + } + } + } + }, + "/get-export-file-download-links": { + "post": { + "operationId": "GetExportFileDownloadLinks", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ExportFileDownloadLinks" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Ovf" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetExportFileDownloadLinksParams" + } + } + } + } + } + }, + "/create-vm": { + "post": { + "operationId": "CreateVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/create-vm-from-template": { + "post": { + "operationId": "CreateVmFromTemplate", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmCreateVmFromTemplateParams" + }, + "type": "array" + } + } + } + } + } + }, + "/create-vm-from-content-library-template": { + "post": { + "operationId": "CreateVmFromContentLibraryTemplate", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmCreateVmFromContentLibraryTemplateParams" + }, + "type": "array" + } + } + } + } + } + }, + "/create-vm-from-content-library-template-batch": { + "post": { + "operationId": "CreateVmFromContentLibraryTemplateBatch", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_Vm-Array_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmCreateVmFromContentLibraryTemplateBatchParams" + } + } + } + } + } + }, + "/convert-vm-template-to-vm": { + "post": { + "operationId": "ConvertVmTemplateToVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ConvertVmTemplateToVmParams" + }, + "type": "array" + } + } + } + } + } + }, + "/clone-vm": { + "post": { + "operationId": "CloneVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmCloneParams" + }, + "type": "array" + } + } + } + } + } + }, + "/rebuild-vm-from-snapshot": { + "post": { + "operationId": "RebuildVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmRebuildParams" + }, + "type": "array" + } + } + } + } + } + }, + "/rollback-vm": { + "post": { + "operationId": "RollbackVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmRollbackParams" + } + } + } + } + } + }, + "/update-vm-basic-info": { + "post": { + "operationId": "UpdateVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmUpdateParams" + } + } + } + } + } + }, + "/move-vm-to-recycle": { + "post": { + "operationId": "MoveVmToRecycleBin", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmOperateParams" + } + } + } + } + } + }, + "/recover-vm-from-recycle": { + "post": { + "operationId": "RecoverVmFromRecycleBin", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmOperateParams" + } + } + } + } + } + }, + "/delete-vm": { + "post": { + "operationId": "DeleteVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmDeleteParams" + } + } + } + } + } + }, + "/start-vm": { + "post": { + "operationId": "StartVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmStartParams" + } + } + } + } + } + }, + "/restart-vm": { + "post": { + "operationId": "RestartVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmOperateParams" + } + } + } + } + } + }, + "/force-restart-vm": { + "post": { + "operationId": "ForceRestartVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmOperateParams" + } + } + } + } + } + }, + "/shutdown-vm": { + "post": { + "operationId": "ShutDownVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmOperateParams" + } + } + } + } + } + }, + "/poweroff-vm": { + "post": { + "operationId": "PoweroffVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmOperateParams" + } + } + } + } + } + }, + "/suspend-vm": { + "post": { + "operationId": "SuspendVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmOperateParams" + } + } + } + } + } + }, + "/resume-vm": { + "post": { + "operationId": "ResumeVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmOperateParams" + } + } + } + } + } + }, + "/add-vm-disk": { + "post": { + "operationId": "AddVmDisk", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmAddDiskParams" + } + } + } + } + } + }, + "/update-vm-disk": { + "post": { + "operationId": "UpdateVmDisk", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmUpdateDiskParams" + } + } + } + } + } + }, + "/expand-vm-disk": { + "post": { + "operationId": "ExpandVmDisk", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmExpandVmDiskParams" + } + } + } + } + } + }, + "/remove-vm-disk": { + "post": { + "operationId": "RemoveVmDisk", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmRemoveDiskParams" + } + } + } + } + } + }, + "/add-vm-cd-rom": { + "post": { + "operationId": "AddVmCdRom", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmAddCdRomParams" + } + } + } + } + } + }, + "/remove-vm-cd-rom": { + "post": { + "operationId": "RemoveVmCdRom", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmRemoveCdRomParams" + } + } + } + } + } + }, + "/eject-iso-from-vm-cd-rom": { + "post": { + "operationId": "EjectIsoFromVmCdRom", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmEjectCdRomParams" + } + } + } + } + } + }, + "/toggle-vm-cd-rom-disable": { + "post": { + "operationId": "ToggleVmCdRomDisable", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmToggleCdRomDisableParams" + } + } + } + } + } + }, + "/add-vm-nic": { + "post": { + "operationId": "AddVmNic", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmAddNicParams" + } + } + } + } + } + }, + "/update-vm-nic": { + "post": { + "operationId": "UpdateVmNic", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmUpdateNicParams" + } + } + } + } + } + }, + "/update-vm-nic-basic-info": { + "post": { + "operationId": "UpdateVmNicBasicInfo", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmUpdateNicBasicInfoParams" + } + } + } + } + } + }, + "/update-vm-nic-advance-info": { + "post": { + "operationId": "UpdateVmNicAdvanceInfo", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmUpdateNicAdvanceInfoParams" + } + } + } + } + } + }, + "/update-vm-nic-qos-option": { + "post": { + "operationId": "UpdateVmNicQosOption", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmUpdateNicQosOptionsParams" + } + } + } + } + } + }, + "/add-vm-pci-nic": { + "post": { + "operationId": "AddVmPciNic", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmOperatePciNicParams" + } + } + } + } + } + }, + "/remove-vm-pci-nic": { + "post": { + "operationId": "RemoveVmPciNic", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmOperatePciNicParams" + } + } + } + } + } + }, + "/remove-vm-nic": { + "post": { + "operationId": "RemoveVmNic", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "deprecated": true, + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmRemoveNicParams" + } + } + } + } + } + }, + "/remove-vm-nic-by-where": { + "post": { + "operationId": "RemoveVmNicByWhere", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmRemoveNicByWhereParams" + } + } + } + } + } + }, + "/add-vm-gpu-device": { + "post": { + "operationId": "AddVmGpuDevice", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmAddGpuDeviceParams" + } + } + } + } + } + }, + "/remove-vm-gpu-device": { + "post": { + "operationId": "RemoveVmGpuDevice", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmRemoveGpuDeviceParams" + } + } + } + } + } + }, + "/install-vmtools": { + "post": { + "operationId": "InstallVmtools", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InstallVmtoolsParams" + } + } + } + } + } + }, + "/migrate-vm": { + "post": { + "operationId": "MigrateVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmMigrateParams" + } + } + } + } + } + }, + "/migrate-vm-across-cluster": { + "post": { + "operationId": "MigrateVmAcrossCluster", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmMigrateAcrossClusterParams" + } + } + } + } + } + }, + "/stop-vm-in-cutover-migration": { + "post": { + "operationId": "StopVmInCutoverMigration", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StopVmInCutoverMigrationParams" + } + } + } + } + } + }, + "/abort-migrate-vm-across-cluster": { + "post": { + "operationId": "AbortMigrateVmAcrossCluster", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Task" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AbortMigrateVmAcrossClusterParams" + } + } + } + } + } + }, + "/add-vm-to-folder": { + "post": { + "operationId": "AddVmToFolder", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmAddFolderParams" + } + } + } + } + } + }, + "/remove-vm-from-folder": { + "post": { + "operationId": "RemoveVmToFolder", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmOperateParams" + } + } + } + } + } + }, + "/update-vm-advanced-options": { + "post": { + "operationId": "UpdateVmAdvancedOptions", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmUpdateAdvancedOptionsParams" + } + } + } + } + } + }, + "/update-vm-host-options": { + "post": { + "operationId": "UpdateVmHostOptions", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmUpdateHostOptionsParams" + } + } + } + } + } + }, + "/reset-vm-guest-os-password": { + "post": { + "operationId": "ResetVmGuestOsPassword", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmResetGuestOsPasswordParams" + } + } + } + } + } + }, + "/update-vm-owner": { + "post": { + "operationId": "UpdateVmOwner", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmUpdateOwnerParams" + } + } + } + } + } + }, + "/update-vm-io-policy": { + "post": { + "operationId": "UpdateVmIoPolicy", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmUpdateIoPolicyParams" + } + } + } + } + } + }, + "/export-vm": { + "post": { + "operationId": "ExportVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmExportFile_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmExportParams" + } + } + } + } + } + }, + "/import-vm": { + "post": { + "operationId": "ImportVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmImportParams" + }, + "type": "array" + } + } + } + } + } + }, + "/get-vm-gpu-device-info": { + "post": { + "operationId": "GetVmGpuDeviceInfo", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmGpuInfo" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmsRequestBody" + } + } + } + } + } + }, + "/get-vm-vnc-info": { + "post": { + "operationId": "GetVmVncInfo", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmVncInfo" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmVncInfoParams" + } + } + } + } + } + }, + "/update-vm-vpc-nic": { + "post": { + "operationId": "UpdateVmNicVpcInfo", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vm_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmUpdateVpcNicParams" + } + } + } + } + } + }, + "/clone-content-library-vm-template-from-vm": { + "post": { + "operationId": "CloneContentLibraryVmTemplateFromVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ContentLibraryVmTemplate_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryVmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/convert-content-library-vm-template-from-vm": { + "post": { + "operationId": "ConvertContentLibraryVmTemplateFromVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ContentLibraryVmTemplate_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryVmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-content-library-vm-template": { + "post": { + "operationId": "UpdateContentLibraryVmTemplate", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ContentLibraryVmTemplate_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryVmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateUpdationParams" + } + } + } + } + } + }, + "/distribute-content-library-vm-template-clusters": { + "post": { + "operationId": "DistributeContentLibraryVmtemplateClusters", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ContentLibraryVmTemplate_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryVmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateUpdationClusterParams" + } + } + } + } + } + }, + "/remove-content-library-vm-template-clusters": { + "post": { + "operationId": "RemoveContentLibraryVmTemplateClusters", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ContentLibraryVmTemplate_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryVmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateUpdationClusterParams" + } + } + } + } + } + }, + "/delete-content-library-vm-template": { + "post": { + "operationId": "DeleteContentLibraryVmTemplate", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteContentLibraryVmTemplate_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryVmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateDeletionParams" + } + } + } + } + } + }, + "/export-content-library-vm-template": { + "post": { + "operationId": "ExportContentLibraryVmTemplate", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmExportFile_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryVmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateExportParams" + } + } + } + } + } + }, + "/import-content-library-vm-template": { + "post": { + "operationId": "ImportContentLibraryVmTemplate", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ContentLibraryVmTemplate_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryVmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateImportParams" + }, + "type": "array" + } + } + } + } + } + }, + "/create-datacenter": { + "post": { + "operationId": "CreateDatacenter", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Datacenter_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Datacenter" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/DatacenterCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-datacenter": { + "post": { + "operationId": "UpdateDatacenter", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Datacenter_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Datacenter" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DatacenterUpdationParams" + } + } + } + } + } + }, + "/add-clusters-to-datacenter": { + "post": { + "operationId": "AddClustersToDatacenter", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Datacenter_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Datacenter" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/AddClustersToDatacenterParams" + }, + "type": "array" + } + } + } + } + } + }, + "/remove-clusters-from-datacenter": { + "post": { + "operationId": "RemoveClustersFromDatacenter", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Datacenter_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Datacenter" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/RemoveClustersFromDatacenterParams" + }, + "type": "array" + } + } + } + } + } + }, + "/delete-datacenter": { + "post": { + "operationId": "DeleteDatacenter", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteDatacenter_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Datacenter" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DatacenterDeletionParams" + } + } + } + } + } + }, + "/mount-disk": { + "post": { + "operationId": "MountDisk", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Disk_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Disk" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DiskMountParams" + } + } + } + } + } + }, + "/unmount-disk": { + "post": { + "operationId": "UnmountDisk", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Disk_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Disk" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DiskUnmountParams" + } + } + } + } + } + }, + "/create-entity-filter": { + "post": { + "operationId": "CreateEntityFilter", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_EntityFilter_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "EntityFilter" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/EntityFilterCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-entity-filter": { + "post": { + "operationId": "UpdateEntityFilter", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_EntityFilter_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "EntityFilter" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntityFilterUpdationParams" + } + } + } + } + } + }, + "/delete-entity-filter": { + "post": { + "operationId": "DeleteEntityFilter", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteEntityFilter_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "EntityFilter" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntityFilterDeletionParams" + } + } + } + } + } + }, + "/update-gpu-device-usage": { + "post": { + "operationId": "UpdateGpuDeviceUsage", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_GpuDevice_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GpuDevice" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GpuDeviceUsageUpdationParams" + } + } + } + } + } + }, + "/update-gpu-device-description": { + "post": { + "operationId": "UpdateGpuDeviceDescription", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_GpuDevice_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GpuDevice" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GpuDeviceDescriptionUpdationParams" + } + } + } + } + } + }, + "/switch-gpu-device-sriov": { + "post": { + "operationId": "SwitchGpuDeviceSriov", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_GpuDevice_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GpuDevice" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GpuDeviceSriovSwitchParams" + } + } + } + } + } + }, + "/get-detail-vm-info-by-gpu-devices": { + "post": { + "operationId": "GetDetailVmInfoByGpuDevices", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/GpuVmInfo" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GpuDevice" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetGpuDevicesRequestBody" + } + } + } + } + } + }, + "/create-graph": { + "post": { + "operationId": "CreateGraph", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Graph_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Graph" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/GraphCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-graph": { + "post": { + "operationId": "UpdateGraph", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Graph_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Graph" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GraphUpdationParams" + } + } + } + } + } + }, + "/delete-graph": { + "post": { + "operationId": "DeleteGraph", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteGraph_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Graph" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GraphDeletionParams" + } + } + } + } + } + }, + "/create-host": { + "post": { + "operationId": "CreateHost", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_BatchHosts_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Host" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/HostCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/trigger-disk-blink": { + "post": { + "operationId": "TriggerDiskBlink", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Host_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Host" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/TriggerDiskBlinkParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-host": { + "post": { + "operationId": "UpdateHost", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Host_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Host" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HostUpdationParams" + } + } + } + } + } + }, + "/operate-host-power": { + "post": { + "operationId": "PowerOffHost", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_Host_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Host" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OperateHostPowerParams" + } + } + } + } + } + }, + "/enter-maintenance-mode-precheck": { + "post": { + "operationId": "EnterMaintenanceModePreCheck", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EnterMaintenanceModeCheckResult" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Host" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EnterMaintenanceModeCheckParams" + } + } + } + } + } + }, + "/enter-maintance-mode-precheck-result": { + "post": { + "operationId": "EnterMaintenanceModePrecheckResult", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EnterMaintenanceModeResult" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Host" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EnterMaintenanceModeResultParams" + } + } + } + } + } + }, + "/enter-maintance-mode": { + "post": { + "operationId": "EnterMaintenanceMode", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_Host_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Host" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EnterMaintenanceModeParams" + } + } + } + } + } + }, + "/exit-maintance-mode-precheck-result": { + "post": { + "operationId": "ExitMaintenanceModePrecheckResult", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ExitMaintenanceModeResult" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Host" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ExitMaintenanceModeResultParams" + } + } + } + } + } + }, + "/exit-maintance-mode": { + "post": { + "operationId": "ExitMaintenanceMode", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_Host_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Host" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ExitMaintenanceModeParams" + } + } + } + } + } + }, + "/create-iscsi-lun-snapshot": { + "post": { + "operationId": "CreateIscsiLunSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_IscsiLunSnapshot_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiLunSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/IscsiLunSnapshotCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/delete-iscsi-lun-snapshot": { + "post": { + "operationId": "DeleteIscsiLunSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteIscsiLunSnapshot_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiLunSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IscsiLunSnapshotDeletionParams" + } + } + } + } + } + }, + "/create-iscsi-lun": { + "post": { + "operationId": "CreateIscsiLun", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_IscsiLun_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiLun" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/IscsiLunCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-iscsi-lun": { + "post": { + "operationId": "UpdateIscsiLun", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_IscsiLun_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiLun" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IscsiLunUpdationParams" + } + } + } + } + } + }, + "/delete-iscsi-lun": { + "post": { + "operationId": "DeleteIscsiLun", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteIscsiLun_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiLun" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IscsiLunDeletionParams" + } + } + } + } + } + }, + "/clone-iscsi-lun-from-snapshot": { + "post": { + "operationId": "CloneIscsiLunFromSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_IscsiLun_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiLun" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/IscsiLunCloneParams" + }, + "type": "array" + } + } + } + } + } + }, + "/rollback-iscsi-lun-from-snapshot": { + "post": { + "operationId": "RollbackIscsiLunFromSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_IscsiLun_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiLun" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/IscsiLunRollbackParams" + }, + "type": "array" + } + } + } + } + } + }, + "/copy-iscsi-lun": { + "post": { + "operationId": "CopyIscsiLun", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_IscsiLun_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiLun" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/CopyIscsiLunParams" + }, + "type": "array" + } + } + } + } + } + }, + "/create-iscsi-target": { + "post": { + "operationId": "CreateIscsiTarget", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_IscsiTarget_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiTarget" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/IscsiTargetCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-iscsi-target": { + "post": { + "operationId": "UpdateIscsiTarget", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_IscsiTarget_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiTarget" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IscsiTargetUpdationParams" + } + } + } + } + } + }, + "/delete-iscsi-target": { + "post": { + "operationId": "DeleteIscsiTarget", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteIscsiTarget_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiTarget" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IscsiTargetDeletionParams" + } + } + } + } + } + }, + "/upload-elf-image": { + "post": { + "operationId": "CreateElfImage", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/UploadTask" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ElfImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "format": "binary" + }, + "cluster_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "size": { + "type": "string" + }, + "size_unit": { + "type": "string" + }, + "description": { + "type": "string" + }, + "upload_task_id": { + "type": "string" + } + }, + "required": [ + "file" + ] + } + } + } + } + } + }, + "/update-elf-image": { + "post": { + "operationId": "UpdateElfImage", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ElfImage_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ElfImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ElfImageUpdationParams" + } + } + } + } + } + }, + "/delete-elf-image": { + "post": { + "operationId": "DeleteElfImage", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteElfImage_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ElfImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ElfImageDeletionParams" + } + } + } + } + } + }, + "/create-label": { + "post": { + "operationId": "CreateLabel", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Label_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Label" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/LabelCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-label": { + "post": { + "operationId": "UpdateLabel", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Label_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Label" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LabelUpdationParams" + } + } + } + } + } + }, + "/add-labels-to-resources": { + "post": { + "operationId": "AddLabelsToResources", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Label_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Label" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AddLabelsToResourcesParams" + } + } + } + } + } + }, + "/remove-labels-from-resources": { + "post": { + "operationId": "RemoveLabelsFromResources", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Label_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Label" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RemoveLabelsFromResourcesParams" + } + } + } + } + } + }, + "/delete-label": { + "post": { + "operationId": "DeleteLabel", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteLabel_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Label" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LabelDeletionParams" + } + } + } + } + } + }, + "/update-license": { + "post": { + "operationId": "UpdateDeploy", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_License_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "License" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LicenseUpdationParams" + } + } + } + } + } + }, + "/create-log-collection": { + "post": { + "operationId": "CreateLogCollection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_LogCollection_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "LogCollection" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/LogCollectionCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/force-stop-log-collection": { + "post": { + "operationId": "ForceStopLogCollection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_LogCollection_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "LogCollection" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ForceStopLogCollectionParams" + } + } + } + } + } + }, + "/delete-log-collection": { + "post": { + "operationId": "DeleteLogCollection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteLogCollection_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "LogCollection" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LogCollectionDeletionParams" + } + } + } + } + } + }, + "/get-vm-metrics": { + "post": { + "operationId": "GetVmMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmMetricInput" + } + } + } + } + } + }, + "/get-vm-network-metrics": { + "post": { + "operationId": "GetVmNetWorkMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmNetWorkMetricInput" + } + } + } + } + } + }, + "/get-disk-metrics": { + "post": { + "operationId": "GetDiskMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetDiskMetricInput" + } + } + } + } + } + }, + "/get-vm-volume-metrics": { + "post": { + "operationId": "GetVmVolumeMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmVolumeMetricInput" + } + } + } + } + } + }, + "/get-lun-metrics": { + "post": { + "operationId": "GetLunMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetLunMetricInput" + } + } + } + } + } + }, + "/get-nvmf-namespace-metrics": { + "post": { + "operationId": "GetNvmfNamespaceMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNvmfNamespaceMetricInput" + } + } + } + } + } + }, + "/get-cluster-metrics": { + "post": { + "operationId": "GetClusterMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetClusterMetricInput" + } + } + } + } + } + }, + "/get-host-metrics": { + "post": { + "operationId": "GetHostMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetHostMetricInput" + } + } + } + } + } + }, + "/get-host-network-metrics": { + "post": { + "operationId": "GetHostNetworkMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetHostNetworkMetricInput" + } + } + } + } + } + }, + "/get-host-service-metrics": { + "post": { + "operationId": "GetHostServicekMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetHostServiceMetricInput" + } + } + } + } + } + }, + "/get-scvm-metrics": { + "post": { + "operationId": "GetSCVMMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetScvmMetricInput" + } + } + } + } + } + }, + "/get-scvm-network-metrics": { + "post": { + "operationId": "GetScvmNetworkMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetScvmNetworkInput" + } + } + } + } + } + }, + "/get-scvm-service-metrics": { + "post": { + "operationId": "GetSCVMServicekMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetScvmServiceMetricInput" + } + } + } + } + } + }, + "/get-scvm-disk-metrics": { + "post": { + "operationId": "GetScvmDiskMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSCVMDiskMetricInput" + } + } + } + } + } + }, + "/get-zone-metrics": { + "post": { + "operationId": "GetZoneMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetZoneMetricInput" + } + } + } + } + } + }, + "/get-witness-metrics": { + "post": { + "operationId": "GetWitnessMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetWitnessMetricInput" + } + } + } + } + } + }, + "/get-top-n-metrics-in-clusters": { + "post": { + "operationId": "GetTopNVmVolumeMetrics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Metric_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Metrics" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetTopNMetricInput" + } + } + } + } + } + }, + "/create-namespace-group": { + "post": { + "operationId": "CreateNamespaceGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_NamespaceGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NamespaceGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/NamespaceGroupCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-namespace-group": { + "post": { + "operationId": "UpdateNamespaceGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_NamespaceGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NamespaceGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NamespaceGroupUpdationParams" + } + } + } + } + } + }, + "/delete-namespace-group": { + "post": { + "operationId": "DeleteNamespaceGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteNamespaceGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NamespaceGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NamespaceGroupDeletionParams" + } + } + } + } + } + }, + "/create-nfs-export": { + "post": { + "operationId": "CreateNfsExport", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_NfsExport_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NfsExport" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/NfsExportCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-nfs-export": { + "post": { + "operationId": "UpdateNfsExport", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_NfsExport_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NfsExport" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NfsExportUpdationParams" + } + } + } + } + } + }, + "/delete-nfs-export": { + "post": { + "operationId": "DeleteNfsExport", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteNfsExport_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NfsExport" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NfsExportDeletionParams" + } + } + } + } + } + }, + "/update-nic": { + "post": { + "operationId": "UpdateNic", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Nic_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Nic" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NicUpdationParams" + } + } + } + } + } + }, + "/move-node-topo": { + "post": { + "operationId": "UpdateNodeTopo", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_NodeTopo_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NodeTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NodeTopoUpdationParams" + } + } + } + } + } + }, + "/create-nvmf-namespace-snapshot": { + "post": { + "operationId": "CreateNvmfNamespaceSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_NvmfNamespaceSnapshot_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfNamespaceSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/delete-nvmf-namespace-snapshot": { + "post": { + "operationId": "DeleteNvmfNamespaceSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteNvmfNamespaceSnapshot_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfNamespaceSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotDeletionParams" + } + } + } + } + } + }, + "/create-nvmf-namespace": { + "post": { + "operationId": "CreateNvmfNamespace", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_NvmfNamespace_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfNamespace" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/NvmfNamespaceCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-nvmf-namespace": { + "post": { + "operationId": "UpdateNvmfNamespace", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_NvmfNamespace_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfNamespace" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NvmfNamespaceUpdationParams" + } + } + } + } + } + }, + "/delete-nvmf-namespace": { + "post": { + "operationId": "DeleteNvmfNamespace", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteNvmfNamespace_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfNamespace" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NvmfNamespaceDeletionParams" + } + } + } + } + } + }, + "/clone-nvmf-namespace-from-snapshot": { + "post": { + "operationId": "CloneNvmfNamespaceFromSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_NvmfNamespace_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfNamespace" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/NvmfNamespaceCloneParams" + }, + "type": "array" + } + } + } + } + } + }, + "/rollback-nvmf-namespace-from-snapshot": { + "post": { + "operationId": "RollbackNvmfNamespaceFromSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_NvmfNamespace_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfNamespace" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/NvmfNamespaceRollbackParams" + }, + "type": "array" + } + } + } + } + } + }, + "/create-nvmf-subsystem": { + "post": { + "operationId": "CreateNvmfSubsystem", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_NvmfSubsystem_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfSubsystem" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/NvmfSubsystemCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-nvmf-subsystem": { + "post": { + "operationId": "UpdateNvmfSubsystem", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_NvmfSubsystem_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfSubsystem" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NvmfSubsystemUpdationParams" + } + } + } + } + } + }, + "/delete-nvmf-subsystem": { + "post": { + "operationId": "DeleteNvmfSubsystem", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteNvmfSubsystem_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfSubsystem" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NvmfSubsystemDeletionParams" + } + } + } + } + } + }, + "/disassociate-system-service-from-obs-service": { + "post": { + "operationId": "DisassociateSystemServiceFromObsService", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_DisassociateSystemServiceFromObsServiceResult_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Observability" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DisassociateSystemServiceFromObsServiceParams" + } + } + } + } + } + }, + "/clear-system-service-alert-notification-config": { + "post": { + "operationId": "ClearSystemServiceAlertNotificationConfig", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_DisassociateSystemServiceFromObsServiceResult_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Observability" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DisassociateSystemServiceFromObsServiceParams" + } + } + } + } + } + }, + "/create-organization": { + "post": { + "operationId": "CreateOrganization", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Organization_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Organization" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/OrganizationCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-organization": { + "post": { + "operationId": "UpdateOrganization", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Organization_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Organization" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrganizationUpdationParams" + } + } + } + } + } + }, + "/delete-organization": { + "post": { + "operationId": "DeleteOrganization", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteOrganization_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Organization" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrganizationDeletionParams" + } + } + } + } + } + }, + "/create-rack-topo": { + "post": { + "operationId": "CreateRackTopo", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_RackTopo_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "RackTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/RackTopoCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-rack-topo": { + "post": { + "operationId": "UpdateRackTopo", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_RackTopo_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "RackTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RackTopoUpdationParams" + } + } + } + } + } + }, + "/delete-rack-topo": { + "post": { + "operationId": "DeleteRackTopo", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteRackTopo_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "RackTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RackTopoDeletionParams" + } + } + } + } + } + }, + "/update-global-recycle-bin-setting": { + "post": { + "operationId": "UpdateGlobalRecycleBinSetting", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_GlobalSettings_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GlobalSettings" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalRecycleBinUpdationParams" + } + } + } + } + } + }, + "/create-cluster-recycle-bin-setting": { + "post": { + "operationId": "CreateClusterRecycleBinSetting", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ClusterSettings_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GlobalSettings" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterRecycleBinCreationParams" + } + } + } + } + } + }, + "/update-cluster-recycle-bin-setting": { + "post": { + "operationId": "UpdateClusterRecycleBinSetting", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ClusterSettings_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GlobalSettings" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterRecycleBinUpdationParams" + } + } + } + } + } + }, + "/delete-cluster-recycle-bin-setting": { + "post": { + "operationId": "DeleteClusterRecycleBinSetting", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteClusterRecycleBin_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GlobalSettings" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterRecycleBinDeletionParams" + } + } + } + } + } + }, + "/create-report-template": { + "post": { + "operationId": "CreateReportTemplate", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ReportTemplate_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ReportTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ReportTemplateCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-report-template": { + "post": { + "operationId": "UpdateReportTemplate", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ReportTemplate_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ReportTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReportTemplateUpdationParams" + } + } + } + } + } + }, + "/generate-from-report-template": { + "post": { + "operationId": "GenerateFromReportTemplate", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_ReportTask_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ReportTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReporteTemplateGenerationParams" + } + } + } + } + } + }, + "/delete-report-template": { + "post": { + "operationId": "DeleteReportTemplate", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteReportTemplate_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ReportTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReportTemplateDeletionParams" + } + } + } + } + } + }, + "/create-role": { + "post": { + "operationId": "CreateRole", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_UserRoleNext_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UserRoleNext" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/RoleCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-role": { + "post": { + "operationId": "UpdateRole", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_UserRoleNext_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UserRoleNext" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleUpdationParams" + } + } + } + } + } + }, + "/delete-role": { + "post": { + "operationId": "DeleteRole", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteRole_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UserRoleNext" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RoleDeletionParams" + } + } + } + } + } + }, + "/create-security-group": { + "post": { + "operationId": "CreateSecurityGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_SecurityGroup_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SecurityGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SecurityGroupCreateParams" + } + } + } + } + } + }, + "/delete-security-group": { + "post": { + "operationId": "DeleteSecurityGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteSecurityGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SecurityGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SecurityGroupDeleteParams" + } + } + } + } + } + }, + "/update-security-group": { + "post": { + "operationId": "UpdateSecurityGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_SecurityGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SecurityGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SecurityGroupUpdateBody" + } + } + } + } + } + }, + "/create-security-policy": { + "post": { + "operationId": "CreateSecurityPolicy", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_SecurityPolicy_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SecurityPolicy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SecurityPolicyCreateParams" + } + } + } + } + } + }, + "/delete-security-policy": { + "post": { + "operationId": "DeleteSecurityPolicy", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteSecurityPolicy_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SecurityPolicy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SecurityPolicyDeleteParams" + } + } + } + } + } + }, + "/update-security-policy": { + "post": { + "operationId": "UpdateSecurityPolicy", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_SecurityPolicy_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SecurityPolicy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SecurityPolicyUpdateBody" + } + } + } + } + } + }, + "/update-password-security": { + "post": { + "operationId": "UpdatePasswordSecurity", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_GlobalSettings_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GlobalSettings" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdatePassrodSecurityParams" + } + } + } + } + } + }, + "/update-access-restriction": { + "post": { + "operationId": "UpdateAccessRestriction", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_GlobalSettings_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GlobalSettings" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateAccessRestrictionParams" + } + } + } + } + } + }, + "/update-session-timeout": { + "post": { + "operationId": "UpdateSessionTimeout", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_GlobalSettings_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GlobalSettings" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateSessionTimeoutParams" + } + } + } + } + } + }, + "/rollback-snapshot-group": { + "post": { + "operationId": "RollbackSnapshotGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_SnapshotGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnapshotGroupRollbackParams" + } + } + } + } + } + }, + "/clone-snapshot-group": { + "post": { + "operationId": "CloneSnapshotGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_SnapshotGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/SnapshotGroupCloneParams" + }, + "type": "array" + } + } + } + } + } + }, + "/keep-snapshot-group": { + "post": { + "operationId": "KeepSnapshotGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_SnapshotGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnapshotGroupKeepParams" + } + } + } + } + } + }, + "/delete-snapshot-group": { + "post": { + "operationId": "DeleteSnapshotGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteSnapshotGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnapshotGroupDeletionParams" + } + } + } + } + } + }, + "/create-snapshot-plan": { + "post": { + "operationId": "CreateSnapshotPlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_SnapshotPlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-snapshot-plan": { + "post": { + "operationId": "UpdateSnapshotPlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_SnapshotPlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnapshotPlanUpdationParams" + } + } + } + } + } + }, + "/delete-snapshot-plan": { + "post": { + "operationId": "DeleteSnapshotPlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteSnapshotPlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnapshotPlanDeletionParams" + } + } + } + } + } + }, + "/execute-snapshot-plan": { + "post": { + "operationId": "ExecuteSnapshotPlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_SnapshotPlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnapshotPlanExecutionParams" + } + } + } + } + } + }, + "/suspend-snapshot-plan": { + "post": { + "operationId": "SuspendSnapshotPlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_SnapshotPlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnapshotPlanSuspendedParams" + } + } + } + } + } + }, + "/resume-snapshot-plan": { + "post": { + "operationId": "ResumeSnapshotPlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_SnapshotPlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnapshotPlanResumeParams" + } + } + } + } + } + }, + "/create-snmp-transport": { + "post": { + "operationId": "CreateSnmpTransport", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_SnmpTransport_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnmpTransport" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/SnmpTransportCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-snmp-transport": { + "post": { + "operationId": "UpdateSnmpTransport", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_SnmpTransport_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnmpTransport" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnmpTransportUpdationParams" + } + } + } + } + } + }, + "/delete-snmp-transport": { + "post": { + "operationId": "DeleteSnmpTransport", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteSnmpTransport_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnmpTransport" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnmpTransportDeletionParams" + } + } + } + } + } + }, + "/create-snmp-trap-receiver": { + "post": { + "operationId": "CreateSnmpTrapReceiver", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_SnmpTrapReceiver_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnmpTrapReceiver" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/SnmpTrapReceiverCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-snmp-trap-receiver": { + "post": { + "operationId": "UpdateSnmpTrapReceiver", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_SnmpTrapReceiver_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnmpTrapReceiver" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnmpTrapReceiverUpdationParams" + } + } + } + } + } + }, + "/delete-snmp-trap-receiver": { + "post": { + "operationId": "DeleteSnmpTrapReceiver", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteSnmpTrapReceiver_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnmpTrapReceiver" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnmpTrapReceiverDeletionParams" + } + } + } + } + } + }, + "/upload-svt-image": { + "post": { + "operationId": "UploadSvtImage", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/UploadTask" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SvtImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "file": { + "type": "string", + "format": "binary" + }, + "cluster_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "size": { + "type": "string" + }, + "size_unit": { + "type": "string" + }, + "version": { + "type": "string" + }, + "upload_task_id": { + "type": "string" + } + }, + "required": [ + "file" + ] + } + } + } + } + } + }, + "/export-csv": { + "post": { + "operationId": "ExportCSV", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string", + "format": "byte" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "TableReporter" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TableReporterParams" + } + } + } + } + } + }, + "/create-task": { + "post": { + "operationId": "CreateTask", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Task_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Task" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/TaskCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-task": { + "post": { + "operationId": "UpdateTask", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Task_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Task" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TaskUpdateParams" + } + } + } + } + } + }, + "/cancel-upload-task": { + "post": { + "operationId": "CancelUploadTask", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "type": "string" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UploadTask" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CancelUploadTaskParams" + } + } + } + } + } + }, + "/mount-usb-device": { + "post": { + "operationId": "MountUsbDevice", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_UsbDevice_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UsbDevice" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UsbDeviceMountParams" + } + } + } + } + } + }, + "/unmount-usb-device": { + "post": { + "operationId": "UnmountUsbDevice", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_UsbDevice_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UsbDevice" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UsbDeviceUnmountParams" + } + } + } + } + } + }, + "/get-usb-devices": { + "post": { + "operationId": "GetUsbDevices", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/UsbDevice" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UsbDevice", + "UsbDevice" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetUsbDevicesRequestBody" + } + } + } + } + } + }, + "/login": { + "post": { + "operationId": "Login", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_LoginResponse_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "User" + ], + "security": [], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LoginInput" + } + } + } + } + } + }, + "/create-user": { + "post": { + "operationId": "CreateUser", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_User_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "User" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/UserCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-user": { + "post": { + "operationId": "UpdateUser", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_User_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "User" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserUpdationParams" + } + } + } + } + } + }, + "/delete-user": { + "post": { + "operationId": "DeleteUser", + "responses": { + "200": { + "description": "Ok", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteUser_" + }, + "type": "array" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "User" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserDeletionParams" + } + } + } + } + } + }, + "/create-root-user": { + "post": { + "operationId": "CreateRootUser", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_User_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "User" + ], + "security": [], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RootUserCreationParams" + } + } + } + } + } + }, + "/get-my-info": { + "post": { + "operationId": "GetMyInfo", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/User" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "User" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [] + } + }, + "/create-vcenter-account": { + "post": { + "operationId": "CreateVcenterAccount", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_VcenterAccount_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VcenterAccount" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateVcenterAccountParams" + } + } + } + } + } + }, + "/update-vcenter-account": { + "post": { + "operationId": "UpdateVcenterAccount", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_VcenterAccount_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VcenterAccount" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateVcenterAccountParams" + } + } + } + } + } + }, + "/create-vds-with-migrate-vlan": { + "post": { + "operationId": "CreateVdsWithMigrateVlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vds_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vds" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VdsCreationWithMigrateVlanParams" + }, + "type": "array" + } + } + } + } + } + }, + "/create-vds-with-access-vlan": { + "post": { + "operationId": "CreateVdsWithAccessVlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vds_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vds" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VdsCreationWithMAccessVlanParams" + }, + "type": "array" + } + } + } + } + } + }, + "/create-vds": { + "post": { + "operationId": "CreateVds", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vds_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vds" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VdsCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-vds": { + "post": { + "operationId": "UpdateVds", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vds_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vds" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VdsUpdationParams" + } + } + } + } + } + }, + "/delete-vds": { + "post": { + "operationId": "DeleteVds", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVds_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vds" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VdsDeletionParams" + } + } + } + } + } + }, + "/get-version": { + "get": { + "operationId": "GetApiVersion", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "string" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ApiInfo" + ], + "security": [], + "parameters": [] + } + }, + "/create-view": { + "post": { + "operationId": "CreateView", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_View_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "View" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ViewCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-view": { + "post": { + "operationId": "UpdateView", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_View_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "View" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ViewUpdationParams" + } + } + } + } + } + }, + "/delete-view": { + "post": { + "operationId": "DeleteView", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteView_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "View" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ViewDeletionParams" + } + } + } + } + } + }, + "/create-virtual-private-cloud-floating-ip": { + "post": { + "operationId": "CreateVirtualPrivateCloudFloatingIp", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloudFloatingIp_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudFloatingIp" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/delete-virtual-private-cloud-floating-ip": { + "post": { + "operationId": "DeleteVirtualPrivateCloudFloatingIp", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVirtualPrivateCloudFloatingIp_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudFloatingIp" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpDeletionParams" + } + } + } + } + } + }, + "/create-virtual-private-cloud-nat-gateway": { + "post": { + "operationId": "CreateVirtualPrivateCloudNatGateway", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloudNatGateway_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudNatGateway" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-virtual-private-cloud-nat-gateway": { + "post": { + "operationId": "UpdateVirtualPrivateCloudNatGateway", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloudNatGateway_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudNatGateway" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayUpdationParams" + } + } + } + } + } + }, + "/delete-virtual-private-cloud-nat-gateway": { + "post": { + "operationId": "DeleteVirtualPrivateCloudNatGateway", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVirtualPrivateCloudNatGateway_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudNatGateway" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayDeletionParams" + } + } + } + } + } + }, + "/create-virtual-private-cloud-route-table": { + "post": { + "operationId": "CreateVirtualPrivateCloudRouteTable", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloudRouteTable_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudRouteTable" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-virtual-private-cloud-route-table": { + "post": { + "operationId": "UpdateVirtualPrivateCloudRouteTable", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloudRouteTable_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudRouteTable" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableUpdationParams" + } + } + } + } + } + }, + "/delete-virtual-private-cloud-route-table": { + "post": { + "operationId": "DeleteVirtualPrivateCloudRouteTable", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVirtualPrivateCloudRouteTable_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudRouteTable" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableDeletionParams" + } + } + } + } + } + }, + "/create-virtual-private-cloud-router-gateway": { + "post": { + "operationId": "CreateVirtualPrivateCloudRouterGateway", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloudRouterGateway_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudRouterGateway" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-virtual-private-cloud-router-gateway": { + "post": { + "operationId": "UpdateVirtualPrivateCloudRouterGateway", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloudRouterGateway_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudRouterGateway" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayUpdationParams" + } + } + } + } + } + }, + "/delete-virtual-private-cloud-router-gateway": { + "post": { + "operationId": "DeleteVirtualPrivateCloudRouterGateway", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVirtualPrivateCloudRouterGateway_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudRouterGateway" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayDeletionParams" + } + } + } + } + } + }, + "/create-virtual-private-cloud-security-group": { + "post": { + "operationId": "CreateVirtualPrivateCloudSecurityGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloudSecurityGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSecurityGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-virtual-private-cloud-security-group": { + "post": { + "operationId": "UpdateVirtualPrivateCloudSecurityGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloudSecurityGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSecurityGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupUpdationParams" + } + } + } + } + } + }, + "/delete-virtual-private-cloud-security-group": { + "post": { + "operationId": "DeleteVirtualPrivateCloudSecurityGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVirtualPrivateCloudSecurityGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSecurityGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupDeletionParams" + } + } + } + } + } + }, + "/create-virtual-private-cloud-security-policy": { + "post": { + "operationId": "CreateVirtualPrivateCloudSecurityPolicy", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloudSecurityPolicy_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSecurityPolicy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyCreateParams" + }, + "type": "array" + } + } + } + } + } + }, + "/delete-virtual-private-cloud-security-policy": { + "post": { + "operationId": "DeleteVirtualPrivateCloudSecurityPolicy", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVirtualPrivateCloudSecurityPolicy_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSecurityPolicy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyDeleteParams" + } + } + } + } + } + }, + "/update-virtual-private-cloud-security-policy": { + "post": { + "operationId": "UpdateVirtualPrivateCloudSecurityPolicy", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloudSecurityPolicy_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSecurityPolicy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyUpdateBody" + } + } + } + } + } + }, + "/create-virtual-private-cloud-subnet": { + "post": { + "operationId": "CreateVirtualPrivateCloudSubnet", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloudSubnet_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSubnet" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-virtual-private-cloud-subnet": { + "post": { + "operationId": "UpdateVirtualPrivateCloudSubnet", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloudSubnet_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSubnet" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetUpdationParams" + } + } + } + } + } + }, + "/delete-virtual-private-cloud-subnet": { + "post": { + "operationId": "DeleteVirtualPrivateCloudSubnet", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVirtualPrivateCloudSubnet_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSubnet" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetDeletionParams" + } + } + } + } + } + }, + "/create-virtual-private-cloud": { + "post": { + "operationId": "CreateVirtualPrivateCloud", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloud_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloud" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-virtual-private-cloud": { + "post": { + "operationId": "UpdateVirtualPrivateCloud", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VirtualPrivateCloud_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloud" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudUpdationParams" + } + } + } + } + } + }, + "/delete-virtual-private-cloud": { + "post": { + "operationId": "DeleteVirtualPrivateCloud", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVirtualPrivateCloud_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloud" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudDeletionParams" + } + } + } + } + } + }, + "/create-vm-vlan": { + "post": { + "operationId": "CreateVmVlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmVlanCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-vm-vlan": { + "post": { + "operationId": "UpdateVlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmVlanUpdationParams" + } + } + } + } + } + }, + "/update-management-vlan": { + "post": { + "operationId": "UpdateManagementVlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ManagementVlanUpdationParams" + } + } + } + } + } + }, + "/update-migration-vlan": { + "post": { + "operationId": "UpdateMigrationVlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_Vlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MigrationVlanUpdationParams" + } + } + } + } + } + }, + "/delete-vm-vlan": { + "post": { + "operationId": "DeleteVlan", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVlan_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VlanDeletionParams" + } + } + } + } + } + }, + "/create-vm-folder": { + "post": { + "operationId": "CreateVmFolder", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmFolder_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmFolder" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmFolderCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-vm-folder": { + "post": { + "operationId": "UpdateVmFolder", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmFolder_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmFolder" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmFolderUpdationParams" + } + } + } + } + } + }, + "/delete-vm-folder": { + "post": { + "operationId": "DeleteVmFolder", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVmFolder_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmFolder" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmFolderDeletionParams" + } + } + } + } + } + }, + "/create-vm-placement-group": { + "post": { + "operationId": "CreateVmPlacementGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmPlacementGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmPlacementGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmPlacementGroupCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-vm-placement-group": { + "post": { + "operationId": "UpdateVmPlacementGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmPlacementGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmPlacementGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmPlacementGroupUpdationParams" + } + } + } + } + } + }, + "/delete-vm-placement-group": { + "post": { + "operationId": "DeleteVmPlacementGroup", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVmPlacementGroup_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmPlacementGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmPlacementGroupDeletionParams" + } + } + } + } + } + }, + "/create-vm-snapshot": { + "post": { + "operationId": "CreateVmSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmSnapshot_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmSnapshotCreationParams" + } + } + } + } + } + }, + "/delete-vm-snapshot": { + "post": { + "operationId": "DeleteVmSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVmSnapshot_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmSnapshotDeletionParams" + } + } + } + } + } + }, + "/clone-vm-template-from-vm": { + "post": { + "operationId": "CloneVmTemplateFromVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmTemplate_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmTemplateCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/convert-vm-template-from-vm": { + "post": { + "operationId": "ConvertVmTemplateFromVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmTemplate_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmTemplateCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-vm-template": { + "post": { + "operationId": "UpdateVmTemplate", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmTemplate_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmTemplateUpdationParams" + } + } + } + } + } + }, + "/delete-vm-template": { + "post": { + "operationId": "DeleteVmTemplate", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVmTemplate_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmTemplateDeletionParams" + } + } + } + } + } + }, + "/create-vm-volume-snapshot": { + "post": { + "operationId": "CreateVmVolumeSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmVolumeSnapshot_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmVolumeSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmVolumeSnapshotCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/delete-vm-volume-snapshot": { + "post": { + "operationId": "DeleteVmVolumeSnapshot", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVmVolumeSnapshot_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmVolumeSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmVolumeSnapshotDeletionParams" + } + } + } + } + } + }, + "/create-vm-volume": { + "post": { + "operationId": "CreateVmVolume", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmVolume_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmVolume" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmVolumeCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/delete-vm-volume": { + "post": { + "operationId": "DeleteVmVolumeFromVm", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteVmVolume_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmVolume" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmVolumeDeletionParams" + } + } + } + } + } + }, + "/rebuild-vm-volume": { + "post": { + "operationId": "RebuildVmVolume", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmVolume_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmVolume" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmVolumeRebuildParams" + }, + "type": "array" + } + } + } + } + } + }, + "/rollback-vm-volume": { + "post": { + "operationId": "RollbackVmVolume", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmVolume_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmVolume" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmVolumeRollbackParams" + }, + "type": "array" + } + } + } + } + } + }, + "/clone-vm-volume": { + "post": { + "operationId": "CloneVmVolume", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmVolume_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmVolume" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/CloneVmVolumeParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-vm-volume": { + "post": { + "operationId": "UpdateVmVolume", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmVolume_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmVolume" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateVmVolumeParams" + } + } + } + } + } + }, + "/export-vm-volume": { + "post": { + "operationId": "ExportVmVolume", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmExportFile_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmVolume" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ExportVmVolumeParams" + } + } + } + } + } + }, + "/import-vm-volume": { + "post": { + "operationId": "ImportVmVolume", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VmVolume_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmVolume" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ImportVmVolumeParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-vsphere-esxi-account": { + "post": { + "operationId": "UpdateVsphereEsxiAccount", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_VsphereEsxiAccount-Array_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VsphereEsxiAccount" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateVsphereEsxiAccountParams" + } + } + } + } + } + }, + "/get-alert-notifiers": { + "post": { + "operationId": "GetAlertNotifiers", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/AlertNotifier" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "AlertNotifier" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetAlertNotifiersRequestBody" + } + } + } + } + } + }, + "/get-alert-notifiers-connection": { + "post": { + "operationId": "GetAlertNotifiersConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlertNotifierConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "AlertNotifier" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetAlertNotifiersConnectionRequestBody" + } + } + } + } + } + }, + "/get-alert-rules": { + "post": { + "operationId": "GetAlertRules", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/AlertRule" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "AlertRule" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetAlertRulesRequestBody" + } + } + } + } + } + }, + "/get-alert-rules-connection": { + "post": { + "operationId": "GetAlertRulesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlertRuleConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "AlertRule" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetAlertRulesConnectionRequestBody" + } + } + } + } + } + }, + "/get-alerts": { + "post": { + "operationId": "GetAlerts", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Alert" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Alert" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetAlertsRequestBody" + } + } + } + } + } + }, + "/get-alerts-connection": { + "post": { + "operationId": "GetAlertsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlertConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Alert" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetAlertsConnectionRequestBody" + } + } + } + } + } + }, + "/get-applications": { + "post": { + "operationId": "GetApplications", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Application" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Application" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetApplicationsRequestBody" + } + } + } + } + } + }, + "/get-applications-connection": { + "post": { + "operationId": "GetApplicationsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApplicationConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Application" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetApplicationsConnectionRequestBody" + } + } + } + } + } + }, + "/get-backup-plan-executions": { + "post": { + "operationId": "GetBackupPlanExecutions", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/BackupPlanExecution" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupPlanExecution" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupPlanExecutionsRequestBody" + } + } + } + } + } + }, + "/get-backup-plan-executions-connection": { + "post": { + "operationId": "GetBackupPlanExecutionsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupPlanExecutionConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupPlanExecution" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupPlanExecutionsConnectionRequestBody" + } + } + } + } + } + }, + "/get-backup-plans": { + "post": { + "operationId": "GetBackupPlans", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/BackupPlan" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupPlansRequestBody" + } + } + } + } + } + }, + "/get-backup-plans-connection": { + "post": { + "operationId": "GetBackupPlansConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupPlanConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupPlansConnectionRequestBody" + } + } + } + } + } + }, + "/get-backup-restore-executions": { + "post": { + "operationId": "GetBackupRestoreExecutions", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/BackupRestoreExecution" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupRestoreExecution" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupRestoreExecutionsRequestBody" + } + } + } + } + } + }, + "/get-backup-restore-executions-connection": { + "post": { + "operationId": "GetBackupRestoreExecutionsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupRestoreExecutionConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupRestoreExecution" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupRestoreExecutionsConnectionRequestBody" + } + } + } + } + } + }, + "/get-backup-restore-points": { + "post": { + "operationId": "GetBackupRestorePoints", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/BackupRestorePoint" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupRestorePoint" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupRestorePointsRequestBody" + } + } + } + } + } + }, + "/get-backup-restore-points-connection": { + "post": { + "operationId": "GetBackupRestorePointsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupRestorePointConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupRestorePoint" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupRestorePointsConnectionRequestBody" + } + } + } + } + } + }, + "/get-backup-services": { + "post": { + "operationId": "GetBackupServices", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/BackupService" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupService" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupServicesRequestBody" + } + } + } + } + } + }, + "/get-backup-services-connection": { + "post": { + "operationId": "GetBackupServicesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupServiceConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupService" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupServicesConnectionRequestBody" + } + } + } + } + } + }, + "/get-backup-store-repositories": { + "post": { + "operationId": "GetBackupStoreRepositories", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/BackupStoreRepository" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupStoreRepository" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupStoreRepositoriesRequestBody" + } + } + } + } + } + }, + "/get-backup-store-repositories-connection": { + "post": { + "operationId": "GetBackupStoreRepositoriesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupStoreRepositoryConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupStoreRepository" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupStoreRepositoriesConnectionRequestBody" + } + } + } + } + } + }, + "/get-backup-target-executions": { + "post": { + "operationId": "GetBackupTargetExecutions", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/BackupTargetExecution" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupTargetExecution" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupTargetExecutionsRequestBody" + } + } + } + } + } + }, + "/get-backup-target-executions-connection": { + "post": { + "operationId": "GetBackupTargetExecutionsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BackupTargetExecutionConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BackupTargetExecution" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBackupTargetExecutionsConnectionRequestBody" + } + } + } + } + } + }, + "/get-brick-topoes": { + "post": { + "operationId": "GetBrickTopoes", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/BrickTopo" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BrickTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBrickTopoesRequestBody" + } + } + } + } + } + }, + "/get-brick-topoes-connection": { + "post": { + "operationId": "GetBrickTopoesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/BrickTopoConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "BrickTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetBrickTopoesConnectionRequestBody" + } + } + } + } + } + }, + "/get-cloudtower-application-packages": { + "post": { + "operationId": "GetCloudTowerApplicationPackages", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/CloudTowerApplicationPackage" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "CloudTowerApplicationPackage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetCloudTowerApplicationPackagesRequestBody" + } + } + } + } + } + }, + "/get-cloud-tower-application-packages-connection": { + "post": { + "operationId": "GetCloudTowerApplicationPackagesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloudTowerApplicationPackageConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "CloudTowerApplicationPackage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetCloudTowerApplicationPackagesConnectionRequestBody" + } + } + } + } + } + }, + "/get-cloudtower-applications": { + "post": { + "operationId": "GetCloudTowerApplications", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/CloudTowerApplication" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "CloudTowerApplication" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetCloudTowerApplicationsRequestBody" + } + } + } + } + } + }, + "/get-cloud-tower-applications-connection": { + "post": { + "operationId": "GetCloudTowerApplicationsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloudTowerApplicationConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "CloudTowerApplication" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetCloudTowerApplicationsConnectionRequestBody" + } + } + } + } + } + }, + "/get-cluster-images": { + "post": { + "operationId": "GetClusterImages", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ClusterImage" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ClusterImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetClusterImagesRequestBody" + } + } + } + } + } + }, + "/get-cluster-images-connection": { + "post": { + "operationId": "GetClusterImagesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterImageConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ClusterImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetClusterImagesConnectionRequestBody" + } + } + } + } + } + }, + "/get-cluster-settingses": { + "post": { + "operationId": "GetClusterSettingses", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ClusterSettings" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ClusterSettings" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetClusterSettingsesRequestBody" + } + } + } + } + } + }, + "/get-cluster-settingses-connection": { + "post": { + "operationId": "GetClusterSettingsesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterSettingsConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ClusterSettings" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetClusterSettingsesConnectionRequestBody" + } + } + } + } + } + }, + "/get-cluster-topoes": { + "post": { + "operationId": "GetClusterTopoes", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ClusterTopo" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ClusterTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetClusterTopoesRequestBody" + } + } + } + } + } + }, + "/get-cluster-topoes-connection": { + "post": { + "operationId": "GetClusterTopoesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterTopoConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ClusterTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetClusterTopoesConnectionRequestBody" + } + } + } + } + } + }, + "/get-cluster-upgrade-histories": { + "post": { + "operationId": "GetClusterUpgradeHistories", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ClusterUpgradeHistory" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ClusterUpgradeHistory" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetClusterUpgradeHistoriesRequestBody" + } + } + } + } + } + }, + "/get-cluster-upgrade-histories-connection": { + "post": { + "operationId": "GetClusterUpgradeHistoriesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterUpgradeHistoryConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ClusterUpgradeHistory" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetClusterUpgradeHistoriesConnectionRequestBody" + } + } + } + } + } + }, + "/get-clusters": { + "post": { + "operationId": "GetClusters", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Cluster" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Cluster" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetClustersRequestBody" + } + } + } + } + } + }, + "/get-clusters-connection": { + "post": { + "operationId": "GetClustersConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClusterConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Cluster" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetClustersConnectionRequestBody" + } + } + } + } + } + }, + "/get-consistency-group-snapshots": { + "post": { + "operationId": "GetConsistencyGroupSnapshots", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ConsistencyGroupSnapshot" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ConsistencyGroupSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetConsistencyGroupSnapshotsRequestBody" + } + } + } + } + } + }, + "/get-consistency-group-snapshots-connection": { + "post": { + "operationId": "GetConsistencyGroupSnapshotsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConsistencyGroupSnapshotConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ConsistencyGroupSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetConsistencyGroupSnapshotsConnectionRequestBody" + } + } + } + } + } + }, + "/get-consistency-groups": { + "post": { + "operationId": "GetConsistencyGroups", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ConsistencyGroup" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ConsistencyGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetConsistencyGroupsRequestBody" + } + } + } + } + } + }, + "/get-consistency-groups-connection": { + "post": { + "operationId": "GetConsistencyGroupsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ConsistencyGroupConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ConsistencyGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetConsistencyGroupsConnectionRequestBody" + } + } + } + } + } + }, + "/get-content-library-images": { + "post": { + "operationId": "GetContentLibraryImages", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ContentLibraryImage" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetContentLibraryImagesRequestBody" + } + } + } + } + } + }, + "/get-content-library-images-connection": { + "post": { + "operationId": "GetContentLibraryImagesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentLibraryImageConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetContentLibraryImagesConnectionRequestBody" + } + } + } + } + } + }, + "/get-content-library-vm-templates": { + "post": { + "operationId": "GetContentLibraryVmTemplates", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ContentLibraryVmTemplate" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryVmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetContentLibraryVmTemplatesRequestBody" + } + } + } + } + } + }, + "/get-content-library-vm-templates-connection": { + "post": { + "operationId": "GetContentLibraryVmTemplatesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ContentLibraryVmTemplateConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ContentLibraryVmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetContentLibraryVmTemplatesConnectionRequestBody" + } + } + } + } + } + }, + "/get-datacenters": { + "post": { + "operationId": "GetDatacenters", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Datacenter" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Datacenter" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetDatacentersRequestBody" + } + } + } + } + } + }, + "/get-datacenters-connection": { + "post": { + "operationId": "GetDatacentersConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DatacenterConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Datacenter" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetDatacentersConnectionRequestBody" + } + } + } + } + } + }, + "/get-deploys": { + "post": { + "operationId": "GetDeploys", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Deploy" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Deploy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetDeploysRequestBody" + } + } + } + } + } + }, + "/get-deploys-connection": { + "post": { + "operationId": "GetDeploysConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeployConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Deploy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetDeploysConnectionRequestBody" + } + } + } + } + } + }, + "/get-discover-hosts": { + "post": { + "operationId": "GetDiscoverHosts", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/DiscoveredHost" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "DiscoveredHost" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetDiscoverHostsRequestBody" + } + } + } + } + } + }, + "/get-disks": { + "post": { + "operationId": "GetDisks", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Disk" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Disk" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetDisksRequestBody" + } + } + } + } + } + }, + "/get-disks-connection": { + "post": { + "operationId": "GetDisksConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DiskConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Disk" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetDisksConnectionRequestBody" + } + } + } + } + } + }, + "/get-elf-data-stores": { + "post": { + "operationId": "GetElfDataStores", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ElfDataStore" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ElfDataStore" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetElfDataStoresRequestBody" + } + } + } + } + } + }, + "/get-elf-data-stores-connection": { + "post": { + "operationId": "GetElfDataStoresConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ElfDataStoreConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ElfDataStore" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetElfDataStoresConnectionRequestBody" + } + } + } + } + } + }, + "/get-elf-images": { + "post": { + "operationId": "GetElfImages", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ElfImage" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ElfImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetElfImagesRequestBody" + } + } + } + } + } + }, + "/get-elf-images-connection": { + "post": { + "operationId": "GetElfImagesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ElfImageConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ElfImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetElfImagesConnectionRequestBody" + } + } + } + } + } + }, + "/get-elf-storage-policies": { + "post": { + "operationId": "GetElfStoragePolicies", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ElfStoragePolicy" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ElfStoragePolicy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetElfStoragePoliciesRequestBody" + } + } + } + } + } + }, + "/get-elf-storage-policies-connection": { + "post": { + "operationId": "GetElfStoragePoliciesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ElfStoragePolicyConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ElfStoragePolicy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetElfStoragePoliciesConnectionRequestBody" + } + } + } + } + } + }, + "/get-entity-filters": { + "post": { + "operationId": "GetEntityFilters", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/EntityFilter" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "EntityFilter" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetEntityFiltersRequestBody" + } + } + } + } + } + }, + "/get-entity-filters-connection": { + "post": { + "operationId": "GetEntityFiltersConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EntityFilterConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "EntityFilter" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetEntityFiltersConnectionRequestBody" + } + } + } + } + } + }, + "/get-everoute-clusters": { + "post": { + "operationId": "GetEverouteClusters", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/EverouteCluster" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "EverouteCluster" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetEverouteClustersRequestBody" + } + } + } + } + } + }, + "/get-everoute-clusters-connection": { + "post": { + "operationId": "GetEverouteClustersConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EverouteClusterConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "EverouteCluster" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetEverouteClustersConnectionRequestBody" + } + } + } + } + } + }, + "/get-everoute-licenses": { + "post": { + "operationId": "GetEverouteLicenses", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/EverouteLicense" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "EverouteLicense" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetEverouteLicensesRequestBody" + } + } + } + } + } + }, + "/get-everoute-licenses-connection": { + "post": { + "operationId": "GetEverouteLicensesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EverouteLicenseConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "EverouteLicense" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetEverouteLicensesConnectionRequestBody" + } + } + } + } + } + }, + "/get-everoute-packages": { + "post": { + "operationId": "GetEveroutePackages", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/EveroutePackage" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "EveroutePackage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetEveroutePackagesRequestBody" + } + } + } + } + } + }, + "/get-everoute-packages-connection": { + "post": { + "operationId": "GetEveroutePackagesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EveroutePackageConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "EveroutePackage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetEveroutePackagesConnectionRequestBody" + } + } + } + } + } + }, + "/get-global-alert-rules": { + "post": { + "operationId": "GetGlobalAlertRules", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/GlobalAlertRule" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GlobalAlertRule" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetGlobalAlertRulesRequestBody" + } + } + } + } + } + }, + "/get-global-alert-rules-connection": { + "post": { + "operationId": "GetGlobalAlertRulesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalAlertRuleConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GlobalAlertRule" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetGlobalAlertRulesConnectionRequestBody" + } + } + } + } + } + }, + "/get-global-settingses": { + "post": { + "operationId": "GetGlobalSettingses", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/GlobalSettings" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GlobalSettings" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetGlobalSettingsesRequestBody" + } + } + } + } + } + }, + "/get-global-settingses-connection": { + "post": { + "operationId": "GetGlobalSettingsesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalSettingsConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GlobalSettings" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetGlobalSettingsesConnectionRequestBody" + } + } + } + } + } + }, + "/get-gpu-devices": { + "post": { + "operationId": "GetGpuDevices", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/GpuDevice" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GpuDevice" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetGpuDevicesRequestBody" + } + } + } + } + } + }, + "/get-gpu-devices-connection": { + "post": { + "operationId": "GetGpuDevicesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GpuDeviceConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "GpuDevice" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetGpuDevicesConnectionRequestBody" + } + } + } + } + } + }, + "/get-graphs": { + "post": { + "operationId": "GetGraphs", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Graph" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Graph" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetGraphsRequestBody" + } + } + } + } + } + }, + "/get-graphs-connection": { + "post": { + "operationId": "GetGraphsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GraphConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Graph" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetGraphsConnectionRequestBody" + } + } + } + } + } + }, + "/get-hosts": { + "post": { + "operationId": "GetHosts", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Host" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Host" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetHostsRequestBody" + } + } + } + } + } + }, + "/get-hosts-connection": { + "post": { + "operationId": "GetHostsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HostConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Host" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetHostsConnectionRequestBody" + } + } + } + } + } + }, + "/get-ipmis": { + "post": { + "operationId": "GetIpmis", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Ipmi" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Ipmi" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetIpmisRequestBody" + } + } + } + } + } + }, + "/get-iscsi-connections": { + "post": { + "operationId": "GetIscsiConnections", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/IscsiConnection" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiConnection" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetIscsiConnectionsRequestBody" + } + } + } + } + } + }, + "/get-iscsi-connections-connection": { + "post": { + "operationId": "GetIscsiConnectionsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IscsiConnectionConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiConnection" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetIscsiConnectionsConnectionRequestBody" + } + } + } + } + } + }, + "/get-iscsi-lun-snapshots": { + "post": { + "operationId": "GetIscsiLunSnapshots", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/IscsiLunSnapshot" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiLunSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetIscsiLunSnapshotsRequestBody" + } + } + } + } + } + }, + "/get-iscsi-lun-snapshots-connection": { + "post": { + "operationId": "GetIscsiLunSnapshotsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IscsiLunSnapshotConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiLunSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetIscsiLunSnapshotsConnectionRequestBody" + } + } + } + } + } + }, + "/get-iscsi-luns": { + "post": { + "operationId": "GetIscsiLuns", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/IscsiLun" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiLun" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetIscsiLunsRequestBody" + } + } + } + } + } + }, + "/get-iscsi-luns-connection": { + "post": { + "operationId": "GetIscsiLunsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IscsiLunConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiLun" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetIscsiLunsConnectionRequestBody" + } + } + } + } + } + }, + "/get-iscsi-targets": { + "post": { + "operationId": "GetIscsiTargets", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/IscsiTarget" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiTarget" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetIscsiTargetsRequestBody" + } + } + } + } + } + }, + "/get-iscsi-targets-connection": { + "post": { + "operationId": "GetIscsiTargetsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IscsiTargetConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IscsiTarget" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetIscsiTargetsConnectionRequestBody" + } + } + } + } + } + }, + "/get-isolation-policies": { + "post": { + "operationId": "GetIsolationPolicies", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/IsolationPolicy" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IsolationPolicy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetIsolationPoliciesRequestBody" + } + } + } + } + } + }, + "/get-isolation-policies-connection": { + "post": { + "operationId": "GetIsolationPoliciesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/IsolationPolicyConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "IsolationPolicy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetIsolationPoliciesConnectionRequestBody" + } + } + } + } + } + }, + "/get-labels": { + "post": { + "operationId": "GetLabels", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Label" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Label" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetLabelsRequestBody" + } + } + } + } + } + }, + "/get-labels-connection": { + "post": { + "operationId": "GetLabelsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LabelConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Label" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetLabelsConnectionRequestBody" + } + } + } + } + } + }, + "/get-licenses": { + "post": { + "operationId": "GetLicenses", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/License" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "License" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetLicensesRequestBody" + } + } + } + } + } + }, + "/get-licenses-connection": { + "post": { + "operationId": "GetLicensesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LicenseConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "License" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetLicensesConnectionRequestBody" + } + } + } + } + } + }, + "/get-log-collections": { + "post": { + "operationId": "GetLogCollections", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/LogCollection" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "LogCollection" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetLogCollectionsRequestBody" + } + } + } + } + } + }, + "/get-log-collections-connection": { + "post": { + "operationId": "GetLogCollectionsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LogCollectionConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "LogCollection" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetLogCollectionsConnectionRequestBody" + } + } + } + } + } + }, + "/get-log-service-configs": { + "post": { + "operationId": "GetLogServiceConfigs", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/LogServiceConfig" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "LogServiceConfig" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetLogServiceConfigsRequestBody" + } + } + } + } + } + }, + "/get-namespace-groups": { + "post": { + "operationId": "GetNamespaceGroups", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/NamespaceGroup" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NamespaceGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNamespaceGroupsRequestBody" + } + } + } + } + } + }, + "/get-namespace-groups-connection": { + "post": { + "operationId": "GetNamespaceGroupsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NamespaceGroupConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NamespaceGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNamespaceGroupsConnectionRequestBody" + } + } + } + } + } + }, + "/get-nfs-exports": { + "post": { + "operationId": "GetNfsExports", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/NfsExport" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NfsExport" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNfsExportsRequestBody" + } + } + } + } + } + }, + "/get-nfs-exports-connection": { + "post": { + "operationId": "GetNfsExportsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NfsExportConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NfsExport" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNfsExportsConnectionRequestBody" + } + } + } + } + } + }, + "/get-nfs-inodes": { + "post": { + "operationId": "GetNfsInodes", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/NfsInode" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NfsInode" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNfsInodesRequestBody" + } + } + } + } + } + }, + "/get-nfs-inodes-connection": { + "post": { + "operationId": "GetNfsInodesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NfsInodeConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NfsInode" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNfsInodesConnectionRequestBody" + } + } + } + } + } + }, + "/get-nics": { + "post": { + "operationId": "GetNics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Nic" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Nic" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNicsRequestBody" + } + } + } + } + } + }, + "/get-nics-connection": { + "post": { + "operationId": "GetNicsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NicConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Nic" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNicsConnectionRequestBody" + } + } + } + } + } + }, + "/get-node-topoes": { + "post": { + "operationId": "GetNodeTopoes", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/NodeTopo" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NodeTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNodeTopoesRequestBody" + } + } + } + } + } + }, + "/get-node-topoes-connection": { + "post": { + "operationId": "GetNodeTopoesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NodeTopoConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NodeTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNodeTopoesConnectionRequestBody" + } + } + } + } + } + }, + "/get-nvmf-namespace-snapshots": { + "post": { + "operationId": "GetNvmfNamespaceSnapshots", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/NvmfNamespaceSnapshot" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfNamespaceSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNvmfNamespaceSnapshotsRequestBody" + } + } + } + } + } + }, + "/get-nvmf-namespace-snapshots-connection": { + "post": { + "operationId": "GetNvmfNamespaceSnapshotsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NvmfNamespaceSnapshotConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfNamespaceSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNvmfNamespaceSnapshotsConnectionRequestBody" + } + } + } + } + } + }, + "/get-nvmf-namespaces": { + "post": { + "operationId": "GetNvmfNamespaces", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/NvmfNamespace" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfNamespace" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNvmfNamespacesRequestBody" + } + } + } + } + } + }, + "/get-nvmf-namespaces-connection": { + "post": { + "operationId": "GetNvmfNamespacesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NvmfNamespaceConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfNamespace" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNvmfNamespacesConnectionRequestBody" + } + } + } + } + } + }, + "/get-nvmf-subsystems": { + "post": { + "operationId": "GetNvmfSubsystems", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/NvmfSubsystem" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfSubsystem" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNvmfSubsystemsRequestBody" + } + } + } + } + } + }, + "/get-nvmf-subsystems-connection": { + "post": { + "operationId": "GetNvmfSubsystemsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NvmfSubsystemConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "NvmfSubsystem" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetNvmfSubsystemsConnectionRequestBody" + } + } + } + } + } + }, + "/get-organizations": { + "post": { + "operationId": "GetOrganizations", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Organization" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Organization" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetOrganizationsRequestBody" + } + } + } + } + } + }, + "/get-organizations-connection": { + "post": { + "operationId": "GetOrganizationsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OrganizationConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Organization" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetOrganizationsConnectionRequestBody" + } + } + } + } + } + }, + "/get-pmem-dimms": { + "post": { + "operationId": "GetPmemDimms", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/PmemDimm" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "PmemDimm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetPmemDimmsRequestBody" + } + } + } + } + } + }, + "/get-pmem-dimms-connection": { + "post": { + "operationId": "GetPmemDimmsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PmemDimmConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "PmemDimm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetPmemDimmsConnectionRequestBody" + } + } + } + } + } + }, + "/get-rack-topoes": { + "post": { + "operationId": "GetRackTopoes", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/RackTopo" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "RackTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetRackTopoesRequestBody" + } + } + } + } + } + }, + "/get-rack-topoes-connection": { + "post": { + "operationId": "GetRackTopoesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RackTopoConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "RackTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetRackTopoesConnectionRequestBody" + } + } + } + } + } + }, + "/get-report-tasks": { + "post": { + "operationId": "GetReportTasks", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ReportTask" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ReportTask" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetReportTasksRequestBody" + } + } + } + } + } + }, + "/get-report-tasks-connection": { + "post": { + "operationId": "GetReportTasksConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReportTaskConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ReportTask" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetReportTasksConnectionRequestBody" + } + } + } + } + } + }, + "/get-report-templates": { + "post": { + "operationId": "GetReportTemplates", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ReportTemplate" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ReportTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetReportTemplatesRequestBody" + } + } + } + } + } + }, + "/get-report-templates-connection": { + "post": { + "operationId": "GetReportTemplatesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReportTemplateConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ReportTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetReportTemplatesConnectionRequestBody" + } + } + } + } + } + }, + "/get-security-groups": { + "post": { + "operationId": "GetSecurityGroups", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/SecurityGroup" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SecurityGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSecurityGroupsRequestBody" + } + } + } + } + } + }, + "/get-security-groups-connection": { + "post": { + "operationId": "GetSecurityGroupsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SecurityGroupConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SecurityGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSecurityGroupsConnectionRequestBody" + } + } + } + } + } + }, + "/get-security-policies": { + "post": { + "operationId": "GetSecurityPolicies", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/SecurityPolicy" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SecurityPolicy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSecurityPoliciesRequestBody" + } + } + } + } + } + }, + "/get-security-policies-connection": { + "post": { + "operationId": "GetSecurityPoliciesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SecurityPolicyConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SecurityPolicy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSecurityPoliciesConnectionRequestBody" + } + } + } + } + } + }, + "/get-snapshot-groups": { + "post": { + "operationId": "GetSnapshotGroups", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/SnapshotGroup" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSnapshotGroupsRequestBody" + } + } + } + } + } + }, + "/get-snapshot-groups-connection": { + "post": { + "operationId": "GetSnapshotGroupsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnapshotGroupConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSnapshotGroupsConnectionRequestBody" + } + } + } + } + } + }, + "/get-snapshot-plan-tasks": { + "post": { + "operationId": "GetSnapshotPlanTasks", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/SnapshotPlanTask" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotPlanTask" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSnapshotPlanTasksRequestBody" + } + } + } + } + } + }, + "/get-snapshot-plan-tasks-connection": { + "post": { + "operationId": "GetSnapshotPlanTasksConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnapshotPlanTaskConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotPlanTask" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSnapshotPlanTasksConnectionRequestBody" + } + } + } + } + } + }, + "/get-snapshot-plans": { + "post": { + "operationId": "GetSnapshotPlans", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/SnapshotPlan" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSnapshotPlansRequestBody" + } + } + } + } + } + }, + "/get-snapshot-plans-connection": { + "post": { + "operationId": "GetSnapshotPlansConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnapshotPlanConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnapshotPlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSnapshotPlansConnectionRequestBody" + } + } + } + } + } + }, + "/get-snmp-transports": { + "post": { + "operationId": "GetSnmpTransports", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/SnmpTransport" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnmpTransport" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSnmpTransportsRequestBody" + } + } + } + } + } + }, + "/get-snmp-transports-connection": { + "post": { + "operationId": "GetSnmpTransportsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnmpTransportConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnmpTransport" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSnmpTransportsConnectionRequestBody" + } + } + } + } + } + }, + "/get-snmp-trap-receivers": { + "post": { + "operationId": "GetSnmpTrapReceivers", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/SnmpTrapReceiver" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnmpTrapReceiver" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSnmpTrapReceiversRequestBody" + } + } + } + } + } + }, + "/get-snmp-trap-receivers-connection": { + "post": { + "operationId": "GetSnmpTrapReceiversConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SnmpTrapReceiverConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SnmpTrapReceiver" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSnmpTrapReceiversConnectionRequestBody" + } + } + } + } + } + }, + "/get-svt-images": { + "post": { + "operationId": "GetSvtImages", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/SvtImage" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SvtImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSvtImagesRequestBody" + } + } + } + } + } + }, + "/get-svt-images-connection": { + "post": { + "operationId": "GetSvtImagesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SvtImageConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SvtImage" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSvtImagesConnectionRequestBody" + } + } + } + } + } + }, + "/get-system-audit-logs": { + "post": { + "operationId": "GetSystemAuditLogs", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/SystemAuditLog" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SystemAuditLog" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSystemAuditLogsRequestBody" + } + } + } + } + } + }, + "/get-system-audit-logs-connection": { + "post": { + "operationId": "GetSystemAuditLogsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SystemAuditLogConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "SystemAuditLog" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSystemAuditLogsConnectionRequestBody" + } + } + } + } + } + }, + "/get-tasks": { + "post": { + "operationId": "GetTasks", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Task" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Task" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetTasksRequestBody" + } + } + } + } + } + }, + "/get-tasks-connection": { + "post": { + "operationId": "GetTasksConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TaskConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Task" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetTasksConnectionRequestBody" + } + } + } + } + } + }, + "/get-upload-tasks": { + "post": { + "operationId": "GetUploadTasks", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/UploadTask" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UploadTask" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetUploadTasksRequestBody" + } + } + } + } + } + }, + "/get-upload-tasks-connection": { + "post": { + "operationId": "GetUploadTasksConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UploadTaskConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UploadTask" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetUploadTasksConnectionRequestBody" + } + } + } + } + } + }, + "/get-usb-devices-connection": { + "post": { + "operationId": "GetUsbDevicesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UsbDeviceConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UsbDevice" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetUsbDevicesConnectionRequestBody" + } + } + } + } + } + }, + "/get-user-audit-logs": { + "post": { + "operationId": "GetUserAuditLogs", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/UserAuditLog" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UserAuditLog" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetUserAuditLogsRequestBody" + } + } + } + } + } + }, + "/get-user-audit-logs-connection": { + "post": { + "operationId": "GetUserAuditLogsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserAuditLogConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UserAuditLog" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetUserAuditLogsConnectionRequestBody" + } + } + } + } + } + }, + "/get-user-role-nexts": { + "post": { + "operationId": "GetUserRoleNexts", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/UserRoleNext" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UserRoleNext" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetUserRoleNextsRequestBody" + } + } + } + } + } + }, + "/get-user-role-nexts-connection": { + "post": { + "operationId": "GetUserRoleNextsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserRoleNextConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "UserRoleNext" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetUserRoleNextsConnectionRequestBody" + } + } + } + } + } + }, + "/get-users": { + "post": { + "operationId": "GetUsers", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/User" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "User" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetUsersRequestBody" + } + } + } + } + } + }, + "/get-users-connection": { + "post": { + "operationId": "GetUsersConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UserConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "User" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetUsersConnectionRequestBody" + } + } + } + } + } + }, + "/get-v2-everoute-licenses": { + "post": { + "operationId": "GetV2EverouteLicenses", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/V2EverouteLicense" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "V2EverouteLicense" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetV2EverouteLicensesRequestBody" + } + } + } + } + } + }, + "/get-v-2-everoute-licenses-connection": { + "post": { + "operationId": "GetV2EverouteLicensesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/V2EverouteLicenseConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "V2EverouteLicense" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetV2EverouteLicensesConnectionRequestBody" + } + } + } + } + } + }, + "/get-vcenter-accounts": { + "post": { + "operationId": "GetVcenterAccounts", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VcenterAccount" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VcenterAccount" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVcenterAccountsRequestBody" + } + } + } + } + } + }, + "/get-vcenter-accounts-connection": { + "post": { + "operationId": "GetVcenterAccountsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VcenterAccountConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VcenterAccount" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVcenterAccountsConnectionRequestBody" + } + } + } + } + } + }, + "/get-vdses": { + "post": { + "operationId": "GetVdses", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Vds" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vds" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVdsesRequestBody" + } + } + } + } + } + }, + "/get-vdses-connection": { + "post": { + "operationId": "GetVdsesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VdsConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vds" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVdsesConnectionRequestBody" + } + } + } + } + } + }, + "/get-views": { + "post": { + "operationId": "GetViews", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/View" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "View" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetViewsRequestBody" + } + } + } + } + } + }, + "/get-views-connection": { + "post": { + "operationId": "GetViewsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ViewConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "View" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetViewsConnectionRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-cluster-bindings": { + "post": { + "operationId": "GetVirtualPrivateCloudClusterBindings", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudClusterBinding" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudClusterBinding" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudClusterBindingsRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-cluster-bindings-connection": { + "post": { + "operationId": "GetVirtualPrivateCloudClusterBindingsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudClusterBindingConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudClusterBinding" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudClusterBindingsConnectionRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-external-subnets": { + "post": { + "operationId": "GetVirtualPrivateCloudExternalSubnets", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnet" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudExternalSubnet" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudExternalSubnetsRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-external-subnets-connection": { + "post": { + "operationId": "GetVirtualPrivateCloudExternalSubnetsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudExternalSubnetConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudExternalSubnet" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudExternalSubnetsConnectionRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-floating-ips": { + "post": { + "operationId": "GetVirtualPrivateCloudFloatingIps", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIp" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudFloatingIp" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudFloatingIpsRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-floating-ips-connection": { + "post": { + "operationId": "GetVirtualPrivateCloudFloatingIpsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudFloatingIpConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudFloatingIp" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudFloatingIpsConnectionRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-nat-gateways": { + "post": { + "operationId": "GetVirtualPrivateCloudNatGateways", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGateway" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudNatGateway" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudNatGatewaysRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-nat-gateways-connection": { + "post": { + "operationId": "GetVirtualPrivateCloudNatGatewaysConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudNatGatewayConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudNatGateway" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudNatGatewaysConnectionRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-route-tables": { + "post": { + "operationId": "GetVirtualPrivateCloudRouteTables", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTable" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudRouteTable" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudRouteTablesRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-route-tables-connection": { + "post": { + "operationId": "GetVirtualPrivateCloudRouteTablesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouteTableConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudRouteTable" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudRouteTablesConnectionRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-router-gateways": { + "post": { + "operationId": "GetVirtualPrivateCloudRouterGateways", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGateway" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudRouterGateway" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudRouterGatewaysRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-router-gateways-connection": { + "post": { + "operationId": "GetVirtualPrivateCloudRouterGatewaysConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudRouterGatewayConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudRouterGateway" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudRouterGatewaysConnectionRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-security-groups": { + "post": { + "operationId": "GetVirtualPrivateCloudSecurityGroups", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroup" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSecurityGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudSecurityGroupsRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-security-groups-connection": { + "post": { + "operationId": "GetVirtualPrivateCloudSecurityGroupsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityGroupConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSecurityGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudSecurityGroupsConnectionRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-security-policies": { + "post": { + "operationId": "GetVirtualPrivateCloudSecurityPolicies", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicy" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSecurityPolicy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudSecurityPoliciesRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-security-policies-connection": { + "post": { + "operationId": "GetVirtualPrivateCloudSecurityPoliciesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudSecurityPolicyConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSecurityPolicy" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudSecurityPoliciesConnectionRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-subnets": { + "post": { + "operationId": "GetVirtualPrivateCloudSubnets", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnet" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSubnet" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudSubnetsRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-cloud-subnets-connection": { + "post": { + "operationId": "GetVirtualPrivateCloudSubnetsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudSubnetConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloudSubnet" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudSubnetsConnectionRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-clouds": { + "post": { + "operationId": "GetVirtualPrivateClouds", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VirtualPrivateCloud" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloud" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudsRequestBody" + } + } + } + } + } + }, + "/get-virtual-private-clouds-connection": { + "post": { + "operationId": "GetVirtualPrivateCloudsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VirtualPrivateCloudConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VirtualPrivateCloud" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVirtualPrivateCloudsConnectionRequestBody" + } + } + } + } + } + }, + "/get-vlans": { + "post": { + "operationId": "GetVlans", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Vlan" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVlansRequestBody" + } + } + } + } + } + }, + "/get-vlans-connection": { + "post": { + "operationId": "GetVlansConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VlanConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vlan" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVlansConnectionRequestBody" + } + } + } + } + } + }, + "/get-vm-disks": { + "post": { + "operationId": "GetVmDisks", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmDisk" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmDisk" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmDisksRequestBody" + } + } + } + } + } + }, + "/get-vm-disks-connection": { + "post": { + "operationId": "GetVmDisksConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmDiskConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmDisk" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmDisksConnectionRequestBody" + } + } + } + } + } + }, + "/get-vm-entity-filter-results": { + "post": { + "operationId": "GetVmEntityFilterResults", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmEntityFilterResult" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmEntityFilterResult" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmEntityFilterResultsRequestBody" + } + } + } + } + } + }, + "/get-vm-entity-filter-results-connection": { + "post": { + "operationId": "GetVmEntityFilterResultsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmEntityFilterResultConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmEntityFilterResult" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmEntityFilterResultsConnectionRequestBody" + } + } + } + } + } + }, + "/get-vm-export-files": { + "post": { + "operationId": "GetVmExportFiles", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmExportFile" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmExportFile" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmExportFilesRequestBody" + } + } + } + } + } + }, + "/get-vm-export-files-connection": { + "post": { + "operationId": "GetVmExportFilesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmExportFileConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmExportFile" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmExportFilesConnectionRequestBody" + } + } + } + } + } + }, + "/get-vm-folders": { + "post": { + "operationId": "GetVmFolders", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmFolder" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmFolder" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmFoldersRequestBody" + } + } + } + } + } + }, + "/get-vm-folders-connection": { + "post": { + "operationId": "GetVmFoldersConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmFolderConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmFolder" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmFoldersConnectionRequestBody" + } + } + } + } + } + }, + "/get-vm-nics": { + "post": { + "operationId": "GetVmNics", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmNic" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmNic" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmNicsRequestBody" + } + } + } + } + } + }, + "/get-vm-nics-connection": { + "post": { + "operationId": "GetVmNicsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmNicConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmNic" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmNicsConnectionRequestBody" + } + } + } + } + } + }, + "/get-vm-placement-groups": { + "post": { + "operationId": "GetVmPlacementGroups", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmPlacementGroup" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmPlacementGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmPlacementGroupsRequestBody" + } + } + } + } + } + }, + "/get-vm-placement-groups-connection": { + "post": { + "operationId": "GetVmPlacementGroupsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmPlacementGroupConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmPlacementGroup" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmPlacementGroupsConnectionRequestBody" + } + } + } + } + } + }, + "/get-vm-snapshots": { + "post": { + "operationId": "GetVmSnapshots", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmSnapshot" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmSnapshotsRequestBody" + } + } + } + } + } + }, + "/get-vm-snapshots-connection": { + "post": { + "operationId": "GetVmSnapshotsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmSnapshotConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmSnapshotsConnectionRequestBody" + } + } + } + } + } + }, + "/get-vm-templates": { + "post": { + "operationId": "GetVmTemplates", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmTemplate" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmTemplatesRequestBody" + } + } + } + } + } + }, + "/get-vm-templates-connection": { + "post": { + "operationId": "GetVmTemplatesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmTemplateConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmTemplate" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmTemplatesConnectionRequestBody" + } + } + } + } + } + }, + "/get-vm-volume-snapshots": { + "post": { + "operationId": "GetVmVolumeSnapshots", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmVolumeSnapshot" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmVolumeSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmVolumeSnapshotsRequestBody" + } + } + } + } + } + }, + "/get-vm-volume-snapshots-connection": { + "post": { + "operationId": "GetVmVolumeSnapshotsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmVolumeSnapshotConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmVolumeSnapshot" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmVolumeSnapshotsConnectionRequestBody" + } + } + } + } + } + }, + "/get-vm-volumes": { + "post": { + "operationId": "GetVmVolumes", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VmVolume" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmVolume" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmVolumesRequestBody" + } + } + } + } + } + }, + "/get-vm-volumes-connection": { + "post": { + "operationId": "GetVmVolumesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmVolumeConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VmVolume" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmVolumesConnectionRequestBody" + } + } + } + } + } + }, + "/get-vms": { + "post": { + "operationId": "GetVms", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Vm" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmsRequestBody" + } + } + } + } + } + }, + "/get-vms-connection": { + "post": { + "operationId": "GetVmsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VmConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Vm" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVmsConnectionRequestBody" + } + } + } + } + } + }, + "/get-vsphere-esxi-accounts": { + "post": { + "operationId": "GetVsphereEsxiAccounts", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/VsphereEsxiAccount" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VsphereEsxiAccount" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVsphereEsxiAccountsRequestBody" + } + } + } + } + } + }, + "/get-vsphere-esxi-accounts-connection": { + "post": { + "operationId": "GetVsphereEsxiAccountsConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VsphereEsxiAccountConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "VsphereEsxiAccount" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetVsphereEsxiAccountsConnectionRequestBody" + } + } + } + } + } + }, + "/get-witness-services": { + "post": { + "operationId": "GetWitnessServices", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WitnessService" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "WitnessService" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetWitnessServicesRequestBody" + } + } + } + } + } + }, + "/get-witnesses": { + "post": { + "operationId": "GetWitnesses", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Witness" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Witness" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetWitnessesRequestBody" + } + } + } + } + } + }, + "/get-witnesses-connection": { + "post": { + "operationId": "GetWitnessesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WitnessConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Witness" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetWitnessesConnectionRequestBody" + } + } + } + } + } + }, + "/get-zone-topoes": { + "post": { + "operationId": "GetZoneTopoes", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/ZoneTopo" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ZoneTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetZoneTopoesRequestBody" + } + } + } + } + } + }, + "/get-zone-topoes-connection": { + "post": { + "operationId": "GetZoneTopoesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ZoneTopoConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "ZoneTopo" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetZoneTopoesConnectionRequestBody" + } + } + } + } + } + }, + "/get-zones": { + "post": { + "operationId": "GetZones", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/Zone" + }, + "type": "array" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Zone" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetZonesRequestBody" + } + } + } + } + } + }, + "/get-zones-connection": { + "post": { + "operationId": "GetZonesConnection", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ZoneConnection" + } + } + }, + "headers": { + "x-tower-request-id": { + "schema": { + "type": "string" + }, + "required": true + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "Zone" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "content-language", + "required": false, + "schema": { + "$ref": "#/components/schemas/ContentLanguage" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetZonesConnectionRequestBody" + } + } + } + } + } + }, + "/create-alert-notifier": { + "post": { + "operationId": "CreateAlertNotifier", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_AlertNotifier_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "AlertNotifier" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/AlertNotifierCreationParams" + }, + "type": "array" + } + } + } + } + } + }, + "/update-alert-notifier": { + "post": { + "operationId": "UpdateAlertNotifier", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WithTask_AlertNotifier_" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "AlertNotifier" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlertNotifierUpdationParams" + } + } + } + } + } + }, + "/update-many-alert-notifiers": { + "post": { + "operationId": "UpdateManyAlertNotifiers", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_AlertNotifier_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "AlertNotifier" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/AlertNotifierManyUpdationParams" + } + } + } + } + } + }, + "/delete-alert-notifier": { + "post": { + "operationId": "DeleteAlertNotifier", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/WithTask_DeleteAlertNotifier_" + }, + "type": "array" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "400": { + "description": "Bad request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "404": { + "description": "Not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + }, + "500": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorBody" + } + } + }, + "headers": { + "CommonHeader": { + "schema": { + "$ref": "#/components/schemas/CommonHeader" + } + } + } + } + }, + "tags": [ + "AlertNotifier" + ], + "security": [ + { + "Authorization": [] + } + ], + "parameters": [], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DeleteAlertNotifierParams" + } + } + } + } + } + } + }, + "servers": [ + { + "url": "/" + } + ] +} \ No newline at end of file diff --git a/cloudtower-api-doc/swagger/examples/swagger-examples.json b/cloudtower-api-doc/swagger/examples/swagger-examples.json index 2c1aa8d..cc9f574 100644 --- a/cloudtower-api-doc/swagger/examples/swagger-examples.json +++ b/cloudtower-api-doc/swagger/examples/swagger-examples.json @@ -6,7 +6,7 @@ "id": "GlobalAlertRule-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-global-alert-rule \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"GlobalAlertRule-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-global-alert-rule \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"GlobalAlertRule-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GlobalAlertRuleApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n global_alert_rule_api = GlobalAlertRuleApi(client)\r\n resp = global_alert_rule_api.update_global_alert_rule({\"data\":{},\"where\":{\"id\":\"GlobalAlertRule-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/global_alert_rule\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n global_alert_rule_api := client.GlobalAlertRule\r\n params := global_alert_rule.NewUpdateGlobalAlertRuleParams()\r\n params.RequestBody = &models.GlobalAlertRuleUpdationParams{\nData: &models.GlobalAlertRuleUpdationParamsData{\n},\nWhere: &models.GlobalAlertRuleWhereInput{\nID: pointy.String(\"GlobalAlertRule-id\"),\n},\n}\r\n rawResp, err := global_alert_rule_api.UpdateGlobalAlertRule(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskGlobalAlertRule) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskGlobalAlertRule)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskGlobalAlertRule) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GlobalAlertRuleApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GlobalAlertRuleApi globalAlertRuleApi = new GlobalAlertRuleApi(client);\r\n GlobalAlertRuleUpdationParams params = new GlobalAlertRuleUpdationParams()\n.data(new GlobalAlertRuleUpdationParamsData())\n.where(new GlobalAlertRuleWhereInput()\n.id(\"GlobalAlertRule-id\"));\r\n List resp = globalAlertRuleApi.updateGlobalAlertRule(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -22,7 +22,7 @@ "id": "GlobalAlertRule-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-customize-alert-rule \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"GlobalAlertRule-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-customize-alert-rule \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"GlobalAlertRule-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GlobalAlertRuleApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n global_alert_rule_api = GlobalAlertRuleApi(client)\r\n resp = global_alert_rule_api.update_customize_alert_rule({\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"GlobalAlertRule-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/global_alert_rule\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n global_alert_rule_api := client.GlobalAlertRule\r\n params := global_alert_rule.NewUpdateCustomizeAlertRuleParams()\r\n params.RequestBody = &models.CustomizeAlertRuleUpdationParams{\nData: &models.CustomizeAlertRuleUpdationParamsData{\nClusters: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n},\nWhere: &models.GlobalAlertRuleWhereInput{\nID: pointy.String(\"GlobalAlertRule-id\"),\n},\n}\r\n rawResp, err := global_alert_rule_api.UpdateCustomizeAlertRule(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskGlobalAlertRule) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskGlobalAlertRule)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskGlobalAlertRule) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GlobalAlertRuleApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GlobalAlertRuleApi globalAlertRuleApi = new GlobalAlertRuleApi(client);\r\n CustomizeAlertRuleUpdationParams params = new CustomizeAlertRuleUpdationParams()\n.data(new CustomizeAlertRuleUpdationParamsData()\n.clusters(new ClusterWhereInput()\n.id(\"Cluster-id\")))\n.where(new GlobalAlertRuleWhereInput()\n.id(\"GlobalAlertRule-id\"));\r\n List resp = globalAlertRuleApi.updateCustomizeAlertRule(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -33,11 +33,179 @@ "id": "Alert-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/resolve-alert \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Alert-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/resolve-alert \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Alert-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, AlertApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n alert_api = AlertApi(client)\r\n resp = alert_api.resolve_alert({\"where\":{\"id\":\"Alert-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/alert\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n alert_api := client.Alert\r\n params := alert.NewResolveAlertParams()\r\n params.RequestBody = &models.ResolveAlertParams{\nWhere: &models.AlertWhereInput{\nID: pointy.String(\"Alert-id\"),\n},\n}\r\n rawResp, err := alert_api.ResolveAlert(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskAlert) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskAlert)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskAlert) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.AlertApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n AlertApi alertApi = new AlertApi(client);\r\n ResolveAlertParams params = new ResolveAlertParams()\n.where(new AlertWhereInput()\n.id(\"Alert-id\"));\r\n List resp = alertApi.resolveAlert(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" }, + "/create-user-audit-log": { + "exampleValue": [ + { + "status": "FAILED", + "user_id": "ck74rk21wg5lz0786opdnzz5m", + "message": { + "en-US": "en-US-string", + "zh-CN": "zh-CN-string" + }, + "resource_type": "resource_type-string", + "action": "action-string" + } + ], + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-user-audit-log \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"status\":\"FAILED\",\"user_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"message\":{\"en-US\":\"en-US-string\",\"zh-CN\":\"zh-CN-string\"},\"resource_type\":\"resource_type-string\",\"action\":\"action-string\"}]'", + "python": "from cloudtower import ApiClient, Configuration, UserAuditLogApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n user_audit_log_api = UserAuditLogApi(client)\r\n resp = user_audit_log_api.create_user_audit_log([{\"status\":\"FAILED\",\"user_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"message\":{\"en-US\":\"en-US-string\",\"zh-CN\":\"zh-CN-string\"},\"resource_type\":\"resource_type-string\",\"action\":\"action-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/user_audit_log\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n user_audit_log_api := client.UserAuditLog\r\n params := user_audit_log.NewCreateUserAuditLogParams()\r\n params.RequestBody = []*models.UserAuditLogCreationParams{\n{\nStatus: models.UserAuditLogStatusFAILED.Pointer(),\nUserID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nMessage: &models.UserAuditLogMessage{\nEnUs: pointy.String(\"en-US-string\"),\nZhCn: pointy.String(\"zh-CN-string\"),\n},\nResourceType: pointy.String(\"resource_type-string\"),\nAction: pointy.String(\"action-string\"),\n},\n}\r\n rawResp, err := user_audit_log_api.CreateUserAuditLog(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskUserAuditLog) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskUserAuditLog)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskUserAuditLog) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.UserAuditLogApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n UserAuditLogApi userAuditLogApi = new UserAuditLogApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new UserAuditLogCreationParams()\n.status(UserAuditLogStatus.fromValue(\"FAILED\"))\n.userId(\"ck74rk21wg5lz0786opdnzz5m\")\n.message(new UserAuditLogMessage()\n.enUs(\"en-US-string\")\n.zhCn(\"zh-CN-string\"))\n.resourceType(\"resource_type-string\")\n.action(\"action-string\"));\r\n List resp = userAuditLogApi.createUserAuditLog(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/create-backup-plan": { + "exampleValue": [ + { + "keep_policy_value": 1, + "keep_policy": "COUNT", + "enable_window": true, + "full_time_point": { + "minute": 1, + "hour": 1 + }, + "full_period": "DAILY", + "full_interval": 1, + "incremental_interval": 1, + "incremental_period": "DAILY", + "snapshot_consistent_type": "CRASH_CONSISTENT", + "compression": true, + "vms": { + "id": "Vm-id" + }, + "backup_store_repository_id": "ck74rk21wg5lz0786opdnzz5m", + "backup_service_id": "ck74rk21wg5lz0786opdnzz5m", + "name": "name-string" + } + ], + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-backup-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"keep_policy_value\":1,\"keep_policy\":\"COUNT\",\"enable_window\":true,\"full_time_point\":{\"minute\":1,\"hour\":1},\"full_period\":\"DAILY\",\"full_interval\":1,\"incremental_interval\":1,\"incremental_period\":\"DAILY\",\"snapshot_consistent_type\":\"CRASH_CONSISTENT\",\"compression\":true,\"vms\":{\"id\":\"Vm-id\"},\"backup_store_repository_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"backup_service_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.create_backup_plan([{\"keep_policy_value\":1,\"keep_policy\":\"COUNT\",\"enable_window\":True,\"full_time_point\":{\"minute\":1,\"hour\":1},\"full_period\":\"DAILY\",\"full_interval\":1,\"incremental_interval\":1,\"incremental_period\":\"DAILY\",\"snapshot_consistent_type\":\"CRASH_CONSISTENT\",\"compression\":True,\"vms\":{\"id\":\"Vm-id\"},\"backup_store_repository_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"backup_service_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewCreateBackupPlanParams()\r\n params.RequestBody = []*models.BackupPlanCreationParams{\n{\nKeepPolicyValue: pointy.Int32(1),\nKeepPolicy: models.BackupPlanKeepPolicyCOUNT.Pointer(),\nEnableWindow: pointy.Bool(true),\nFullTimePoint: &models.BackupPlanTimePoint{\nMinute: pointy.Int32(1),\nHour: pointy.Int32(1),\n},\nFullPeriod: models.BackupPlanPeriodDAILY.Pointer(),\nFullInterval: pointy.Int32(1),\nIncrementalInterval: pointy.Int32(1),\nIncrementalPeriod: models.BackupPlanPeriodDAILY.Pointer(),\nSnapshotConsistentType: models.ConsistentTypeCRASH_CONSISTENT.Pointer(),\nCompression: pointy.Bool(true),\nVms: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\nBackupStoreRepositoryID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nBackupServiceID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := backup_plan_api.CreateBackupPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBackupPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBackupPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBackupPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new BackupPlanCreationParams()\n.keepPolicyValue(1)\n.keepPolicy(BackupPlanKeepPolicy.fromValue(\"COUNT\"))\n.enableWindow(true)\n.fullTimePoint(new BackupPlanTimePoint()\n.minute(1)\n.hour(1))\n.fullPeriod(BackupPlanPeriod.fromValue(\"DAILY\"))\n.fullInterval(1)\n.incrementalInterval(1)\n.incrementalPeriod(BackupPlanPeriod.fromValue(\"DAILY\"))\n.snapshotConsistentType(ConsistentType.fromValue(\"CRASH_CONSISTENT\"))\n.compression(true)\n.vms(new VmWhereInput()\n.id(\"Vm-id\"))\n.backupStoreRepositoryId(\"ck74rk21wg5lz0786opdnzz5m\")\n.backupServiceId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = backupPlanApi.createBackupPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/update-backup-plan": { + "exampleValue": { + "data": {}, + "where": { + "id": "BackupPlan-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-backup-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"BackupPlan-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.update_backup_plan({\"data\":{},\"where\":{\"id\":\"BackupPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewUpdateBackupPlanParams()\r\n params.RequestBody = &models.BackupPlanUpdationParams{\nData: &models.BackupPlanUpdationParamsData{\n},\nWhere: &models.BackupPlanWhereInput{\nID: pointy.String(\"BackupPlan-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.UpdateBackupPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBackupPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBackupPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBackupPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupPlanUpdationParams params = new BackupPlanUpdationParams()\n.data(new BackupPlanUpdationParamsData())\n.where(new BackupPlanWhereInput()\n.id(\"BackupPlan-id\"));\r\n List resp = backupPlanApi.updateBackupPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/delete-backup-plan": { + "exampleValue": { + "data": { + "delete_strategy": "DELETE_RESTORE_POINT" + }, + "where": { + "id": "BackupPlan-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-backup-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"delete_strategy\":\"DELETE_RESTORE_POINT\"},\"where\":{\"id\":\"BackupPlan-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.delete_backup_plan({\"data\":{\"delete_strategy\":\"DELETE_RESTORE_POINT\"},\"where\":{\"id\":\"BackupPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewDeleteBackupPlanParams()\r\n params.RequestBody = &models.BackupPlanDeletionParams{\nData: &models.BackupPlanDeletionParamsData{\nDeleteStrategy: models.BackupPlanDeleteStrategyDELETE_RESTORE_POINT.Pointer(),\n},\nWhere: &models.BackupPlanWhereInput{\nID: pointy.String(\"BackupPlan-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.DeleteBackupPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteBackupPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteBackupPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteBackupPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupPlanDeletionParams params = new BackupPlanDeletionParams()\n.data(new BackupPlanDeletionParamsData()\n.deleteStrategy(BackupPlanDeleteStrategy.fromValue(\"DELETE_RESTORE_POINT\")))\n.where(new BackupPlanWhereInput()\n.id(\"BackupPlan-id\"));\r\n List resp = backupPlanApi.deleteBackupPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/suspend-backup-plan": { + "exampleValue": { + "where": { + "id": "BackupPlan-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/suspend-backup-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupPlan-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.suspend_backup_plan({\"where\":{\"id\":\"BackupPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewSuspendBackupPlanParams()\r\n params.RequestBody = &models.BackupPlanSuspendParams{\nWhere: &models.BackupPlanWhereInput{\nID: pointy.String(\"BackupPlan-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.SuspendBackupPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBackupPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBackupPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBackupPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupPlanSuspendParams params = new BackupPlanSuspendParams()\n.where(new BackupPlanWhereInput()\n.id(\"BackupPlan-id\"));\r\n List resp = backupPlanApi.suspendBackupPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/resume-backup-plan": { + "exampleValue": { + "where": { + "id": "BackupPlan-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/resume-backup-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupPlan-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.resume_backup_plan({\"where\":{\"id\":\"BackupPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewResumeBackupPlanParams()\r\n params.RequestBody = &models.BackupPlanResumeParams{\nWhere: &models.BackupPlanWhereInput{\nID: pointy.String(\"BackupPlan-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.ResumeBackupPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBackupPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBackupPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBackupPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupPlanResumeParams params = new BackupPlanResumeParams()\n.where(new BackupPlanWhereInput()\n.id(\"BackupPlan-id\"));\r\n List resp = backupPlanApi.resumeBackupPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/execute-backup-plan": { + "exampleValue": { + "data": { + "type": "FULL" + }, + "where": { + "id": "BackupPlan-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/execute-backup-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"type\":\"FULL\"},\"where\":{\"id\":\"BackupPlan-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.execute_backup_plan({\"data\":{\"type\":\"FULL\"},\"where\":{\"id\":\"BackupPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewExecuteBackupPlanParams()\r\n params.RequestBody = &models.BackupPlanExecuteParams{\nData: &models.BackupPlanExecuteParamsData{\nType: models.BackupExecutionTypeFULL.Pointer(),\n},\nWhere: &models.BackupPlanWhereInput{\nID: pointy.String(\"BackupPlan-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.ExecuteBackupPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBackupPlanExecution) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBackupPlanExecution)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBackupPlanExecution) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupPlanExecuteParams params = new BackupPlanExecuteParams()\n.data(new BackupPlanExecuteParamsData()\n.type(BackupExecutionType.fromValue(\"FULL\")))\n.where(new BackupPlanWhereInput()\n.id(\"BackupPlan-id\"));\r\n List resp = backupPlanApi.executeBackupPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/backup-rebuild-vm": { + "exampleValue": { + "data": { + "rebuild_network_mapping": [ + { + "src_vlan_id": "ck74rk21wg5lz0786opdnzz5m", + "dst_vlan_id": "ck74rk21wg5lz0786opdnzz5m" + } + ], + "rebuild_target_host_id": "ck74rk21wg5lz0786opdnzz5m", + "rebuild_target_cluster_id": "ck74rk21wg5lz0786opdnzz5m", + "rebuild_name": "rebuild_name-string", + "startup_after_restore": true + }, + "where": { + "id": "BackupRestorePoint-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/backup-rebuild-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"rebuild_network_mapping\":[{\"src_vlan_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"dst_vlan_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"rebuild_target_host_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"rebuild_target_cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"rebuild_name\":\"rebuild_name-string\",\"startup_after_restore\":true},\"where\":{\"id\":\"BackupRestorePoint-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.backup_rebuild_vm({\"data\":{\"rebuild_network_mapping\":[{\"src_vlan_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"dst_vlan_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"rebuild_target_host_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"rebuild_target_cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"rebuild_name\":\"rebuild_name-string\",\"startup_after_restore\":True},\"where\":{\"id\":\"BackupRestorePoint-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewBackupRebuildVMParams()\r\n params.RequestBody = &models.BackupRestorePointRebuildParams{\nData: &models.BackupRestorePointRebuildParamsData{\nRebuildNetworkMapping: []*models.BackupRestoreExecutionNetworkMapping{\n{\nSrcVlanID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nDstVlanID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n},\nRebuildTargetHostID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nRebuildTargetClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nRebuildName: pointy.String(\"rebuild_name-string\"),\nStartupAfterRestore: pointy.Bool(true),\n},\nWhere: &models.BackupRestorePointWhereInput{\nID: pointy.String(\"BackupRestorePoint-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.BackupRebuildVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBackupRestoreExecution) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBackupRestoreExecution)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBackupRestoreExecution) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupRestorePointRebuildParams params = new BackupRestorePointRebuildParams()\n.data(new BackupRestorePointRebuildParamsData()\n.addRebuildNetworkMappingItem(new BackupRestoreExecutionNetworkMapping()\n.srcVlanId(\"ck74rk21wg5lz0786opdnzz5m\")\n.dstVlanId(\"ck74rk21wg5lz0786opdnzz5m\"))\n.rebuildTargetHostId(\"ck74rk21wg5lz0786opdnzz5m\")\n.rebuildTargetClusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.rebuildName(\"rebuild_name-string\")\n.startupAfterRestore(true))\n.where(new BackupRestorePointWhereInput()\n.id(\"BackupRestorePoint-id\"));\r\n List resp = backupPlanApi.backupRebuildVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/backup-restore-vm-in-place": { + "exampleValue": { + "data": { + "startup_after_restore": true + }, + "where": { + "id": "BackupRestorePoint-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/backup-restore-vm-in-place \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"startup_after_restore\":true},\"where\":{\"id\":\"BackupRestorePoint-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.backup_restore_vm_in_place({\"data\":{\"startup_after_restore\":True},\"where\":{\"id\":\"BackupRestorePoint-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewBackupRestoreVMInPlaceParams()\r\n params.RequestBody = &models.BackupRestorePointRestoreInPlaceParams{\nData: &models.BackupRestorePointRestoreInPlaceParamsData{\nStartupAfterRestore: pointy.Bool(true),\n},\nWhere: &models.BackupRestorePointWhereInput{\nID: pointy.String(\"BackupRestorePoint-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.BackupRestoreVMInPlace(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBackupRestoreExecution) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBackupRestoreExecution)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBackupRestoreExecution) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupRestorePointRestoreInPlaceParams params = new BackupRestorePointRestoreInPlaceParams()\n.data(new BackupRestorePointRestoreInPlaceParamsData()\n.startupAfterRestore(true))\n.where(new BackupRestorePointWhereInput()\n.id(\"BackupRestorePoint-id\"));\r\n List resp = backupPlanApi.backupRestoreVmInPlace(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/delete-backup-restore-point": { + "exampleValue": { + "where": { + "id": "BackupRestorePoint-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-backup-restore-point \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupRestorePoint-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.delete_backup_restore_point({\"where\":{\"id\":\"BackupRestorePoint-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewDeleteBackupRestorePointParams()\r\n params.RequestBody = &models.BackupRestorePointDeletionParams{\nWhere: &models.BackupRestorePointWhereInput{\nID: pointy.String(\"BackupRestorePoint-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.DeleteBackupRestorePoint(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteBackupRestorePointArray) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteBackupRestorePointArray)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteBackupRestorePointArray) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupRestorePointDeletionParams params = new BackupRestorePointDeletionParams()\n.where(new BackupRestorePointWhereInput()\n.id(\"BackupRestorePoint-id\"));\r\n List resp = backupPlanApi.deleteBackupRestorePoint(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/get-backup-restore-point-metadata": { + "exampleValue": { + "where": { + "id": "BackupRestorePoint-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-restore-point-metadata \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupRestorePoint-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.get_backup_restore_point_metadata({\"where\":{\"id\":\"BackupRestorePoint-id\"}})\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewGetBackupRestorePointMetadataParams()\r\n params.RequestBody = &models.GetBackupRestorePointMetadataRequestBody{\nWhere: &models.BackupRestorePointWhereUniqueInput{\nID: pointy.String(\"BackupRestorePoint-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.GetBackupRestorePointMetadata(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n GetBackupRestorePointMetadataRequestBody params = new GetBackupRestorePointMetadataRequestBody()\n.where(new BackupRestorePointWhereUniqueInput()\n.id(\"BackupRestorePoint-id\"));\r\n VmMetaData resp = backupPlanApi.getBackupRestorePointMetadata(params);\r\n }\r\n}" + }, "/create-brick-topo": { "exampleValue": [ { @@ -47,7 +215,7 @@ "position": 1 } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-brick-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"height\":1,\"name\":\"name-string\",\"position\":1}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-brick-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"height\":1,\"name\":\"name-string\",\"position\":1}]'", "python": "from cloudtower import ApiClient, Configuration, BrickTopoApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n brick_topo_api = BrickTopoApi(client)\r\n resp = brick_topo_api.create_brick_topo([{\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"height\":1,\"name\":\"name-string\",\"position\":1}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/brick_topo\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n brick_topo_api := client.BrickTopo\r\n params := brick_topo.NewCreateBrickTopoParams()\r\n params.RequestBody = []*models.BrickTopoCreationParams{\n{\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nHeight: pointy.Int32(1),\nName: pointy.String(\"name-string\"),\nPosition: pointy.Int32(1),\n},\n}\r\n rawResp, err := brick_topo_api.CreateBrickTopo(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBrickTopo) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBrickTopo)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBrickTopo) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BrickTopoApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BrickTopoApi brickTopoApi = new BrickTopoApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new BrickTopoCreationParams()\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.height(1)\n.name(\"name-string\")\n.position(1));\r\n List resp = brickTopoApi.createBrickTopo(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -59,7 +227,7 @@ "id": "BrickTopo-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-brick-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"BrickTopo-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-brick-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"BrickTopo-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BrickTopoApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n brick_topo_api = BrickTopoApi(client)\r\n resp = brick_topo_api.update_brick_topo({\"data\":{},\"where\":{\"id\":\"BrickTopo-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/brick_topo\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n brick_topo_api := client.BrickTopo\r\n params := brick_topo.NewUpdateBrickTopoParams()\r\n params.RequestBody = &models.BrickTopoUpdationParams{\nData: &models.BrickTopoUpdationParamsData{\n},\nWhere: &models.BrickTopoWhereInput{\nID: pointy.String(\"BrickTopo-id\"),\n},\n}\r\n rawResp, err := brick_topo_api.UpdateBrickTopo(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBrickTopo) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBrickTopo)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBrickTopo) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BrickTopoApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BrickTopoApi brickTopoApi = new BrickTopoApi(client);\r\n BrickTopoUpdationParams params = new BrickTopoUpdationParams()\n.data(new BrickTopoUpdationParamsData())\n.where(new BrickTopoWhereInput()\n.id(\"BrickTopo-id\"));\r\n List resp = brickTopoApi.updateBrickTopo(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -73,7 +241,7 @@ "id": "BrickTopo-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/move-brick-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"position\":1},\"where\":{\"id\":\"BrickTopo-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/move-brick-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"position\":1},\"where\":{\"id\":\"BrickTopo-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BrickTopoApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n brick_topo_api = BrickTopoApi(client)\r\n resp = brick_topo_api.move_brick_topo({\"data\":{\"position\":1},\"where\":{\"id\":\"BrickTopo-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/brick_topo\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n brick_topo_api := client.BrickTopo\r\n params := brick_topo.NewMoveBrickTopoParams()\r\n params.RequestBody = &models.BrickTopoMoveParams{\nData: &models.BrickTopoMoveParamsData{\nPosition: pointy.Int32(1),\n},\nWhere: &models.BrickTopoWhereInput{\nID: pointy.String(\"BrickTopo-id\"),\n},\n}\r\n rawResp, err := brick_topo_api.MoveBrickTopo(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBrickTopo) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBrickTopo)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBrickTopo) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BrickTopoApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BrickTopoApi brickTopoApi = new BrickTopoApi(client);\r\n BrickTopoMoveParams params = new BrickTopoMoveParams()\n.data(new BrickTopoMoveParamsData()\n.position(1))\n.where(new BrickTopoWhereInput()\n.id(\"BrickTopo-id\"));\r\n List resp = brickTopoApi.moveBrickTopo(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -84,7 +252,7 @@ "id": "BrickTopo-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-brick-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BrickTopo-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-brick-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BrickTopo-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BrickTopoApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n brick_topo_api = BrickTopoApi(client)\r\n resp = brick_topo_api.delete_brick_topo({\"where\":{\"id\":\"BrickTopo-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/brick_topo\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n brick_topo_api := client.BrickTopo\r\n params := brick_topo.NewDeleteBrickTopoParams()\r\n params.RequestBody = &models.BrickTopoDeletionParams{\nWhere: &models.BrickTopoWhereInput{\nID: pointy.String(\"BrickTopo-id\"),\n},\n}\r\n rawResp, err := brick_topo_api.DeleteBrickTopo(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteBrickTopo) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteBrickTopo)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteBrickTopo) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BrickTopoApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BrickTopoApi brickTopoApi = new BrickTopoApi(client);\r\n BrickTopoDeletionParams params = new BrickTopoDeletionParams()\n.where(new BrickTopoWhereInput()\n.id(\"BrickTopo-id\"));\r\n List resp = brickTopoApi.deleteBrickTopo(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -93,7 +261,7 @@ "exampleValue": { "file": "file-string" }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/upload-cloudtower-application-package \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: multipart/form-data' \\\n\t-d '{\"file\":\"file-string\"}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/upload-cloudtower-application-package \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: multipart/form-data' \\\n\t-d '{\"file\":\"file-string\"}'", "python": "from cloudtower import ApiClient, Configuration, CloudTowerApplicationApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cloud_tower_application_api = CloudTowerApplicationApi(client)\r\n with open(\"file-path\", \"rb\") as file:\r\n resp = cloud_tower_application_api.upload_cloud_tower_application_package(\r\n file=file\r\n )\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"bytes\"\r\n \"fmt\"\r\n \"io\"\r\n\r\n \"github.com/go-openapi/runtime\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cloud_tower_application\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cloud_tower_application_api := client.CloudTowerApplication\r\n params := cloud_tower_application.NewUploadCloudTowerApplicationPackageParams()\r\n params.File = runtime.NamedReader(\"file\",io.NopCloser(bytes.NewReader([]byte(\"file-string\"))))\r\n resp, err := cloud_tower_application_api.UploadCloudTowerApplicationPackage(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.CloudTowerApplicationApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.nio.file.Files;\r\nimport java.nio.file.Path;\r\nimport java.util.ArrayList;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n CloudTowerApplicationApi cloudTowerApplicationApi = new CloudTowerApplicationApi(client);\r\n List resp = cloudTowerApplicationApi.uploadCloudTowerApplicationPackage(\r\n Files.readAllBytes(Path.of(\"file-string\")),\r\n \"name\",\r\n \"size\",\r\n \"size_unit\",\r\n \"upload_task_id\"\r\n );\r\n }\r\n}" @@ -104,7 +272,7 @@ "id": "CloudTowerApplicationPackage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-cloudtower-application-package \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"CloudTowerApplicationPackage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-cloudtower-application-package \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"CloudTowerApplicationPackage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, CloudTowerApplicationApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cloud_tower_application_api = CloudTowerApplicationApi(client)\r\n resp = cloud_tower_application_api.delete_cloud_tower_application_package({\"where\":{\"id\":\"CloudTowerApplicationPackage-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cloud_tower_application\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cloud_tower_application_api := client.CloudTowerApplication\r\n params := cloud_tower_application.NewDeleteCloudTowerApplicationPackageParams()\r\n params.RequestBody = &models.DeleteCloudTowerApplicationPackageParams{\nWhere: &models.CloudTowerApplicationPackageWhereInput{\nID: pointy.String(\"CloudTowerApplicationPackage-id\"),\n},\n}\r\n rawResp, err := cloud_tower_application_api.DeleteCloudTowerApplicationPackage(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.CloudTowerApplicationApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n CloudTowerApplicationApi cloudTowerApplicationApi = new CloudTowerApplicationApi(client);\r\n DeleteCloudTowerApplicationPackageParams params = new DeleteCloudTowerApplicationPackageParams()\n.where(new CloudTowerApplicationPackageWhereInput()\n.id(\"CloudTowerApplicationPackage-id\"));\r\n List resp = cloudTowerApplicationApi.deleteCloudTowerApplicationPackage(params);\r\n }\r\n}" @@ -115,7 +283,7 @@ "targetPackage": "targetPackage-string", "vmSpec": {} }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/deploy-cloudtower-application \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"name\":\"name-string\",\"targetPackage\":\"targetPackage-string\",\"vmSpec\":{}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/deploy-cloudtower-application \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"name\":\"name-string\",\"targetPackage\":\"targetPackage-string\",\"vmSpec\":{}}'", "python": "from cloudtower import ApiClient, Configuration, CloudTowerApplicationApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cloud_tower_application_api = CloudTowerApplicationApi(client)\r\n resp = cloud_tower_application_api.deploy_cloud_tower_application({\"name\":\"name-string\",\"targetPackage\":\"targetPackage-string\",\"vmSpec\":{}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cloud_tower_application\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cloud_tower_application_api := client.CloudTowerApplication\r\n params := cloud_tower_application.NewDeployCloudTowerApplicationParams()\r\n params.RequestBody = &models.DeployCloudTowerApplicationParams{\nName: pointy.String(\"name-string\"),\nTargetPackage: pointy.String(\"targetPackage-string\"),\nVMSpec: &models.ApplicationVMSpecDefinition{\n},\n}\r\n rawResp, err := cloud_tower_application_api.DeployCloudTowerApplication(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.CloudTowerApplicationApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n CloudTowerApplicationApi cloudTowerApplicationApi = new CloudTowerApplicationApi(client);\r\n DeployCloudTowerApplicationParams params = new DeployCloudTowerApplicationParams()\n.name(\"name-string\")\n.targetPackage(\"targetPackage-string\")\n.vmSpec(new ApplicationVmSpecDefinition());\r\n CloudTowerApplication resp = cloudTowerApplicationApi.deployCloudTowerApplication(params);\r\n }\r\n}" @@ -129,7 +297,7 @@ "id": "CloudTowerApplication-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/upgrade-cloudtower-application \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"targetPackage\":\"targetPackage-string\"},\"where\":{\"id\":\"CloudTowerApplication-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/upgrade-cloudtower-application \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"targetPackage\":\"targetPackage-string\"},\"where\":{\"id\":\"CloudTowerApplication-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, CloudTowerApplicationApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cloud_tower_application_api = CloudTowerApplicationApi(client)\r\n resp = cloud_tower_application_api.upgrade_cloud_tower_application({\"data\":{\"targetPackage\":\"targetPackage-string\"},\"where\":{\"id\":\"CloudTowerApplication-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cloud_tower_application\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cloud_tower_application_api := client.CloudTowerApplication\r\n params := cloud_tower_application.NewUpgradeCloudTowerApplicationParams()\r\n params.RequestBody = &models.UpgradeCloudTowerApplicationParams{\nData: &models.UpgradeCloudTowerApplicationParamsData{\nTargetPackage: pointy.String(\"targetPackage-string\"),\n},\nWhere: &models.CloudTowerApplicationWhereUniqueInput{\nID: pointy.String(\"CloudTowerApplication-id\"),\n},\n}\r\n rawResp, err := cloud_tower_application_api.UpgradeCloudTowerApplication(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.CloudTowerApplicationApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n CloudTowerApplicationApi cloudTowerApplicationApi = new CloudTowerApplicationApi(client);\r\n UpgradeCloudTowerApplicationParams params = new UpgradeCloudTowerApplicationParams()\n.data(new UpgradeCloudTowerApplicationParamsData()\n.targetPackage(\"targetPackage-string\"))\n.where(new CloudTowerApplicationWhereUniqueInput()\n.id(\"CloudTowerApplication-id\"));\r\n CloudTowerApplication resp = cloudTowerApplicationApi.upgradeCloudTowerApplication(params);\r\n }\r\n}" @@ -140,7 +308,7 @@ "id": "CloudTowerApplication-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/uninstall-cloudtower-application \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"CloudTowerApplication-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/uninstall-cloudtower-application \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"CloudTowerApplication-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, CloudTowerApplicationApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cloud_tower_application_api = CloudTowerApplicationApi(client)\r\n resp = cloud_tower_application_api.uninstall_cloud_tower_application({\"where\":{\"id\":\"CloudTowerApplication-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cloud_tower_application\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cloud_tower_application_api := client.CloudTowerApplication\r\n params := cloud_tower_application.NewUninstallCloudTowerApplicationParams()\r\n params.RequestBody = &models.UninstallCloudTowerApplicationParams{\nWhere: &models.CloudTowerApplicationWhereInput{\nID: pointy.String(\"CloudTowerApplication-id\"),\n},\n}\r\n rawResp, err := cloud_tower_application_api.UninstallCloudTowerApplication(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.CloudTowerApplicationApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n CloudTowerApplicationApi cloudTowerApplicationApi = new CloudTowerApplicationApi(client);\r\n UninstallCloudTowerApplicationParams params = new UninstallCloudTowerApplicationParams()\n.where(new CloudTowerApplicationWhereInput()\n.id(\"CloudTowerApplication-id\"));\r\n List resp = cloudTowerApplicationApi.uninstallCloudTowerApplication(params);\r\n }\r\n}" @@ -153,7 +321,7 @@ "ip": "ip-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/connect-cluster \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"password\":\"password-string\",\"username\":\"username-string\",\"ip\":\"ip-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/connect-cluster \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"password\":\"password-string\",\"username\":\"username-string\",\"ip\":\"ip-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, ClusterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_api = ClusterApi(client)\r\n resp = cluster_api.connect_cluster([{\"password\":\"password-string\",\"username\":\"username-string\",\"ip\":\"ip-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_api := client.Cluster\r\n params := cluster.NewConnectClusterParams()\r\n params.RequestBody = []*models.ClusterCreationParams{\n{\nPassword: pointy.String(\"password-string\"),\nUsername: pointy.String(\"username-string\"),\nIP: pointy.String(\"ip-string\"),\n},\n}\r\n rawResp, err := cluster_api.ConnectCluster(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskCluster) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskCluster)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskCluster) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ClusterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterApi clusterApi = new ClusterApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new ClusterCreationParams()\n.password(\"password-string\")\n.username(\"username-string\")\n.ip(\"ip-string\"));\r\n List resp = clusterApi.connectCluster(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -165,7 +333,7 @@ "id": "Cluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-cluster \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Cluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-cluster \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Cluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_api = ClusterApi(client)\r\n resp = cluster_api.update_cluster({\"data\":{},\"where\":{\"id\":\"Cluster-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_api := client.Cluster\r\n params := cluster.NewUpdateClusterParams()\r\n params.RequestBody = &models.ClusterUpdationParams{\nData: &models.ClusterUpdationParamsData{\n},\nWhere: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n}\r\n rawResp, err := cluster_api.UpdateCluster(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskCluster) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskCluster)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskCluster) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ClusterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterApi clusterApi = new ClusterApi(client);\r\n ClusterUpdationParams params = new ClusterUpdationParams()\n.data(new ClusterUpdationParamsData())\n.where(new ClusterWhereInput()\n.id(\"Cluster-id\"));\r\n List resp = clusterApi.updateCluster(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -179,7 +347,7 @@ "id": "Cluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-cluster-license \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"license\":\"license-string\"},\"where\":{\"id\":\"Cluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-cluster-license \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"license\":\"license-string\"},\"where\":{\"id\":\"Cluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_api = ClusterApi(client)\r\n resp = cluster_api.update_cluster_license({\"data\":{\"license\":\"license-string\"},\"where\":{\"id\":\"Cluster-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_api := client.Cluster\r\n params := cluster.NewUpdateClusterLicenseParams()\r\n params.RequestBody = &models.ClusterLicenseUpdationParams{\nData: &models.ClusterLicenseUpdationParamsData{\nLicense: pointy.String(\"license-string\"),\n},\nWhere: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n}\r\n rawResp, err := cluster_api.UpdateClusterLicense(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskCluster) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskCluster)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskCluster) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ClusterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterApi clusterApi = new ClusterApi(client);\r\n ClusterLicenseUpdationParams params = new ClusterLicenseUpdationParams()\n.data(new ClusterLicenseUpdationParamsData()\n.license(\"license-string\"))\n.where(new ClusterWhereInput()\n.id(\"Cluster-id\"));\r\n List resp = clusterApi.updateClusterLicense(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -191,7 +359,7 @@ "id": "Cluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-cluster-network-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Cluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-cluster-network-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Cluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_api = ClusterApi(client)\r\n resp = cluster_api.update_cluster_network_setting({\"data\":{},\"where\":{\"id\":\"Cluster-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_api := client.Cluster\r\n params := cluster.NewUpdateClusterNetworkSettingParams()\r\n params.RequestBody = &models.ClusterNetworkSettingUpdationParams{\nData: &models.ClusterNetworkSettingUpdationParamsData{\n},\nWhere: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n}\r\n rawResp, err := cluster_api.UpdateClusterNetworkSetting(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskCluster) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskCluster)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskCluster) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ClusterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterApi clusterApi = new ClusterApi(client);\r\n ClusterNetworkSettingUpdationParams params = new ClusterNetworkSettingUpdationParams()\n.data(new ClusterNetworkSettingUpdationParamsData())\n.where(new ClusterWhereInput()\n.id(\"Cluster-id\"));\r\n List resp = clusterApi.updateClusterNetworkSetting(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -203,7 +371,7 @@ "id": "Cluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-cluster-virtualization-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Cluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-cluster-virtualization-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Cluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_api = ClusterApi(client)\r\n resp = cluster_api.update_cluster_virtualization_setting({\"data\":{},\"where\":{\"id\":\"Cluster-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_api := client.Cluster\r\n params := cluster.NewUpdateClusterVirtualizationSettingParams()\r\n params.RequestBody = &models.ClusterVirtualizationUpdationParams{\nData: &models.ClusterVirtualizationUpdationParamsData{\n},\nWhere: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n}\r\n rawResp, err := cluster_api.UpdateClusterVirtualizationSetting(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskCluster) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskCluster)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskCluster) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ClusterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterApi clusterApi = new ClusterApi(client);\r\n ClusterVirtualizationUpdationParams params = new ClusterVirtualizationUpdationParams()\n.data(new ClusterVirtualizationUpdationParamsData())\n.where(new ClusterWhereInput()\n.id(\"Cluster-id\"));\r\n List resp = clusterApi.updateClusterVirtualizationSetting(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -215,7 +383,7 @@ "id": "Cluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-cluster-ha-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"ha\":true,\"where\":{\"id\":\"Cluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-cluster-ha-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"ha\":true,\"where\":{\"id\":\"Cluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_api = ClusterApi(client)\r\n resp = cluster_api.update_cluster_ha_setting({\"ha\":True,\"where\":{\"id\":\"Cluster-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_api := client.Cluster\r\n params := cluster.NewUpdateClusterHaSettingParams()\r\n params.RequestBody = &models.ClusterHaUpdationParams{\nHa: pointy.Bool(true),\nWhere: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n}\r\n rawResp, err := cluster_api.UpdateClusterHaSetting(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskClusterSettings) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskClusterSettings)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskClusterSettings) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ClusterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterApi clusterApi = new ClusterApi(client);\r\n ClusterHaUpdationParams params = new ClusterHaUpdationParams()\n.ha(true)\n.where(new ClusterWhereInput()\n.id(\"Cluster-id\"));\r\n List resp = clusterApi.updateClusterHaSetting(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -227,7 +395,7 @@ "id": "Cluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-cluster-enable-iscsi-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"enable_iscsi\":true,\"where\":{\"id\":\"Cluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-cluster-enable-iscsi-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"enable_iscsi\":true,\"where\":{\"id\":\"Cluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_api = ClusterApi(client)\r\n resp = cluster_api.update_cluster_enable_iscsi_setting({\"enable_iscsi\":True,\"where\":{\"id\":\"Cluster-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_api := client.Cluster\r\n params := cluster.NewUpdateClusterEnableIscsiSettingParams()\r\n params.RequestBody = &models.ClusterEnableIscsiUpdationParams{\nEnableIscsi: pointy.Bool(true),\nWhere: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n}\r\n rawResp, err := cluster_api.UpdateClusterEnableIscsiSetting(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskClusterSettings) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskClusterSettings)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskClusterSettings) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ClusterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterApi clusterApi = new ClusterApi(client);\r\n ClusterEnableIscsiUpdationParams params = new ClusterEnableIscsiUpdationParams()\n.enableIscsi(true)\n.where(new ClusterWhereInput()\n.id(\"Cluster-id\"));\r\n List resp = clusterApi.updateClusterEnableIscsiSetting(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -238,7 +406,7 @@ "id": "Cluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-cluster \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Cluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-cluster \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Cluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_api = ClusterApi(client)\r\n resp = cluster_api.delete_cluster({\"where\":{\"id\":\"Cluster-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_api := client.Cluster\r\n params := cluster.NewDeleteClusterParams()\r\n params.RequestBody = &models.ClusterDeletionParams{\nWhere: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n}\r\n rawResp, err := cluster_api.DeleteCluster(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteCluster) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteCluster)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteCluster) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ClusterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterApi clusterApi = new ClusterApi(client);\r\n ClusterDeletionParams params = new ClusterDeletionParams()\n.where(new ClusterWhereInput()\n.id(\"Cluster-id\"));\r\n List resp = clusterApi.deleteCluster(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -249,7 +417,7 @@ "id": "Cluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-meta-leader \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Cluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-meta-leader \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Cluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_api = ClusterApi(client)\r\n resp = cluster_api.get_meta_leader({\"where\":{\"id\":\"Cluster-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_api := client.Cluster\r\n params := cluster.NewGetMetaLeaderParams()\r\n params.RequestBody = &models.GetMetaLeaderRequestBody{\nWhere: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n}\r\n rawResp, err := cluster_api.GetMetaLeader(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ClusterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterApi clusterApi = new ClusterApi(client);\r\n GetMetaLeaderRequestBody params = new GetMetaLeaderRequestBody()\n.where(new ClusterWhereInput()\n.id(\"Cluster-id\"));\r\n List resp = clusterApi.getMetaLeader(params);\r\n }\r\n}" @@ -261,7 +429,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-consistency-snapshot-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"consistency_group_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-consistency-snapshot-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"consistency_group_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, ConsistencyGroupSnapshotApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n consistency_group_snapshot_api = ConsistencyGroupSnapshotApi(client)\r\n resp = consistency_group_snapshot_api.create_consistency_group_snapshot([{\"consistency_group_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/consistency_group_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n consistency_group_snapshot_api := client.ConsistencyGroupSnapshot\r\n params := consistency_group_snapshot.NewCreateConsistencyGroupSnapshotParams()\r\n params.RequestBody = []*models.ConsistencyGroupSnapshotCreationParams{\n{\nConsistencyGroupID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := consistency_group_snapshot_api.CreateConsistencyGroupSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskConsistencyGroupSnapshot) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskConsistencyGroupSnapshot)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskConsistencyGroupSnapshot) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ConsistencyGroupSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ConsistencyGroupSnapshotApi consistencyGroupSnapshotApi = new ConsistencyGroupSnapshotApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new ConsistencyGroupSnapshotCreationParams()\n.consistencyGroupId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = consistencyGroupSnapshotApi.createConsistencyGroupSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -272,7 +440,7 @@ "id": "ConsistencyGroupSnapshot-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/rollback-consistency-snapshot-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ConsistencyGroupSnapshot-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/rollback-consistency-snapshot-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ConsistencyGroupSnapshot-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ConsistencyGroupSnapshotApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n consistency_group_snapshot_api = ConsistencyGroupSnapshotApi(client)\r\n resp = consistency_group_snapshot_api.update_consistency_group_snapshot({\"where\":{\"id\":\"ConsistencyGroupSnapshot-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/consistency_group_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n consistency_group_snapshot_api := client.ConsistencyGroupSnapshot\r\n params := consistency_group_snapshot.NewUpdateConsistencyGroupSnapshotParams()\r\n params.RequestBody = &models.ConsistencyGroupSnapshotUpdationParams{\nWhere: &models.ConsistencyGroupSnapshotWhereInput{\nID: pointy.String(\"ConsistencyGroupSnapshot-id\"),\n},\n}\r\n rawResp, err := consistency_group_snapshot_api.UpdateConsistencyGroupSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskConsistencyGroupSnapshot) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskConsistencyGroupSnapshot)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskConsistencyGroupSnapshot) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ConsistencyGroupSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ConsistencyGroupSnapshotApi consistencyGroupSnapshotApi = new ConsistencyGroupSnapshotApi(client);\r\n ConsistencyGroupSnapshotUpdationParams params = new ConsistencyGroupSnapshotUpdationParams()\n.where(new ConsistencyGroupSnapshotWhereInput()\n.id(\"ConsistencyGroupSnapshot-id\"));\r\n List resp = consistencyGroupSnapshotApi.updateConsistencyGroupSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -286,7 +454,7 @@ "id": "ConsistencyGroupSnapshot-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-consistency-snapshot-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"remain_volume_snapshot\":true},\"where\":{\"id\":\"ConsistencyGroupSnapshot-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-consistency-snapshot-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"remain_volume_snapshot\":true},\"where\":{\"id\":\"ConsistencyGroupSnapshot-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ConsistencyGroupSnapshotApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n consistency_group_snapshot_api = ConsistencyGroupSnapshotApi(client)\r\n resp = consistency_group_snapshot_api.delete_consistency_group_snapshot({\"data\":{\"remain_volume_snapshot\":True},\"where\":{\"id\":\"ConsistencyGroupSnapshot-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/consistency_group_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n consistency_group_snapshot_api := client.ConsistencyGroupSnapshot\r\n params := consistency_group_snapshot.NewDeleteConsistencyGroupSnapshotParams()\r\n params.RequestBody = &models.ConsistencyGroupSnapshotDeletionParams{\nData: &models.ConsistencyGroupSnapshotDeletionParamsData{\nRemainVolumeSnapshot: pointy.Bool(true),\n},\nWhere: &models.ConsistencyGroupSnapshotWhereInput{\nID: pointy.String(\"ConsistencyGroupSnapshot-id\"),\n},\n}\r\n rawResp, err := consistency_group_snapshot_api.DeleteConsistencyGroupSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteConsistencyGroupSnapshot) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteConsistencyGroupSnapshot)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteConsistencyGroupSnapshot) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ConsistencyGroupSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ConsistencyGroupSnapshotApi consistencyGroupSnapshotApi = new ConsistencyGroupSnapshotApi(client);\r\n ConsistencyGroupSnapshotDeletionParams params = new ConsistencyGroupSnapshotDeletionParams()\n.data(new ConsistencyGroupSnapshotDeletionParamsData()\n.remainVolumeSnapshot(true))\n.where(new ConsistencyGroupSnapshotWhereInput()\n.id(\"ConsistencyGroupSnapshot-id\"));\r\n List resp = consistencyGroupSnapshotApi.deleteConsistencyGroupSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -304,7 +472,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-consistency-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"namespaces_ids\":[\"-string\"],\"iscsi_luns_ids\":[\"-string\"],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-consistency-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"namespaces_ids\":[\"-string\"],\"iscsi_luns_ids\":[\"-string\"],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, ConsistencyGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n consistency_group_api = ConsistencyGroupApi(client)\r\n resp = consistency_group_api.create_consistency_group([{\"namespaces_ids\":[\"-string\"],\"iscsi_luns_ids\":[\"-string\"],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/consistency_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n consistency_group_api := client.ConsistencyGroup\r\n params := consistency_group.NewCreateConsistencyGroupParams()\r\n params.RequestBody = []*models.ConsistencyGroupCreationParams{\n{\nNamespacesIds: []string{\"-string\",\n},\nIscsiLunsIds: []string{\"-string\",\n},\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := consistency_group_api.CreateConsistencyGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskConsistencyGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskConsistencyGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskConsistencyGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ConsistencyGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ConsistencyGroupApi consistencyGroupApi = new ConsistencyGroupApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new ConsistencyGroupCreationParams()\n.addNamespacesIdsItem(\"-string\")\n.addIscsiLunsIdsItem(\"-string\")\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = consistencyGroupApi.createConsistencyGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -316,7 +484,7 @@ "id": "ConsistencyGroup-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-consistency-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"ConsistencyGroup-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-consistency-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"ConsistencyGroup-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ConsistencyGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n consistency_group_api = ConsistencyGroupApi(client)\r\n resp = consistency_group_api.update_consistency_group({\"data\":{},\"where\":{\"id\":\"ConsistencyGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/consistency_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n consistency_group_api := client.ConsistencyGroup\r\n params := consistency_group.NewUpdateConsistencyGroupParams()\r\n params.RequestBody = &models.ConsistencyGroupUpdationParams{\nData: &models.ConsistencyGroupUpdationParamsData{\n},\nWhere: &models.ConsistencyGroupWhereInput{\nID: pointy.String(\"ConsistencyGroup-id\"),\n},\n}\r\n rawResp, err := consistency_group_api.UpdateConsistencyGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskConsistencyGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskConsistencyGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskConsistencyGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ConsistencyGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ConsistencyGroupApi consistencyGroupApi = new ConsistencyGroupApi(client);\r\n ConsistencyGroupUpdationParams params = new ConsistencyGroupUpdationParams()\n.data(new ConsistencyGroupUpdationParamsData())\n.where(new ConsistencyGroupWhereInput()\n.id(\"ConsistencyGroup-id\"));\r\n List resp = consistencyGroupApi.updateConsistencyGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -328,7 +496,7 @@ "id": "ConsistencyGroup-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-consistency-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"ConsistencyGroup-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-consistency-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"ConsistencyGroup-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ConsistencyGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n consistency_group_api = ConsistencyGroupApi(client)\r\n resp = consistency_group_api.delete_consistency_group({\"data\":{},\"where\":{\"id\":\"ConsistencyGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/consistency_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n consistency_group_api := client.ConsistencyGroup\r\n params := consistency_group.NewDeleteConsistencyGroupParams()\r\n params.RequestBody = &models.ConsistencyGroupDeletionParams{\nData: &models.ConsistencyGroupDeletionParamsData{\n},\nWhere: &models.ConsistencyGroupWhereInput{\nID: pointy.String(\"ConsistencyGroup-id\"),\n},\n}\r\n rawResp, err := consistency_group_api.DeleteConsistencyGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteConsistencyGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteConsistencyGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteConsistencyGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ConsistencyGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ConsistencyGroupApi consistencyGroupApi = new ConsistencyGroupApi(client);\r\n ConsistencyGroupDeletionParams params = new ConsistencyGroupDeletionParams()\n.data(new ConsistencyGroupDeletionParamsData())\n.where(new ConsistencyGroupWhereInput()\n.id(\"ConsistencyGroup-id\"));\r\n List resp = consistencyGroupApi.deleteConsistencyGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -338,7 +506,7 @@ "file": "file-string", "clusters": "clusters-string" }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/upload-content-library-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: multipart/form-data' \\\n\t-d '{\"file\":\"file-string\",\"clusters\":\"clusters-string\"}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/upload-content-library-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: multipart/form-data' \\\n\t-d '{\"file\":\"file-string\",\"clusters\":\"clusters-string\"}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryImageApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_image_api = ContentLibraryImageApi(client)\r\n with open(\"file-path\", \"rb\") as file:\r\n resp = content_library_image_api.create_content_library_image(\r\n file=file,\r\n clusters=\"clusters-string\"\r\n )\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"bytes\"\r\n \"fmt\"\r\n \"io\"\r\n\r\n \"github.com/go-openapi/runtime\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_image_api := client.ContentLibraryImage\r\n params := content_library_image.NewCreateContentLibraryImageParams()\r\n params.File = runtime.NamedReader(\"file\",io.NopCloser(bytes.NewReader([]byte(\"file-string\"))))\r\n params.Clusters = \"clusters-string\"\r\n resp, err := content_library_image_api.CreateContentLibraryImage(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ContentLibraryImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.nio.file.Files;\r\nimport java.nio.file.Path;\r\nimport java.util.ArrayList;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryImageApi contentLibraryImageApi = new ContentLibraryImageApi(client);\r\n List resp = contentLibraryImageApi.createContentLibraryImage(\r\n Files.readAllBytes(Path.of(\"file-string\")),\r\n \"clusters-string\",\r\n \"name\",\r\n \"size\",\r\n \"size_unit\",\r\n \"description\",\r\n \"upload_task_id\"\r\n );\r\n }\r\n}" @@ -350,7 +518,7 @@ "id": "ContentLibraryImage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-content-library-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"ContentLibraryImage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-content-library-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"ContentLibraryImage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryImageApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_image_api = ContentLibraryImageApi(client)\r\n resp = content_library_image_api.update_content_library_image({\"data\":{},\"where\":{\"id\":\"ContentLibraryImage-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_image_api := client.ContentLibraryImage\r\n params := content_library_image.NewUpdateContentLibraryImageParams()\r\n params.RequestBody = &models.ContentLibraryImageUpdationParams{\nData: &models.ContentLibraryImageUpdationParamsData{\n},\nWhere: &models.ContentLibraryImageWhereInput{\nID: pointy.String(\"ContentLibraryImage-id\"),\n},\n}\r\n rawResp, err := content_library_image_api.UpdateContentLibraryImage(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskContentLibraryImage) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskContentLibraryImage)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskContentLibraryImage) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ContentLibraryImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryImageApi contentLibraryImageApi = new ContentLibraryImageApi(client);\r\n ContentLibraryImageUpdationParams params = new ContentLibraryImageUpdationParams()\n.data(new ContentLibraryImageUpdationParamsData())\n.where(new ContentLibraryImageWhereInput()\n.id(\"ContentLibraryImage-id\"));\r\n List resp = contentLibraryImageApi.updateContentLibraryImage(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -366,7 +534,7 @@ "id": "ContentLibraryImage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/distribute-content-library-image-clusters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"ContentLibraryImage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/distribute-content-library-image-clusters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"ContentLibraryImage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryImageApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_image_api = ContentLibraryImageApi(client)\r\n resp = content_library_image_api.distribute_content_library_image_clusters({\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"ContentLibraryImage-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_image_api := client.ContentLibraryImage\r\n params := content_library_image.NewDistributeContentLibraryImageClustersParams()\r\n params.RequestBody = &models.ContentLibraryImageUpdationClusterParams{\nData: &models.ContentLibraryImageUpdationClusterParamsData{\nClusters: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n},\nWhere: &models.ContentLibraryImageWhereInput{\nID: pointy.String(\"ContentLibraryImage-id\"),\n},\n}\r\n rawResp, err := content_library_image_api.DistributeContentLibraryImageClusters(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskContentLibraryImage) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskContentLibraryImage)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskContentLibraryImage) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ContentLibraryImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryImageApi contentLibraryImageApi = new ContentLibraryImageApi(client);\r\n ContentLibraryImageUpdationClusterParams params = new ContentLibraryImageUpdationClusterParams()\n.data(new ContentLibraryImageUpdationClusterParamsData()\n.clusters(new ClusterWhereInput()\n.id(\"Cluster-id\")))\n.where(new ContentLibraryImageWhereInput()\n.id(\"ContentLibraryImage-id\"));\r\n List resp = contentLibraryImageApi.distributeContentLibraryImageClusters(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -382,7 +550,7 @@ "id": "ContentLibraryImage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/remove-content-library-image-clusters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"ContentLibraryImage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/remove-content-library-image-clusters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"ContentLibraryImage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryImageApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_image_api = ContentLibraryImageApi(client)\r\n resp = content_library_image_api.remove_content_library_image_clusters({\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"ContentLibraryImage-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_image_api := client.ContentLibraryImage\r\n params := content_library_image.NewRemoveContentLibraryImageClustersParams()\r\n params.RequestBody = &models.ContentLibraryImageUpdationClusterParams{\nData: &models.ContentLibraryImageUpdationClusterParamsData{\nClusters: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n},\nWhere: &models.ContentLibraryImageWhereInput{\nID: pointy.String(\"ContentLibraryImage-id\"),\n},\n}\r\n rawResp, err := content_library_image_api.RemoveContentLibraryImageClusters(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskContentLibraryImage) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskContentLibraryImage)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskContentLibraryImage) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ContentLibraryImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryImageApi contentLibraryImageApi = new ContentLibraryImageApi(client);\r\n ContentLibraryImageUpdationClusterParams params = new ContentLibraryImageUpdationClusterParams()\n.data(new ContentLibraryImageUpdationClusterParamsData()\n.clusters(new ClusterWhereInput()\n.id(\"Cluster-id\")))\n.where(new ContentLibraryImageWhereInput()\n.id(\"ContentLibraryImage-id\"));\r\n List resp = contentLibraryImageApi.removeContentLibraryImageClusters(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -393,7 +561,7 @@ "id": "ContentLibraryImage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-content-library-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ContentLibraryImage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-content-library-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ContentLibraryImage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryImageApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_image_api = ContentLibraryImageApi(client)\r\n resp = content_library_image_api.delete_content_library_image({\"where\":{\"id\":\"ContentLibraryImage-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_image_api := client.ContentLibraryImage\r\n params := content_library_image.NewDeleteContentLibraryImageParams()\r\n params.RequestBody = &models.ContentLibraryImageDeletionParams{\nWhere: &models.ContentLibraryImageWhereInput{\nID: pointy.String(\"ContentLibraryImage-id\"),\n},\n}\r\n rawResp, err := content_library_image_api.DeleteContentLibraryImage(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteContentLibraryImage) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteContentLibraryImage)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteContentLibraryImage) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ContentLibraryImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryImageApi contentLibraryImageApi = new ContentLibraryImageApi(client);\r\n ContentLibraryImageDeletionParams params = new ContentLibraryImageDeletionParams()\n.where(new ContentLibraryImageWhereInput()\n.id(\"ContentLibraryImage-id\"));\r\n List resp = contentLibraryImageApi.deleteContentLibraryImage(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -408,7 +576,7 @@ } } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/import-content-library-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"url\":\"url-string\",\"name\":\"name-string\",\"cluster\":{\"id\":\"Cluster-id\"}}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/import-content-library-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"url\":\"url-string\",\"name\":\"name-string\",\"cluster\":{\"id\":\"Cluster-id\"}}}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryImageApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_image_api = ContentLibraryImageApi(client)\r\n resp = content_library_image_api.import_content_library_image({\"data\":{\"url\":\"url-string\",\"name\":\"name-string\",\"cluster\":{\"id\":\"Cluster-id\"}}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_image_api := client.ContentLibraryImage\r\n params := content_library_image.NewImportContentLibraryImageParams()\r\n params.RequestBody = &models.ContentLibraryImageImportParams{\nData: &models.ContentLibraryImageImportData{\nURL: pointy.String(\"url-string\"),\nName: pointy.String(\"name-string\"),\nCluster: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n},\n}\r\n rawResp, err := content_library_image_api.ImportContentLibraryImage(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ContentLibraryImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryImageApi contentLibraryImageApi = new ContentLibraryImageApi(client);\r\n ContentLibraryImageImportParams params = new ContentLibraryImageImportParams()\n.data(new ContentLibraryImageImportData()\n.url(\"url-string\")\n.name(\"name-string\")\n.cluster(new ClusterWhereInput()\n.id(\"Cluster-id\")));\r\n UploadTask resp = contentLibraryImageApi.importContentLibraryImage(params);\r\n }\r\n}" @@ -417,7 +585,7 @@ "exampleValue": { "file": "file-string" }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/upload-elf-file \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: multipart/form-data' \\\n\t-d '{\"file\":\"file-string\"}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/upload-elf-file \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: multipart/form-data' \\\n\t-d '{\"file\":\"file-string\"}'", "python": "from cloudtower import ApiClient, Configuration, OvfApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n ovf_api = OvfApi(client)\r\n with open(\"file-path\", \"rb\") as file:\r\n resp = ovf_api.upload_elf_file(\r\n file=file\r\n )\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"bytes\"\r\n \"fmt\"\r\n \"io\"\r\n\r\n \"github.com/go-openapi/runtime\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/ovf\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n ovf_api := client.Ovf\r\n params := ovf.NewUploadElfFileParams()\r\n params.File = runtime.NamedReader(\"file\",io.NopCloser(bytes.NewReader([]byte(\"file-string\"))))\r\n resp, err := ovf_api.UploadElfFile(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.OvfApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.nio.file.Files;\r\nimport java.nio.file.Path;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n OvfApi ovfApi = new OvfApi(client);\r\n UploadTask resp = ovfApi.uploadElfFile(\r\n Files.readAllBytes(Path.of(\"file-string\")),\r\n \"cluster_id\",\r\n \"name\",\r\n \"size\",\r\n \"size_unit\",\r\n \"upload_task_id\"\r\n );\r\n }\r\n}" @@ -427,7 +595,7 @@ "file": "file-string", "cluster_id": "ck74rk21wg5lz0786opdnzz5m" }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/parse-ovf \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: multipart/form-data' \\\n\t-d '{\"file\":\"file-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/parse-ovf \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: multipart/form-data' \\\n\t-d '{\"file\":\"file-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}'", "python": "from cloudtower import ApiClient, Configuration, OvfApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n ovf_api = OvfApi(client)\r\n with open(\"file-path\", \"rb\") as file:\r\n resp = ovf_api.parse_ovf(\r\n file=file,\r\n cluster_id=\"ck74rk21wg5lz0786opdnzz5m\"\r\n )\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"bytes\"\r\n \"fmt\"\r\n \"io\"\r\n\r\n \"github.com/go-openapi/runtime\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/ovf\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n ovf_api := client.Ovf\r\n params := ovf.NewParseOvfParams()\r\n params.File = runtime.NamedReader(\"file\",io.NopCloser(bytes.NewReader([]byte(\"file-string\"))))\r\n params.ClusterID = \"ck74rk21wg5lz0786opdnzz5m\"\r\n resp, err := ovf_api.ParseOvf(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.OvfApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.nio.file.Files;\r\nimport java.nio.file.Path;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n OvfApi ovfApi = new OvfApi(client);\r\n ParsedOvf resp = ovfApi.parseOvf(\r\n Files.readAllBytes(Path.of(\"file-string\")),\r\n \"ck74rk21wg5lz0786opdnzz5m\"\r\n );\r\n }\r\n}" @@ -438,7 +606,7 @@ "id": "VmExportFile-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-export-file-download-links \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmExportFile-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-export-file-download-links \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmExportFile-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, OvfApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n ovf_api = OvfApi(client)\r\n resp = ovf_api.get_export_file_download_links({\"where\":{\"id\":\"VmExportFile-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/ovf\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n ovf_api := client.Ovf\r\n params := ovf.NewGetExportFileDownloadLinksParams()\r\n params.RequestBody = &models.GetExportFileDownloadLinksParams{\nWhere: &models.VMExportFileWhereUniqueInput{\nID: pointy.String(\"VmExportFile-id\"),\n},\n}\r\n rawResp, err := ovf_api.GetExportFileDownloadLinks(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.OvfApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n OvfApi ovfApi = new OvfApi(client);\r\n GetExportFileDownloadLinksParams params = new GetExportFileDownloadLinksParams()\n.where(new VmExportFileWhereUniqueInput()\n.id(\"VmExportFile-id\"));\r\n List resp = ovfApi.getExportFileDownloadLinks(params);\r\n }\r\n}" @@ -460,7 +628,7 @@ "cluster_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"status\":\"DELETED\",\"firmware\":\"BIOS\",\"ha\":true,\"vm_nics\":[{}],\"vm_disks\":{},\"memory\":1,\"cpu_cores\":1,\"cpu_sockets\":1,\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"status\":\"DELETED\",\"firmware\":\"BIOS\",\"ha\":true,\"vm_nics\":[{}],\"vm_disks\":{},\"memory\":1,\"cpu_cores\":1,\"cpu_sockets\":1,\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.create_vm([{\"status\":\"DELETED\",\"firmware\":\"BIOS\",\"ha\":True,\"vm_nics\":[{}],\"vm_disks\":{},\"memory\":1,\"cpu_cores\":1,\"cpu_sockets\":1,\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewCreateVMParams()\r\n params.RequestBody = []*models.VMCreationParams{\n{\nStatus: models.VMStatusDELETED.Pointer(),\nFirmware: models.VMFirmwareBIOS.Pointer(),\nHa: pointy.Bool(true),\nVMNics: []*models.VMNicParams{\n{\n},\n},\nVMDisks: &models.VMDiskParams{\n},\nMemory: pointy.Int64(1),\nCPUCores: pointy.Int32(1),\nCPUSockets: pointy.Int32(1),\nName: pointy.String(\"name-string\"),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := vm_api.CreateVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmCreationParams()\n.status(VmStatus.fromValue(\"DELETED\"))\n.firmware(VmFirmware.fromValue(\"BIOS\"))\n.ha(true)\n.addVmNicsItem(new VmNicParams())\n.vmDisks(new VmDiskParams())\n.memory(1L)\n.cpuCores(1)\n.cpuSockets(1)\n.name(\"name-string\")\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = vmApi.createVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -473,7 +641,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-vm-from-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"is_full_copy\":true,\"template_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-vm-from-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"is_full_copy\":true,\"template_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.create_vm_from_template([{\"is_full_copy\":True,\"template_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewCreateVMFromTemplateParams()\r\n params.RequestBody = []*models.VMCreateVMFromTemplateParams{\n{\nIsFullCopy: pointy.Bool(true),\nTemplateID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := vm_api.CreateVMFromTemplate(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmCreateVmFromTemplateParams()\n.isFullCopy(true)\n.templateId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = vmApi.createVmFromTemplate(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -487,7 +655,7 @@ "cluster_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-vm-from-content-library-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"is_full_copy\":true,\"template_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-vm-from-content-library-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"is_full_copy\":true,\"template_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.create_vm_from_content_library_template([{\"is_full_copy\":True,\"template_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewCreateVMFromContentLibraryTemplateParams()\r\n params.RequestBody = []*models.VMCreateVMFromContentLibraryTemplateParams{\n{\nIsFullCopy: pointy.Bool(true),\nTemplateID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := vm_api.CreateVMFromContentLibraryTemplate(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmCreateVmFromContentLibraryTemplateParams()\n.isFullCopy(true)\n.templateId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\")\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = vmApi.createVmFromContentLibraryTemplate(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -503,7 +671,7 @@ ], "template_id": "ck74rk21wg5lz0786opdnzz5m" }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-vm-from-content-library-template-batch \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"vms\":[{\"is_full_copy\":true,\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"template_id\":\"ck74rk21wg5lz0786opdnzz5m\"}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-vm-from-content-library-template-batch \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"vms\":[{\"is_full_copy\":true,\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"template_id\":\"ck74rk21wg5lz0786opdnzz5m\"}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.create_vm_from_content_library_template_batch({\"vms\":[{\"is_full_copy\":True,\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"template_id\":\"ck74rk21wg5lz0786opdnzz5m\"})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewCreateVMFromContentLibraryTemplateBatchParams()\r\n params.RequestBody = &models.VMCreateVMFromContentLibraryTemplateBatchParams{\nVms: []*models.VMCreateVMFromContentLibraryTemplateBatchVMParams{\n{\nIsFullCopy: pointy.Bool(true),\nName: pointy.String(\"name-string\"),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n},\nTemplateID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n}\r\n rawResp, err := vm_api.CreateVMFromContentLibraryTemplateBatch(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmCreateVmFromContentLibraryTemplateBatchParams params = new VmCreateVmFromContentLibraryTemplateBatchParams()\n.addVmsItem(new VmCreateVmFromContentLibraryTemplateBatchVmParams()\n.isFullCopy(true)\n.name(\"name-string\")\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\"))\n.templateId(\"ck74rk21wg5lz0786opdnzz5m\");\r\n WithTaskVmArray resp = vmApi.createVmFromContentLibraryTemplateBatch(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -515,7 +683,7 @@ "converted_from_template_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/convert-vm-template-to-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"name\":\"name-string\",\"converted_from_template_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/convert-vm-template-to-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"name\":\"name-string\",\"converted_from_template_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.convert_vm_template_to_vm([{\"name\":\"name-string\",\"converted_from_template_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewConvertVMTemplateToVMParams()\r\n params.RequestBody = []*models.ConvertVMTemplateToVMParams{\n{\nName: pointy.String(\"name-string\"),\nConvertedFromTemplateID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := vm_api.ConvertVMTemplateToVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new ConvertVmTemplateToVmParams()\n.name(\"name-string\")\n.convertedFromTemplateId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = vmApi.convertVmTemplateToVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -527,7 +695,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/clone-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"src_vm_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/clone-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"src_vm_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.clone_vm([{\"src_vm_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewCloneVMParams()\r\n params.RequestBody = []*models.VMCloneParams{\n{\nSrcVMID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := vm_api.CloneVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmCloneParams()\n.srcVmId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = vmApi.cloneVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -539,7 +707,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/rebuild-vm-from-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"rebuild_from_snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/rebuild-vm-from-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"rebuild_from_snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.rebuild_vm([{\"rebuild_from_snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewRebuildVMParams()\r\n params.RequestBody = []*models.VMRebuildParams{\n{\nRebuildFromSnapshotID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := vm_api.RebuildVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmRebuildParams()\n.rebuildFromSnapshotId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = vmApi.rebuildVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -553,7 +721,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/rollback-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/rollback-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.rollback_vm({\"data\":{\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewRollbackVMParams()\r\n params.RequestBody = &models.VMRollbackParams{\nData: &models.VMRollbackParamsData{\nSnapshotID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.RollbackVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmRollbackParams params = new VmRollbackParams()\n.data(new VmRollbackParamsData()\n.snapshotId(\"ck74rk21wg5lz0786opdnzz5m\"))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.rollbackVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -565,7 +733,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-basic-info \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-basic-info \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.update_vm({\"data\":{},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewUpdateVMParams()\r\n params.RequestBody = &models.VMUpdateParams{\nData: &models.VMUpdateParamsData{\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.UpdateVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmUpdateParams params = new VmUpdateParams()\n.data(new VmUpdateParamsData())\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.updateVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -576,7 +744,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/move-vm-to-recycle \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/move-vm-to-recycle \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.move_vm_to_recycle_bin({\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewMoveVMToRecycleBinParams()\r\n params.RequestBody = &models.VMOperateParams{\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.MoveVMToRecycleBin(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmOperateParams params = new VmOperateParams()\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.moveVmToRecycleBin(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -587,7 +755,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/recover-vm-from-recycle \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/recover-vm-from-recycle \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.recover_vm_from_recycle_bin({\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewRecoverVMFromRecycleBinParams()\r\n params.RequestBody = &models.VMOperateParams{\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.RecoverVMFromRecycleBin(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmOperateParams params = new VmOperateParams()\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.recoverVmFromRecycleBin(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -598,7 +766,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.delete_vm({\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewDeleteVMParams()\r\n params.RequestBody = &models.VMDeleteParams{\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.DeleteVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmDeleteParams params = new VmDeleteParams()\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.deleteVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -609,7 +777,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/start-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/start-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.start_vm({\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewStartVMParams()\r\n params.RequestBody = &models.VMStartParams{\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.StartVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmStartParams params = new VmStartParams()\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.startVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -620,7 +788,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/restart-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/restart-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.restart_vm({\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewRestartVMParams()\r\n params.RequestBody = &models.VMOperateParams{\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.RestartVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmOperateParams params = new VmOperateParams()\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.restartVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -631,7 +799,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/force-restart-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/force-restart-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.force_restart_vm({\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewForceRestartVMParams()\r\n params.RequestBody = &models.VMOperateParams{\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.ForceRestartVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmOperateParams params = new VmOperateParams()\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.forceRestartVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -642,7 +810,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/shutdown-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/shutdown-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.shut_down_vm({\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewShutDownVMParams()\r\n params.RequestBody = &models.VMOperateParams{\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.ShutDownVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmOperateParams params = new VmOperateParams()\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.shutDownVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -653,7 +821,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/poweroff-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/poweroff-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.poweroff_vm({\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewPoweroffVMParams()\r\n params.RequestBody = &models.VMOperateParams{\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.PoweroffVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmOperateParams params = new VmOperateParams()\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.poweroffVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -664,7 +832,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/suspend-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/suspend-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.suspend_vm({\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewSuspendVMParams()\r\n params.RequestBody = &models.VMOperateParams{\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.SuspendVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmOperateParams params = new VmOperateParams()\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.suspendVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -675,7 +843,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/resume-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/resume-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.resume_vm({\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewResumeVMParams()\r\n params.RequestBody = &models.VMOperateParams{\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.ResumeVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmOperateParams params = new VmOperateParams()\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.resumeVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -689,7 +857,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/add-vm-disk \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"vm_disks\":{}},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/add-vm-disk \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"vm_disks\":{}},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.add_vm_disk({\"data\":{\"vm_disks\":{}},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewAddVMDiskParams()\r\n params.RequestBody = &models.VMAddDiskParams{\nData: &models.VMAddDiskParamsData{\nVMDisks: &models.VMAddDiskParamsDataVmdisks{\n},\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.AddVMDisk(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmAddDiskParams params = new VmAddDiskParams()\n.data(new VmAddDiskParamsData()\n.vmDisks(new VmAddDiskParamsDataVmdisks()))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.addVmDisk(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -703,7 +871,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-disk \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"vm_disk_id\":\"ck74rk21wg5lz0786opdnzz5m\"},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-disk \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"vm_disk_id\":\"ck74rk21wg5lz0786opdnzz5m\"},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.update_vm_disk({\"data\":{\"vm_disk_id\":\"ck74rk21wg5lz0786opdnzz5m\"},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewUpdateVMDiskParams()\r\n params.RequestBody = &models.VMUpdateDiskParams{\nData: &models.VMUpdateDiskParamsData{\nVMDiskID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.UpdateVMDisk(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmUpdateDiskParams params = new VmUpdateDiskParams()\n.data(new VmUpdateDiskParamsData()\n.vmDiskId(\"ck74rk21wg5lz0786opdnzz5m\"))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.updateVmDisk(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -715,7 +883,7 @@ "id": "VmDisk-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/expand-vm-disk \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"size\":1,\"where\":{\"id\":\"VmDisk-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/expand-vm-disk \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"size\":1,\"where\":{\"id\":\"VmDisk-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.expand_vm_disk({\"size\":1,\"where\":{\"id\":\"VmDisk-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewExpandVMDiskParams()\r\n params.RequestBody = &models.VMExpandVMDiskParams{\nSize: pointy.Int64(1),\nWhere: &models.VMDiskWhereInput{\nID: pointy.String(\"VmDisk-id\"),\n},\n}\r\n rawResp, err := vm_api.ExpandVMDisk(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmExpandVmDiskParams params = new VmExpandVmDiskParams()\n.size(1L)\n.where(new VmDiskWhereInput()\n.id(\"VmDisk-id\"));\r\n List resp = vmApi.expandVmDisk(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -731,7 +899,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/remove-vm-disk \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"disk_ids\":[\"-string\"]},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/remove-vm-disk \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"disk_ids\":[\"-string\"]},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.remove_vm_disk({\"data\":{\"disk_ids\":[\"-string\"]},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewRemoveVMDiskParams()\r\n params.RequestBody = &models.VMRemoveDiskParams{\nData: &models.VMRemoveDiskParamsData{\nDiskIds: []string{\"-string\",\n},\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.RemoveVMDisk(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmRemoveDiskParams params = new VmRemoveDiskParams()\n.data(new VmRemoveDiskParamsData()\n.addDiskIdsItem(\"-string\"))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.removeVmDisk(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -749,7 +917,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/add-vm-cd-rom \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"vm_cd_roms\":[{\"boot\":1}]},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/add-vm-cd-rom \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"vm_cd_roms\":[{\"boot\":1}]},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.add_vm_cd_rom({\"data\":{\"vm_cd_roms\":[{\"boot\":1}]},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewAddVMCdRomParams()\r\n params.RequestBody = &models.VMAddCdRomParams{\nData: &models.VMAddCdRomParamsData{\nVMCdRoms: []*models.VMCdRomParams{\n{\nBoot: pointy.Int32(1),\n},\n},\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.AddVMCdRom(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmAddCdRomParams params = new VmAddCdRomParams()\n.data(new VmAddCdRomParamsData()\n.addVmCdRomsItem(new VmCdRomParams()\n.boot(1)))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.addVmCdRom(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -765,7 +933,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/remove-vm-cd-rom \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"cd_rom_ids\":[\"-string\"]},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/remove-vm-cd-rom \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"cd_rom_ids\":[\"-string\"]},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.remove_vm_cd_rom({\"data\":{\"cd_rom_ids\":[\"-string\"]},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewRemoveVMCdRomParams()\r\n params.RequestBody = &models.VMRemoveCdRomParams{\nData: &models.VMRemoveCdRomParamsData{\nCdRomIds: []string{\"-string\",\n},\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.RemoveVMCdRom(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmRemoveCdRomParams params = new VmRemoveCdRomParams()\n.data(new VmRemoveCdRomParamsData()\n.addCdRomIdsItem(\"-string\"))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.removeVmCdRom(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -776,7 +944,7 @@ "id": "VmDisk-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/eject-iso-from-vm-cd-rom \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmDisk-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/eject-iso-from-vm-cd-rom \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmDisk-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.eject_iso_from_vm_cd_rom({\"where\":{\"id\":\"VmDisk-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewEjectIsoFromVMCdRomParams()\r\n params.RequestBody = &models.VMEjectCdRomParams{\nWhere: &models.VMDiskWhereInput{\nID: pointy.String(\"VmDisk-id\"),\n},\n}\r\n rawResp, err := vm_api.EjectIsoFromVMCdRom(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmEjectCdRomParams params = new VmEjectCdRomParams()\n.where(new VmDiskWhereInput()\n.id(\"VmDisk-id\"));\r\n List resp = vmApi.ejectIsoFromVmCdRom(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -788,7 +956,7 @@ "id": "VmDisk-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/toggle-vm-cd-rom-disable \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"disabled\":true,\"where\":{\"id\":\"VmDisk-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/toggle-vm-cd-rom-disable \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"disabled\":true,\"where\":{\"id\":\"VmDisk-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.toggle_vm_cd_rom_disable({\"disabled\":True,\"where\":{\"id\":\"VmDisk-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewToggleVMCdRomDisableParams()\r\n params.RequestBody = &models.VMToggleCdRomDisableParams{\nDisabled: pointy.Bool(true),\nWhere: &models.VMDiskWhereInput{\nID: pointy.String(\"VmDisk-id\"),\n},\n}\r\n rawResp, err := vm_api.ToggleVMCdRomDisable(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmToggleCdRomDisableParams params = new VmToggleCdRomDisableParams()\n.disabled(true)\n.where(new VmDiskWhereInput()\n.id(\"VmDisk-id\"));\r\n List resp = vmApi.toggleVmCdRomDisable(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -804,7 +972,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/add-vm-nic \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"vm_nics\":[{}]},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/add-vm-nic \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"vm_nics\":[{}]},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.add_vm_nic({\"data\":{\"vm_nics\":[{}]},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewAddVMNicParams()\r\n params.RequestBody = &models.VMAddNicParams{\nData: &models.VMAddNicParamsData{\nVMNics: []*models.VMNicParams{\n{\n},\n},\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.AddVMNic(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmAddNicParams params = new VmAddNicParams()\n.data(new VmAddNicParamsData()\n.addVmNicsItem(new VmNicParams()))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.addVmNic(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -818,7 +986,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-nic \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"nic_index\":1},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-nic \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"nic_index\":1},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.update_vm_nic({\"data\":{\"nic_index\":1},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewUpdateVMNicParams()\r\n params.RequestBody = &models.VMUpdateNicParams{\nData: &models.VMUpdateNicParamsData{\nNicIndex: pointy.Int32(1),\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.UpdateVMNic(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmUpdateNicParams params = new VmUpdateNicParams()\n.data(new VmUpdateNicParamsData()\n.nicIndex(1))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.updateVmNic(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -830,7 +998,7 @@ "id": "VmNic-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-nic-basic-info \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VmNic-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-nic-basic-info \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VmNic-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.update_vm_nic_basic_info({\"data\":{},\"where\":{\"id\":\"VmNic-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewUpdateVMNicBasicInfoParams()\r\n params.RequestBody = &models.VMUpdateNicBasicInfoParams{\nData: &models.VMUpdateNicBasicInfoParamsData{\n},\nWhere: &models.VMNicWhereInput{\nID: pointy.String(\"VmNic-id\"),\n},\n}\r\n rawResp, err := vm_api.UpdateVMNicBasicInfo(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmUpdateNicBasicInfoParams params = new VmUpdateNicBasicInfoParams()\n.data(new VmUpdateNicBasicInfoParamsData())\n.where(new VmNicWhereInput()\n.id(\"VmNic-id\"));\r\n List resp = vmApi.updateVmNicBasicInfo(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -842,7 +1010,7 @@ "id": "VmNic-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-nic-advance-info \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VmNic-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-nic-advance-info \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VmNic-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.update_vm_nic_advance_info({\"data\":{},\"where\":{\"id\":\"VmNic-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewUpdateVMNicAdvanceInfoParams()\r\n params.RequestBody = &models.VMUpdateNicAdvanceInfoParams{\nData: &models.VMUpdateNicAdvanceInfoParamsData{\n},\nWhere: &models.VMNicWhereInput{\nID: pointy.String(\"VmNic-id\"),\n},\n}\r\n rawResp, err := vm_api.UpdateVMNicAdvanceInfo(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmUpdateNicAdvanceInfoParams params = new VmUpdateNicAdvanceInfoParams()\n.data(new VmUpdateNicAdvanceInfoParamsData())\n.where(new VmNicWhereInput()\n.id(\"VmNic-id\"));\r\n List resp = vmApi.updateVmNicAdvanceInfo(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -854,7 +1022,7 @@ "id": "VmNic-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-nic-qos-option \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VmNic-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-nic-qos-option \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VmNic-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.update_vm_nic_qos_option({\"data\":{},\"where\":{\"id\":\"VmNic-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewUpdateVMNicQosOptionParams()\r\n params.RequestBody = &models.VMUpdateNicQosOptionsParams{\nData: &models.VMUpdateNicQosOptionsParamsData{\n},\nWhere: &models.VMNicWhereInput{\nID: pointy.String(\"VmNic-id\"),\n},\n}\r\n rawResp, err := vm_api.UpdateVMNicQosOption(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmUpdateNicQosOptionsParams params = new VmUpdateNicQosOptionsParams()\n.data(new VmUpdateNicQosOptionsParamsData())\n.where(new VmNicWhereInput()\n.id(\"VmNic-id\"));\r\n List resp = vmApi.updateVmNicQosOption(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -866,7 +1034,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/add-vm-pci-nic \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/add-vm-pci-nic \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.add_vm_pci_nic({\"data\":{},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewAddVMPciNicParams()\r\n params.RequestBody = &models.VMOperatePciNicParams{\nData: &models.VMOperatePciNicParamsData{\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.AddVMPciNic(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmOperatePciNicParams params = new VmOperatePciNicParams()\n.data(new VmOperatePciNicParamsData())\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.addVmPciNic(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -878,7 +1046,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/remove-vm-pci-nic \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/remove-vm-pci-nic \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.remove_vm_pci_nic({\"data\":{},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewRemoveVMPciNicParams()\r\n params.RequestBody = &models.VMOperatePciNicParams{\nData: &models.VMOperatePciNicParamsData{\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.RemoveVMPciNic(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmOperatePciNicParams params = new VmOperatePciNicParams()\n.data(new VmOperatePciNicParamsData())\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.removeVmPciNic(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -894,7 +1062,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/remove-vm-nic \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"nic_index\":[1]},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/remove-vm-nic \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"nic_index\":[1]},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.remove_vm_nic({\"data\":{\"nic_index\":[1]},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewRemoveVMNicParams()\r\n params.RequestBody = &models.VMRemoveNicParams{\nData: &models.VMRemoveNicParamsData{\nNicIndex: []int{1\n},\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.RemoveVMNic(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmRemoveNicParams params = new VmRemoveNicParams()\n.data(new VmRemoveNicParamsData()\n.addNicIndexItem(1))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.removeVmNic(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -906,7 +1074,7 @@ "id": "VmNic-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/remove-vm-nic-by-where \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"effect\":{},\"where\":{\"id\":\"VmNic-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/remove-vm-nic-by-where \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"effect\":{},\"where\":{\"id\":\"VmNic-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.remove_vm_nic_by_where({\"effect\":{},\"where\":{\"id\":\"VmNic-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewRemoveVMNicByWhereParams()\r\n params.RequestBody = &models.VMRemoveNicByWhereParams{\nEffect: &models.VMRemoveNicByWhereParamsEffect{\n},\nWhere: &models.VMNicWhereInput{\nID: pointy.String(\"VmNic-id\"),\n},\n}\r\n rawResp, err := vm_api.RemoveVMNicByWhere(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmRemoveNicByWhereParams params = new VmRemoveNicByWhereParams()\n.effect(new VmRemoveNicByWhereParamsEffect())\n.where(new VmNicWhereInput()\n.id(\"VmNic-id\"));\r\n List resp = vmApi.removeVmNicByWhere(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -922,7 +1090,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/add-vm-gpu-device \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":[{\"gpu_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/add-vm-gpu-device \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":[{\"gpu_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.add_vm_gpu_device({\"data\":[{\"gpu_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewAddVMGpuDeviceParams()\r\n params.RequestBody = &models.VMAddGpuDeviceParams{\nData: []*models.VMGpuOperationParams{\n{\nGpuID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.AddVMGpuDevice(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmAddGpuDeviceParams params = new VmAddGpuDeviceParams()\n.addDataItem(new VmGpuOperationParams()\n.gpuId(\"ck74rk21wg5lz0786opdnzz5m\"))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.addVmGpuDevice(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -938,7 +1106,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/remove-vm-gpu-device \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":[{\"gpu_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/remove-vm-gpu-device \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":[{\"gpu_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.remove_vm_gpu_device({\"data\":[{\"gpu_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewRemoveVMGpuDeviceParams()\r\n params.RequestBody = &models.VMRemoveGpuDeviceParams{\nData: []*models.VMGpuOperationParams{\n{\nGpuID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.RemoveVMGpuDevice(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmRemoveGpuDeviceParams params = new VmRemoveGpuDeviceParams()\n.addDataItem(new VmGpuOperationParams()\n.gpuId(\"ck74rk21wg5lz0786opdnzz5m\"))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.removeVmGpuDevice(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -949,7 +1117,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/install-vmtools \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/install-vmtools \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.install_vmtools({\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewInstallVmtoolsParams()\r\n params.RequestBody = &models.InstallVmtoolsParams{\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.InstallVmtools(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n InstallVmtoolsParams params = new InstallVmtoolsParams()\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.installVmtools(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -960,7 +1128,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/migrate-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/migrate-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.migrate_vm({\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewMigrateVMParams()\r\n params.RequestBody = &models.VMMigrateParams{\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.MigrateVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmMigrateParams params = new VmMigrateParams()\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.migrateVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -984,7 +1152,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/migrate-vm-across-cluster \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"vm_config\":{\"network_mapping\":[{\"src_vlan_local_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"dest_vlan_local_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"migrate_type\":\"COLD_MIGRATE\",\"elf_storage_policy\":\"EC\"},\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/migrate-vm-across-cluster \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"vm_config\":{\"network_mapping\":[{\"src_vlan_local_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"dest_vlan_local_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"migrate_type\":\"COLD_MIGRATE\",\"elf_storage_policy\":\"EC\"},\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.migrate_vm_across_cluster({\"data\":{\"vm_config\":{\"network_mapping\":[{\"src_vlan_local_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"dest_vlan_local_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"migrate_type\":\"COLD_MIGRATE\",\"elf_storage_policy\":\"EC\"},\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewMigrateVMAcrossClusterParams()\r\n params.RequestBody = &models.VMMigrateAcrossClusterParams{\nData: &models.VMMigrateAcrossClusterParamsData{\nVMConfig: &models.MigrateVMConfig{\nNetworkMapping: []*models.VlanMapping{\n{\nSrcVlanLocalID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nDestVlanLocalID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n},\nMigrateType: models.MigrateTypeCOLD_MIGRATE.Pointer(),\nElfStoragePolicy: models.VMVolumeElfStoragePolicyTypeEC.Pointer(),\n},\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.MigrateVMAcrossCluster(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmMigrateAcrossClusterParams params = new VmMigrateAcrossClusterParams()\n.data(new VmMigrateAcrossClusterParamsData()\n.vmConfig(new MigrateVmConfig()\n.addNetworkMappingItem(new VlanMapping()\n.srcVlanLocalId(\"ck74rk21wg5lz0786opdnzz5m\")\n.destVlanLocalId(\"ck74rk21wg5lz0786opdnzz5m\"))\n.migrateType(MigrateType.fromValue(\"COLD_MIGRATE\"))\n.elfStoragePolicy(VmVolumeElfStoragePolicyType.fromValue(\"EC\")))\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\"))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.migrateVmAcrossCluster(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -995,7 +1163,7 @@ "id": "Task-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/stop-vm-in-cutover-migration \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"tasks\":{\"id\":\"Task-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/stop-vm-in-cutover-migration \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"tasks\":{\"id\":\"Task-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.stop_vm_in_cutover_migration({\"tasks\":{\"id\":\"Task-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewStopVMInCutoverMigrationParams()\r\n params.RequestBody = &models.StopVMInCutoverMigrationParams{\nTasks: &models.TaskWhereInput{\nID: pointy.String(\"Task-id\"),\n},\n}\r\n rawResp, err := vm_api.StopVMInCutoverMigration(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n StopVmInCutoverMigrationParams params = new StopVmInCutoverMigrationParams()\n.tasks(new TaskWhereInput()\n.id(\"Task-id\"));\r\n List resp = vmApi.stopVmInCutoverMigration(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1006,7 +1174,7 @@ "id": "Task-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/abort-migrate-vm-across-cluster \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"tasks\":{\"id\":\"Task-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/abort-migrate-vm-across-cluster \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"tasks\":{\"id\":\"Task-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.abort_migrate_vm_across_cluster({\"tasks\":{\"id\":\"Task-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewAbortMigrateVMAcrossClusterParams()\r\n params.RequestBody = &models.AbortMigrateVMAcrossClusterParams{\nTasks: &models.TaskWhereInput{\nID: pointy.String(\"Task-id\"),\n},\n}\r\n rawResp, err := vm_api.AbortMigrateVMAcrossCluster(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n AbortMigrateVmAcrossClusterParams params = new AbortMigrateVmAcrossClusterParams()\n.tasks(new TaskWhereInput()\n.id(\"Task-id\"));\r\n List resp = vmApi.abortMigrateVmAcrossCluster(params);\r\n }\r\n}" @@ -1020,7 +1188,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/add-vm-to-folder \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"folder_id\":\"ck74rk21wg5lz0786opdnzz5m\"},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/add-vm-to-folder \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"folder_id\":\"ck74rk21wg5lz0786opdnzz5m\"},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.add_vm_to_folder({\"data\":{\"folder_id\":\"ck74rk21wg5lz0786opdnzz5m\"},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewAddVMToFolderParams()\r\n params.RequestBody = &models.VMAddFolderParams{\nData: &models.VMAddFolderParamsData{\nFolderID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.AddVMToFolder(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmAddFolderParams params = new VmAddFolderParams()\n.data(new VmAddFolderParamsData()\n.folderId(\"ck74rk21wg5lz0786opdnzz5m\"))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.addVmToFolder(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1031,7 +1199,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/remove-vm-from-folder \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/remove-vm-from-folder \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.remove_vm_to_folder({\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewRemoveVMToFolderParams()\r\n params.RequestBody = &models.VMOperateParams{\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.RemoveVMToFolder(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmOperateParams params = new VmOperateParams()\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.removeVmToFolder(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1043,7 +1211,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-advanced-options \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-advanced-options \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.update_vm_advanced_options({\"data\":{},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewUpdateVMAdvancedOptionsParams()\r\n params.RequestBody = &models.VMUpdateAdvancedOptionsParams{\nData: &models.VMUpdateAdvancedOptionsParamsData{\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.UpdateVMAdvancedOptions(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmUpdateAdvancedOptionsParams params = new VmUpdateAdvancedOptionsParams()\n.data(new VmUpdateAdvancedOptionsParamsData())\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.updateVmAdvancedOptions(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1055,7 +1223,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-host-options \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-host-options \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.update_vm_host_options({\"data\":{},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewUpdateVMHostOptionsParams()\r\n params.RequestBody = &models.VMUpdateHostOptionsParams{\nData: &models.VMUpdateHostOptionsParamsData{\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.UpdateVMHostOptions(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmUpdateHostOptionsParams params = new VmUpdateHostOptionsParams()\n.data(new VmUpdateHostOptionsParamsData())\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.updateVmHostOptions(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1070,7 +1238,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/reset-vm-guest-os-password \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"password\":\"password-string\",\"username\":\"username-string\"},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/reset-vm-guest-os-password \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"password\":\"password-string\",\"username\":\"username-string\"},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.reset_vm_guest_os_password({\"data\":{\"password\":\"password-string\",\"username\":\"username-string\"},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewResetVMGuestOsPasswordParams()\r\n params.RequestBody = &models.VMResetGuestOsPasswordParams{\nData: &models.VMResetGuestOsPasswordParamsData{\nPassword: pointy.String(\"password-string\"),\nUsername: pointy.String(\"username-string\"),\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.ResetVMGuestOsPassword(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmResetGuestOsPasswordParams params = new VmResetGuestOsPasswordParams()\n.data(new VmResetGuestOsPasswordParamsData()\n.password(\"password-string\")\n.username(\"username-string\"))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.resetVmGuestOsPassword(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1085,7 +1253,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-owner \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"search_for\":\"username\",\"value\":\"value-string\"},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-owner \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"search_for\":\"username\",\"value\":\"value-string\"},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.update_vm_owner({\"data\":{\"search_for\":\"username\",\"value\":\"value-string\"},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewUpdateVMOwnerParams()\r\n params.RequestBody = &models.VMUpdateOwnerParams{\nData: &models.VMUpdateOwnerParamsData{\nSearchFor: pointy.String(\"username\"),\nValue: pointy.String(\"value-string\"),\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.UpdateVMOwner(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmUpdateOwnerParams params = new VmUpdateOwnerParams()\n.data(new VmUpdateOwnerParamsData()\n.searchFor(\"username\")\n.value(\"value-string\"))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.updateVmOwner(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1097,7 +1265,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-io-policy \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-io-policy \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.update_vm_io_policy({\"data\":{},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewUpdateVMIoPolicyParams()\r\n params.RequestBody = &models.VMUpdateIoPolicyParams{\nData: &models.VMUpdateIoPolicyParamsData{\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.UpdateVMIoPolicy(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmUpdateIoPolicyParams params = new VmUpdateIoPolicyParams()\n.data(new VmUpdateIoPolicyParamsData())\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.updateVmIoPolicy(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1111,7 +1279,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/export-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"type\":\"OVF\"},\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/export-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"type\":\"OVF\"},\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.export_vm({\"data\":{\"type\":\"OVF\"},\"where\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewExportVMParams()\r\n params.RequestBody = &models.VMExportParams{\nData: &models.VMExportParamsData{\nType: models.VMExportFileTypeOVF.Pointer(),\n},\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.ExportVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMExportFile) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMExportFile)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMExportFile) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmExportParams params = new VmExportParams()\n.data(new VmExportParamsData()\n.type(VmExportFileType.fromValue(\"OVF\")))\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.exportVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1149,7 +1317,7 @@ } } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/import-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"upload_tasks\":[\"-string\"],\"parsed_ovf\":{\"firmware\":\"BIOS\",\"disks\":[{\"size\":1,\"type\":\"CD_ROM\",\"bus\":\"IDE\",\"name\":\"name-string\"}],\"nics\":[{\"mac\":\"mac-string\"}],\"memory\":1,\"cpu\":{\"sockets\":1,\"cores\":1},\"vcpu\":1,\"name\":\"name-string\"}}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/import-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"upload_tasks\":[\"-string\"],\"parsed_ovf\":{\"firmware\":\"BIOS\",\"disks\":[{\"size\":1,\"type\":\"CD_ROM\",\"bus\":\"IDE\",\"name\":\"name-string\"}],\"nics\":[{\"mac\":\"mac-string\"}],\"memory\":1,\"cpu\":{\"sockets\":1,\"cores\":1},\"vcpu\":1,\"name\":\"name-string\"}}]'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.import_vm([{\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"upload_tasks\":[\"-string\"],\"parsed_ovf\":{\"firmware\":\"BIOS\",\"disks\":[{\"size\":1,\"type\":\"CD_ROM\",\"bus\":\"IDE\",\"name\":\"name-string\"}],\"nics\":[{\"mac\":\"mac-string\"}],\"memory\":1,\"cpu\":{\"sockets\":1,\"cores\":1},\"vcpu\":1,\"name\":\"name-string\"}}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewImportVMParams()\r\n params.RequestBody = []*models.VMImportParams{\n{\nName: pointy.String(\"name-string\"),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nUploadTasks: []string{\"-string\",\n},\nParsedOvf: &models.ParsedOvf{\nFirmware: models.VMFirmwareBIOS.Pointer(),\nDisks: []*models.OvfDisk{\n{\nSize: pointy.Int64(1),\nType: models.VMDiskTypeCD_ROM.Pointer(),\nBus: models.BusIDE.Pointer(),\nName: pointy.String(\"name-string\"),\n},\n},\nNics: []*models.OvfNic{\n{\nMac: pointy.String(\"mac-string\"),\n},\n},\nMemory: pointy.Int64(1),\nCPU: &models.OvfCPU{\nSockets: pointy.Int32(1),\nCores: pointy.Int32(1),\n},\nVcpu: pointy.Int32(1),\nName: pointy.String(\"name-string\"),\n},\n},\n}\r\n rawResp, err := vm_api.ImportVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmImportParams()\n.name(\"name-string\")\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.addUploadTasksItem(\"-string\")\n.parsedOvf(new ParsedOvf()\n.firmware(VmFirmware.fromValue(\"BIOS\"))\n.addDisksItem(new OvfDisk()\n.size(1L)\n.type(VmDiskType.fromValue(\"CD_ROM\"))\n.bus(Bus.fromValue(\"IDE\"))\n.name(\"name-string\"))\n.addNicsItem(new OvfNic()\n.mac(\"mac-string\"))\n.memory(1L)\n.cpu(new OvfCpu()\n.sockets(1)\n.cores(1))\n.vcpu(1)\n.name(\"name-string\")));\r\n List resp = vmApi.importVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1160,7 +1328,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-vm-gpu-device-info \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-vm-gpu-device-info \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.get_vm_gpu_device_info({\"where\":{\"id\":\"Vm-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewGetVMGpuDeviceInfoParams()\r\n params.RequestBody = &models.GetVmsRequestBody{\nWhere: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.GetVMGpuDeviceInfo(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n GetVmsRequestBody params = new GetVmsRequestBody()\n.where(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = vmApi.getVmGpuDeviceInfo(params);\r\n }\r\n}" @@ -1171,7 +1339,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-vm-vnc-info \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"vm\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-vm-vnc-info \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"vm\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.get_vm_vnc_info({\"vm\":{\"id\":\"Vm-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewGetVMVncInfoParams()\r\n params.RequestBody = &models.GetVMVncInfoParams{\nVM: &models.VMWhereUniqueInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := vm_api.GetVMVncInfo(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n GetVmVncInfoParams params = new GetVmVncInfoParams()\n.vm(new VmWhereUniqueInput()\n.id(\"Vm-id\"));\r\n VmVncInfo resp = vmApi.getVmVncInfo(params);\r\n }\r\n}" @@ -1185,7 +1353,7 @@ "id": "VmNic-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-vpc-nic \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"vpc_nic\":{}},\"where\":{\"id\":\"VmNic-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-vpc-nic \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"vpc_nic\":{}},\"where\":{\"id\":\"VmNic-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_api = VmApi(client)\r\n resp = vm_api.update_vm_nic_vpc_info({\"data\":{\"vpc_nic\":{}},\"where\":{\"id\":\"VmNic-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_api := client.VM\r\n params := vm.NewUpdateVMNicVpcInfoParams()\r\n params.RequestBody = &models.VMUpdateVpcNicParams{\nData: &models.VMUpdateVpcNicParamsData{\nVpcNic: &models.UpdateVpcNicPayloads{\n},\n},\nWhere: &models.VMNicWhereInput{\nID: pointy.String(\"VmNic-id\"),\n},\n}\r\n rawResp, err := vm_api.UpdateVMNicVpcInfo(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVM) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVM)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVM) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmApi vmApi = new VmApi(client);\r\n VmUpdateVpcNicParams params = new VmUpdateVpcNicParams()\n.data(new VmUpdateVpcNicParamsData()\n.vpcNic(new UpdateVpcNicPayloads()))\n.where(new VmNicWhereInput()\n.id(\"VmNic-id\"));\r\n List resp = vmApi.updateVmNicVpcInfo(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1202,7 +1370,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/clone-content-library-vm-template-from-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"clusters\":{\"id\":\"Cluster-id\"},\"vm\":{\"id\":\"Vm-id\"},\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/clone-content-library-vm-template-from-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"clusters\":{\"id\":\"Cluster-id\"},\"vm\":{\"id\":\"Vm-id\"},\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryVmTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_vm_template_api = ContentLibraryVmTemplateApi(client)\r\n resp = content_library_vm_template_api.clone_content_library_vm_template_from_vm([{\"clusters\":{\"id\":\"Cluster-id\"},\"vm\":{\"id\":\"Vm-id\"},\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_vm_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_vm_template_api := client.ContentLibraryVMTemplate\r\n params := content_library_vm_template.NewCloneContentLibraryVMTemplateFromVMParams()\r\n params.RequestBody = []*models.ContentLibraryVMTemplateCreationParams{\n{\nClusters: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\nVM: &models.VMWhereUniqueInput{\nID: pointy.String(\"Vm-id\"),\n},\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := content_library_vm_template_api.CloneContentLibraryVMTemplateFromVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskContentLibraryVMTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskContentLibraryVMTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskContentLibraryVMTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ContentLibraryVmTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryVmTemplateApi contentLibraryVmTemplateApi = new ContentLibraryVmTemplateApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new ContentLibraryVmTemplateCreationParams()\n.clusters(new ClusterWhereInput()\n.id(\"Cluster-id\"))\n.vm(new VmWhereUniqueInput()\n.id(\"Vm-id\"))\n.name(\"name-string\"));\r\n List resp = contentLibraryVmTemplateApi.cloneContentLibraryVmTemplateFromVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1219,7 +1387,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/convert-content-library-vm-template-from-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"clusters\":{\"id\":\"Cluster-id\"},\"vm\":{\"id\":\"Vm-id\"},\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/convert-content-library-vm-template-from-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"clusters\":{\"id\":\"Cluster-id\"},\"vm\":{\"id\":\"Vm-id\"},\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryVmTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_vm_template_api = ContentLibraryVmTemplateApi(client)\r\n resp = content_library_vm_template_api.convert_content_library_vm_template_from_vm([{\"clusters\":{\"id\":\"Cluster-id\"},\"vm\":{\"id\":\"Vm-id\"},\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_vm_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_vm_template_api := client.ContentLibraryVMTemplate\r\n params := content_library_vm_template.NewConvertContentLibraryVMTemplateFromVMParams()\r\n params.RequestBody = []*models.ContentLibraryVMTemplateCreationParams{\n{\nClusters: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\nVM: &models.VMWhereUniqueInput{\nID: pointy.String(\"Vm-id\"),\n},\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := content_library_vm_template_api.ConvertContentLibraryVMTemplateFromVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskContentLibraryVMTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskContentLibraryVMTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskContentLibraryVMTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ContentLibraryVmTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryVmTemplateApi contentLibraryVmTemplateApi = new ContentLibraryVmTemplateApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new ContentLibraryVmTemplateCreationParams()\n.clusters(new ClusterWhereInput()\n.id(\"Cluster-id\"))\n.vm(new VmWhereUniqueInput()\n.id(\"Vm-id\"))\n.name(\"name-string\"));\r\n List resp = contentLibraryVmTemplateApi.convertContentLibraryVmTemplateFromVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1231,7 +1399,7 @@ "id": "ContentLibraryVmTemplate-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-content-library-vm-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-content-library-vm-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryVmTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_vm_template_api = ContentLibraryVmTemplateApi(client)\r\n resp = content_library_vm_template_api.update_content_library_vm_template({\"data\":{},\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_vm_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_vm_template_api := client.ContentLibraryVMTemplate\r\n params := content_library_vm_template.NewUpdateContentLibraryVMTemplateParams()\r\n params.RequestBody = &models.ContentLibraryVMTemplateUpdationParams{\nData: &models.ContentLibraryVMTemplateUpdationParamsData{\n},\nWhere: &models.ContentLibraryVMTemplateWhereInput{\nID: pointy.String(\"ContentLibraryVmTemplate-id\"),\n},\n}\r\n rawResp, err := content_library_vm_template_api.UpdateContentLibraryVMTemplate(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskContentLibraryVMTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskContentLibraryVMTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskContentLibraryVMTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ContentLibraryVmTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryVmTemplateApi contentLibraryVmTemplateApi = new ContentLibraryVmTemplateApi(client);\r\n ContentLibraryVmTemplateUpdationParams params = new ContentLibraryVmTemplateUpdationParams()\n.data(new ContentLibraryVmTemplateUpdationParamsData())\n.where(new ContentLibraryVmTemplateWhereInput()\n.id(\"ContentLibraryVmTemplate-id\"));\r\n List resp = contentLibraryVmTemplateApi.updateContentLibraryVmTemplate(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1247,7 +1415,7 @@ "id": "ContentLibraryVmTemplate-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/distribute-content-library-vm-template-clusters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/distribute-content-library-vm-template-clusters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryVmTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_vm_template_api = ContentLibraryVmTemplateApi(client)\r\n resp = content_library_vm_template_api.distribute_content_library_vmtemplate_clusters({\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_vm_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_vm_template_api := client.ContentLibraryVMTemplate\r\n params := content_library_vm_template.NewDistributeContentLibraryVmtemplateClustersParams()\r\n params.RequestBody = &models.ContentLibraryVMTemplateUpdationClusterParams{\nData: &models.ContentLibraryVMTemplateUpdationClusterParamsData{\nClusters: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n},\nWhere: &models.ContentLibraryVMTemplateWhereInput{\nID: pointy.String(\"ContentLibraryVmTemplate-id\"),\n},\n}\r\n rawResp, err := content_library_vm_template_api.DistributeContentLibraryVmtemplateClusters(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskContentLibraryVMTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskContentLibraryVMTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskContentLibraryVMTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ContentLibraryVmTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryVmTemplateApi contentLibraryVmTemplateApi = new ContentLibraryVmTemplateApi(client);\r\n ContentLibraryVmTemplateUpdationClusterParams params = new ContentLibraryVmTemplateUpdationClusterParams()\n.data(new ContentLibraryVmTemplateUpdationClusterParamsData()\n.clusters(new ClusterWhereInput()\n.id(\"Cluster-id\")))\n.where(new ContentLibraryVmTemplateWhereInput()\n.id(\"ContentLibraryVmTemplate-id\"));\r\n List resp = contentLibraryVmTemplateApi.distributeContentLibraryVmtemplateClusters(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1263,7 +1431,7 @@ "id": "ContentLibraryVmTemplate-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/remove-content-library-vm-template-clusters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/remove-content-library-vm-template-clusters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryVmTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_vm_template_api = ContentLibraryVmTemplateApi(client)\r\n resp = content_library_vm_template_api.remove_content_library_vm_template_clusters({\"data\":{\"clusters\":{\"id\":\"Cluster-id\"}},\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_vm_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_vm_template_api := client.ContentLibraryVMTemplate\r\n params := content_library_vm_template.NewRemoveContentLibraryVMTemplateClustersParams()\r\n params.RequestBody = &models.ContentLibraryVMTemplateUpdationClusterParams{\nData: &models.ContentLibraryVMTemplateUpdationClusterParamsData{\nClusters: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n},\nWhere: &models.ContentLibraryVMTemplateWhereInput{\nID: pointy.String(\"ContentLibraryVmTemplate-id\"),\n},\n}\r\n rawResp, err := content_library_vm_template_api.RemoveContentLibraryVMTemplateClusters(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskContentLibraryVMTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskContentLibraryVMTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskContentLibraryVMTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ContentLibraryVmTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryVmTemplateApi contentLibraryVmTemplateApi = new ContentLibraryVmTemplateApi(client);\r\n ContentLibraryVmTemplateUpdationClusterParams params = new ContentLibraryVmTemplateUpdationClusterParams()\n.data(new ContentLibraryVmTemplateUpdationClusterParamsData()\n.clusters(new ClusterWhereInput()\n.id(\"Cluster-id\")))\n.where(new ContentLibraryVmTemplateWhereInput()\n.id(\"ContentLibraryVmTemplate-id\"));\r\n List resp = contentLibraryVmTemplateApi.removeContentLibraryVmTemplateClusters(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1274,7 +1442,7 @@ "id": "ContentLibraryVmTemplate-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-content-library-vm-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-content-library-vm-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryVmTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_vm_template_api = ContentLibraryVmTemplateApi(client)\r\n resp = content_library_vm_template_api.delete_content_library_vm_template({\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_vm_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_vm_template_api := client.ContentLibraryVMTemplate\r\n params := content_library_vm_template.NewDeleteContentLibraryVMTemplateParams()\r\n params.RequestBody = &models.ContentLibraryVMTemplateDeletionParams{\nWhere: &models.ContentLibraryVMTemplateWhereInput{\nID: pointy.String(\"ContentLibraryVmTemplate-id\"),\n},\n}\r\n rawResp, err := content_library_vm_template_api.DeleteContentLibraryVMTemplate(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteContentLibraryVMTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteContentLibraryVMTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteContentLibraryVMTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ContentLibraryVmTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryVmTemplateApi contentLibraryVmTemplateApi = new ContentLibraryVmTemplateApi(client);\r\n ContentLibraryVmTemplateDeletionParams params = new ContentLibraryVmTemplateDeletionParams()\n.where(new ContentLibraryVmTemplateWhereInput()\n.id(\"ContentLibraryVmTemplate-id\"));\r\n List resp = contentLibraryVmTemplateApi.deleteContentLibraryVmTemplate(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1285,7 +1453,7 @@ "id": "ContentLibraryVmTemplate-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/export-content-library-vm-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/export-content-library-vm-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryVmTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_vm_template_api = ContentLibraryVmTemplateApi(client)\r\n resp = content_library_vm_template_api.export_content_library_vm_template({\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_vm_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_vm_template_api := client.ContentLibraryVMTemplate\r\n params := content_library_vm_template.NewExportContentLibraryVMTemplateParams()\r\n params.RequestBody = &models.ContentLibraryVMTemplateExportParams{\nWhere: &models.ContentLibraryVMTemplateWhereInput{\nID: pointy.String(\"ContentLibraryVmTemplate-id\"),\n},\n}\r\n rawResp, err := content_library_vm_template_api.ExportContentLibraryVMTemplate(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMExportFile) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMExportFile)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMExportFile) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ContentLibraryVmTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryVmTemplateApi contentLibraryVmTemplateApi = new ContentLibraryVmTemplateApi(client);\r\n ContentLibraryVmTemplateExportParams params = new ContentLibraryVmTemplateExportParams()\n.where(new ContentLibraryVmTemplateWhereInput()\n.id(\"ContentLibraryVmTemplate-id\"));\r\n List resp = contentLibraryVmTemplateApi.exportContentLibraryVmTemplate(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1323,7 +1491,7 @@ "cluster_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/import-content-library-vm-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"name\":\"name-string\",\"upload_tasks\":[\"-string\"],\"parsed_ovf\":{\"firmware\":\"BIOS\",\"disks\":[{\"size\":1,\"type\":\"CD_ROM\",\"bus\":\"IDE\",\"name\":\"name-string\"}],\"nics\":[{\"mac\":\"mac-string\"}],\"memory\":1,\"cpu\":{\"sockets\":1,\"cores\":1},\"vcpu\":1,\"name\":\"name-string\"},\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/import-content-library-vm-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"name\":\"name-string\",\"upload_tasks\":[\"-string\"],\"parsed_ovf\":{\"firmware\":\"BIOS\",\"disks\":[{\"size\":1,\"type\":\"CD_ROM\",\"bus\":\"IDE\",\"name\":\"name-string\"}],\"nics\":[{\"mac\":\"mac-string\"}],\"memory\":1,\"cpu\":{\"sockets\":1,\"cores\":1},\"vcpu\":1,\"name\":\"name-string\"},\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryVmTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_vm_template_api = ContentLibraryVmTemplateApi(client)\r\n resp = content_library_vm_template_api.import_content_library_vm_template([{\"name\":\"name-string\",\"upload_tasks\":[\"-string\"],\"parsed_ovf\":{\"firmware\":\"BIOS\",\"disks\":[{\"size\":1,\"type\":\"CD_ROM\",\"bus\":\"IDE\",\"name\":\"name-string\"}],\"nics\":[{\"mac\":\"mac-string\"}],\"memory\":1,\"cpu\":{\"sockets\":1,\"cores\":1},\"vcpu\":1,\"name\":\"name-string\"},\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_vm_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_vm_template_api := client.ContentLibraryVMTemplate\r\n params := content_library_vm_template.NewImportContentLibraryVMTemplateParams()\r\n params.RequestBody = []*models.ContentLibraryVMTemplateImportParams{\n{\nName: pointy.String(\"name-string\"),\nUploadTasks: []string{\"-string\",\n},\nParsedOvf: &models.ParsedOvf{\nFirmware: models.VMFirmwareBIOS.Pointer(),\nDisks: []*models.OvfDisk{\n{\nSize: pointy.Int64(1),\nType: models.VMDiskTypeCD_ROM.Pointer(),\nBus: models.BusIDE.Pointer(),\nName: pointy.String(\"name-string\"),\n},\n},\nNics: []*models.OvfNic{\n{\nMac: pointy.String(\"mac-string\"),\n},\n},\nMemory: pointy.Int64(1),\nCPU: &models.OvfCPU{\nSockets: pointy.Int32(1),\nCores: pointy.Int32(1),\n},\nVcpu: pointy.Int32(1),\nName: pointy.String(\"name-string\"),\n},\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := content_library_vm_template_api.ImportContentLibraryVMTemplate(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskContentLibraryVMTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskContentLibraryVMTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskContentLibraryVMTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ContentLibraryVmTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryVmTemplateApi contentLibraryVmTemplateApi = new ContentLibraryVmTemplateApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new ContentLibraryVmTemplateImportParams()\n.name(\"name-string\")\n.addUploadTasksItem(\"-string\")\n.parsedOvf(new ParsedOvf()\n.firmware(VmFirmware.fromValue(\"BIOS\"))\n.addDisksItem(new OvfDisk()\n.size(1L)\n.type(VmDiskType.fromValue(\"CD_ROM\"))\n.bus(Bus.fromValue(\"IDE\"))\n.name(\"name-string\"))\n.addNicsItem(new OvfNic()\n.mac(\"mac-string\"))\n.memory(1L)\n.cpu(new OvfCpu()\n.sockets(1)\n.cores(1))\n.vcpu(1)\n.name(\"name-string\"))\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = contentLibraryVmTemplateApi.importContentLibraryVmTemplate(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1335,7 +1503,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-datacenter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"organization_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-datacenter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"organization_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, DatacenterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n datacenter_api = DatacenterApi(client)\r\n resp = datacenter_api.create_datacenter([{\"organization_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/datacenter\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n datacenter_api := client.Datacenter\r\n params := datacenter.NewCreateDatacenterParams()\r\n params.RequestBody = []*models.DatacenterCreationParams{\n{\nOrganizationID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := datacenter_api.CreateDatacenter(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDatacenter) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDatacenter)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDatacenter) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.DatacenterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n DatacenterApi datacenterApi = new DatacenterApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new DatacenterCreationParams()\n.organizationId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = datacenterApi.createDatacenter(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1347,7 +1515,7 @@ "id": "Datacenter-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-datacenter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Datacenter-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-datacenter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Datacenter-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, DatacenterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n datacenter_api = DatacenterApi(client)\r\n resp = datacenter_api.update_datacenter({\"data\":{},\"where\":{\"id\":\"Datacenter-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/datacenter\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n datacenter_api := client.Datacenter\r\n params := datacenter.NewUpdateDatacenterParams()\r\n params.RequestBody = &models.DatacenterUpdationParams{\nData: &models.DatacenterUpdationParamsData{\n},\nWhere: &models.DatacenterWhereInput{\nID: pointy.String(\"Datacenter-id\"),\n},\n}\r\n rawResp, err := datacenter_api.UpdateDatacenter(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDatacenter) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDatacenter)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDatacenter) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.DatacenterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n DatacenterApi datacenterApi = new DatacenterApi(client);\r\n DatacenterUpdationParams params = new DatacenterUpdationParams()\n.data(new DatacenterUpdationParamsData())\n.where(new DatacenterWhereInput()\n.id(\"Datacenter-id\"));\r\n List resp = datacenterApi.updateDatacenter(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1361,7 +1529,7 @@ } } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/add-clusters-to-datacenter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"data\":{},\"where\":{\"id\":\"Datacenter-id\"}}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/add-clusters-to-datacenter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"data\":{},\"where\":{\"id\":\"Datacenter-id\"}}]'", "python": "from cloudtower import ApiClient, Configuration, DatacenterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n datacenter_api = DatacenterApi(client)\r\n resp = datacenter_api.add_clusters_to_datacenter([{\"data\":{},\"where\":{\"id\":\"Datacenter-id\"}}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/datacenter\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n datacenter_api := client.Datacenter\r\n params := datacenter.NewAddClustersToDatacenterParams()\r\n params.RequestBody = []*models.AddClustersToDatacenterParams{\n{\nData: &models.AddClustersToDatacenterParamsData{\n},\nWhere: &models.DatacenterWhereUniqueInput{\nID: pointy.String(\"Datacenter-id\"),\n},\n},\n}\r\n rawResp, err := datacenter_api.AddClustersToDatacenter(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDatacenter) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDatacenter)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDatacenter) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.DatacenterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n DatacenterApi datacenterApi = new DatacenterApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new AddClustersToDatacenterParams()\n.data(new AddClustersToDatacenterParamsData())\n.where(new DatacenterWhereUniqueInput()\n.id(\"Datacenter-id\")));\r\n List resp = datacenterApi.addClustersToDatacenter(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1375,7 +1543,7 @@ } } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/remove-clusters-from-datacenter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"data\":{},\"where\":{\"id\":\"Datacenter-id\"}}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/remove-clusters-from-datacenter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"data\":{},\"where\":{\"id\":\"Datacenter-id\"}}]'", "python": "from cloudtower import ApiClient, Configuration, DatacenterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n datacenter_api = DatacenterApi(client)\r\n resp = datacenter_api.remove_clusters_from_datacenter([{\"data\":{},\"where\":{\"id\":\"Datacenter-id\"}}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/datacenter\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n datacenter_api := client.Datacenter\r\n params := datacenter.NewRemoveClustersFromDatacenterParams()\r\n params.RequestBody = []*models.RemoveClustersFromDatacenterParams{\n{\nData: &models.RemoveClustersFromDatacenterParamsData{\n},\nWhere: &models.DatacenterWhereUniqueInput{\nID: pointy.String(\"Datacenter-id\"),\n},\n},\n}\r\n rawResp, err := datacenter_api.RemoveClustersFromDatacenter(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDatacenter) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDatacenter)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDatacenter) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.DatacenterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n DatacenterApi datacenterApi = new DatacenterApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new RemoveClustersFromDatacenterParams()\n.data(new RemoveClustersFromDatacenterParamsData())\n.where(new DatacenterWhereUniqueInput()\n.id(\"Datacenter-id\")));\r\n List resp = datacenterApi.removeClustersFromDatacenter(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1386,7 +1554,7 @@ "id": "Datacenter-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-datacenter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Datacenter-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-datacenter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Datacenter-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, DatacenterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n datacenter_api = DatacenterApi(client)\r\n resp = datacenter_api.delete_datacenter({\"where\":{\"id\":\"Datacenter-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/datacenter\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n datacenter_api := client.Datacenter\r\n params := datacenter.NewDeleteDatacenterParams()\r\n params.RequestBody = &models.DatacenterDeletionParams{\nWhere: &models.DatacenterWhereInput{\nID: pointy.String(\"Datacenter-id\"),\n},\n}\r\n rawResp, err := datacenter_api.DeleteDatacenter(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteDatacenter) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteDatacenter)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteDatacenter) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.DatacenterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n DatacenterApi datacenterApi = new DatacenterApi(client);\r\n DatacenterDeletionParams params = new DatacenterDeletionParams()\n.where(new DatacenterWhereInput()\n.id(\"Datacenter-id\"));\r\n List resp = datacenterApi.deleteDatacenter(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1400,7 +1568,7 @@ "id": "Disk-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/mount-disk \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"function\":\"BOOT\"},\"where\":{\"id\":\"Disk-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/mount-disk \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"function\":\"BOOT\"},\"where\":{\"id\":\"Disk-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, DiskApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n disk_api = DiskApi(client)\r\n resp = disk_api.mount_disk({\"data\":{\"function\":\"BOOT\"},\"where\":{\"id\":\"Disk-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/disk\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n disk_api := client.Disk\r\n params := disk.NewMountDiskParams()\r\n params.RequestBody = &models.DiskMountParams{\nData: &models.DiskMountParamsData{\nFunction: models.DiskFunctionBOOT.Pointer(),\n},\nWhere: &models.DiskWhereInput{\nID: pointy.String(\"Disk-id\"),\n},\n}\r\n rawResp, err := disk_api.MountDisk(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDisk) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDisk)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDisk) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.DiskApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n DiskApi diskApi = new DiskApi(client);\r\n DiskMountParams params = new DiskMountParams()\n.data(new DiskMountParamsData()\n.function(DiskFunction.fromValue(\"BOOT\")))\n.where(new DiskWhereInput()\n.id(\"Disk-id\"));\r\n List resp = diskApi.mountDisk(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1411,7 +1579,7 @@ "id": "Disk-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/unmount-disk \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Disk-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/unmount-disk \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Disk-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, DiskApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n disk_api = DiskApi(client)\r\n resp = disk_api.unmount_disk({\"where\":{\"id\":\"Disk-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/disk\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n disk_api := client.Disk\r\n params := disk.NewUnmountDiskParams()\r\n params.RequestBody = &models.DiskUnmountParams{\nWhere: &models.DiskWhereInput{\nID: pointy.String(\"Disk-id\"),\n},\n}\r\n rawResp, err := disk_api.UnmountDisk(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDisk) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDisk)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDisk) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.DiskApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n DiskApi diskApi = new DiskApi(client);\r\n DiskUnmountParams params = new DiskUnmountParams()\n.where(new DiskWhereInput()\n.id(\"Disk-id\"));\r\n List resp = diskApi.unmountDisk(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1432,7 +1600,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-entity-filter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"rules\":[{\"threshold\":1,\"quantile\":1,\"op\":\"GT\",\"metric\":\"VM_CPU_USAGE\",\"duration\":1,\"aggregation\":\"AVG\"}],\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-entity-filter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"rules\":[{\"threshold\":1,\"quantile\":1,\"op\":\"GT\",\"metric\":\"VM_CPU_USAGE\",\"duration\":1,\"aggregation\":\"AVG\"}],\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, EntityFilterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n entity_filter_api = EntityFilterApi(client)\r\n resp = entity_filter_api.create_entity_filter([{\"rules\":[{\"threshold\":1,\"quantile\":1,\"op\":\"GT\",\"metric\":\"VM_CPU_USAGE\",\"duration\":1,\"aggregation\":\"AVG\"}],\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/entity_filter\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n entity_filter_api := client.EntityFilter\r\n params := entity_filter.NewCreateEntityFilterParams()\r\n params.RequestBody = []*models.EntityFilterCreationParams{\n{\nRules: []*models.FilterRuleInput{\n{\nThreshold: pointy.Float64(1),\nQuantile: pointy.Int32(1),\nOp: models.FilterRuleOpEnumGT.Pointer(),\nMetric: models.FilterRuleMetricEnumVM_CPU_USAGE.Pointer(),\nDuration: pointy.Int32(1),\nAggregation: models.FilterRuleAggregationEnumAVG.Pointer(),\n},\n},\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := entity_filter_api.CreateEntityFilter(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskEntityFilter) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskEntityFilter)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskEntityFilter) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.EntityFilterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n EntityFilterApi entityFilterApi = new EntityFilterApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new EntityFilterCreationParams()\n.addRulesItem(new FilterRuleInput()\n.threshold(1D)\n.quantile(1)\n.op(FilterRuleOpEnum.fromValue(\"GT\"))\n.metric(FilterRuleMetricEnum.fromValue(\"VM_CPU_USAGE\"))\n.duration(1)\n.aggregation(FilterRuleAggregationEnum.fromValue(\"AVG\")))\n.name(\"name-string\"));\r\n List resp = entityFilterApi.createEntityFilter(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1444,7 +1612,7 @@ "id": "EntityFilter-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-entity-filter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"EntityFilter-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-entity-filter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"EntityFilter-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, EntityFilterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n entity_filter_api = EntityFilterApi(client)\r\n resp = entity_filter_api.update_entity_filter({\"data\":{},\"where\":{\"id\":\"EntityFilter-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/entity_filter\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n entity_filter_api := client.EntityFilter\r\n params := entity_filter.NewUpdateEntityFilterParams()\r\n params.RequestBody = &models.EntityFilterUpdationParams{\nData: &models.EntityFilterUpdationParamsData{\n},\nWhere: &models.EntityFilterWhereInput{\nID: pointy.String(\"EntityFilter-id\"),\n},\n}\r\n rawResp, err := entity_filter_api.UpdateEntityFilter(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskEntityFilter) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskEntityFilter)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskEntityFilter) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.EntityFilterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n EntityFilterApi entityFilterApi = new EntityFilterApi(client);\r\n EntityFilterUpdationParams params = new EntityFilterUpdationParams()\n.data(new EntityFilterUpdationParamsData())\n.where(new EntityFilterWhereInput()\n.id(\"EntityFilter-id\"));\r\n List resp = entityFilterApi.updateEntityFilter(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1455,7 +1623,7 @@ "id": "EntityFilter-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-entity-filter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EntityFilter-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-entity-filter \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EntityFilter-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, EntityFilterApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n entity_filter_api = EntityFilterApi(client)\r\n resp = entity_filter_api.delete_entity_filter({\"where\":{\"id\":\"EntityFilter-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/entity_filter\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n entity_filter_api := client.EntityFilter\r\n params := entity_filter.NewDeleteEntityFilterParams()\r\n params.RequestBody = &models.EntityFilterDeletionParams{\nWhere: &models.EntityFilterWhereInput{\nID: pointy.String(\"EntityFilter-id\"),\n},\n}\r\n rawResp, err := entity_filter_api.DeleteEntityFilter(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteEntityFilter) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteEntityFilter)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteEntityFilter) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.EntityFilterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n EntityFilterApi entityFilterApi = new EntityFilterApi(client);\r\n EntityFilterDeletionParams params = new EntityFilterDeletionParams()\n.where(new EntityFilterWhereInput()\n.id(\"EntityFilter-id\"));\r\n List resp = entityFilterApi.deleteEntityFilter(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1467,7 +1635,7 @@ "id": "GpuDevice-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-gpu-device-usage \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"GpuDevice-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-gpu-device-usage \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"GpuDevice-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GpuDeviceApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n gpu_device_api = GpuDeviceApi(client)\r\n resp = gpu_device_api.update_gpu_device_usage({\"data\":{},\"where\":{\"id\":\"GpuDevice-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/gpu_device\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n gpu_device_api := client.GpuDevice\r\n params := gpu_device.NewUpdateGpuDeviceUsageParams()\r\n params.RequestBody = &models.GpuDeviceUsageUpdationParams{\nData: &models.GpuDeviceUsageUpdationParamsData{\n},\nWhere: &models.GpuDeviceWhereInput{\nID: pointy.String(\"GpuDevice-id\"),\n},\n}\r\n rawResp, err := gpu_device_api.UpdateGpuDeviceUsage(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskGpuDevice) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskGpuDevice)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskGpuDevice) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GpuDeviceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GpuDeviceApi gpuDeviceApi = new GpuDeviceApi(client);\r\n GpuDeviceUsageUpdationParams params = new GpuDeviceUsageUpdationParams()\n.data(new GpuDeviceUsageUpdationParamsData())\n.where(new GpuDeviceWhereInput()\n.id(\"GpuDevice-id\"));\r\n List resp = gpuDeviceApi.updateGpuDeviceUsage(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1481,7 +1649,7 @@ "id": "GpuDevice-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-gpu-device-description \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"description\":\"description-string\"},\"where\":{\"id\":\"GpuDevice-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-gpu-device-description \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"description\":\"description-string\"},\"where\":{\"id\":\"GpuDevice-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GpuDeviceApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n gpu_device_api = GpuDeviceApi(client)\r\n resp = gpu_device_api.update_gpu_device_description({\"data\":{\"description\":\"description-string\"},\"where\":{\"id\":\"GpuDevice-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/gpu_device\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n gpu_device_api := client.GpuDevice\r\n params := gpu_device.NewUpdateGpuDeviceDescriptionParams()\r\n params.RequestBody = &models.GpuDeviceDescriptionUpdationParams{\nData: &models.GpuDeviceDescriptionUpdationParamsData{\nDescription: pointy.String(\"description-string\"),\n},\nWhere: &models.GpuDeviceWhereInput{\nID: pointy.String(\"GpuDevice-id\"),\n},\n}\r\n rawResp, err := gpu_device_api.UpdateGpuDeviceDescription(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskGpuDevice) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskGpuDevice)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskGpuDevice) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GpuDeviceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GpuDeviceApi gpuDeviceApi = new GpuDeviceApi(client);\r\n GpuDeviceDescriptionUpdationParams params = new GpuDeviceDescriptionUpdationParams()\n.data(new GpuDeviceDescriptionUpdationParamsData()\n.description(\"description-string\"))\n.where(new GpuDeviceWhereInput()\n.id(\"GpuDevice-id\"));\r\n List resp = gpuDeviceApi.updateGpuDeviceDescription(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1495,7 +1663,7 @@ "id": "GpuDevice-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/switch-gpu-device-sriov \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"enable\":true},\"where\":{\"id\":\"GpuDevice-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/switch-gpu-device-sriov \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"enable\":true},\"where\":{\"id\":\"GpuDevice-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GpuDeviceApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n gpu_device_api = GpuDeviceApi(client)\r\n resp = gpu_device_api.switch_gpu_device_sriov({\"data\":{\"enable\":True},\"where\":{\"id\":\"GpuDevice-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/gpu_device\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n gpu_device_api := client.GpuDevice\r\n params := gpu_device.NewSwitchGpuDeviceSriovParams()\r\n params.RequestBody = &models.GpuDeviceSriovSwitchParams{\nData: &models.GpuDeviceSriovSwitchParamsData{\nEnable: pointy.Bool(true),\n},\nWhere: &models.GpuDeviceWhereInput{\nID: pointy.String(\"GpuDevice-id\"),\n},\n}\r\n rawResp, err := gpu_device_api.SwitchGpuDeviceSriov(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskGpuDevice) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskGpuDevice)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskGpuDevice) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GpuDeviceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GpuDeviceApi gpuDeviceApi = new GpuDeviceApi(client);\r\n GpuDeviceSriovSwitchParams params = new GpuDeviceSriovSwitchParams()\n.data(new GpuDeviceSriovSwitchParamsData()\n.enable(true))\n.where(new GpuDeviceWhereInput()\n.id(\"GpuDevice-id\"));\r\n List resp = gpuDeviceApi.switchGpuDeviceSriov(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1506,7 +1674,7 @@ "id": "GpuDevice-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-detail-vm-info-by-gpu-devices \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"GpuDevice-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-detail-vm-info-by-gpu-devices \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"GpuDevice-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GpuDeviceApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n gpu_device_api = GpuDeviceApi(client)\r\n resp = gpu_device_api.get_detail_vm_info_by_gpu_devices({\"where\":{\"id\":\"GpuDevice-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/gpu_device\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n gpu_device_api := client.GpuDevice\r\n params := gpu_device.NewGetDetailVMInfoByGpuDevicesParams()\r\n params.RequestBody = &models.GetGpuDevicesRequestBody{\nWhere: &models.GpuDeviceWhereInput{\nID: pointy.String(\"GpuDevice-id\"),\n},\n}\r\n rawResp, err := gpu_device_api.GetDetailVMInfoByGpuDevices(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.GpuDeviceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GpuDeviceApi gpuDeviceApi = new GpuDeviceApi(client);\r\n GetGpuDevicesRequestBody params = new GetGpuDevicesRequestBody()\n.where(new GpuDeviceWhereInput()\n.id(\"GpuDevice-id\"));\r\n List resp = gpuDeviceApi.getDetailVmInfoByGpuDevices(params);\r\n }\r\n}" @@ -1525,7 +1693,7 @@ "metric_name": "metric_name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-graph \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"type\":\"AREA\",\"resource_type\":\"resource_type-string\",\"view_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"title\":\"title-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"connect_id\":[\"-string\"],\"metric_name\":\"metric_name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-graph \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"type\":\"AREA\",\"resource_type\":\"resource_type-string\",\"view_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"title\":\"title-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"connect_id\":[\"-string\"],\"metric_name\":\"metric_name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, GraphApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n graph_api = GraphApi(client)\r\n resp = graph_api.create_graph([{\"type\":\"AREA\",\"resource_type\":\"resource_type-string\",\"view_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"title\":\"title-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"connect_id\":[\"-string\"],\"metric_name\":\"metric_name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/graph\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n graph_api := client.Graph\r\n params := graph.NewCreateGraphParams()\r\n params.RequestBody = []*models.GraphCreationParams{\n{\nType: models.GraphTypeAREA.Pointer(),\nResourceType: pointy.String(\"resource_type-string\"),\nViewID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nTitle: pointy.String(\"title-string\"),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nConnectID: []string{\"-string\",\n},\nMetricName: pointy.String(\"metric_name-string\"),\n},\n}\r\n rawResp, err := graph_api.CreateGraph(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskGraph) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskGraph)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskGraph) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GraphApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GraphApi graphApi = new GraphApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new GraphCreationParams()\n.type(GraphType.fromValue(\"AREA\"))\n.resourceType(\"resource_type-string\")\n.viewId(\"ck74rk21wg5lz0786opdnzz5m\")\n.title(\"title-string\")\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.addConnectIdItem(\"-string\")\n.metricName(\"metric_name-string\"));\r\n List resp = graphApi.createGraph(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1536,7 +1704,7 @@ "id": "Graph-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-graph \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Graph-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-graph \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Graph-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GraphApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n graph_api = GraphApi(client)\r\n resp = graph_api.update_graph({\"where\":{\"id\":\"Graph-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/graph\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n graph_api := client.Graph\r\n params := graph.NewUpdateGraphParams()\r\n params.RequestBody = &models.GraphUpdationParams{\nWhere: &models.GraphWhereInput{\nID: pointy.String(\"Graph-id\"),\n},\n}\r\n rawResp, err := graph_api.UpdateGraph(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskGraph) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskGraph)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskGraph) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GraphApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GraphApi graphApi = new GraphApi(client);\r\n GraphUpdationParams params = new GraphUpdationParams()\n.where(new GraphWhereInput()\n.id(\"Graph-id\"));\r\n List resp = graphApi.updateGraph(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1547,7 +1715,7 @@ "id": "Graph-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-graph \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Graph-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-graph \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Graph-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GraphApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n graph_api = GraphApi(client)\r\n resp = graph_api.delete_graph({\"where\":{\"id\":\"Graph-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/graph\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n graph_api := client.Graph\r\n params := graph.NewDeleteGraphParams()\r\n params.RequestBody = &models.GraphDeletionParams{\nWhere: &models.GraphWhereInput{\nID: pointy.String(\"Graph-id\"),\n},\n}\r\n rawResp, err := graph_api.DeleteGraph(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteGraph) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteGraph)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteGraph) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GraphApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GraphApi graphApi = new GraphApi(client);\r\n GraphDeletionParams params = new GraphDeletionParams()\n.where(new GraphWhereInput()\n.id(\"Graph-id\"));\r\n List resp = graphApi.deleteGraph(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1581,7 +1749,7 @@ "cluster_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-host \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"data\":[{\"ifaces\":[{\"netmask\":\"netmask-string\",\"name\":[\"-string\"],\"ip\":\"ip-string\",\"gateway_ip\":\"gateway_ip-string\",\"function\":\"ACCESS\"}],\"disks\":[{\"drive\":\"drive-string\"}],\"hostname\":\"hostname-string\",\"host_uuid\":\"ck74rk21wg5lz0786opdnzz5m\",\"host_ip\":\"host_ip-string\"}],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-host \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"data\":[{\"ifaces\":[{\"netmask\":\"netmask-string\",\"name\":[\"-string\"],\"ip\":\"ip-string\",\"gateway_ip\":\"gateway_ip-string\",\"function\":\"ACCESS\"}],\"disks\":[{\"drive\":\"drive-string\"}],\"hostname\":\"hostname-string\",\"host_uuid\":\"ck74rk21wg5lz0786opdnzz5m\",\"host_ip\":\"host_ip-string\"}],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, HostApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n host_api = HostApi(client)\r\n resp = host_api.create_host([{\"data\":[{\"ifaces\":[{\"netmask\":\"netmask-string\",\"name\":[\"-string\"],\"ip\":\"ip-string\",\"gateway_ip\":\"gateway_ip-string\",\"function\":\"ACCESS\"}],\"disks\":[{\"drive\":\"drive-string\"}],\"hostname\":\"hostname-string\",\"host_uuid\":\"ck74rk21wg5lz0786opdnzz5m\",\"host_ip\":\"host_ip-string\"}],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/host\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n host_api := client.Host\r\n params := host.NewCreateHostParams()\r\n params.RequestBody = []*models.HostCreationParams{\n{\nData: []*models.HostCreationParamsData{\n{\nIfaces: []*models.HostBatchCreateIfaceInput{\n{\nNetmask: pointy.String(\"netmask-string\"),\nName: []string{\"-string\",\n},\nIP: pointy.String(\"ip-string\"),\nGatewayIP: pointy.String(\"gateway_ip-string\"),\nFunction: models.HostBatchCreateIfaceFunctionACCESS.Pointer(),\n},\n},\nDisks: []*models.HostBatchCreateDiskInput{\n{\nDrive: pointy.String(\"drive-string\"),\n},\n},\nHostname: pointy.String(\"hostname-string\"),\nHostUUID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nHostIP: pointy.String(\"host_ip-string\"),\n},\n},\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := host_api.CreateHost(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBatchHosts) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBatchHosts)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBatchHosts) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.HostApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n HostApi hostApi = new HostApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new HostCreationParams()\n.addDataItem(new HostCreationParamsData()\n.addIfacesItem(new HostBatchCreateIfaceInput()\n.netmask(\"netmask-string\")\n.addNameItem(\"-string\")\n.ip(\"ip-string\")\n.gatewayIp(\"gateway_ip-string\")\n.function(HostBatchCreateIfaceFunction.fromValue(\"ACCESS\")))\n.addDisksItem(new HostBatchCreateDiskInput()\n.drive(\"drive-string\"))\n.hostname(\"hostname-string\")\n.hostUuid(\"ck74rk21wg5lz0786opdnzz5m\")\n.hostIp(\"host_ip-string\"))\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = hostApi.createHost(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1593,7 +1761,7 @@ "host_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/trigger-disk-blink \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"disk_name\":\"disk_name-string\",\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/trigger-disk-blink \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"disk_name\":\"disk_name-string\",\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, HostApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n host_api = HostApi(client)\r\n resp = host_api.trigger_disk_blink([{\"disk_name\":\"disk_name-string\",\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/host\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n host_api := client.Host\r\n params := host.NewTriggerDiskBlinkParams()\r\n params.RequestBody = []*models.TriggerDiskBlinkParams{\n{\nDiskName: pointy.String(\"disk_name-string\"),\nHostID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := host_api.TriggerDiskBlink(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskHost) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskHost)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskHost) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.HostApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n HostApi hostApi = new HostApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new TriggerDiskBlinkParams()\n.diskName(\"disk_name-string\")\n.hostId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = hostApi.triggerDiskBlink(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1605,7 +1773,7 @@ "id": "Host-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-host \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Host-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-host \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Host-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, HostApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n host_api = HostApi(client)\r\n resp = host_api.update_host({\"data\":{},\"where\":{\"id\":\"Host-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/host\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n host_api := client.Host\r\n params := host.NewUpdateHostParams()\r\n params.RequestBody = &models.HostUpdationParams{\nData: &models.HostUpdationParamsData{\n},\nWhere: &models.HostWhereInput{\nID: pointy.String(\"Host-id\"),\n},\n}\r\n rawResp, err := host_api.UpdateHost(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskHost) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskHost)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskHost) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.HostApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n HostApi hostApi = new HostApi(client);\r\n HostUpdationParams params = new HostUpdationParams()\n.data(new HostUpdationParamsData())\n.where(new HostWhereInput()\n.id(\"Host-id\"));\r\n List resp = hostApi.updateHost(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1620,7 +1788,7 @@ "host_id": "ck74rk21wg5lz0786opdnzz5m" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/operate-host-power \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"force\":true,\"action\":\"poweroff\"},\"where\":{\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/operate-host-power \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"force\":true,\"action\":\"poweroff\"},\"where\":{\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}}'", "python": "from cloudtower import ApiClient, Configuration, HostApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n host_api = HostApi(client)\r\n resp = host_api.power_off_host({\"data\":{\"force\":True,\"action\":\"poweroff\"},\"where\":{\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/host\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n host_api := client.Host\r\n params := host.NewPowerOffHostParams()\r\n params.RequestBody = &models.OperateHostPowerParams{\nData: &models.OperateHostPowerData{\nForce: pointy.Bool(true),\nAction: models.OperateActionEnumpoweroff.Pointer(),\n},\nWhere: &models.OperateHostPowerParamsWhere{\nHostID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := host_api.PowerOffHost(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.HostApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n HostApi hostApi = new HostApi(client);\r\n OperateHostPowerParams params = new OperateHostPowerParams()\n.data(new OperateHostPowerData()\n.force(true)\n.action(OperateActionEnum.fromValue(\"poweroff\")))\n.where(new OperateHostPowerParamsWhere()\n.hostId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n WithTaskHost resp = hostApi.powerOffHost(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -1631,7 +1799,7 @@ "id": "Host-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/enter-maintenance-mode-precheck \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Host-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/enter-maintenance-mode-precheck \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Host-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, HostApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n host_api = HostApi(client)\r\n resp = host_api.enter_maintenance_mode_pre_check({\"where\":{\"id\":\"Host-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/host\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n host_api := client.Host\r\n params := host.NewEnterMaintenanceModePreCheckParams()\r\n params.RequestBody = &models.EnterMaintenanceModeCheckParams{\nWhere: &models.HostWhereInput{\nID: pointy.String(\"Host-id\"),\n},\n}\r\n rawResp, err := host_api.EnterMaintenanceModePreCheck(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.HostApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n HostApi hostApi = new HostApi(client);\r\n EnterMaintenanceModeCheckParams params = new EnterMaintenanceModeCheckParams()\n.where(new HostWhereInput()\n.id(\"Host-id\"));\r\n EnterMaintenanceModeCheckResult resp = hostApi.enterMaintenanceModePreCheck(params);\r\n }\r\n}" @@ -1642,7 +1810,7 @@ "task_id": "ck74rk21wg5lz0786opdnzz5m" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/enter-maintance-mode-precheck-result \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"task_id\":\"ck74rk21wg5lz0786opdnzz5m\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/enter-maintance-mode-precheck-result \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"task_id\":\"ck74rk21wg5lz0786opdnzz5m\"}}'", "python": "from cloudtower import ApiClient, Configuration, HostApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n host_api = HostApi(client)\r\n resp = host_api.enter_maintenance_mode_precheck_result({\"where\":{\"task_id\":\"ck74rk21wg5lz0786opdnzz5m\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/host\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n host_api := client.Host\r\n params := host.NewEnterMaintenanceModePrecheckResultParams()\r\n params.RequestBody = &models.EnterMaintenanceModeResultParams{\nWhere: &models.EnterMaintenanceModeResultParamsWhere{\nTaskID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := host_api.EnterMaintenanceModePrecheckResult(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.HostApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n HostApi hostApi = new HostApi(client);\r\n EnterMaintenanceModeResultParams params = new EnterMaintenanceModeResultParams()\n.where(new EnterMaintenanceModeResultParamsWhere()\n.taskId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n EnterMaintenanceModeResult resp = hostApi.enterMaintenanceModePrecheckResult(params);\r\n }\r\n}" @@ -1654,7 +1822,7 @@ "host_id": "ck74rk21wg5lz0786opdnzz5m" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/enter-maintance-mode \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/enter-maintance-mode \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}}'", "python": "from cloudtower import ApiClient, Configuration, HostApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n host_api = HostApi(client)\r\n resp = host_api.enter_maintenance_mode({\"data\":{},\"where\":{\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/host\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n host_api := client.Host\r\n params := host.NewEnterMaintenanceModeParams()\r\n params.RequestBody = &models.EnterMaintenanceModeParams{\nData: &models.EnterMaintenanceModeInput{\n},\nWhere: &models.EnterMaintenanceModeParamsWhere{\nHostID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := host_api.EnterMaintenanceMode(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.HostApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n HostApi hostApi = new HostApi(client);\r\n EnterMaintenanceModeParams params = new EnterMaintenanceModeParams()\n.data(new EnterMaintenanceModeInput())\n.where(new EnterMaintenanceModeParamsWhere()\n.hostId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n WithTaskHost resp = hostApi.enterMaintenanceMode(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -1665,7 +1833,7 @@ "id": "Host-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/exit-maintance-mode-precheck-result \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Host-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/exit-maintance-mode-precheck-result \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Host-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, HostApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n host_api = HostApi(client)\r\n resp = host_api.exit_maintenance_mode_precheck_result({\"where\":{\"id\":\"Host-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/host\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n host_api := client.Host\r\n params := host.NewExitMaintenanceModePrecheckResultParams()\r\n params.RequestBody = &models.ExitMaintenanceModeResultParams{\nWhere: &models.HostWhereInput{\nID: pointy.String(\"Host-id\"),\n},\n}\r\n rawResp, err := host_api.ExitMaintenanceModePrecheckResult(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.HostApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n HostApi hostApi = new HostApi(client);\r\n ExitMaintenanceModeResultParams params = new ExitMaintenanceModeResultParams()\n.where(new HostWhereInput()\n.id(\"Host-id\"));\r\n ExitMaintenanceModeResult resp = hostApi.exitMaintenanceModePrecheckResult(params);\r\n }\r\n}" @@ -1677,7 +1845,7 @@ "host_id": "ck74rk21wg5lz0786opdnzz5m" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/exit-maintance-mode \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/exit-maintance-mode \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}}'", "python": "from cloudtower import ApiClient, Configuration, HostApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n host_api = HostApi(client)\r\n resp = host_api.exit_maintenance_mode({\"data\":{},\"where\":{\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/host\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n host_api := client.Host\r\n params := host.NewExitMaintenanceModeParams()\r\n params.RequestBody = &models.ExitMaintenanceModeParams{\nData: &models.ExitMaintenanceModeInput{\n},\nWhere: &models.ExitMaintenanceModeParamsWhere{\nHostID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := host_api.ExitMaintenanceMode(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.HostApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n HostApi hostApi = new HostApi(client);\r\n ExitMaintenanceModeParams params = new ExitMaintenanceModeParams()\n.data(new ExitMaintenanceModeInput())\n.where(new ExitMaintenanceModeParamsWhere()\n.hostId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n WithTaskHost resp = hostApi.exitMaintenanceMode(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -1690,7 +1858,7 @@ "iscsi_lun_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-iscsi-lun-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"iscsi_target_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"iscsi_lun_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-iscsi-lun-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"iscsi_target_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"iscsi_lun_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, IscsiLunSnapshotApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_lun_snapshot_api = IscsiLunSnapshotApi(client)\r\n resp = iscsi_lun_snapshot_api.create_iscsi_lun_snapshot([{\"iscsi_target_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"iscsi_lun_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_lun_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_lun_snapshot_api := client.IscsiLunSnapshot\r\n params := iscsi_lun_snapshot.NewCreateIscsiLunSnapshotParams()\r\n params.RequestBody = []*models.IscsiLunSnapshotCreationParams{\n{\nIscsiTargetID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\nIscsiLunID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := iscsi_lun_snapshot_api.CreateIscsiLunSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskIscsiLunSnapshot) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskIscsiLunSnapshot)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskIscsiLunSnapshot) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.IscsiLunSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiLunSnapshotApi iscsiLunSnapshotApi = new IscsiLunSnapshotApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new IscsiLunSnapshotCreationParams()\n.iscsiTargetId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\")\n.iscsiLunId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = iscsiLunSnapshotApi.createIscsiLunSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1701,7 +1869,7 @@ "id": "IscsiLunSnapshot-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-iscsi-lun-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiLunSnapshot-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-iscsi-lun-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiLunSnapshot-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IscsiLunSnapshotApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_lun_snapshot_api = IscsiLunSnapshotApi(client)\r\n resp = iscsi_lun_snapshot_api.delete_iscsi_lun_snapshot({\"where\":{\"id\":\"IscsiLunSnapshot-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_lun_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_lun_snapshot_api := client.IscsiLunSnapshot\r\n params := iscsi_lun_snapshot.NewDeleteIscsiLunSnapshotParams()\r\n params.RequestBody = &models.IscsiLunSnapshotDeletionParams{\nWhere: &models.IscsiLunSnapshotWhereInput{\nID: pointy.String(\"IscsiLunSnapshot-id\"),\n},\n}\r\n rawResp, err := iscsi_lun_snapshot_api.DeleteIscsiLunSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteIscsiLunSnapshot) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteIscsiLunSnapshot)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteIscsiLunSnapshot) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.IscsiLunSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiLunSnapshotApi iscsiLunSnapshotApi = new IscsiLunSnapshotApi(client);\r\n IscsiLunSnapshotDeletionParams params = new IscsiLunSnapshotDeletionParams()\n.where(new IscsiLunSnapshotWhereInput()\n.id(\"IscsiLunSnapshot-id\"));\r\n List resp = iscsiLunSnapshotApi.deleteIscsiLunSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1715,7 +1883,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-iscsi-lun \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"assigned_size\":1,\"replica_num\":1,\"iscsi_target_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-iscsi-lun \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"assigned_size\":1,\"replica_num\":1,\"iscsi_target_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, IscsiLunApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_lun_api = IscsiLunApi(client)\r\n resp = iscsi_lun_api.create_iscsi_lun([{\"assigned_size\":1,\"replica_num\":1,\"iscsi_target_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_lun\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_lun_api := client.IscsiLun\r\n params := iscsi_lun.NewCreateIscsiLunParams()\r\n params.RequestBody = []*models.IscsiLunCreationParams{\n{\nAssignedSize: pointy.Int64(1),\nReplicaNum: pointy.Int32(1),\nIscsiTargetID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := iscsi_lun_api.CreateIscsiLun(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskIscsiLun) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskIscsiLun)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskIscsiLun) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.IscsiLunApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiLunApi iscsiLunApi = new IscsiLunApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new IscsiLunCreationParams()\n.assignedSize(1L)\n.replicaNum(1)\n.iscsiTargetId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = iscsiLunApi.createIscsiLun(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1727,7 +1895,7 @@ "id": "IscsiLun-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-iscsi-lun \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"IscsiLun-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-iscsi-lun \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"IscsiLun-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IscsiLunApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_lun_api = IscsiLunApi(client)\r\n resp = iscsi_lun_api.update_iscsi_lun({\"data\":{},\"where\":{\"id\":\"IscsiLun-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_lun\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_lun_api := client.IscsiLun\r\n params := iscsi_lun.NewUpdateIscsiLunParams()\r\n params.RequestBody = &models.IscsiLunUpdationParams{\nData: &models.IscsiLunUpdationParamsData{\n},\nWhere: &models.IscsiLunWhereInput{\nID: pointy.String(\"IscsiLun-id\"),\n},\n}\r\n rawResp, err := iscsi_lun_api.UpdateIscsiLun(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskIscsiLun) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskIscsiLun)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskIscsiLun) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.IscsiLunApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiLunApi iscsiLunApi = new IscsiLunApi(client);\r\n IscsiLunUpdationParams params = new IscsiLunUpdationParams()\n.data(new IscsiLunUpdationParamsData())\n.where(new IscsiLunWhereInput()\n.id(\"IscsiLun-id\"));\r\n List resp = iscsiLunApi.updateIscsiLun(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1741,7 +1909,7 @@ "id": "IscsiLun-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-iscsi-lun \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"remove_snapshot\":true},\"where\":{\"id\":\"IscsiLun-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-iscsi-lun \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"remove_snapshot\":true},\"where\":{\"id\":\"IscsiLun-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IscsiLunApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_lun_api = IscsiLunApi(client)\r\n resp = iscsi_lun_api.delete_iscsi_lun({\"data\":{\"remove_snapshot\":True},\"where\":{\"id\":\"IscsiLun-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_lun\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_lun_api := client.IscsiLun\r\n params := iscsi_lun.NewDeleteIscsiLunParams()\r\n params.RequestBody = &models.IscsiLunDeletionParams{\nData: &models.IscsiLunDeletionParamsData{\nRemoveSnapshot: pointy.Bool(true),\n},\nWhere: &models.IscsiLunWhereInput{\nID: pointy.String(\"IscsiLun-id\"),\n},\n}\r\n rawResp, err := iscsi_lun_api.DeleteIscsiLun(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteIscsiLun) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteIscsiLun)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteIscsiLun) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.IscsiLunApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiLunApi iscsiLunApi = new IscsiLunApi(client);\r\n IscsiLunDeletionParams params = new IscsiLunDeletionParams()\n.data(new IscsiLunDeletionParamsData()\n.removeSnapshot(true))\n.where(new IscsiLunWhereInput()\n.id(\"IscsiLun-id\"));\r\n List resp = iscsiLunApi.deleteIscsiLun(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1754,7 +1922,7 @@ "snapshot_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/clone-iscsi-lun-from-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"iscsi_target_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/clone-iscsi-lun-from-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"iscsi_target_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, IscsiLunApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_lun_api = IscsiLunApi(client)\r\n resp = iscsi_lun_api.clone_iscsi_lun_from_snapshot([{\"iscsi_target_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_lun\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_lun_api := client.IscsiLun\r\n params := iscsi_lun.NewCloneIscsiLunFromSnapshotParams()\r\n params.RequestBody = []*models.IscsiLunCloneParams{\n{\nIscsiTargetID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\nSnapshotID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := iscsi_lun_api.CloneIscsiLunFromSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskIscsiLun) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskIscsiLun)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskIscsiLun) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.IscsiLunApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiLunApi iscsiLunApi = new IscsiLunApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new IscsiLunCloneParams()\n.iscsiTargetId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\")\n.snapshotId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = iscsiLunApi.cloneIscsiLunFromSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1766,7 +1934,7 @@ "snapshot_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/rollback-iscsi-lun-from-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"lun_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/rollback-iscsi-lun-from-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"lun_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, IscsiLunApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_lun_api = IscsiLunApi(client)\r\n resp = iscsi_lun_api.rollback_iscsi_lun_from_snapshot([{\"lun_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_lun\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_lun_api := client.IscsiLun\r\n params := iscsi_lun.NewRollbackIscsiLunFromSnapshotParams()\r\n params.RequestBody = []*models.IscsiLunRollbackParams{\n{\nLunID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nSnapshotID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := iscsi_lun_api.RollbackIscsiLunFromSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskIscsiLun) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskIscsiLun)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskIscsiLun) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.IscsiLunApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiLunApi iscsiLunApi = new IscsiLunApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new IscsiLunRollbackParams()\n.lunId(\"ck74rk21wg5lz0786opdnzz5m\")\n.snapshotId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = iscsiLunApi.rollbackIscsiLunFromSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1778,7 +1946,7 @@ "src_lun_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/copy-iscsi-lun \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"name\":\"name-string\",\"src_lun_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/copy-iscsi-lun \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"name\":\"name-string\",\"src_lun_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, IscsiLunApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_lun_api = IscsiLunApi(client)\r\n resp = iscsi_lun_api.copy_iscsi_lun([{\"name\":\"name-string\",\"src_lun_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_lun\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_lun_api := client.IscsiLun\r\n params := iscsi_lun.NewCopyIscsiLunParams()\r\n params.RequestBody = []*models.CopyIscsiLunParams{\n{\nName: pointy.String(\"name-string\"),\nSrcLunID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := iscsi_lun_api.CopyIscsiLun(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskIscsiLun) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskIscsiLun)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskIscsiLun) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.IscsiLunApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiLunApi iscsiLunApi = new IscsiLunApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new CopyIscsiLunParams()\n.name(\"name-string\")\n.srcLunId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = iscsiLunApi.copyIscsiLun(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1794,7 +1962,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-iscsi-target \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"stripe_size\":1,\"stripe_num\":1,\"replica_num\":1,\"thin_provision\":true,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-iscsi-target \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"stripe_size\":1,\"stripe_num\":1,\"replica_num\":1,\"thin_provision\":true,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, IscsiTargetApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_target_api = IscsiTargetApi(client)\r\n resp = iscsi_target_api.create_iscsi_target([{\"stripe_size\":1,\"stripe_num\":1,\"replica_num\":1,\"thin_provision\":True,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_target\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_target_api := client.IscsiTarget\r\n params := iscsi_target.NewCreateIscsiTargetParams()\r\n params.RequestBody = []*models.IscsiTargetCreationParams{\n{\nStripeSize: pointy.Int64(1),\nStripeNum: pointy.Int32(1),\nReplicaNum: pointy.Int32(1),\nThinProvision: pointy.Bool(true),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := iscsi_target_api.CreateIscsiTarget(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskIscsiTarget) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskIscsiTarget)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskIscsiTarget) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.IscsiTargetApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiTargetApi iscsiTargetApi = new IscsiTargetApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new IscsiTargetCreationParams()\n.stripeSize(1L)\n.stripeNum(1)\n.replicaNum(1)\n.thinProvision(true)\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = iscsiTargetApi.createIscsiTarget(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1806,7 +1974,7 @@ "id": "IscsiTarget-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-iscsi-target \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"IscsiTarget-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-iscsi-target \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"IscsiTarget-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IscsiTargetApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_target_api = IscsiTargetApi(client)\r\n resp = iscsi_target_api.update_iscsi_target({\"data\":{},\"where\":{\"id\":\"IscsiTarget-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_target\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_target_api := client.IscsiTarget\r\n params := iscsi_target.NewUpdateIscsiTargetParams()\r\n params.RequestBody = &models.IscsiTargetUpdationParams{\nData: &models.IscsiTargetCommonParams{\n},\nWhere: &models.IscsiTargetWhereInput{\nID: pointy.String(\"IscsiTarget-id\"),\n},\n}\r\n rawResp, err := iscsi_target_api.UpdateIscsiTarget(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskIscsiTarget) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskIscsiTarget)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskIscsiTarget) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.IscsiTargetApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiTargetApi iscsiTargetApi = new IscsiTargetApi(client);\r\n IscsiTargetUpdationParams params = new IscsiTargetUpdationParams()\n.data(new IscsiTargetCommonParams())\n.where(new IscsiTargetWhereInput()\n.id(\"IscsiTarget-id\"));\r\n List resp = iscsiTargetApi.updateIscsiTarget(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1817,7 +1985,7 @@ "id": "IscsiTarget-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-iscsi-target \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiTarget-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-iscsi-target \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiTarget-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IscsiTargetApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_target_api = IscsiTargetApi(client)\r\n resp = iscsi_target_api.delete_iscsi_target({\"where\":{\"id\":\"IscsiTarget-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_target\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_target_api := client.IscsiTarget\r\n params := iscsi_target.NewDeleteIscsiTargetParams()\r\n params.RequestBody = &models.IscsiTargetDeletionParams{\nWhere: &models.IscsiTargetWhereInput{\nID: pointy.String(\"IscsiTarget-id\"),\n},\n}\r\n rawResp, err := iscsi_target_api.DeleteIscsiTarget(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteIscsiTarget) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteIscsiTarget)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteIscsiTarget) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.IscsiTargetApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiTargetApi iscsiTargetApi = new IscsiTargetApi(client);\r\n IscsiTargetDeletionParams params = new IscsiTargetDeletionParams()\n.where(new IscsiTargetWhereInput()\n.id(\"IscsiTarget-id\"));\r\n List resp = iscsiTargetApi.deleteIscsiTarget(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1826,7 +1994,7 @@ "exampleValue": { "file": "file-string" }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/upload-elf-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: multipart/form-data' \\\n\t-d '{\"file\":\"file-string\"}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/upload-elf-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: multipart/form-data' \\\n\t-d '{\"file\":\"file-string\"}'", "python": "from cloudtower import ApiClient, Configuration, ElfImageApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n elf_image_api = ElfImageApi(client)\r\n with open(\"file-path\", \"rb\") as file:\r\n resp = elf_image_api.create_elf_image(\r\n file=file\r\n )\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"bytes\"\r\n \"fmt\"\r\n \"io\"\r\n\r\n \"github.com/go-openapi/runtime\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/elf_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n elf_image_api := client.ElfImage\r\n params := elf_image.NewCreateElfImageParams()\r\n params.File = runtime.NamedReader(\"file\",io.NopCloser(bytes.NewReader([]byte(\"file-string\"))))\r\n resp, err := elf_image_api.CreateElfImage(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ElfImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.nio.file.Files;\r\nimport java.nio.file.Path;\r\nimport java.util.ArrayList;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ElfImageApi elfImageApi = new ElfImageApi(client);\r\n List resp = elfImageApi.createElfImage(\r\n Files.readAllBytes(Path.of(\"file-string\")),\r\n \"cluster_id\",\r\n \"name\",\r\n \"size\",\r\n \"size_unit\",\r\n \"description\",\r\n \"upload_task_id\"\r\n );\r\n }\r\n}" @@ -1838,7 +2006,7 @@ "id": "ElfImage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-elf-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"ElfImage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-elf-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"ElfImage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ElfImageApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n elf_image_api = ElfImageApi(client)\r\n resp = elf_image_api.update_elf_image({\"data\":{},\"where\":{\"id\":\"ElfImage-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/elf_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n elf_image_api := client.ElfImage\r\n params := elf_image.NewUpdateElfImageParams()\r\n params.RequestBody = &models.ElfImageUpdationParams{\nData: &models.ElfImageUpdationParamsData{\n},\nWhere: &models.ElfImageWhereInput{\nID: pointy.String(\"ElfImage-id\"),\n},\n}\r\n rawResp, err := elf_image_api.UpdateElfImage(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskElfImage) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskElfImage)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskElfImage) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ElfImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ElfImageApi elfImageApi = new ElfImageApi(client);\r\n ElfImageUpdationParams params = new ElfImageUpdationParams()\n.data(new ElfImageUpdationParamsData())\n.where(new ElfImageWhereInput()\n.id(\"ElfImage-id\"));\r\n List resp = elfImageApi.updateElfImage(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1849,7 +2017,7 @@ "id": "ElfImage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-elf-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ElfImage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-elf-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ElfImage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ElfImageApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n elf_image_api = ElfImageApi(client)\r\n resp = elf_image_api.delete_elf_image({\"where\":{\"id\":\"ElfImage-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/elf_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n elf_image_api := client.ElfImage\r\n params := elf_image.NewDeleteElfImageParams()\r\n params.RequestBody = &models.ElfImageDeletionParams{\nWhere: &models.ElfImageWhereInput{\nID: pointy.String(\"ElfImage-id\"),\n},\n}\r\n rawResp, err := elf_image_api.DeleteElfImage(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteElfImage) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteElfImage)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteElfImage) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ElfImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ElfImageApi elfImageApi = new ElfImageApi(client);\r\n ElfImageDeletionParams params = new ElfImageDeletionParams()\n.where(new ElfImageWhereInput()\n.id(\"ElfImage-id\"));\r\n List resp = elfImageApi.deleteElfImage(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1860,7 +2028,7 @@ "key": "key-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-label \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"key\":\"key-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-label \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"key\":\"key-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, LabelApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n label_api = LabelApi(client)\r\n resp = label_api.create_label([{\"key\":\"key-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/label\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n label_api := client.Label\r\n params := label.NewCreateLabelParams()\r\n params.RequestBody = []*models.LabelCreationParams{\n{\nKey: pointy.String(\"key-string\"),\n},\n}\r\n rawResp, err := label_api.CreateLabel(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskLabel) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskLabel)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskLabel) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.LabelApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n LabelApi labelApi = new LabelApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new LabelCreationParams()\n.key(\"key-string\"));\r\n List resp = labelApi.createLabel(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1872,7 +2040,7 @@ "id": "Label-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-label \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Label-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-label \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Label-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, LabelApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n label_api = LabelApi(client)\r\n resp = label_api.update_label({\"data\":{},\"where\":{\"id\":\"Label-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/label\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n label_api := client.Label\r\n params := label.NewUpdateLabelParams()\r\n params.RequestBody = &models.LabelUpdationParams{\nData: &models.LabelUpdationParamsData{\n},\nWhere: &models.LabelWhereInput{\nID: pointy.String(\"Label-id\"),\n},\n}\r\n rawResp, err := label_api.UpdateLabel(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskLabel) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskLabel)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskLabel) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.LabelApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n LabelApi labelApi = new LabelApi(client);\r\n LabelUpdationParams params = new LabelUpdationParams()\n.data(new LabelUpdationParamsData())\n.where(new LabelWhereInput()\n.id(\"Label-id\"));\r\n List resp = labelApi.updateLabel(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1884,7 +2052,7 @@ "id": "Label-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/add-labels-to-resources \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Label-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/add-labels-to-resources \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Label-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, LabelApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n label_api = LabelApi(client)\r\n resp = label_api.add_labels_to_resources({\"data\":{},\"where\":{\"id\":\"Label-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/label\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n label_api := client.Label\r\n params := label.NewAddLabelsToResourcesParams()\r\n params.RequestBody = &models.AddLabelsToResourcesParams{\nData: &models.AddLabelsToResourcesParamsData{\n},\nWhere: &models.LabelWhereInput{\nID: pointy.String(\"Label-id\"),\n},\n}\r\n rawResp, err := label_api.AddLabelsToResources(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskLabel) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskLabel)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskLabel) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.LabelApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n LabelApi labelApi = new LabelApi(client);\r\n AddLabelsToResourcesParams params = new AddLabelsToResourcesParams()\n.data(new AddLabelsToResourcesParamsData())\n.where(new LabelWhereInput()\n.id(\"Label-id\"));\r\n List resp = labelApi.addLabelsToResources(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1896,7 +2064,7 @@ "id": "Label-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/remove-labels-from-resources \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Label-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/remove-labels-from-resources \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Label-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, LabelApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n label_api = LabelApi(client)\r\n resp = label_api.remove_labels_from_resources({\"data\":{},\"where\":{\"id\":\"Label-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/label\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n label_api := client.Label\r\n params := label.NewRemoveLabelsFromResourcesParams()\r\n params.RequestBody = &models.RemoveLabelsFromResourcesParams{\nData: &models.RemoveLabelsFromResourcesParamsData{\n},\nWhere: &models.LabelWhereInput{\nID: pointy.String(\"Label-id\"),\n},\n}\r\n rawResp, err := label_api.RemoveLabelsFromResources(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskLabel) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskLabel)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskLabel) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.LabelApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n LabelApi labelApi = new LabelApi(client);\r\n RemoveLabelsFromResourcesParams params = new RemoveLabelsFromResourcesParams()\n.data(new RemoveLabelsFromResourcesParamsData())\n.where(new LabelWhereInput()\n.id(\"Label-id\"));\r\n List resp = labelApi.removeLabelsFromResources(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1907,7 +2075,7 @@ "id": "Label-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-label \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Label-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-label \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Label-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, LabelApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n label_api = LabelApi(client)\r\n resp = label_api.delete_label({\"where\":{\"id\":\"Label-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/label\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n label_api := client.Label\r\n params := label.NewDeleteLabelParams()\r\n params.RequestBody = &models.LabelDeletionParams{\nWhere: &models.LabelWhereInput{\nID: pointy.String(\"Label-id\"),\n},\n}\r\n rawResp, err := label_api.DeleteLabel(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteLabel) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteLabel)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteLabel) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.LabelApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n LabelApi labelApi = new LabelApi(client);\r\n LabelDeletionParams params = new LabelDeletionParams()\n.where(new LabelWhereInput()\n.id(\"Label-id\"));\r\n List resp = labelApi.deleteLabel(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1918,7 +2086,7 @@ "license": "license-string" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-license \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"license\":\"license-string\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-license \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"license\":\"license-string\"}}'", "python": "from cloudtower import ApiClient, Configuration, LicenseApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n license_api = LicenseApi(client)\r\n resp = license_api.update_deploy({\"data\":{\"license\":\"license-string\"}})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/license\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n license_api := client.License\r\n params := license.NewUpdateDeployParams()\r\n params.RequestBody = &models.LicenseUpdationParams{\nData: &models.LicenseUpdationParamsData{\nLicense: pointy.String(\"license-string\"),\n},\n}\r\n rawResp, err := license_api.UpdateDeploy(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.LicenseApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n LicenseApi licenseApi = new LicenseApi(client);\r\n LicenseUpdationParams params = new LicenseUpdationParams()\n.data(new LicenseUpdationParamsData()\n.license(\"license-string\"));\r\n WithTaskLicense resp = licenseApi.updateDeploy(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -1926,18 +2094,18 @@ "/create-log-collection": { "exampleValue": [ { - "log_ended_at": "2024-01-01T00:00:00.000Z", - "log_started_at": "2024-01-01T00:00:00.000Z", + "log_ended_at": "log_ended_at-string", + "log_started_at": "log_started_at-string", "cluster_id": "ck74rk21wg5lz0786opdnzz5m", "hosts": { "id": "Host-id" } } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-log-collection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"log_ended_at\":\"2024-01-01T00:00:00.000Z\",\"log_started_at\":\"2024-01-01T00:00:00.000Z\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"hosts\":{\"id\":\"Host-id\"}}]'", - "python": "from cloudtower import ApiClient, Configuration, LogCollectionApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n log_collection_api = LogCollectionApi(client)\r\n resp = log_collection_api.create_log_collection([{\"log_ended_at\":\"2024-01-01T00:00:00.000Z\",\"log_started_at\":\"2024-01-01T00:00:00.000Z\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"hosts\":{\"id\":\"Host-id\"}}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/log_collection\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n log_collection_api := client.LogCollection\r\n params := log_collection.NewCreateLogCollectionParams()\r\n params.RequestBody = []*models.LogCollectionCreationParams{\n{\nLogEndedAt: pointy.String(\"2024-01-01T00:00:00.000Z\"),\nLogStartedAt: pointy.String(\"2024-01-01T00:00:00.000Z\"),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nHosts: &models.HostWhereInput{\nID: pointy.String(\"Host-id\"),\n},\n},\n}\r\n rawResp, err := log_collection_api.CreateLogCollection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskLogCollection) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskLogCollection)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskLogCollection) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.LogCollectionApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n LogCollectionApi logCollectionApi = new LogCollectionApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new LogCollectionCreationParams()\n.logEndedAt(\"2024-01-01T00:00:00.000Z\")\n.logStartedAt(\"2024-01-01T00:00:00.000Z\")\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.hosts(new HostWhereInput()\n.id(\"Host-id\")));\r\n List resp = logCollectionApi.createLogCollection(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-log-collection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"log_ended_at\":\"log_ended_at-string\",\"log_started_at\":\"log_started_at-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"hosts\":{\"id\":\"Host-id\"}}]'", + "python": "from cloudtower import ApiClient, Configuration, LogCollectionApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n log_collection_api = LogCollectionApi(client)\r\n resp = log_collection_api.create_log_collection([{\"log_ended_at\":\"log_ended_at-string\",\"log_started_at\":\"log_started_at-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"hosts\":{\"id\":\"Host-id\"}}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/log_collection\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n log_collection_api := client.LogCollection\r\n params := log_collection.NewCreateLogCollectionParams()\r\n params.RequestBody = []*models.LogCollectionCreationParams{\n{\nLogEndedAt: pointy.String(\"log_ended_at-string\"),\nLogStartedAt: pointy.String(\"log_started_at-string\"),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nHosts: &models.HostWhereInput{\nID: pointy.String(\"Host-id\"),\n},\n},\n}\r\n rawResp, err := log_collection_api.CreateLogCollection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskLogCollection) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskLogCollection)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskLogCollection) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.LogCollectionApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n LogCollectionApi logCollectionApi = new LogCollectionApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new LogCollectionCreationParams()\n.logEndedAt(\"log_ended_at-string\")\n.logStartedAt(\"log_started_at-string\")\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.hosts(new HostWhereInput()\n.id(\"Host-id\")));\r\n List resp = logCollectionApi.createLogCollection(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" }, "/force-stop-log-collection": { "exampleValue": { @@ -1945,7 +2113,7 @@ "id": "LogCollection-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/force-stop-log-collection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"LogCollection-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/force-stop-log-collection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"LogCollection-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, LogCollectionApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n log_collection_api = LogCollectionApi(client)\r\n resp = log_collection_api.force_stop_log_collection({\"where\":{\"id\":\"LogCollection-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/log_collection\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n log_collection_api := client.LogCollection\r\n params := log_collection.NewForceStopLogCollectionParams()\r\n params.RequestBody = &models.ForceStopLogCollectionParams{\nWhere: &models.LogCollectionWhereInput{\nID: pointy.String(\"LogCollection-id\"),\n},\n}\r\n rawResp, err := log_collection_api.ForceStopLogCollection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskLogCollection) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskLogCollection)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskLogCollection) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.LogCollectionApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n LogCollectionApi logCollectionApi = new LogCollectionApi(client);\r\n ForceStopLogCollectionParams params = new ForceStopLogCollectionParams()\n.where(new LogCollectionWhereInput()\n.id(\"LogCollection-id\"));\r\n List resp = logCollectionApi.forceStopLogCollection(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1956,7 +2124,7 @@ "id": "LogCollection-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-log-collection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"LogCollection-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-log-collection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"LogCollection-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, LogCollectionApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n log_collection_api = LogCollectionApi(client)\r\n resp = log_collection_api.delete_log_collection({\"where\":{\"id\":\"LogCollection-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/log_collection\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n log_collection_api := client.LogCollection\r\n params := log_collection.NewDeleteLogCollectionParams()\r\n params.RequestBody = &models.LogCollectionDeletionParams{\nWhere: &models.LogCollectionWhereInput{\nID: pointy.String(\"LogCollection-id\"),\n},\n}\r\n rawResp, err := log_collection_api.DeleteLogCollection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteLogCollection) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteLogCollection)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteLogCollection) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.LogCollectionApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n LogCollectionApi logCollectionApi = new LogCollectionApi(client);\r\n LogCollectionDeletionParams params = new LogCollectionDeletionParams()\n.where(new LogCollectionWhereInput()\n.id(\"LogCollection-id\"));\r\n List resp = logCollectionApi.deleteLogCollection(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1971,7 +2139,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-vm-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"metrics\":[\"-string\"],\"vms\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-vm-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"metrics\":[\"-string\"],\"vms\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_vm_metrics({\"range\":\"range-string\",\"metrics\":[\"-string\"],\"vms\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetVMMetricsParams()\r\n params.RequestBody = &models.GetVMMetricInput{\nRange: pointy.String(\"range-string\"),\nMetrics: []string{\"-string\",\n},\nVms: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := metrics_api.GetVMMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetVmMetricInput params = new GetVmMetricInput()\n.range(\"range-string\")\n.addMetricsItem(\"-string\")\n.vms(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = metricsApi.getVmMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -1986,7 +2154,7 @@ "id": "Vm-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-vm-network-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"metrics\":[\"-string\"],\"vms\":{\"id\":\"Vm-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-vm-network-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"metrics\":[\"-string\"],\"vms\":{\"id\":\"Vm-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_vm_net_work_metrics({\"range\":\"range-string\",\"metrics\":[\"-string\"],\"vms\":{\"id\":\"Vm-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetVMNetWorkMetricsParams()\r\n params.RequestBody = &models.GetVMNetWorkMetricInput{\nRange: pointy.String(\"range-string\"),\nMetrics: []string{\"-string\",\n},\nVms: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\n}\r\n rawResp, err := metrics_api.GetVMNetWorkMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetVmNetWorkMetricInput params = new GetVmNetWorkMetricInput()\n.range(\"range-string\")\n.addMetricsItem(\"-string\")\n.vms(new VmWhereInput()\n.id(\"Vm-id\"));\r\n List resp = metricsApi.getVmNetWorkMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2001,7 +2169,7 @@ "-string" ] }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-disk-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"disks\":{\"id\":\"Disk-id\"},\"metrics\":[\"-string\"]}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-disk-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"disks\":{\"id\":\"Disk-id\"},\"metrics\":[\"-string\"]}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_disk_metrics({\"range\":\"range-string\",\"disks\":{\"id\":\"Disk-id\"},\"metrics\":[\"-string\"]})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetDiskMetricsParams()\r\n params.RequestBody = &models.GetDiskMetricInput{\nRange: pointy.String(\"range-string\"),\nDisks: &models.DiskWhereInput{\nID: pointy.String(\"Disk-id\"),\n},\nMetrics: []string{\"-string\",\n},\n}\r\n rawResp, err := metrics_api.GetDiskMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetDiskMetricInput params = new GetDiskMetricInput()\n.range(\"range-string\")\n.disks(new DiskWhereInput()\n.id(\"Disk-id\"))\n.addMetricsItem(\"-string\");\r\n List resp = metricsApi.getDiskMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2016,7 +2184,7 @@ "id": "VmVolume-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-vm-volume-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"metrics\":[\"-string\"],\"vmVolumes\":{\"id\":\"VmVolume-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-vm-volume-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"metrics\":[\"-string\"],\"vmVolumes\":{\"id\":\"VmVolume-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_vm_volume_metrics({\"range\":\"range-string\",\"metrics\":[\"-string\"],\"vmVolumes\":{\"id\":\"VmVolume-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetVMVolumeMetricsParams()\r\n params.RequestBody = &models.GetVMVolumeMetricInput{\nRange: pointy.String(\"range-string\"),\nMetrics: []string{\"-string\",\n},\nVMVolumes: &models.VMVolumeWhereInput{\nID: pointy.String(\"VmVolume-id\"),\n},\n}\r\n rawResp, err := metrics_api.GetVMVolumeMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetVmVolumeMetricInput params = new GetVmVolumeMetricInput()\n.range(\"range-string\")\n.addMetricsItem(\"-string\")\n.vmVolumes(new VmVolumeWhereInput()\n.id(\"VmVolume-id\"));\r\n List resp = metricsApi.getVmVolumeMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2031,7 +2199,7 @@ "-string" ] }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-lun-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"luns\":{\"id\":\"IscsiLun-id\"},\"metrics\":[\"-string\"]}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-lun-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"luns\":{\"id\":\"IscsiLun-id\"},\"metrics\":[\"-string\"]}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_lun_metrics({\"range\":\"range-string\",\"luns\":{\"id\":\"IscsiLun-id\"},\"metrics\":[\"-string\"]})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetLunMetricsParams()\r\n params.RequestBody = &models.GetLunMetricInput{\nRange: pointy.String(\"range-string\"),\nLuns: &models.IscsiLunWhereInput{\nID: pointy.String(\"IscsiLun-id\"),\n},\nMetrics: []string{\"-string\",\n},\n}\r\n rawResp, err := metrics_api.GetLunMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetLunMetricInput params = new GetLunMetricInput()\n.range(\"range-string\")\n.luns(new IscsiLunWhereInput()\n.id(\"IscsiLun-id\"))\n.addMetricsItem(\"-string\");\r\n List resp = metricsApi.getLunMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2046,7 +2214,7 @@ ], "range": "range-string" }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-nvmf-namespace-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"nvmfNamespaces\":{\"id\":\"NvmfNamespace-id\"},\"metrics\":[\"-string\"],\"range\":\"range-string\"}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-nvmf-namespace-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"nvmfNamespaces\":{\"id\":\"NvmfNamespace-id\"},\"metrics\":[\"-string\"],\"range\":\"range-string\"}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_nvmf_namespace_metrics({\"nvmfNamespaces\":{\"id\":\"NvmfNamespace-id\"},\"metrics\":[\"-string\"],\"range\":\"range-string\"})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetNvmfNamespaceMetricsParams()\r\n params.RequestBody = &models.GetNvmfNamespaceMetricInput{\nNvmfNamespaces: &models.NvmfNamespaceWhereInput{\nID: pointy.String(\"NvmfNamespace-id\"),\n},\nMetrics: []string{\"-string\",\n},\nRange: pointy.String(\"range-string\"),\n}\r\n rawResp, err := metrics_api.GetNvmfNamespaceMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetNvmfNamespaceMetricInput params = new GetNvmfNamespaceMetricInput()\n.nvmfNamespaces(new NvmfNamespaceWhereInput()\n.id(\"NvmfNamespace-id\"))\n.addMetricsItem(\"-string\")\n.range(\"range-string\");\r\n List resp = metricsApi.getNvmfNamespaceMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2061,7 +2229,7 @@ "-string" ] }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-cluster-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"clusters\":{\"id\":\"Cluster-id\"},\"metrics\":[\"-string\"]}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-cluster-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"clusters\":{\"id\":\"Cluster-id\"},\"metrics\":[\"-string\"]}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_cluster_metrics({\"range\":\"range-string\",\"clusters\":{\"id\":\"Cluster-id\"},\"metrics\":[\"-string\"]})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetClusterMetricsParams()\r\n params.RequestBody = &models.GetClusterMetricInput{\nRange: pointy.String(\"range-string\"),\nClusters: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\nMetrics: []string{\"-string\",\n},\n}\r\n rawResp, err := metrics_api.GetClusterMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetClusterMetricInput params = new GetClusterMetricInput()\n.range(\"range-string\")\n.clusters(new ClusterWhereInput()\n.id(\"Cluster-id\"))\n.addMetricsItem(\"-string\");\r\n List resp = metricsApi.getClusterMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2076,7 +2244,7 @@ "-string" ] }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-host-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"metrics\":[\"-string\"]}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-host-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"metrics\":[\"-string\"]}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_host_metrics({\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"metrics\":[\"-string\"]})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetHostMetricsParams()\r\n params.RequestBody = &models.GetHostMetricInput{\nRange: pointy.String(\"range-string\"),\nHosts: &models.HostWhereInput{\nID: pointy.String(\"Host-id\"),\n},\nMetrics: []string{\"-string\",\n},\n}\r\n rawResp, err := metrics_api.GetHostMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetHostMetricInput params = new GetHostMetricInput()\n.range(\"range-string\")\n.hosts(new HostWhereInput()\n.id(\"Host-id\"))\n.addMetricsItem(\"-string\");\r\n List resp = metricsApi.getHostMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2091,7 +2259,7 @@ "-string" ] }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-host-network-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"hosts\":{\"id\":\"Host-id\"},\"range\":\"range-string\",\"metrics\":[\"-string\"]}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-host-network-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"hosts\":{\"id\":\"Host-id\"},\"range\":\"range-string\",\"metrics\":[\"-string\"]}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_host_network_metrics({\"hosts\":{\"id\":\"Host-id\"},\"range\":\"range-string\",\"metrics\":[\"-string\"]})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetHostNetworkMetricsParams()\r\n params.RequestBody = &models.GetHostNetworkMetricInput{\nHosts: &models.HostWhereInput{\nID: pointy.String(\"Host-id\"),\n},\nRange: pointy.String(\"range-string\"),\nMetrics: []string{\"-string\",\n},\n}\r\n rawResp, err := metrics_api.GetHostNetworkMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetHostNetworkMetricInput params = new GetHostNetworkMetricInput()\n.hosts(new HostWhereInput()\n.id(\"Host-id\"))\n.range(\"range-string\")\n.addMetricsItem(\"-string\");\r\n List resp = metricsApi.getHostNetworkMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2109,7 +2277,7 @@ "-string" ] }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-host-service-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"services\":[\"-string\"],\"metrics\":[\"-string\"]}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-host-service-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"services\":[\"-string\"],\"metrics\":[\"-string\"]}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_host_servicek_metrics({\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"services\":[\"-string\"],\"metrics\":[\"-string\"]})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetHostServicekMetricsParams()\r\n params.RequestBody = &models.GetHostServiceMetricInput{\nRange: pointy.String(\"range-string\"),\nHosts: &models.HostWhereInput{\nID: pointy.String(\"Host-id\"),\n},\nServices: []string{\"-string\",\n},\nMetrics: []string{\"-string\",\n},\n}\r\n rawResp, err := metrics_api.GetHostServicekMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetHostServiceMetricInput params = new GetHostServiceMetricInput()\n.range(\"range-string\")\n.hosts(new HostWhereInput()\n.id(\"Host-id\"))\n.addServicesItem(\"-string\")\n.addMetricsItem(\"-string\");\r\n List resp = metricsApi.getHostServicekMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2124,7 +2292,7 @@ "-string" ] }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-scvm-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"metrics\":[\"-string\"]}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-scvm-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"metrics\":[\"-string\"]}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_scvm_metrics({\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"metrics\":[\"-string\"]})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetScvmMetricsParams()\r\n params.RequestBody = &models.GetScvmMetricInput{\nRange: pointy.String(\"range-string\"),\nHosts: &models.HostWhereInput{\nID: pointy.String(\"Host-id\"),\n},\nMetrics: []string{\"-string\",\n},\n}\r\n rawResp, err := metrics_api.GetScvmMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetScvmMetricInput params = new GetScvmMetricInput()\n.range(\"range-string\")\n.hosts(new HostWhereInput()\n.id(\"Host-id\"))\n.addMetricsItem(\"-string\");\r\n List resp = metricsApi.getScvmMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2139,7 +2307,7 @@ "-string" ] }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-scvm-network-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"metrics\":[\"-string\"]}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-scvm-network-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"metrics\":[\"-string\"]}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_scvm_network_metrics({\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"metrics\":[\"-string\"]})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetScvmNetworkMetricsParams()\r\n params.RequestBody = &models.GetScvmNetworkInput{\nRange: pointy.String(\"range-string\"),\nHosts: &models.HostWhereInput{\nID: pointy.String(\"Host-id\"),\n},\nMetrics: []string{\"-string\",\n},\n}\r\n rawResp, err := metrics_api.GetScvmNetworkMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetScvmNetworkInput params = new GetScvmNetworkInput()\n.range(\"range-string\")\n.hosts(new HostWhereInput()\n.id(\"Host-id\"))\n.addMetricsItem(\"-string\");\r\n List resp = metricsApi.getScvmNetworkMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2157,7 +2325,7 @@ "-string" ] }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-scvm-service-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"services\":[\"-string\"],\"metrics\":[\"-string\"]}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-scvm-service-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"services\":[\"-string\"],\"metrics\":[\"-string\"]}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_scvm_servicek_metrics({\"range\":\"range-string\",\"hosts\":{\"id\":\"Host-id\"},\"services\":[\"-string\"],\"metrics\":[\"-string\"]})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetScvmServicekMetricsParams()\r\n params.RequestBody = &models.GetScvmServiceMetricInput{\nRange: pointy.String(\"range-string\"),\nHosts: &models.HostWhereInput{\nID: pointy.String(\"Host-id\"),\n},\nServices: []string{\"-string\",\n},\nMetrics: []string{\"-string\",\n},\n}\r\n rawResp, err := metrics_api.GetScvmServicekMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetScvmServiceMetricInput params = new GetScvmServiceMetricInput()\n.range(\"range-string\")\n.hosts(new HostWhereInput()\n.id(\"Host-id\"))\n.addServicesItem(\"-string\")\n.addMetricsItem(\"-string\");\r\n List resp = metricsApi.getScvmServicekMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2172,7 +2340,7 @@ "-string" ] }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-scvm-disk-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"disks\":{\"id\":\"Disk-id\"},\"metrics\":[\"-string\"]}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-scvm-disk-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"disks\":{\"id\":\"Disk-id\"},\"metrics\":[\"-string\"]}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_scvm_disk_metrics({\"range\":\"range-string\",\"disks\":{\"id\":\"Disk-id\"},\"metrics\":[\"-string\"]})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetScvmDiskMetricsParams()\r\n params.RequestBody = &models.GetScvmDiskMetricInput{\nRange: pointy.String(\"range-string\"),\nDisks: &models.DiskWhereInput{\nID: pointy.String(\"Disk-id\"),\n},\nMetrics: []string{\"-string\",\n},\n}\r\n rawResp, err := metrics_api.GetScvmDiskMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetScvmDiskMetricInput params = new GetScvmDiskMetricInput()\n.range(\"range-string\")\n.disks(new DiskWhereInput()\n.id(\"Disk-id\"))\n.addMetricsItem(\"-string\");\r\n List resp = metricsApi.getScvmDiskMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2188,7 +2356,7 @@ "-string" ] }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-zone-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"type\":\"primary-to-secondary\",\"clusters\":{\"id\":\"Cluster-id\"},\"metrics\":[\"-string\"]}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-zone-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"type\":\"primary-to-secondary\",\"clusters\":{\"id\":\"Cluster-id\"},\"metrics\":[\"-string\"]}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_zone_metrics({\"range\":\"range-string\",\"type\":\"primary-to-secondary\",\"clusters\":{\"id\":\"Cluster-id\"},\"metrics\":[\"-string\"]})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetZoneMetricsParams()\r\n params.RequestBody = &models.GetZoneMetricInput{\nRange: pointy.String(\"range-string\"),\nType: pointy.String(\"primary-to-secondary\"),\nClusters: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\nMetrics: []string{\"-string\",\n},\n}\r\n rawResp, err := metrics_api.GetZoneMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetZoneMetricInput params = new GetZoneMetricInput()\n.range(\"range-string\")\n.type(\"primary-to-secondary\")\n.clusters(new ClusterWhereInput()\n.id(\"Cluster-id\"))\n.addMetricsItem(\"-string\");\r\n List resp = metricsApi.getZoneMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2203,7 +2371,7 @@ "-string" ] }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-witness-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"clusters\":{\"id\":\"Cluster-id\"},\"metrics\":[\"-string\"]}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-witness-metrics \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"range\":\"range-string\",\"clusters\":{\"id\":\"Cluster-id\"},\"metrics\":[\"-string\"]}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_witness_metrics({\"range\":\"range-string\",\"clusters\":{\"id\":\"Cluster-id\"},\"metrics\":[\"-string\"]})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetWitnessMetricsParams()\r\n params.RequestBody = &models.GetWitnessMetricInput{\nRange: pointy.String(\"range-string\"),\nClusters: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\nMetrics: []string{\"-string\",\n},\n}\r\n rawResp, err := metrics_api.GetWitnessMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetWitnessMetricInput params = new GetWitnessMetricInput()\n.range(\"range-string\")\n.clusters(new ClusterWhereInput()\n.id(\"Cluster-id\"))\n.addMetricsItem(\"-string\");\r\n List resp = metricsApi.getWitnessMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2220,7 +2388,7 @@ "n": 1, "range": "range-string" }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-top-n-metrics-in-clusters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"metrics\":[\"-string\"],\"clusters\":{\"id\":\"Cluster-id\"},\"type\":\"top\",\"n\":1,\"range\":\"range-string\"}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-top-n-metrics-in-clusters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"metrics\":[\"-string\"],\"clusters\":{\"id\":\"Cluster-id\"},\"type\":\"top\",\"n\":1,\"range\":\"range-string\"}'", "python": "from cloudtower import ApiClient, Configuration, MetricsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n metrics_api = MetricsApi(client)\r\n resp = metrics_api.get_top_n_vm_volume_metrics({\"metrics\":[\"-string\"],\"clusters\":{\"id\":\"Cluster-id\"},\"type\":\"top\",\"n\":1,\"range\":\"range-string\"})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/metrics\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n metrics_api := client.Metrics\r\n params := metrics.NewGetTopNVMVolumeMetricsParams()\r\n params.RequestBody = &models.GetTopNMetricInput{\nMetrics: []string{\"-string\",\n},\nClusters: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\nType: pointy.String(\"top\"),\nN: pointy.Int32(1),\nRange: pointy.String(\"range-string\"),\n}\r\n rawResp, err := metrics_api.GetTopNVMVolumeMetrics(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskMetric) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskMetric)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskMetric) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.MetricsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n MetricsApi metricsApi = new MetricsApi(client);\r\n GetTopNMetricInput params = new GetTopNMetricInput()\n.addMetricsItem(\"-string\")\n.clusters(new ClusterWhereInput()\n.id(\"Cluster-id\"))\n.type(\"top\")\n.n(1)\n.range(\"range-string\");\r\n List resp = metricsApi.getTopNVmVolumeMetrics(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2232,7 +2400,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-namespace-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"nvmf_subsystem_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-namespace-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"nvmf_subsystem_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, NamespaceGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n namespace_group_api = NamespaceGroupApi(client)\r\n resp = namespace_group_api.create_namespace_group([{\"nvmf_subsystem_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/namespace_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n namespace_group_api := client.NamespaceGroup\r\n params := namespace_group.NewCreateNamespaceGroupParams()\r\n params.RequestBody = []*models.NamespaceGroupCreationParams{\n{\nNvmfSubsystemID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := namespace_group_api.CreateNamespaceGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskNamespaceGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskNamespaceGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskNamespaceGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NamespaceGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NamespaceGroupApi namespaceGroupApi = new NamespaceGroupApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new NamespaceGroupCreationParams()\n.nvmfSubsystemId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = namespaceGroupApi.createNamespaceGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2244,7 +2412,7 @@ "id": "NamespaceGroup-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-namespace-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"NamespaceGroup-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-namespace-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"NamespaceGroup-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, NamespaceGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n namespace_group_api = NamespaceGroupApi(client)\r\n resp = namespace_group_api.update_namespace_group({\"data\":{},\"where\":{\"id\":\"NamespaceGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/namespace_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n namespace_group_api := client.NamespaceGroup\r\n params := namespace_group.NewUpdateNamespaceGroupParams()\r\n params.RequestBody = &models.NamespaceGroupUpdationParams{\nData: &models.NamespaceGroupUpdationParamsData{\n},\nWhere: &models.NamespaceGroupWhereInput{\nID: pointy.String(\"NamespaceGroup-id\"),\n},\n}\r\n rawResp, err := namespace_group_api.UpdateNamespaceGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskNamespaceGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskNamespaceGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskNamespaceGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NamespaceGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NamespaceGroupApi namespaceGroupApi = new NamespaceGroupApi(client);\r\n NamespaceGroupUpdationParams params = new NamespaceGroupUpdationParams()\n.data(new NamespaceGroupUpdationParamsData())\n.where(new NamespaceGroupWhereInput()\n.id(\"NamespaceGroup-id\"));\r\n List resp = namespaceGroupApi.updateNamespaceGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2255,7 +2423,7 @@ "id": "NamespaceGroup-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-namespace-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"NamespaceGroup-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-namespace-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"NamespaceGroup-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, NamespaceGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n namespace_group_api = NamespaceGroupApi(client)\r\n resp = namespace_group_api.delete_namespace_group({\"where\":{\"id\":\"NamespaceGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/namespace_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n namespace_group_api := client.NamespaceGroup\r\n params := namespace_group.NewDeleteNamespaceGroupParams()\r\n params.RequestBody = &models.NamespaceGroupDeletionParams{\nWhere: &models.NamespaceGroupWhereInput{\nID: pointy.String(\"NamespaceGroup-id\"),\n},\n}\r\n rawResp, err := namespace_group_api.DeleteNamespaceGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteNamespaceGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteNamespaceGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteNamespaceGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NamespaceGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NamespaceGroupApi namespaceGroupApi = new NamespaceGroupApi(client);\r\n NamespaceGroupDeletionParams params = new NamespaceGroupDeletionParams()\n.where(new NamespaceGroupWhereInput()\n.id(\"NamespaceGroup-id\"));\r\n List resp = namespaceGroupApi.deleteNamespaceGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2269,7 +2437,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-nfs-export \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"thin_provision\":true,\"replica_num\":1,\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-nfs-export \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"thin_provision\":true,\"replica_num\":1,\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, NfsExportApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n nfs_export_api = NfsExportApi(client)\r\n resp = nfs_export_api.create_nfs_export([{\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"thin_provision\":True,\"replica_num\":1,\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/nfs_export\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n nfs_export_api := client.NfsExport\r\n params := nfs_export.NewCreateNfsExportParams()\r\n params.RequestBody = []*models.NfsExportCreationParams{\n{\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nThinProvision: pointy.Bool(true),\nReplicaNum: pointy.Int32(1),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := nfs_export_api.CreateNfsExport(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskNfsExport) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskNfsExport)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskNfsExport) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NfsExportApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NfsExportApi nfsExportApi = new NfsExportApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new NfsExportCreationParams()\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.thinProvision(true)\n.replicaNum(1)\n.name(\"name-string\"));\r\n List resp = nfsExportApi.createNfsExport(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2280,7 +2448,7 @@ "id": "NfsExport-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-nfs-export \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"NfsExport-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-nfs-export \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"NfsExport-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, NfsExportApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n nfs_export_api = NfsExportApi(client)\r\n resp = nfs_export_api.update_nfs_export({\"where\":{\"id\":\"NfsExport-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/nfs_export\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n nfs_export_api := client.NfsExport\r\n params := nfs_export.NewUpdateNfsExportParams()\r\n params.RequestBody = &models.NfsExportUpdationParams{\nWhere: &models.NfsExportWhereInput{\nID: pointy.String(\"NfsExport-id\"),\n},\n}\r\n rawResp, err := nfs_export_api.UpdateNfsExport(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskNfsExport) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskNfsExport)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskNfsExport) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NfsExportApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NfsExportApi nfsExportApi = new NfsExportApi(client);\r\n NfsExportUpdationParams params = new NfsExportUpdationParams()\n.where(new NfsExportWhereInput()\n.id(\"NfsExport-id\"));\r\n List resp = nfsExportApi.updateNfsExport(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2291,7 +2459,7 @@ "id": "NfsExport-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-nfs-export \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"NfsExport-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-nfs-export \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"NfsExport-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, NfsExportApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n nfs_export_api = NfsExportApi(client)\r\n resp = nfs_export_api.delete_nfs_export({\"where\":{\"id\":\"NfsExport-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/nfs_export\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n nfs_export_api := client.NfsExport\r\n params := nfs_export.NewDeleteNfsExportParams()\r\n params.RequestBody = &models.NfsExportDeletionParams{\nWhere: &models.NfsExportWhereInput{\nID: pointy.String(\"NfsExport-id\"),\n},\n}\r\n rawResp, err := nfs_export_api.DeleteNfsExport(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteNfsExport) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteNfsExport)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteNfsExport) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NfsExportApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NfsExportApi nfsExportApi = new NfsExportApi(client);\r\n NfsExportDeletionParams params = new NfsExportDeletionParams()\n.where(new NfsExportWhereInput()\n.id(\"NfsExport-id\"));\r\n List resp = nfsExportApi.deleteNfsExport(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2303,7 +2471,7 @@ "id": "Nic-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-nic \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Nic-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-nic \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Nic-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, NicApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n nic_api = NicApi(client)\r\n resp = nic_api.update_nic({\"data\":{},\"where\":{\"id\":\"Nic-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/nic\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n nic_api := client.Nic\r\n params := nic.NewUpdateNicParams()\r\n params.RequestBody = &models.NicUpdationParams{\nData: &models.NicUpdationParamsData{\n},\nWhere: &models.NicWhereInput{\nID: pointy.String(\"Nic-id\"),\n},\n}\r\n rawResp, err := nic_api.UpdateNic(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskNic) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskNic)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskNic) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NicApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NicApi nicApi = new NicApi(client);\r\n NicUpdationParams params = new NicUpdationParams()\n.data(new NicUpdationParamsData())\n.where(new NicWhereInput()\n.id(\"Nic-id\"));\r\n List resp = nicApi.updateNic(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2317,7 +2485,7 @@ } } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/move-node-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"data\":{},\"where\":{\"id\":\"NodeTopo-id\"}}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/move-node-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"data\":{},\"where\":{\"id\":\"NodeTopo-id\"}}]'", "python": "from cloudtower import ApiClient, Configuration, NodeTopoApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n node_topo_api = NodeTopoApi(client)\r\n resp = node_topo_api.update_node_topo([{\"data\":{},\"where\":{\"id\":\"NodeTopo-id\"}}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/node_topo\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n node_topo_api := client.NodeTopo\r\n params := node_topo.NewUpdateNodeTopoParams()\r\n params.RequestBody = []*models.NodeTopUpdationParam{\n{\nData: &models.NodeTopoUpdationParamsData{\n},\nWhere: &models.NodeTopoWhereUniqueInput{\nID: pointy.String(\"NodeTopo-id\"),\n},\n},\n}\r\n rawResp, err := node_topo_api.UpdateNodeTopo(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskNodeTopo) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskNodeTopo)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskNodeTopo) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NodeTopoApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NodeTopoApi nodeTopoApi = new NodeTopoApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new NodeTopUpdationParam()\n.data(new NodeTopoUpdationParamsData())\n.where(new NodeTopoWhereUniqueInput()\n.id(\"NodeTopo-id\")));\r\n List resp = nodeTopoApi.updateNodeTopo(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2330,7 +2498,7 @@ "nvmf_namespace_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-nvmf-namespace-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"nvmf_subsystem_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"nvmf_namespace_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-nvmf-namespace-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"nvmf_subsystem_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"nvmf_namespace_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, NvmfNamespaceSnapshotApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n nvmf_namespace_snapshot_api = NvmfNamespaceSnapshotApi(client)\r\n resp = nvmf_namespace_snapshot_api.create_nvmf_namespace_snapshot([{\"nvmf_subsystem_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"nvmf_namespace_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/nvmf_namespace_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n nvmf_namespace_snapshot_api := client.NvmfNamespaceSnapshot\r\n params := nvmf_namespace_snapshot.NewCreateNvmfNamespaceSnapshotParams()\r\n params.RequestBody = []*models.NvmfNamespaceSnapshotCreationParams{\n{\nNvmfSubsystemID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\nNvmfNamespaceID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := nvmf_namespace_snapshot_api.CreateNvmfNamespaceSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskNvmfNamespaceSnapshot) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskNvmfNamespaceSnapshot)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskNvmfNamespaceSnapshot) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NvmfNamespaceSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NvmfNamespaceSnapshotApi nvmfNamespaceSnapshotApi = new NvmfNamespaceSnapshotApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new NvmfNamespaceSnapshotCreationParams()\n.nvmfSubsystemId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\")\n.nvmfNamespaceId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = nvmfNamespaceSnapshotApi.createNvmfNamespaceSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2341,7 +2509,7 @@ "id": "NvmfNamespaceSnapshot-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-nvmf-namespace-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"NvmfNamespaceSnapshot-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-nvmf-namespace-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"NvmfNamespaceSnapshot-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, NvmfNamespaceSnapshotApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n nvmf_namespace_snapshot_api = NvmfNamespaceSnapshotApi(client)\r\n resp = nvmf_namespace_snapshot_api.delete_nvmf_namespace_snapshot({\"where\":{\"id\":\"NvmfNamespaceSnapshot-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/nvmf_namespace_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n nvmf_namespace_snapshot_api := client.NvmfNamespaceSnapshot\r\n params := nvmf_namespace_snapshot.NewDeleteNvmfNamespaceSnapshotParams()\r\n params.RequestBody = &models.NvmfNamespaceSnapshotDeletionParams{\nWhere: &models.NvmfNamespaceSnapshotWhereInput{\nID: pointy.String(\"NvmfNamespaceSnapshot-id\"),\n},\n}\r\n rawResp, err := nvmf_namespace_snapshot_api.DeleteNvmfNamespaceSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteNvmfNamespaceSnapshot) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteNvmfNamespaceSnapshot)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteNvmfNamespaceSnapshot) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NvmfNamespaceSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NvmfNamespaceSnapshotApi nvmfNamespaceSnapshotApi = new NvmfNamespaceSnapshotApi(client);\r\n NvmfNamespaceSnapshotDeletionParams params = new NvmfNamespaceSnapshotDeletionParams()\n.where(new NvmfNamespaceSnapshotWhereInput()\n.id(\"NvmfNamespaceSnapshot-id\"));\r\n List resp = nvmfNamespaceSnapshotApi.deleteNvmfNamespaceSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2355,7 +2523,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-nvmf-namespace \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"assigned_size\":1,\"replica_num\":1,\"nvmf_subsystem_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-nvmf-namespace \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"assigned_size\":1,\"replica_num\":1,\"nvmf_subsystem_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, NvmfNamespaceApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n nvmf_namespace_api = NvmfNamespaceApi(client)\r\n resp = nvmf_namespace_api.create_nvmf_namespace([{\"assigned_size\":1,\"replica_num\":1,\"nvmf_subsystem_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/nvmf_namespace\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n nvmf_namespace_api := client.NvmfNamespace\r\n params := nvmf_namespace.NewCreateNvmfNamespaceParams()\r\n params.RequestBody = []*models.NvmfNamespaceCreationParams{\n{\nAssignedSize: pointy.Int64(1),\nReplicaNum: pointy.Int32(1),\nNvmfSubsystemID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := nvmf_namespace_api.CreateNvmfNamespace(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskNvmfNamespace) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskNvmfNamespace)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskNvmfNamespace) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NvmfNamespaceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NvmfNamespaceApi nvmfNamespaceApi = new NvmfNamespaceApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new NvmfNamespaceCreationParams()\n.assignedSize(1L)\n.replicaNum(1)\n.nvmfSubsystemId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = nvmfNamespaceApi.createNvmfNamespace(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2367,7 +2535,7 @@ "id": "NvmfNamespace-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-nvmf-namespace \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"NvmfNamespace-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-nvmf-namespace \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"NvmfNamespace-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, NvmfNamespaceApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n nvmf_namespace_api = NvmfNamespaceApi(client)\r\n resp = nvmf_namespace_api.update_nvmf_namespace({\"data\":{},\"where\":{\"id\":\"NvmfNamespace-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/nvmf_namespace\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n nvmf_namespace_api := client.NvmfNamespace\r\n params := nvmf_namespace.NewUpdateNvmfNamespaceParams()\r\n params.RequestBody = &models.NvmfNamespaceUpdationParams{\nData: &models.NvmfNamespaceUpdationParamsData{\n},\nWhere: &models.NvmfNamespaceWhereInput{\nID: pointy.String(\"NvmfNamespace-id\"),\n},\n}\r\n rawResp, err := nvmf_namespace_api.UpdateNvmfNamespace(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskNvmfNamespace) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskNvmfNamespace)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskNvmfNamespace) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NvmfNamespaceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NvmfNamespaceApi nvmfNamespaceApi = new NvmfNamespaceApi(client);\r\n NvmfNamespaceUpdationParams params = new NvmfNamespaceUpdationParams()\n.data(new NvmfNamespaceUpdationParamsData())\n.where(new NvmfNamespaceWhereInput()\n.id(\"NvmfNamespace-id\"));\r\n List resp = nvmfNamespaceApi.updateNvmfNamespace(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2381,7 +2549,7 @@ "id": "NvmfNamespace-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-nvmf-namespace \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"remove_snapshot\":true},\"where\":{\"id\":\"NvmfNamespace-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-nvmf-namespace \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"remove_snapshot\":true},\"where\":{\"id\":\"NvmfNamespace-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, NvmfNamespaceApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n nvmf_namespace_api = NvmfNamespaceApi(client)\r\n resp = nvmf_namespace_api.delete_nvmf_namespace({\"data\":{\"remove_snapshot\":True},\"where\":{\"id\":\"NvmfNamespace-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/nvmf_namespace\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n nvmf_namespace_api := client.NvmfNamespace\r\n params := nvmf_namespace.NewDeleteNvmfNamespaceParams()\r\n params.RequestBody = &models.NvmfNamespaceDeletionParams{\nData: &models.NvmfNamespaceDeletionParamsData{\nRemoveSnapshot: pointy.Bool(true),\n},\nWhere: &models.NvmfNamespaceWhereInput{\nID: pointy.String(\"NvmfNamespace-id\"),\n},\n}\r\n rawResp, err := nvmf_namespace_api.DeleteNvmfNamespace(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteNvmfNamespace) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteNvmfNamespace)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteNvmfNamespace) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NvmfNamespaceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NvmfNamespaceApi nvmfNamespaceApi = new NvmfNamespaceApi(client);\r\n NvmfNamespaceDeletionParams params = new NvmfNamespaceDeletionParams()\n.data(new NvmfNamespaceDeletionParamsData()\n.removeSnapshot(true))\n.where(new NvmfNamespaceWhereInput()\n.id(\"NvmfNamespace-id\"));\r\n List resp = nvmfNamespaceApi.deleteNvmfNamespace(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2394,7 +2562,7 @@ "snapshot_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/clone-nvmf-namespace-from-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"nvmf_subsystem_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/clone-nvmf-namespace-from-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"nvmf_subsystem_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, NvmfNamespaceApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n nvmf_namespace_api = NvmfNamespaceApi(client)\r\n resp = nvmf_namespace_api.clone_nvmf_namespace_from_snapshot([{\"nvmf_subsystem_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/nvmf_namespace\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n nvmf_namespace_api := client.NvmfNamespace\r\n params := nvmf_namespace.NewCloneNvmfNamespaceFromSnapshotParams()\r\n params.RequestBody = []*models.NvmfNamespaceCloneParams{\n{\nNvmfSubsystemID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\nSnapshotID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := nvmf_namespace_api.CloneNvmfNamespaceFromSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskNvmfNamespace) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskNvmfNamespace)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskNvmfNamespace) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NvmfNamespaceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NvmfNamespaceApi nvmfNamespaceApi = new NvmfNamespaceApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new NvmfNamespaceCloneParams()\n.nvmfSubsystemId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\")\n.snapshotId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = nvmfNamespaceApi.cloneNvmfNamespaceFromSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2406,7 +2574,7 @@ "snapshot_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/rollback-nvmf-namespace-from-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"namespace_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/rollback-nvmf-namespace-from-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"namespace_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, NvmfNamespaceApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n nvmf_namespace_api = NvmfNamespaceApi(client)\r\n resp = nvmf_namespace_api.rollback_nvmf_namespace_from_snapshot([{\"namespace_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/nvmf_namespace\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n nvmf_namespace_api := client.NvmfNamespace\r\n params := nvmf_namespace.NewRollbackNvmfNamespaceFromSnapshotParams()\r\n params.RequestBody = []*models.NvmfNamespaceRollbackParams{\n{\nNamespaceID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nSnapshotID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := nvmf_namespace_api.RollbackNvmfNamespaceFromSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskNvmfNamespace) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskNvmfNamespace)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskNvmfNamespace) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NvmfNamespaceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NvmfNamespaceApi nvmfNamespaceApi = new NvmfNamespaceApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new NvmfNamespaceRollbackParams()\n.namespaceId(\"ck74rk21wg5lz0786opdnzz5m\")\n.snapshotId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = nvmfNamespaceApi.rollbackNvmfNamespaceFromSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2423,7 +2591,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-nvmf-subsystem \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"replica_num\":1,\"thin_provision\":true,\"stripe_size\":1,\"stripe_num\":1,\"policy\":\"BALANCE\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-nvmf-subsystem \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"replica_num\":1,\"thin_provision\":true,\"stripe_size\":1,\"stripe_num\":1,\"policy\":\"BALANCE\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, NvmfSubsystemApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n nvmf_subsystem_api = NvmfSubsystemApi(client)\r\n resp = nvmf_subsystem_api.create_nvmf_subsystem([{\"replica_num\":1,\"thin_provision\":True,\"stripe_size\":1,\"stripe_num\":1,\"policy\":\"BALANCE\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/nvmf_subsystem\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n nvmf_subsystem_api := client.NvmfSubsystem\r\n params := nvmf_subsystem.NewCreateNvmfSubsystemParams()\r\n params.RequestBody = []*models.NvmfSubsystemCreationParams{\n{\nReplicaNum: pointy.Int32(1),\nThinProvision: pointy.Bool(true),\nStripeSize: pointy.Int64(1),\nStripeNum: pointy.Int32(1),\nPolicy: models.NvmfSubsystemPolicyTypeBALANCE.Pointer(),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := nvmf_subsystem_api.CreateNvmfSubsystem(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskNvmfSubsystem) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskNvmfSubsystem)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskNvmfSubsystem) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NvmfSubsystemApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NvmfSubsystemApi nvmfSubsystemApi = new NvmfSubsystemApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new NvmfSubsystemCreationParams()\n.replicaNum(1)\n.thinProvision(true)\n.stripeSize(1L)\n.stripeNum(1)\n.policy(NvmfSubsystemPolicyType.fromValue(\"BALANCE\"))\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = nvmfSubsystemApi.createNvmfSubsystem(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2435,7 +2603,7 @@ "id": "NvmfSubsystem-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-nvmf-subsystem \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"NvmfSubsystem-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-nvmf-subsystem \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"NvmfSubsystem-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, NvmfSubsystemApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n nvmf_subsystem_api = NvmfSubsystemApi(client)\r\n resp = nvmf_subsystem_api.update_nvmf_subsystem({\"data\":{},\"where\":{\"id\":\"NvmfSubsystem-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/nvmf_subsystem\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n nvmf_subsystem_api := client.NvmfSubsystem\r\n params := nvmf_subsystem.NewUpdateNvmfSubsystemParams()\r\n params.RequestBody = &models.NvmfSubsystemUpdationParams{\nData: &models.NvmfSubsystemCommonParams{\n},\nWhere: &models.NvmfSubsystemWhereInput{\nID: pointy.String(\"NvmfSubsystem-id\"),\n},\n}\r\n rawResp, err := nvmf_subsystem_api.UpdateNvmfSubsystem(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskNvmfSubsystem) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskNvmfSubsystem)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskNvmfSubsystem) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NvmfSubsystemApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NvmfSubsystemApi nvmfSubsystemApi = new NvmfSubsystemApi(client);\r\n NvmfSubsystemUpdationParams params = new NvmfSubsystemUpdationParams()\n.data(new NvmfSubsystemCommonParams())\n.where(new NvmfSubsystemWhereInput()\n.id(\"NvmfSubsystem-id\"));\r\n List resp = nvmfSubsystemApi.updateNvmfSubsystem(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2446,18 +2614,36 @@ "id": "NvmfSubsystem-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-nvmf-subsystem \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"NvmfSubsystem-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-nvmf-subsystem \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"NvmfSubsystem-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, NvmfSubsystemApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n nvmf_subsystem_api = NvmfSubsystemApi(client)\r\n resp = nvmf_subsystem_api.delete_nvmf_subsystem({\"where\":{\"id\":\"NvmfSubsystem-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/nvmf_subsystem\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n nvmf_subsystem_api := client.NvmfSubsystem\r\n params := nvmf_subsystem.NewDeleteNvmfSubsystemParams()\r\n params.RequestBody = &models.NvmfSubsystemDeletionParams{\nWhere: &models.NvmfSubsystemWhereInput{\nID: pointy.String(\"NvmfSubsystem-id\"),\n},\n}\r\n rawResp, err := nvmf_subsystem_api.DeleteNvmfSubsystem(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteNvmfSubsystem) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteNvmfSubsystem)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteNvmfSubsystem) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.NvmfSubsystemApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n NvmfSubsystemApi nvmfSubsystemApi = new NvmfSubsystemApi(client);\r\n NvmfSubsystemDeletionParams params = new NvmfSubsystemDeletionParams()\n.where(new NvmfSubsystemWhereInput()\n.id(\"NvmfSubsystem-id\"));\r\n List resp = nvmfSubsystemApi.deleteNvmfSubsystem(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" }, + "/disassociate-system-service-from-obs-service": { + "exampleValue": { + "system_service_id": "ck74rk21wg5lz0786opdnzz5m" + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/disassociate-system-service-from-obs-service \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"system_service_id\":\"ck74rk21wg5lz0786opdnzz5m\"}'", + "python": "from cloudtower import ApiClient, Configuration, ObservabilityApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n observability_api = ObservabilityApi(client)\r\n resp = observability_api.disassociate_system_service_from_obs_service({\"system_service_id\":\"ck74rk21wg5lz0786opdnzz5m\"})\r\n wait_task(resp.task_id, client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/observability\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n observability_api := client.Observability\r\n params := observability.NewDisassociateSystemServiceFromObsServiceParams()\r\n params.RequestBody = &models.DisassociateSystemServiceFromObsServiceParams{\nSystemServiceID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n}\r\n rawResp, err := observability_api.DisassociateSystemServiceFromObsService(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ObservabilityApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ObservabilityApi observabilityApi = new ObservabilityApi(client);\r\n DisassociateSystemServiceFromObsServiceParams params = new DisassociateSystemServiceFromObsServiceParams()\n.systemServiceId(\"ck74rk21wg5lz0786opdnzz5m\");\r\n WithTaskDisassociateSystemServiceFromObsServiceResult resp = observabilityApi.disassociateSystemServiceFromObsService(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" + }, + "/clear-system-service-alert-notification-config": { + "exampleValue": { + "system_service_id": "ck74rk21wg5lz0786opdnzz5m" + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/clear-system-service-alert-notification-config \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"system_service_id\":\"ck74rk21wg5lz0786opdnzz5m\"}'", + "python": "from cloudtower import ApiClient, Configuration, ObservabilityApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n observability_api = ObservabilityApi(client)\r\n resp = observability_api.clear_system_service_alert_notification_config({\"system_service_id\":\"ck74rk21wg5lz0786opdnzz5m\"})\r\n wait_task(resp.task_id, client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/observability\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n observability_api := client.Observability\r\n params := observability.NewClearSystemServiceAlertNotificationConfigParams()\r\n params.RequestBody = &models.DisassociateSystemServiceFromObsServiceParams{\nSystemServiceID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n}\r\n rawResp, err := observability_api.ClearSystemServiceAlertNotificationConfig(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ObservabilityApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ObservabilityApi observabilityApi = new ObservabilityApi(client);\r\n DisassociateSystemServiceFromObsServiceParams params = new DisassociateSystemServiceFromObsServiceParams()\n.systemServiceId(\"ck74rk21wg5lz0786opdnzz5m\");\r\n WithTaskDisassociateSystemServiceFromObsServiceResult resp = observabilityApi.clearSystemServiceAlertNotificationConfig(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" + }, "/create-organization": { "exampleValue": [ { "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-organization \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-organization \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, OrganizationApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n organization_api = OrganizationApi(client)\r\n resp = organization_api.create_organization([{\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/organization\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n organization_api := client.Organization\r\n params := organization.NewCreateOrganizationParams()\r\n params.RequestBody = []*models.OrganizationCreationParams{\n{\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := organization_api.CreateOrganization(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskOrganization) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskOrganization)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskOrganization) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.OrganizationApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n OrganizationApi organizationApi = new OrganizationApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new OrganizationCreationParams()\n.name(\"name-string\"));\r\n List resp = organizationApi.createOrganization(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2469,7 +2655,7 @@ "id": "Organization-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-organization \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Organization-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-organization \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Organization-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, OrganizationApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n organization_api = OrganizationApi(client)\r\n resp = organization_api.update_organization({\"data\":{},\"where\":{\"id\":\"Organization-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/organization\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n organization_api := client.Organization\r\n params := organization.NewUpdateOrganizationParams()\r\n params.RequestBody = &models.OrganizationUpdationParams{\nData: &models.OrganizationUpdationParamsData{\n},\nWhere: &models.OrganizationWhereInput{\nID: pointy.String(\"Organization-id\"),\n},\n}\r\n rawResp, err := organization_api.UpdateOrganization(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskOrganization) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskOrganization)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskOrganization) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.OrganizationApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n OrganizationApi organizationApi = new OrganizationApi(client);\r\n OrganizationUpdationParams params = new OrganizationUpdationParams()\n.data(new OrganizationUpdationParamsData())\n.where(new OrganizationWhereInput()\n.id(\"Organization-id\"));\r\n List resp = organizationApi.updateOrganization(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2480,7 +2666,7 @@ "id": "Organization-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-organization \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Organization-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-organization \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Organization-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, OrganizationApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n organization_api = OrganizationApi(client)\r\n resp = organization_api.delete_organization({\"where\":{\"id\":\"Organization-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/organization\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n organization_api := client.Organization\r\n params := organization.NewDeleteOrganizationParams()\r\n params.RequestBody = &models.OrganizationDeletionParams{\nWhere: &models.OrganizationWhereInput{\nID: pointy.String(\"Organization-id\"),\n},\n}\r\n rawResp, err := organization_api.DeleteOrganization(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteOrganization) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteOrganization)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteOrganization) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.OrganizationApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n OrganizationApi organizationApi = new OrganizationApi(client);\r\n OrganizationDeletionParams params = new OrganizationDeletionParams()\n.where(new OrganizationWhereInput()\n.id(\"Organization-id\"));\r\n List resp = organizationApi.deleteOrganization(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2494,7 +2680,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-rack-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"zone_topo_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"height\":1,\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-rack-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"zone_topo_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"height\":1,\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, RackTopoApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n rack_topo_api = RackTopoApi(client)\r\n resp = rack_topo_api.create_rack_topo([{\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"zone_topo_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"height\":1,\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/rack_topo\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n rack_topo_api := client.RackTopo\r\n params := rack_topo.NewCreateRackTopoParams()\r\n params.RequestBody = []*models.RackTopoCreationParams{\n{\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nZoneTopoID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nHeight: pointy.Int32(1),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := rack_topo_api.CreateRackTopo(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskRackTopo) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskRackTopo)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskRackTopo) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.RackTopoApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n RackTopoApi rackTopoApi = new RackTopoApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new RackTopoCreationParams()\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.zoneTopoId(\"ck74rk21wg5lz0786opdnzz5m\")\n.height(1)\n.name(\"name-string\"));\r\n List resp = rackTopoApi.createRackTopo(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2506,7 +2692,7 @@ "id": "RackTopo-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-rack-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"RackTopo-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-rack-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"RackTopo-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, RackTopoApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n rack_topo_api = RackTopoApi(client)\r\n resp = rack_topo_api.update_rack_topo({\"data\":{},\"where\":{\"id\":\"RackTopo-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/rack_topo\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n rack_topo_api := client.RackTopo\r\n params := rack_topo.NewUpdateRackTopoParams()\r\n params.RequestBody = &models.RackTopoUpdationParams{\nData: &models.RackTopoUpdationParamsData{\n},\nWhere: &models.RackTopoWhereInput{\nID: pointy.String(\"RackTopo-id\"),\n},\n}\r\n rawResp, err := rack_topo_api.UpdateRackTopo(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskRackTopo) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskRackTopo)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskRackTopo) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.RackTopoApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n RackTopoApi rackTopoApi = new RackTopoApi(client);\r\n RackTopoUpdationParams params = new RackTopoUpdationParams()\n.data(new RackTopoUpdationParamsData())\n.where(new RackTopoWhereInput()\n.id(\"RackTopo-id\"));\r\n List resp = rackTopoApi.updateRackTopo(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2517,7 +2703,7 @@ "id": "RackTopo-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-rack-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"RackTopo-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-rack-topo \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"RackTopo-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, RackTopoApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n rack_topo_api = RackTopoApi(client)\r\n resp = rack_topo_api.delete_rack_topo({\"where\":{\"id\":\"RackTopo-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/rack_topo\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n rack_topo_api := client.RackTopo\r\n params := rack_topo.NewDeleteRackTopoParams()\r\n params.RequestBody = &models.RackTopoDeletionParams{\nWhere: &models.RackTopoWhereInput{\nID: pointy.String(\"RackTopo-id\"),\n},\n}\r\n rawResp, err := rack_topo_api.DeleteRackTopo(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteRackTopo) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteRackTopo)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteRackTopo) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.RackTopoApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n RackTopoApi rackTopoApi = new RackTopoApi(client);\r\n RackTopoDeletionParams params = new RackTopoDeletionParams()\n.where(new RackTopoWhereInput()\n.id(\"RackTopo-id\"));\r\n List resp = rackTopoApi.deleteRackTopo(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2527,7 +2713,7 @@ "retain": 1, "enabled": true }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-global-recycle-bin-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"retain\":1,\"enabled\":true}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-global-recycle-bin-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"retain\":1,\"enabled\":true}'", "python": "from cloudtower import ApiClient, Configuration, GlobalSettingsApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n global_settings_api = GlobalSettingsApi(client)\r\n resp = global_settings_api.update_global_recycle_bin_setting({\"retain\":1,\"enabled\":True})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/global_settings\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n global_settings_api := client.GlobalSettings\r\n params := global_settings.NewUpdateGlobalRecycleBinSettingParams()\r\n params.RequestBody = &models.GlobalRecycleBinUpdationParams{\nRetain: pointy.Int32(1),\nEnabled: pointy.Bool(true),\n}\r\n rawResp, err := global_settings_api.UpdateGlobalRecycleBinSetting(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GlobalSettingsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GlobalSettingsApi globalSettingsApi = new GlobalSettingsApi(client);\r\n GlobalRecycleBinUpdationParams params = new GlobalRecycleBinUpdationParams()\n.retain(1)\n.enabled(true);\r\n WithTaskGlobalSettings resp = globalSettingsApi.updateGlobalRecycleBinSetting(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -2542,7 +2728,7 @@ "id": "Cluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-cluster-recycle-bin-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"retain\":1,\"enabled\":true},\"where\":{\"id\":\"Cluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-cluster-recycle-bin-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"retain\":1,\"enabled\":true},\"where\":{\"id\":\"Cluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GlobalSettingsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n global_settings_api = GlobalSettingsApi(client)\r\n resp = global_settings_api.create_cluster_recycle_bin_setting({\"data\":{\"retain\":1,\"enabled\":True},\"where\":{\"id\":\"Cluster-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/global_settings\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n global_settings_api := client.GlobalSettings\r\n params := global_settings.NewCreateClusterRecycleBinSettingParams()\r\n params.RequestBody = &models.ClusterRecycleBinCreationParams{\nData: &models.ClusterRecycleBinCreationParamsData{\nRetain: pointy.Int32(1),\nEnabled: pointy.Bool(true),\n},\nWhere: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n}\r\n rawResp, err := global_settings_api.CreateClusterRecycleBinSetting(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskClusterSettings) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskClusterSettings)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskClusterSettings) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GlobalSettingsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GlobalSettingsApi globalSettingsApi = new GlobalSettingsApi(client);\r\n ClusterRecycleBinCreationParams params = new ClusterRecycleBinCreationParams()\n.data(new ClusterRecycleBinCreationParamsData()\n.retain(1)\n.enabled(true))\n.where(new ClusterWhereInput()\n.id(\"Cluster-id\"));\r\n List resp = globalSettingsApi.createClusterRecycleBinSetting(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2557,7 +2743,7 @@ "id": "Cluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-cluster-recycle-bin-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"retain\":1,\"enabled\":true},\"where\":{\"id\":\"Cluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-cluster-recycle-bin-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"retain\":1,\"enabled\":true},\"where\":{\"id\":\"Cluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GlobalSettingsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n global_settings_api = GlobalSettingsApi(client)\r\n resp = global_settings_api.update_cluster_recycle_bin_setting({\"data\":{\"retain\":1,\"enabled\":True},\"where\":{\"id\":\"Cluster-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/global_settings\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n global_settings_api := client.GlobalSettings\r\n params := global_settings.NewUpdateClusterRecycleBinSettingParams()\r\n params.RequestBody = &models.ClusterRecycleBinUpdationParams{\nData: &models.ClusterRecycleBinUpdationParamsData{\nRetain: pointy.Int32(1),\nEnabled: pointy.Bool(true),\n},\nWhere: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n}\r\n rawResp, err := global_settings_api.UpdateClusterRecycleBinSetting(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskClusterSettings) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskClusterSettings)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskClusterSettings) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GlobalSettingsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GlobalSettingsApi globalSettingsApi = new GlobalSettingsApi(client);\r\n ClusterRecycleBinUpdationParams params = new ClusterRecycleBinUpdationParams()\n.data(new ClusterRecycleBinUpdationParamsData()\n.retain(1)\n.enabled(true))\n.where(new ClusterWhereInput()\n.id(\"Cluster-id\"));\r\n List resp = globalSettingsApi.updateClusterRecycleBinSetting(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2568,7 +2754,7 @@ "id": "Cluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-cluster-recycle-bin-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Cluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-cluster-recycle-bin-setting \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Cluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GlobalSettingsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n global_settings_api = GlobalSettingsApi(client)\r\n resp = global_settings_api.delete_cluster_recycle_bin_setting({\"where\":{\"id\":\"Cluster-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/global_settings\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n global_settings_api := client.GlobalSettings\r\n params := global_settings.NewDeleteClusterRecycleBinSettingParams()\r\n params.RequestBody = &models.ClusterRecycleBinDeletionParams{\nWhere: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n}\r\n rawResp, err := global_settings_api.DeleteClusterRecycleBinSetting(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteClusterRecycleBin) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteClusterRecycleBin)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteClusterRecycleBin) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GlobalSettingsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GlobalSettingsApi globalSettingsApi = new GlobalSettingsApi(client);\r\n ClusterRecycleBinDeletionParams params = new ClusterRecycleBinDeletionParams()\n.where(new ClusterWhereInput()\n.id(\"Cluster-id\"));\r\n List resp = globalSettingsApi.deleteClusterRecycleBinSetting(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2588,7 +2774,7 @@ ], "execute_plan": [ { - "start_at": "2024-01-01T00:00:00.000Z", + "start_at": "start_at-string", "retain": 1, "period": "period-string", "id": "ck74rk21wg5lz0786opdnzz5m", @@ -2598,10 +2784,10 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-report-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"resource_meta\":[{\"type\":\"ALERT\",\"name\":\"name-string\",\"filter\":\"\",\"fields\":[\"-string\"]}],\"execute_plan\":[{\"start_at\":\"2024-01-01T00:00:00.000Z\",\"retain\":1,\"period\":\"period-string\",\"id\":\"ck74rk21wg5lz0786opdnzz5m\",\"enabled\":true}],\"name\":\"name-string\"}]'", - "python": "from cloudtower import ApiClient, Configuration, ReportTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n report_template_api = ReportTemplateApi(client)\r\n resp = report_template_api.create_report_template([{\"resource_meta\":[{\"type\":\"ALERT\",\"name\":\"name-string\",\"filter\":\"\",\"fields\":[\"-string\"]}],\"execute_plan\":[{\"start_at\":\"2024-01-01T00:00:00.000Z\",\"retain\":1,\"period\":\"period-string\",\"id\":\"ck74rk21wg5lz0786opdnzz5m\",\"enabled\":True}],\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/report_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n report_template_api := client.ReportTemplate\r\n params := report_template.NewCreateReportTemplateParams()\r\n params.RequestBody = []*models.ReportTemplateCreationParams{\n{\nResourceMeta: []*models.ResourceMeta{\n{\nType: models.ReportResourceInputEnumALERT.Pointer(),\nName: pointy.String(\"name-string\"),\nFilter: interface{}(\"\"),\nFields: []string{\"-string\",\n},\n},\n},\nExecutePlan: []*models.ExecutePlan{\n{\nStartAt: pointy.String(\"2024-01-01T00:00:00.000Z\"),\nRetain: pointy.Int32(1),\nPeriod: pointy.String(\"period-string\"),\nID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nEnabled: pointy.Bool(true),\n},\n},\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := report_template_api.CreateReportTemplate(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskReportTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskReportTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskReportTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ReportTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ReportTemplateApi reportTemplateApi = new ReportTemplateApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new ReportTemplateCreationParams()\n.addResourceMetaItem(new ResourceMeta()\n.type(ReportResourceInputEnum.fromValue(\"ALERT\"))\n.name(\"name-string\")\n.filter(new Object())\n.addFieldsItem(\"-string\"))\n.addExecutePlanItem(new ExecutePlan()\n.startAt(\"2024-01-01T00:00:00.000Z\")\n.retain(1)\n.period(\"period-string\")\n.id(\"ck74rk21wg5lz0786opdnzz5m\")\n.enabled(true))\n.name(\"name-string\"));\r\n List resp = reportTemplateApi.createReportTemplate(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-report-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"resource_meta\":[{\"type\":\"ALERT\",\"name\":\"name-string\",\"filter\":\"\",\"fields\":[\"-string\"]}],\"execute_plan\":[{\"start_at\":\"start_at-string\",\"retain\":1,\"period\":\"period-string\",\"id\":\"ck74rk21wg5lz0786opdnzz5m\",\"enabled\":true}],\"name\":\"name-string\"}]'", + "python": "from cloudtower import ApiClient, Configuration, ReportTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n report_template_api = ReportTemplateApi(client)\r\n resp = report_template_api.create_report_template([{\"resource_meta\":[{\"type\":\"ALERT\",\"name\":\"name-string\",\"filter\":\"\",\"fields\":[\"-string\"]}],\"execute_plan\":[{\"start_at\":\"start_at-string\",\"retain\":1,\"period\":\"period-string\",\"id\":\"ck74rk21wg5lz0786opdnzz5m\",\"enabled\":True}],\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/report_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n report_template_api := client.ReportTemplate\r\n params := report_template.NewCreateReportTemplateParams()\r\n params.RequestBody = []*models.ReportTemplateCreationParams{\n{\nResourceMeta: []*models.ResourceMeta{\n{\nType: models.ReportResourceInputEnumALERT.Pointer(),\nName: pointy.String(\"name-string\"),\nFilter: interface{}(\"\"),\nFields: []string{\"-string\",\n},\n},\n},\nExecutePlan: []*models.ExecutePlan{\n{\nStartAt: pointy.String(\"start_at-string\"),\nRetain: pointy.Int32(1),\nPeriod: pointy.String(\"period-string\"),\nID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nEnabled: pointy.Bool(true),\n},\n},\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := report_template_api.CreateReportTemplate(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskReportTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskReportTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskReportTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ReportTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ReportTemplateApi reportTemplateApi = new ReportTemplateApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new ReportTemplateCreationParams()\n.addResourceMetaItem(new ResourceMeta()\n.type(ReportResourceInputEnum.fromValue(\"ALERT\"))\n.name(\"name-string\")\n.filter(new Object())\n.addFieldsItem(\"-string\"))\n.addExecutePlanItem(new ExecutePlan()\n.startAt(\"start_at-string\")\n.retain(1)\n.period(\"period-string\")\n.id(\"ck74rk21wg5lz0786opdnzz5m\")\n.enabled(true))\n.name(\"name-string\"));\r\n List resp = reportTemplateApi.createReportTemplate(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" }, "/update-report-template": { "exampleValue": { @@ -2610,7 +2796,7 @@ "id": "ReportTemplate-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-report-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"ReportTemplate-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-report-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"ReportTemplate-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ReportTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n report_template_api = ReportTemplateApi(client)\r\n resp = report_template_api.update_report_template({\"data\":{},\"where\":{\"id\":\"ReportTemplate-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/report_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n report_template_api := client.ReportTemplate\r\n params := report_template.NewUpdateReportTemplateParams()\r\n params.RequestBody = &models.ReportTemplateUpdationParams{\nData: &models.ReportTemplateUpdationParamsData{\n},\nWhere: &models.ReportTemplateWhereInput{\nID: pointy.String(\"ReportTemplate-id\"),\n},\n}\r\n rawResp, err := report_template_api.UpdateReportTemplate(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskReportTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskReportTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskReportTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ReportTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ReportTemplateApi reportTemplateApi = new ReportTemplateApi(client);\r\n ReportTemplateUpdationParams params = new ReportTemplateUpdationParams()\n.data(new ReportTemplateUpdationParamsData())\n.where(new ReportTemplateWhereInput()\n.id(\"ReportTemplate-id\"));\r\n List resp = reportTemplateApi.updateReportTemplate(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2621,7 +2807,7 @@ "id": "ReportTemplate-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/generate-from-report-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ReportTemplate-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/generate-from-report-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ReportTemplate-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ReportTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n report_template_api = ReportTemplateApi(client)\r\n resp = report_template_api.generate_from_report_template({\"where\":{\"id\":\"ReportTemplate-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/report_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n report_template_api := client.ReportTemplate\r\n params := report_template.NewGenerateFromReportTemplateParams()\r\n params.RequestBody = &models.ReporteTemplateGenerationParams{\nWhere: &models.ReportTemplateWhereInput{\nID: pointy.String(\"ReportTemplate-id\"),\n},\n}\r\n rawResp, err := report_template_api.GenerateFromReportTemplate(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskReportTask) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskReportTask)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskReportTask) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ReportTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ReportTemplateApi reportTemplateApi = new ReportTemplateApi(client);\r\n ReporteTemplateGenerationParams params = new ReporteTemplateGenerationParams()\n.where(new ReportTemplateWhereInput()\n.id(\"ReportTemplate-id\"));\r\n List resp = reportTemplateApi.generateFromReportTemplate(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2632,7 +2818,7 @@ "id": "ReportTemplate-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-report-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ReportTemplate-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-report-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ReportTemplate-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ReportTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n report_template_api = ReportTemplateApi(client)\r\n resp = report_template_api.delete_report_template({\"where\":{\"id\":\"ReportTemplate-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/report_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n report_template_api := client.ReportTemplate\r\n params := report_template.NewDeleteReportTemplateParams()\r\n params.RequestBody = &models.ReportTemplateDeletionParams{\nWhere: &models.ReportTemplateWhereInput{\nID: pointy.String(\"ReportTemplate-id\"),\n},\n}\r\n rawResp, err := report_template_api.DeleteReportTemplate(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteReportTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteReportTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteReportTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ReportTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ReportTemplateApi reportTemplateApi = new ReportTemplateApi(client);\r\n ReportTemplateDeletionParams params = new ReportTemplateDeletionParams()\n.where(new ReportTemplateWhereInput()\n.id(\"ReportTemplate-id\"));\r\n List resp = reportTemplateApi.deleteReportTemplate(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2646,7 +2832,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-role \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"actions\":[\"*\"],\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-role \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"actions\":[\"*\"],\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, UserRoleNextApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n user_role_next_api = UserRoleNextApi(client)\r\n resp = user_role_next_api.create_role([{\"actions\":[\"*\"],\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/user_role_next\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n user_role_next_api := client.UserRoleNext\r\n params := user_role_next.NewCreateRoleParams()\r\n params.RequestBody = []*models.RoleCreationParams{\n{\nActions: []*models.RoleAction{\nmodels.RoleAction*.Pointer(),\n},\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := user_role_next_api.CreateRole(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskUserRoleNext) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskUserRoleNext)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskUserRoleNext) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.UserRoleNextApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n UserRoleNextApi userRoleNextApi = new UserRoleNextApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new RoleCreationParams()\n.addActionsItem(RoleAction.fromValue(\"*\"))\n.name(\"name-string\"));\r\n List resp = userRoleNextApi.createRole(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2658,7 +2844,7 @@ "id": "UserRoleNext-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-role \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"UserRoleNext-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-role \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"UserRoleNext-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, UserRoleNextApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n user_role_next_api = UserRoleNextApi(client)\r\n resp = user_role_next_api.update_role({\"data\":{},\"where\":{\"id\":\"UserRoleNext-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/user_role_next\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n user_role_next_api := client.UserRoleNext\r\n params := user_role_next.NewUpdateRoleParams()\r\n params.RequestBody = &models.RoleUpdationParams{\nData: &models.RoleUpdationParamsData{\n},\nWhere: &models.UserRoleNextWhereInput{\nID: pointy.String(\"UserRoleNext-id\"),\n},\n}\r\n rawResp, err := user_role_next_api.UpdateRole(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskUserRoleNext) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskUserRoleNext)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskUserRoleNext) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.UserRoleNextApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n UserRoleNextApi userRoleNextApi = new UserRoleNextApi(client);\r\n RoleUpdationParams params = new RoleUpdationParams()\n.data(new RoleUpdationParamsData())\n.where(new UserRoleNextWhereInput()\n.id(\"UserRoleNext-id\"));\r\n List resp = userRoleNextApi.updateRole(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2669,7 +2855,7 @@ "id": "UserRoleNext-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-role \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"UserRoleNext-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-role \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"UserRoleNext-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, UserRoleNextApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n user_role_next_api = UserRoleNextApi(client)\r\n resp = user_role_next_api.delete_role({\"where\":{\"id\":\"UserRoleNext-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/user_role_next\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n user_role_next_api := client.UserRoleNext\r\n params := user_role_next.NewDeleteRoleParams()\r\n params.RequestBody = &models.RoleDeletionParams{\nWhere: &models.UserRoleNextWhereInput{\nID: pointy.String(\"UserRoleNext-id\"),\n},\n}\r\n rawResp, err := user_role_next_api.DeleteRole(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteRole) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteRole)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteRole) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.UserRoleNextApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n UserRoleNextApi userRoleNextApi = new UserRoleNextApi(client);\r\n RoleDeletionParams params = new RoleDeletionParams()\n.where(new UserRoleNextWhereInput()\n.id(\"UserRoleNext-id\"));\r\n List resp = userRoleNextApi.deleteRole(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2679,7 +2865,7 @@ "everoute_cluster_id": "ck74rk21wg5lz0786opdnzz5m", "name": "name-string" }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-security-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"everoute_cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-security-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"everoute_cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}'", "python": "from cloudtower import ApiClient, Configuration, SecurityGroupApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n security_group_api = SecurityGroupApi(client)\r\n resp = security_group_api.create_security_group({\"everoute_cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/security_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n security_group_api := client.SecurityGroup\r\n params := security_group.NewCreateSecurityGroupParams()\r\n params.RequestBody = &models.SecurityGroupCreateParams{\nEverouteClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n}\r\n rawResp, err := security_group_api.CreateSecurityGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SecurityGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SecurityGroupApi securityGroupApi = new SecurityGroupApi(client);\r\n SecurityGroupCreateParams params = new SecurityGroupCreateParams()\n.everouteClusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\");\r\n WithTaskSecurityGroup resp = securityGroupApi.createSecurityGroup(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -2690,7 +2876,7 @@ "id": "SecurityGroup-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-security-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SecurityGroup-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-security-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SecurityGroup-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SecurityGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n security_group_api = SecurityGroupApi(client)\r\n resp = security_group_api.delete_security_group({\"where\":{\"id\":\"SecurityGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/security_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n security_group_api := client.SecurityGroup\r\n params := security_group.NewDeleteSecurityGroupParams()\r\n params.RequestBody = &models.SecurityGroupDeleteParams{\nWhere: &models.SecurityGroupWhereInput{\nID: pointy.String(\"SecurityGroup-id\"),\n},\n}\r\n rawResp, err := security_group_api.DeleteSecurityGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteSecurityGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteSecurityGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteSecurityGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SecurityGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SecurityGroupApi securityGroupApi = new SecurityGroupApi(client);\r\n SecurityGroupDeleteParams params = new SecurityGroupDeleteParams()\n.where(new SecurityGroupWhereInput()\n.id(\"SecurityGroup-id\"));\r\n List resp = securityGroupApi.deleteSecurityGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2702,7 +2888,7 @@ "id": "SecurityGroup-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-security-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"SecurityGroup-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-security-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"SecurityGroup-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SecurityGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n security_group_api = SecurityGroupApi(client)\r\n resp = security_group_api.update_security_group({\"data\":{},\"where\":{\"id\":\"SecurityGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/security_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n security_group_api := client.SecurityGroup\r\n params := security_group.NewUpdateSecurityGroupParams()\r\n params.RequestBody = &models.SecurityGroupUpdateBody{\nData: &models.SecurityGroupUpdateParams{\n},\nWhere: &models.SecurityGroupWhereInput{\nID: pointy.String(\"SecurityGroup-id\"),\n},\n}\r\n rawResp, err := security_group_api.UpdateSecurityGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSecurityGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSecurityGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSecurityGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SecurityGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SecurityGroupApi securityGroupApi = new SecurityGroupApi(client);\r\n SecurityGroupUpdateBody params = new SecurityGroupUpdateBody()\n.data(new SecurityGroupUpdateParams())\n.where(new SecurityGroupWhereInput()\n.id(\"SecurityGroup-id\"));\r\n List resp = securityGroupApi.updateSecurityGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2712,7 +2898,7 @@ "everoute_cluster_id": "ck74rk21wg5lz0786opdnzz5m", "name": "name-string" }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-security-policy \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"everoute_cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-security-policy \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"everoute_cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}'", "python": "from cloudtower import ApiClient, Configuration, SecurityPolicyApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n security_policy_api = SecurityPolicyApi(client)\r\n resp = security_policy_api.create_security_policy({\"everoute_cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/security_policy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n security_policy_api := client.SecurityPolicy\r\n params := security_policy.NewCreateSecurityPolicyParams()\r\n params.RequestBody = &models.SecurityPolicyCreateParams{\nEverouteClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n}\r\n rawResp, err := security_policy_api.CreateSecurityPolicy(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SecurityPolicyApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SecurityPolicyApi securityPolicyApi = new SecurityPolicyApi(client);\r\n SecurityPolicyCreateParams params = new SecurityPolicyCreateParams()\n.everouteClusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\");\r\n WithTaskSecurityPolicy resp = securityPolicyApi.createSecurityPolicy(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -2723,7 +2909,7 @@ "id": "SecurityPolicy-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-security-policy \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SecurityPolicy-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-security-policy \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SecurityPolicy-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SecurityPolicyApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n security_policy_api = SecurityPolicyApi(client)\r\n resp = security_policy_api.delete_security_policy({\"where\":{\"id\":\"SecurityPolicy-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/security_policy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n security_policy_api := client.SecurityPolicy\r\n params := security_policy.NewDeleteSecurityPolicyParams()\r\n params.RequestBody = &models.SecurityPolicyDeleteParams{\nWhere: &models.SecurityPolicyWhereInput{\nID: pointy.String(\"SecurityPolicy-id\"),\n},\n}\r\n rawResp, err := security_policy_api.DeleteSecurityPolicy(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteSecurityPolicy) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteSecurityPolicy)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteSecurityPolicy) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SecurityPolicyApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SecurityPolicyApi securityPolicyApi = new SecurityPolicyApi(client);\r\n SecurityPolicyDeleteParams params = new SecurityPolicyDeleteParams()\n.where(new SecurityPolicyWhereInput()\n.id(\"SecurityPolicy-id\"));\r\n List resp = securityPolicyApi.deleteSecurityPolicy(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2735,14 +2921,14 @@ "id": "SecurityPolicy-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-security-policy \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"SecurityPolicy-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-security-policy \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"SecurityPolicy-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SecurityPolicyApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n security_policy_api = SecurityPolicyApi(client)\r\n resp = security_policy_api.update_security_policy({\"data\":{},\"where\":{\"id\":\"SecurityPolicy-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/security_policy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n security_policy_api := client.SecurityPolicy\r\n params := security_policy.NewUpdateSecurityPolicyParams()\r\n params.RequestBody = &models.SecurityPolicyUpdateBody{\nData: &models.SecurityPolicyUpdateParams{\n},\nWhere: &models.SecurityPolicyWhereInput{\nID: pointy.String(\"SecurityPolicy-id\"),\n},\n}\r\n rawResp, err := security_policy_api.UpdateSecurityPolicy(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSecurityPolicy) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSecurityPolicy)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSecurityPolicy) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SecurityPolicyApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SecurityPolicyApi securityPolicyApi = new SecurityPolicyApi(client);\r\n SecurityPolicyUpdateBody params = new SecurityPolicyUpdateBody()\n.data(new SecurityPolicyUpdateParams())\n.where(new SecurityPolicyWhereInput()\n.id(\"SecurityPolicy-id\"));\r\n List resp = securityPolicyApi.updateSecurityPolicy(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" }, "/update-password-security": { "exampleValue": {}, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-password-security \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-password-security \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{}'", "python": "from cloudtower import ApiClient, Configuration, GlobalSettingsApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n global_settings_api = GlobalSettingsApi(client)\r\n resp = global_settings_api.update_password_security({})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/global_settings\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n global_settings_api := client.GlobalSettings\r\n params := global_settings.NewUpdatePasswordSecurityParams()\r\n params.RequestBody = &models.UpdatePassrodSecurityParams{\n}\r\n rawResp, err := global_settings_api.UpdatePasswordSecurity(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GlobalSettingsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GlobalSettingsApi globalSettingsApi = new GlobalSettingsApi(client);\r\n UpdatePassrodSecurityParams params = new UpdatePassrodSecurityParams();\r\n WithTaskGlobalSettings resp = globalSettingsApi.updatePasswordSecurity(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -2754,7 +2940,7 @@ ], "access_mode": "ALLOW" }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-access-restriction \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"access_list\":[\"-string\"],\"access_mode\":\"ALLOW\"}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-access-restriction \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"access_list\":[\"-string\"],\"access_mode\":\"ALLOW\"}'", "python": "from cloudtower import ApiClient, Configuration, GlobalSettingsApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n global_settings_api = GlobalSettingsApi(client)\r\n resp = global_settings_api.update_access_restriction({\"access_list\":[\"-string\"],\"access_mode\":\"ALLOW\"})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/global_settings\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n global_settings_api := client.GlobalSettings\r\n params := global_settings.NewUpdateAccessRestrictionParams()\r\n params.RequestBody = &models.UpdateAccessRestrictionParams{\nAccessList: []string{\"-string\",\n},\nAccessMode: models.AccessModeALLOW.Pointer(),\n}\r\n rawResp, err := global_settings_api.UpdateAccessRestriction(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GlobalSettingsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GlobalSettingsApi globalSettingsApi = new GlobalSettingsApi(client);\r\n UpdateAccessRestrictionParams params = new UpdateAccessRestrictionParams()\n.addAccessListItem(\"-string\")\n.accessMode(AccessMode.fromValue(\"ALLOW\"));\r\n WithTaskGlobalSettings resp = globalSettingsApi.updateAccessRestriction(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -2763,7 +2949,7 @@ "exampleValue": { "session_max_age": 1 }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-session-timeout \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"session_max_age\":1}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-session-timeout \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"session_max_age\":1}'", "python": "from cloudtower import ApiClient, Configuration, GlobalSettingsApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n global_settings_api = GlobalSettingsApi(client)\r\n resp = global_settings_api.update_session_timeout({\"session_max_age\":1})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/global_settings\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n global_settings_api := client.GlobalSettings\r\n params := global_settings.NewUpdateSessionTimeoutParams()\r\n params.RequestBody = &models.UpdateSessionTimeoutParams{\nSessionMaxAge: pointy.Int32(1),\n}\r\n rawResp, err := global_settings_api.UpdateSessionTimeout(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.GlobalSettingsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GlobalSettingsApi globalSettingsApi = new GlobalSettingsApi(client);\r\n UpdateSessionTimeoutParams params = new UpdateSessionTimeoutParams()\n.sessionMaxAge(1);\r\n WithTaskGlobalSettings resp = globalSettingsApi.updateSessionTimeout(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -2774,7 +2960,7 @@ "id": "SnapshotGroup-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/rollback-snapshot-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnapshotGroup-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/rollback-snapshot-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnapshotGroup-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SnapshotGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snapshot_group_api = SnapshotGroupApi(client)\r\n resp = snapshot_group_api.rollback_snapshot_group({\"where\":{\"id\":\"SnapshotGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snapshot_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snapshot_group_api := client.SnapshotGroup\r\n params := snapshot_group.NewRollbackSnapshotGroupParams()\r\n params.RequestBody = &models.SnapshotGroupRollbackParams{\nWhere: &models.SnapshotGroupWhereInput{\nID: pointy.String(\"SnapshotGroup-id\"),\n},\n}\r\n rawResp, err := snapshot_group_api.RollbackSnapshotGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSnapshotGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSnapshotGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSnapshotGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnapshotGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnapshotGroupApi snapshotGroupApi = new SnapshotGroupApi(client);\r\n SnapshotGroupRollbackParams params = new SnapshotGroupRollbackParams()\n.where(new SnapshotGroupWhereInput()\n.id(\"SnapshotGroup-id\"));\r\n List resp = snapshotGroupApi.rollbackSnapshotGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2791,7 +2977,7 @@ "id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/clone-snapshot-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"clone\":[{\"from_source_vm_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"to_cloned_vm_name\":\"to_cloned_vm_name-string\"}],\"id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/clone-snapshot-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"clone\":[{\"from_source_vm_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"to_cloned_vm_name\":\"to_cloned_vm_name-string\"}],\"id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, SnapshotGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snapshot_group_api = SnapshotGroupApi(client)\r\n resp = snapshot_group_api.clone_snapshot_group([{\"clone\":[{\"from_source_vm_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"to_cloned_vm_name\":\"to_cloned_vm_name-string\"}],\"id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snapshot_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snapshot_group_api := client.SnapshotGroup\r\n params := snapshot_group.NewCloneSnapshotGroupParams()\r\n params.RequestBody = []*models.SnapshotGroupCloneParams{\n{\nClone: []*models.SnapshotGroupCloneParam{\n{\nFromSourceVMID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nToClonedVMName: pointy.String(\"to_cloned_vm_name-string\"),\n},\n},\nID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := snapshot_group_api.CloneSnapshotGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSnapshotGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSnapshotGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSnapshotGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnapshotGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnapshotGroupApi snapshotGroupApi = new SnapshotGroupApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new SnapshotGroupCloneParams()\n.addCloneItem(new SnapshotGroupCloneParam()\n.fromSourceVmId(\"ck74rk21wg5lz0786opdnzz5m\")\n.toClonedVmName(\"to_cloned_vm_name-string\"))\n.id(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = snapshotGroupApi.cloneSnapshotGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2802,7 +2988,7 @@ "id": "SnapshotGroup-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/keep-snapshot-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnapshotGroup-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/keep-snapshot-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnapshotGroup-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SnapshotGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snapshot_group_api = SnapshotGroupApi(client)\r\n resp = snapshot_group_api.keep_snapshot_group({\"where\":{\"id\":\"SnapshotGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snapshot_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snapshot_group_api := client.SnapshotGroup\r\n params := snapshot_group.NewKeepSnapshotGroupParams()\r\n params.RequestBody = &models.SnapshotGroupKeepParams{\nWhere: &models.SnapshotGroupWhereInput{\nID: pointy.String(\"SnapshotGroup-id\"),\n},\n}\r\n rawResp, err := snapshot_group_api.KeepSnapshotGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSnapshotGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSnapshotGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSnapshotGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnapshotGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnapshotGroupApi snapshotGroupApi = new SnapshotGroupApi(client);\r\n SnapshotGroupKeepParams params = new SnapshotGroupKeepParams()\n.where(new SnapshotGroupWhereInput()\n.id(\"SnapshotGroup-id\"));\r\n List resp = snapshotGroupApi.keepSnapshotGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2813,7 +2999,7 @@ "id": "SnapshotGroup-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-snapshot-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnapshotGroup-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-snapshot-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnapshotGroup-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SnapshotGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snapshot_group_api = SnapshotGroupApi(client)\r\n resp = snapshot_group_api.delete_snapshot_group({\"where\":{\"id\":\"SnapshotGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snapshot_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snapshot_group_api := client.SnapshotGroup\r\n params := snapshot_group.NewDeleteSnapshotGroupParams()\r\n params.RequestBody = &models.SnapshotGroupDeletionParams{\nWhere: &models.SnapshotGroupWhereInput{\nID: pointy.String(\"SnapshotGroup-id\"),\n},\n}\r\n rawResp, err := snapshot_group_api.DeleteSnapshotGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteSnapshotGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteSnapshotGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteSnapshotGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnapshotGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnapshotGroupApi snapshotGroupApi = new SnapshotGroupApi(client);\r\n SnapshotGroupDeletionParams params = new SnapshotGroupDeletionParams()\n.where(new SnapshotGroupWhereInput()\n.id(\"SnapshotGroup-id\"));\r\n List resp = snapshotGroupApi.deleteSnapshotGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2828,16 +3014,16 @@ 1 ], "execute_plan_type": "DAY", - "start_time": "2024-01-01T00:00:00.000Z", + "start_time": "start_time-string", "remain_snapshot_num": 1, "cluster_id": "ck74rk21wg5lz0786opdnzz5m", "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-snapshot-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"vm_ids\":[\"-string\"],\"execute_intervals\":[1],\"execute_plan_type\":\"DAY\",\"start_time\":\"2024-01-01T00:00:00.000Z\",\"remain_snapshot_num\":1,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", - "python": "from cloudtower import ApiClient, Configuration, SnapshotPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snapshot_plan_api = SnapshotPlanApi(client)\r\n resp = snapshot_plan_api.create_snapshot_plan([{\"vm_ids\":[\"-string\"],\"execute_intervals\":[1],\"execute_plan_type\":\"DAY\",\"start_time\":\"2024-01-01T00:00:00.000Z\",\"remain_snapshot_num\":1,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snapshot_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snapshot_plan_api := client.SnapshotPlan\r\n params := snapshot_plan.NewCreateSnapshotPlanParams()\r\n params.RequestBody = []*models.SnapshotPlanCreationParams{\n{\nVMIds: []string{\"-string\",\n},\nExecuteIntervals: []int{1\n},\nExecutePlanType: models.SnapshotPlanExecuteTypeDAY.Pointer(),\nStartTime: pointy.String(\"2024-01-01T00:00:00.000Z\"),\nRemainSnapshotNum: pointy.Int32(1),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := snapshot_plan_api.CreateSnapshotPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSnapshotPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSnapshotPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSnapshotPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnapshotPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnapshotPlanApi snapshotPlanApi = new SnapshotPlanApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new SnapshotPlanCreationParams()\n.addVmIdsItem(\"-string\")\n.addExecuteIntervalsItem(1)\n.executePlanType(SnapshotPlanExecuteType.fromValue(\"DAY\"))\n.startTime(\"2024-01-01T00:00:00.000Z\")\n.remainSnapshotNum(1)\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = snapshotPlanApi.createSnapshotPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-snapshot-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"vm_ids\":[\"-string\"],\"execute_intervals\":[1],\"execute_plan_type\":\"DAY\",\"start_time\":\"start_time-string\",\"remain_snapshot_num\":1,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "python": "from cloudtower import ApiClient, Configuration, SnapshotPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snapshot_plan_api = SnapshotPlanApi(client)\r\n resp = snapshot_plan_api.create_snapshot_plan([{\"vm_ids\":[\"-string\"],\"execute_intervals\":[1],\"execute_plan_type\":\"DAY\",\"start_time\":\"start_time-string\",\"remain_snapshot_num\":1,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snapshot_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snapshot_plan_api := client.SnapshotPlan\r\n params := snapshot_plan.NewCreateSnapshotPlanParams()\r\n params.RequestBody = []*models.SnapshotPlanCreationParams{\n{\nVMIds: []string{\"-string\",\n},\nExecuteIntervals: []int{1\n},\nExecutePlanType: models.SnapshotPlanExecuteTypeDAY.Pointer(),\nStartTime: pointy.String(\"start_time-string\"),\nRemainSnapshotNum: pointy.Int32(1),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := snapshot_plan_api.CreateSnapshotPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSnapshotPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSnapshotPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSnapshotPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnapshotPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnapshotPlanApi snapshotPlanApi = new SnapshotPlanApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new SnapshotPlanCreationParams()\n.addVmIdsItem(\"-string\")\n.addExecuteIntervalsItem(1)\n.executePlanType(SnapshotPlanExecuteType.fromValue(\"DAY\"))\n.startTime(\"start_time-string\")\n.remainSnapshotNum(1)\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = snapshotPlanApi.createSnapshotPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" }, "/update-snapshot-plan": { "exampleValue": { @@ -2845,7 +3031,7 @@ "id": "SnapshotPlan-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-snapshot-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnapshotPlan-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-snapshot-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnapshotPlan-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SnapshotPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snapshot_plan_api = SnapshotPlanApi(client)\r\n resp = snapshot_plan_api.update_snapshot_plan({\"where\":{\"id\":\"SnapshotPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snapshot_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snapshot_plan_api := client.SnapshotPlan\r\n params := snapshot_plan.NewUpdateSnapshotPlanParams()\r\n params.RequestBody = &models.SnapshotPlanUpdationParams{\nWhere: &models.SnapshotPlanWhereInput{\nID: pointy.String(\"SnapshotPlan-id\"),\n},\n}\r\n rawResp, err := snapshot_plan_api.UpdateSnapshotPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSnapshotPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSnapshotPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSnapshotPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnapshotPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnapshotPlanApi snapshotPlanApi = new SnapshotPlanApi(client);\r\n SnapshotPlanUpdationParams params = new SnapshotPlanUpdationParams()\n.where(new SnapshotPlanWhereInput()\n.id(\"SnapshotPlan-id\"));\r\n List resp = snapshotPlanApi.updateSnapshotPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2856,7 +3042,7 @@ "id": "SnapshotPlan-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-snapshot-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnapshotPlan-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-snapshot-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnapshotPlan-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SnapshotPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snapshot_plan_api = SnapshotPlanApi(client)\r\n resp = snapshot_plan_api.delete_snapshot_plan({\"where\":{\"id\":\"SnapshotPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snapshot_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snapshot_plan_api := client.SnapshotPlan\r\n params := snapshot_plan.NewDeleteSnapshotPlanParams()\r\n params.RequestBody = &models.SnapshotPlanDeletionParams{\nWhere: &models.SnapshotPlanWhereInput{\nID: pointy.String(\"SnapshotPlan-id\"),\n},\n}\r\n rawResp, err := snapshot_plan_api.DeleteSnapshotPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteSnapshotPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteSnapshotPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteSnapshotPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnapshotPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnapshotPlanApi snapshotPlanApi = new SnapshotPlanApi(client);\r\n SnapshotPlanDeletionParams params = new SnapshotPlanDeletionParams()\n.where(new SnapshotPlanWhereInput()\n.id(\"SnapshotPlan-id\"));\r\n List resp = snapshotPlanApi.deleteSnapshotPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2870,7 +3056,7 @@ "id": "SnapshotPlan-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/execute-snapshot-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"task_name\":\"task_name-string\"},\"where\":{\"id\":\"SnapshotPlan-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/execute-snapshot-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"task_name\":\"task_name-string\"},\"where\":{\"id\":\"SnapshotPlan-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SnapshotPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snapshot_plan_api = SnapshotPlanApi(client)\r\n resp = snapshot_plan_api.execute_snapshot_plan({\"data\":{\"task_name\":\"task_name-string\"},\"where\":{\"id\":\"SnapshotPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snapshot_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snapshot_plan_api := client.SnapshotPlan\r\n params := snapshot_plan.NewExecuteSnapshotPlanParams()\r\n params.RequestBody = &models.SnapshotPlanExecutionParams{\nData: &models.SnapshotPlanExecutionParamsData{\nTaskName: pointy.String(\"task_name-string\"),\n},\nWhere: &models.SnapshotPlanWhereInput{\nID: pointy.String(\"SnapshotPlan-id\"),\n},\n}\r\n rawResp, err := snapshot_plan_api.ExecuteSnapshotPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSnapshotPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSnapshotPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSnapshotPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnapshotPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnapshotPlanApi snapshotPlanApi = new SnapshotPlanApi(client);\r\n SnapshotPlanExecutionParams params = new SnapshotPlanExecutionParams()\n.data(new SnapshotPlanExecutionParamsData()\n.taskName(\"task_name-string\"))\n.where(new SnapshotPlanWhereInput()\n.id(\"SnapshotPlan-id\"));\r\n List resp = snapshotPlanApi.executeSnapshotPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2881,7 +3067,7 @@ "id": "SnapshotPlan-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/suspend-snapshot-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnapshotPlan-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/suspend-snapshot-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnapshotPlan-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SnapshotPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snapshot_plan_api = SnapshotPlanApi(client)\r\n resp = snapshot_plan_api.suspend_snapshot_plan({\"where\":{\"id\":\"SnapshotPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snapshot_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snapshot_plan_api := client.SnapshotPlan\r\n params := snapshot_plan.NewSuspendSnapshotPlanParams()\r\n params.RequestBody = &models.SnapshotPlanSuspendedParams{\nWhere: &models.SnapshotPlanWhereInput{\nID: pointy.String(\"SnapshotPlan-id\"),\n},\n}\r\n rawResp, err := snapshot_plan_api.SuspendSnapshotPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSnapshotPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSnapshotPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSnapshotPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnapshotPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnapshotPlanApi snapshotPlanApi = new SnapshotPlanApi(client);\r\n SnapshotPlanSuspendedParams params = new SnapshotPlanSuspendedParams()\n.where(new SnapshotPlanWhereInput()\n.id(\"SnapshotPlan-id\"));\r\n List resp = snapshotPlanApi.suspendSnapshotPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2892,7 +3078,7 @@ "id": "SnapshotPlan-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/resume-snapshot-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnapshotPlan-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/resume-snapshot-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnapshotPlan-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SnapshotPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snapshot_plan_api = SnapshotPlanApi(client)\r\n resp = snapshot_plan_api.resume_snapshot_plan({\"where\":{\"id\":\"SnapshotPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snapshot_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snapshot_plan_api := client.SnapshotPlan\r\n params := snapshot_plan.NewResumeSnapshotPlanParams()\r\n params.RequestBody = &models.SnapshotPlanResumeParams{\nWhere: &models.SnapshotPlanWhereInput{\nID: pointy.String(\"SnapshotPlan-id\"),\n},\n}\r\n rawResp, err := snapshot_plan_api.ResumeSnapshotPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSnapshotPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSnapshotPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSnapshotPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnapshotPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnapshotPlanApi snapshotPlanApi = new SnapshotPlanApi(client);\r\n SnapshotPlanResumeParams params = new SnapshotPlanResumeParams()\n.where(new SnapshotPlanWhereInput()\n.id(\"SnapshotPlan-id\"));\r\n List resp = snapshotPlanApi.resumeSnapshotPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2907,7 +3093,7 @@ "cluster_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-snmp-transport \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"port\":1,\"protocol\":\"TCP\",\"version\":\"V2C\",\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-snmp-transport \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"port\":1,\"protocol\":\"TCP\",\"version\":\"V2C\",\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, SnmpTransportApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snmp_transport_api = SnmpTransportApi(client)\r\n resp = snmp_transport_api.create_snmp_transport([{\"port\":1,\"protocol\":\"TCP\",\"version\":\"V2C\",\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snmp_transport\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snmp_transport_api := client.SnmpTransport\r\n params := snmp_transport.NewCreateSnmpTransportParams()\r\n params.RequestBody = []*models.SnmpTransportCreationParams{\n{\nPort: pointy.Int32(1),\nProtocol: models.SnmpProtocolTCP.Pointer(),\nVersion: models.SnmpVersionV2C.Pointer(),\nName: pointy.String(\"name-string\"),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := snmp_transport_api.CreateSnmpTransport(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSnmpTransport) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSnmpTransport)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSnmpTransport) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnmpTransportApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnmpTransportApi snmpTransportApi = new SnmpTransportApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new SnmpTransportCreationParams()\n.port(1)\n.protocol(SnmpProtocol.fromValue(\"TCP\"))\n.version(SnmpVersion.fromValue(\"V2C\"))\n.name(\"name-string\")\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = snmpTransportApi.createSnmpTransport(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2919,7 +3105,7 @@ "id": "SnmpTransport-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-snmp-transport \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"SnmpTransport-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-snmp-transport \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"SnmpTransport-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SnmpTransportApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snmp_transport_api = SnmpTransportApi(client)\r\n resp = snmp_transport_api.update_snmp_transport({\"data\":{},\"where\":{\"id\":\"SnmpTransport-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snmp_transport\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snmp_transport_api := client.SnmpTransport\r\n params := snmp_transport.NewUpdateSnmpTransportParams()\r\n params.RequestBody = &models.SnmpTransportUpdationParams{\nData: &models.SnmpTransportUpdationParamsData{\n},\nWhere: &models.SnmpTransportWhereInput{\nID: pointy.String(\"SnmpTransport-id\"),\n},\n}\r\n rawResp, err := snmp_transport_api.UpdateSnmpTransport(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSnmpTransport) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSnmpTransport)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSnmpTransport) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnmpTransportApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnmpTransportApi snmpTransportApi = new SnmpTransportApi(client);\r\n SnmpTransportUpdationParams params = new SnmpTransportUpdationParams()\n.data(new SnmpTransportUpdationParamsData())\n.where(new SnmpTransportWhereInput()\n.id(\"SnmpTransport-id\"));\r\n List resp = snmpTransportApi.updateSnmpTransport(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2930,7 +3116,7 @@ "id": "SnmpTransport-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-snmp-transport \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnmpTransport-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-snmp-transport \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnmpTransport-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SnmpTransportApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snmp_transport_api = SnmpTransportApi(client)\r\n resp = snmp_transport_api.delete_snmp_transport({\"where\":{\"id\":\"SnmpTransport-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snmp_transport\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snmp_transport_api := client.SnmpTransport\r\n params := snmp_transport.NewDeleteSnmpTransportParams()\r\n params.RequestBody = &models.SnmpTransportDeletionParams{\nWhere: &models.SnmpTransportWhereInput{\nID: pointy.String(\"SnmpTransport-id\"),\n},\n}\r\n rawResp, err := snmp_transport_api.DeleteSnmpTransport(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteSnmpTransport) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteSnmpTransport)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteSnmpTransport) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnmpTransportApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnmpTransportApi snmpTransportApi = new SnmpTransportApi(client);\r\n SnmpTransportDeletionParams params = new SnmpTransportDeletionParams()\n.where(new SnmpTransportWhereInput()\n.id(\"SnmpTransport-id\"));\r\n List resp = snmpTransportApi.deleteSnmpTransport(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2947,7 +3133,7 @@ "cluster_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-snmp-trap-receiver \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"language_code\":\"EN_US\",\"port\":1,\"host\":\"host-string\",\"protocol\":\"TCP\",\"version\":\"V2C\",\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-snmp-trap-receiver \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"language_code\":\"EN_US\",\"port\":1,\"host\":\"host-string\",\"protocol\":\"TCP\",\"version\":\"V2C\",\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, SnmpTrapReceiverApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snmp_trap_receiver_api = SnmpTrapReceiverApi(client)\r\n resp = snmp_trap_receiver_api.create_snmp_trap_receiver([{\"language_code\":\"EN_US\",\"port\":1,\"host\":\"host-string\",\"protocol\":\"TCP\",\"version\":\"V2C\",\"name\":\"name-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snmp_trap_receiver\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snmp_trap_receiver_api := client.SnmpTrapReceiver\r\n params := snmp_trap_receiver.NewCreateSnmpTrapReceiverParams()\r\n params.RequestBody = []*models.SnmpTrapReceiverCreationParams{\n{\nLanguageCode: models.SnmpLanguageCodeEN_US.Pointer(),\nPort: pointy.Int32(1),\nHost: pointy.String(\"host-string\"),\nProtocol: models.SnmpProtocolTCP.Pointer(),\nVersion: models.SnmpVersionV2C.Pointer(),\nName: pointy.String(\"name-string\"),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := snmp_trap_receiver_api.CreateSnmpTrapReceiver(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSnmpTrapReceiver) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSnmpTrapReceiver)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSnmpTrapReceiver) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnmpTrapReceiverApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnmpTrapReceiverApi snmpTrapReceiverApi = new SnmpTrapReceiverApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new SnmpTrapReceiverCreationParams()\n.languageCode(SnmpLanguageCode.fromValue(\"EN_US\"))\n.port(1)\n.host(\"host-string\")\n.protocol(SnmpProtocol.fromValue(\"TCP\"))\n.version(SnmpVersion.fromValue(\"V2C\"))\n.name(\"name-string\")\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = snmpTrapReceiverApi.createSnmpTrapReceiver(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2959,7 +3145,7 @@ "id": "SnmpTrapReceiver-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-snmp-trap-receiver \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"SnmpTrapReceiver-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-snmp-trap-receiver \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"SnmpTrapReceiver-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SnmpTrapReceiverApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snmp_trap_receiver_api = SnmpTrapReceiverApi(client)\r\n resp = snmp_trap_receiver_api.update_snmp_trap_receiver({\"data\":{},\"where\":{\"id\":\"SnmpTrapReceiver-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snmp_trap_receiver\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snmp_trap_receiver_api := client.SnmpTrapReceiver\r\n params := snmp_trap_receiver.NewUpdateSnmpTrapReceiverParams()\r\n params.RequestBody = &models.SnmpTrapReceiverUpdationParams{\nData: &models.SnmpTrapReceiverUpdationParamsData{\n},\nWhere: &models.SnmpTrapReceiverWhereInput{\nID: pointy.String(\"SnmpTrapReceiver-id\"),\n},\n}\r\n rawResp, err := snmp_trap_receiver_api.UpdateSnmpTrapReceiver(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskSnmpTrapReceiver) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskSnmpTrapReceiver)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskSnmpTrapReceiver) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnmpTrapReceiverApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnmpTrapReceiverApi snmpTrapReceiverApi = new SnmpTrapReceiverApi(client);\r\n SnmpTrapReceiverUpdationParams params = new SnmpTrapReceiverUpdationParams()\n.data(new SnmpTrapReceiverUpdationParamsData())\n.where(new SnmpTrapReceiverWhereInput()\n.id(\"SnmpTrapReceiver-id\"));\r\n List resp = snmpTrapReceiverApi.updateSnmpTrapReceiver(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2970,7 +3156,7 @@ "id": "SnmpTrapReceiver-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-snmp-trap-receiver \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnmpTrapReceiver-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-snmp-trap-receiver \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"SnmpTrapReceiver-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, SnmpTrapReceiverApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n snmp_trap_receiver_api = SnmpTrapReceiverApi(client)\r\n resp = snmp_trap_receiver_api.delete_snmp_trap_receiver({\"where\":{\"id\":\"SnmpTrapReceiver-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/snmp_trap_receiver\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n snmp_trap_receiver_api := client.SnmpTrapReceiver\r\n params := snmp_trap_receiver.NewDeleteSnmpTrapReceiverParams()\r\n params.RequestBody = &models.SnmpTrapReceiverDeletionParams{\nWhere: &models.SnmpTrapReceiverWhereInput{\nID: pointy.String(\"SnmpTrapReceiver-id\"),\n},\n}\r\n rawResp, err := snmp_trap_receiver_api.DeleteSnmpTrapReceiver(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteSnmpTrapReceiver) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteSnmpTrapReceiver)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteSnmpTrapReceiver) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.SnmpTrapReceiverApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SnmpTrapReceiverApi snmpTrapReceiverApi = new SnmpTrapReceiverApi(client);\r\n SnmpTrapReceiverDeletionParams params = new SnmpTrapReceiverDeletionParams()\n.where(new SnmpTrapReceiverWhereInput()\n.id(\"SnmpTrapReceiver-id\"));\r\n List resp = snmpTrapReceiverApi.deleteSnmpTrapReceiver(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -2979,18 +3165,63 @@ "exampleValue": { "file": "file-string" }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/upload-svt-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: multipart/form-data' \\\n\t-d '{\"file\":\"file-string\"}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/upload-svt-image \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: multipart/form-data' \\\n\t-d '{\"file\":\"file-string\"}'", "python": "from cloudtower import ApiClient, Configuration, SvtImageApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n svt_image_api = SvtImageApi(client)\r\n with open(\"file-path\", \"rb\") as file:\r\n resp = svt_image_api.upload_svt_image(\r\n file=file\r\n )\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"bytes\"\r\n \"fmt\"\r\n \"io\"\r\n\r\n \"github.com/go-openapi/runtime\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/svt_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n svt_image_api := client.SvtImage\r\n params := svt_image.NewUploadSvtImageParams()\r\n params.File = runtime.NamedReader(\"file\",io.NopCloser(bytes.NewReader([]byte(\"file-string\"))))\r\n resp, err := svt_image_api.UploadSvtImage(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.SvtImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.nio.file.Files;\r\nimport java.nio.file.Path;\r\nimport java.util.ArrayList;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n SvtImageApi svtImageApi = new SvtImageApi(client);\r\n List resp = svtImageApi.uploadSvtImage(\r\n Files.readAllBytes(Path.of(\"file-string\")),\r\n \"cluster_id\",\r\n \"name\",\r\n \"size\",\r\n \"size_unit\",\r\n \"version\",\r\n \"upload_task_id\"\r\n );\r\n }\r\n}" }, + "/export-csv": { + "exampleValue": { + "filter": {}, + "columns": [ + { + "name": "name-string", + "path": "path-string" + } + ], + "name": "name-string" + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/export-csv \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"filter\":{},\"columns\":[{\"name\":\"name-string\",\"path\":\"path-string\"}],\"name\":\"name-string\"}'", + "python": "from cloudtower import ApiClient, Configuration, TableReporterApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n table_reporter_api = TableReporterApi(client)\r\n resp = table_reporter_api.export_csv({\"filter\":{},\"columns\":[{\"name\":\"name-string\",\"path\":\"path-string\"}],\"name\":\"name-string\"})\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/table_reporter\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n table_reporter_api := client.TableReporter\r\n params := table_reporter.NewExportCsvParams()\r\n params.RequestBody = &models.TableReporterParams{\nFilter: &models.TableReporterParamsFilter{\n},\nColumns: []*models.ColumnConfig{\n{\nName: pointy.String(\"name-string\"),\nPath: pointy.String(\"path-string\"),\n},\n},\nName: pointy.String(\"name-string\"),\n}\r\n rawResp, err := table_reporter_api.ExportCsv(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.TableReporterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n TableReporterApi tableReporterApi = new TableReporterApi(client);\r\n TableReporterParams params = new TableReporterParams()\n.filter(new TableReporterParamsFilter())\n.addColumnsItem(new ColumnConfig()\n.name(\"name-string\")\n.path(\"path-string\"))\n.name(\"name-string\");\r\n String resp = tableReporterApi.exportCsv(params);\r\n }\r\n}" + }, + "/create-task": { + "exampleValue": [ + { + "user_id": "ck74rk21wg5lz0786opdnzz5m", + "description": { + "en-US": "en-US-string", + "zh-CN": "zh-CN-string" + }, + "resource_mutation": "resource_mutation-string", + "resource_type": "resource_type-string" + } + ], + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-task \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"user_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"description\":{\"en-US\":\"en-US-string\",\"zh-CN\":\"zh-CN-string\"},\"resource_mutation\":\"resource_mutation-string\",\"resource_type\":\"resource_type-string\"}]'", + "python": "from cloudtower import ApiClient, Configuration, TaskApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n task_api = TaskApi(client)\r\n resp = task_api.create_task([{\"user_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"description\":{\"en-US\":\"en-US-string\",\"zh-CN\":\"zh-CN-string\"},\"resource_mutation\":\"resource_mutation-string\",\"resource_type\":\"resource_type-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/task\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n task_api := client.Task\r\n params := task.NewCreateTaskParams()\r\n params.RequestBody = []*models.TaskCreationParams{\n{\nUserID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nDescription: &models.TaskDescription{\nEnUs: pointy.String(\"en-US-string\"),\nZhCn: pointy.String(\"zh-CN-string\"),\n},\nResourceMutation: pointy.String(\"resource_mutation-string\"),\nResourceType: pointy.String(\"resource_type-string\"),\n},\n}\r\n rawResp, err := task_api.CreateTask(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskTask) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskTask)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskTask) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.TaskApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n TaskApi taskApi = new TaskApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new TaskCreationParams()\n.userId(\"ck74rk21wg5lz0786opdnzz5m\")\n.description(new TaskDescription()\n.enUs(\"en-US-string\")\n.zhCn(\"zh-CN-string\"))\n.resourceMutation(\"resource_mutation-string\")\n.resourceType(\"resource_type-string\"));\r\n List resp = taskApi.createTask(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/update-task": { + "exampleValue": { + "data": {}, + "where": { + "id": "Task-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-task \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Task-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, TaskApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n task_api = TaskApi(client)\r\n resp = task_api.update_task({\"data\":{},\"where\":{\"id\":\"Task-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/task\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n task_api := client.Task\r\n params := task.NewUpdateTaskParams()\r\n params.RequestBody = &models.TaskUpdateParams{\nData: &models.TaskUpdateParamsData{\n},\nWhere: &models.TaskWhereInput{\nID: pointy.String(\"Task-id\"),\n},\n}\r\n rawResp, err := task_api.UpdateTask(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskTask) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskTask)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskTask) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.TaskApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n TaskApi taskApi = new TaskApi(client);\r\n TaskUpdateParams params = new TaskUpdateParams()\n.data(new TaskUpdateParamsData())\n.where(new TaskWhereInput()\n.id(\"Task-id\"));\r\n List resp = taskApi.updateTask(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, "/cancel-upload-task": { "exampleValue": { "where": { "id": "UploadTask-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/cancel-upload-task \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"UploadTask-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/cancel-upload-task \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"UploadTask-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, UploadTaskApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n upload_task_api = UploadTaskApi(client)\r\n resp = upload_task_api.cancel_upload_task({\"where\":{\"id\":\"UploadTask-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/upload_task\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n upload_task_api := client.UploadTask\r\n params := upload_task.NewCancelUploadTaskParams()\r\n params.RequestBody = &models.CancelUploadTaskParams{\nWhere: &models.UploadTaskWhereInput{\nID: pointy.String(\"UploadTask-id\"),\n},\n}\r\n rawResp, err := upload_task_api.CancelUploadTask(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.UploadTaskApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n UploadTaskApi uploadTaskApi = new UploadTaskApi(client);\r\n CancelUploadTaskParams params = new CancelUploadTaskParams()\n.where(new UploadTaskWhereInput()\n.id(\"UploadTask-id\"));\r\n List resp = uploadTaskApi.cancelUploadTask(params);\r\n }\r\n}" @@ -3002,7 +3233,7 @@ "id": "UsbDevice-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/mount-usb-device \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"UsbDevice-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/mount-usb-device \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"UsbDevice-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, UsbDeviceApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n usb_device_api = UsbDeviceApi(client)\r\n resp = usb_device_api.mount_usb_device({\"data\":{},\"where\":{\"id\":\"UsbDevice-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/usb_device\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n usb_device_api := client.UsbDevice\r\n params := usb_device.NewMountUsbDeviceParams()\r\n params.RequestBody = &models.UsbDeviceMountParams{\nData: &models.UsbDeviceMountParamsData{\n},\nWhere: &models.UsbDeviceWhereInput{\nID: pointy.String(\"UsbDevice-id\"),\n},\n}\r\n rawResp, err := usb_device_api.MountUsbDevice(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskUsbDevice) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskUsbDevice)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskUsbDevice) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.UsbDeviceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n UsbDeviceApi usbDeviceApi = new UsbDeviceApi(client);\r\n UsbDeviceMountParams params = new UsbDeviceMountParams()\n.data(new UsbDeviceMountParamsData())\n.where(new UsbDeviceWhereInput()\n.id(\"UsbDevice-id\"));\r\n List resp = usbDeviceApi.mountUsbDevice(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3013,7 +3244,7 @@ "id": "UsbDevice-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/unmount-usb-device \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"UsbDevice-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/unmount-usb-device \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"UsbDevice-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, UsbDeviceApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n usb_device_api = UsbDeviceApi(client)\r\n resp = usb_device_api.unmount_usb_device({\"where\":{\"id\":\"UsbDevice-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/usb_device\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n usb_device_api := client.UsbDevice\r\n params := usb_device.NewUnmountUsbDeviceParams()\r\n params.RequestBody = &models.UsbDeviceUnmountParams{\nWhere: &models.UsbDeviceWhereInput{\nID: pointy.String(\"UsbDevice-id\"),\n},\n}\r\n rawResp, err := usb_device_api.UnmountUsbDevice(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskUsbDevice) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskUsbDevice)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskUsbDevice) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.UsbDeviceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n UsbDeviceApi usbDeviceApi = new UsbDeviceApi(client);\r\n UsbDeviceUnmountParams params = new UsbDeviceUnmountParams()\n.where(new UsbDeviceWhereInput()\n.id(\"UsbDevice-id\"));\r\n List resp = usbDeviceApi.unmountUsbDevice(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3024,7 +3255,7 @@ "id": "UsbDevice-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-usb-devices \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"UsbDevice-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-usb-devices \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"UsbDevice-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, UsbDeviceApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n usb_device_api = UsbDeviceApi(client)\r\n resp = usb_device_api.get_usb_devices({\"where\":{\"id\":\"UsbDevice-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/usb_device\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n usb_device_api := client.UsbDevice\r\n params := usb_device.NewGetUsbDevicesParams()\r\n params.RequestBody = &models.GetUsbDevicesRequestBody{\nWhere: &models.UsbDeviceWhereInput{\nID: pointy.String(\"UsbDevice-id\"),\n},\n}\r\n rawResp, err := usb_device_api.GetUsbDevices(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.UsbDeviceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n UsbDeviceApi usbDeviceApi = new UsbDeviceApi(client);\r\n GetUsbDevicesRequestBody params = new GetUsbDevicesRequestBody()\n.where(new UsbDeviceWhereInput()\n.id(\"UsbDevice-id\"));\r\n List resp = usbDeviceApi.getUsbDevices(params);\r\n }\r\n}" @@ -3034,7 +3265,7 @@ "username": "username-string", "password": "password-string" }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/login \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"username\":\"username-string\",\"password\":\"password-string\"}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/login \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"username\":\"username-string\",\"password\":\"password-string\"}'", "python": "from cloudtower import ApiClient, Configuration, UserApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n user_api = UserApi(client)\r\n resp = user_api.login({\"username\":\"username-string\",\"password\":\"password-string\"})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/user\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n user_api := client.User\r\n params := user.NewLoginParams()\r\n params.RequestBody = &models.LoginInput{\nUsername: pointy.String(\"username-string\"),\nPassword: pointy.String(\"password-string\"),\n}\r\n rawResp, err := user_api.Login(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.UserApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n UserApi userApi = new UserApi(client);\r\n LoginInput params = new LoginInput()\n.username(\"username-string\")\n.password(\"password-string\");\r\n WithTaskLoginResponse resp = userApi.login(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -3047,7 +3278,7 @@ "username": "username-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-user \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"role_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"username\":\"username-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-user \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"role_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"username\":\"username-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, UserApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n user_api = UserApi(client)\r\n resp = user_api.create_user([{\"role_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"username\":\"username-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/user\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n user_api := client.User\r\n params := user.NewCreateUserParams()\r\n params.RequestBody = []*models.UserCreationParams{\n{\nRoleID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\nUsername: pointy.String(\"username-string\"),\n},\n}\r\n rawResp, err := user_api.CreateUser(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskUser) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskUser)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskUser) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.UserApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n UserApi userApi = new UserApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new UserCreationParams()\n.roleId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\")\n.username(\"username-string\"));\r\n List resp = userApi.createUser(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3059,7 +3290,7 @@ "id": "User-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-user \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"User-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-user \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"User-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, UserApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n user_api = UserApi(client)\r\n resp = user_api.update_user({\"data\":{},\"where\":{\"id\":\"User-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/user\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n user_api := client.User\r\n params := user.NewUpdateUserParams()\r\n params.RequestBody = &models.UserUpdationParams{\nData: &models.UserUpdationParamsData{\n},\nWhere: &models.UserWhereInput{\nID: pointy.String(\"User-id\"),\n},\n}\r\n rawResp, err := user_api.UpdateUser(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskUser) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskUser)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskUser) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.UserApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n UserApi userApi = new UserApi(client);\r\n UserUpdationParams params = new UserUpdationParams()\n.data(new UserUpdationParamsData())\n.where(new UserWhereInput()\n.id(\"User-id\"));\r\n List resp = userApi.updateUser(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3070,7 +3301,7 @@ "id": "User-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-user \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"User-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-user \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"User-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, UserApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n user_api = UserApi(client)\r\n resp = user_api.delete_user({\"where\":{\"id\":\"User-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/user\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n user_api := client.User\r\n params := user.NewDeleteUserParams()\r\n params.RequestBody = &models.UserDeletionParams{\nWhere: &models.UserWhereInput{\nID: pointy.String(\"User-id\"),\n},\n}\r\n rawResp, err := user_api.DeleteUser(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteUser) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteUser)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteUser) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.UserApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n UserApi userApi = new UserApi(client);\r\n UserDeletionParams params = new UserDeletionParams()\n.where(new UserWhereInput()\n.id(\"User-id\"));\r\n List resp = userApi.deleteUser(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3079,7 +3310,7 @@ "exampleValue": { "password": "password-string" }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-root-user \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"password\":\"password-string\"}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-root-user \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"password\":\"password-string\"}'", "python": "from cloudtower import ApiClient, Configuration, UserApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n user_api = UserApi(client)\r\n resp = user_api.create_root_user({\"password\":\"password-string\"})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/user\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n user_api := client.User\r\n params := user.NewCreateRootUserParams()\r\n params.RequestBody = &models.RootUserCreationParams{\nPassword: pointy.String(\"password-string\"),\n}\r\n rawResp, err := user_api.CreateRootUser(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.UserApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n UserApi userApi = new UserApi(client);\r\n RootUserCreationParams params = new RootUserCreationParams()\n.password(\"password-string\");\r\n WithTaskUser resp = userApi.createRootUser(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -3094,7 +3325,7 @@ "cluster_id": "ck74rk21wg5lz0786opdnzz5m" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-vcenter-account \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"port\":1,\"password\":\"password-string\",\"username\":\"username-string\",\"ip\":\"ip-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-vcenter-account \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"port\":1,\"password\":\"password-string\",\"username\":\"username-string\",\"ip\":\"ip-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}}'", "python": "from cloudtower import ApiClient, Configuration, VcenterAccountApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vcenter_account_api = VcenterAccountApi(client)\r\n resp = vcenter_account_api.create_vcenter_account({\"data\":{\"port\":1,\"password\":\"password-string\",\"username\":\"username-string\",\"ip\":\"ip-string\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vcenter_account\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vcenter_account_api := client.VcenterAccount\r\n params := vcenter_account.NewCreateVcenterAccountParams()\r\n params.RequestBody = &models.CreateVcenterAccountParams{\nData: &models.CreateVcenterAccountParamsData{\nPort: pointy.Int32(1),\nPassword: pointy.String(\"password-string\"),\nUsername: pointy.String(\"username-string\"),\nIP: pointy.String(\"ip-string\"),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := vcenter_account_api.CreateVcenterAccount(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VcenterAccountApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VcenterAccountApi vcenterAccountApi = new VcenterAccountApi(client);\r\n CreateVcenterAccountParams params = new CreateVcenterAccountParams()\n.data(new CreateVcenterAccountParamsData()\n.port(1)\n.password(\"password-string\")\n.username(\"username-string\")\n.ip(\"ip-string\")\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n WithTaskVcenterAccount resp = vcenterAccountApi.createVcenterAccount(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -3111,7 +3342,7 @@ "id": "VcenterAccount-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vcenter-account \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"port\":1,\"password\":\"password-string\",\"username\":\"username-string\",\"ip\":\"ip-string\"},\"where\":{\"id\":\"VcenterAccount-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vcenter-account \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"port\":1,\"password\":\"password-string\",\"username\":\"username-string\",\"ip\":\"ip-string\"},\"where\":{\"id\":\"VcenterAccount-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VcenterAccountApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vcenter_account_api = VcenterAccountApi(client)\r\n resp = vcenter_account_api.update_vcenter_account({\"data\":{\"port\":1,\"password\":\"password-string\",\"username\":\"username-string\",\"ip\":\"ip-string\"},\"where\":{\"id\":\"VcenterAccount-id\"}})\r\n wait_task(resp.task_id, client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vcenter_account\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vcenter_account_api := client.VcenterAccount\r\n params := vcenter_account.NewUpdateVcenterAccountParams()\r\n params.RequestBody = &models.UpdateVcenterAccountParams{\nData: &models.UpdateVcenterAccountParamsData{\nPort: pointy.Int32(1),\nPassword: pointy.String(\"password-string\"),\nUsername: pointy.String(\"username-string\"),\nIP: pointy.String(\"ip-string\"),\n},\nWhere: &models.VcenterAccountWhereUniqueInput{\nID: pointy.String(\"VcenterAccount-id\"),\n},\n}\r\n rawResp, err := vcenter_account_api.UpdateVcenterAccount(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VcenterAccountApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VcenterAccountApi vcenterAccountApi = new VcenterAccountApi(client);\r\n UpdateVcenterAccountParams params = new UpdateVcenterAccountParams()\n.data(new UpdateVcenterAccountParamsData()\n.port(1)\n.password(\"password-string\")\n.username(\"username-string\")\n.ip(\"ip-string\"))\n.where(new VcenterAccountWhereUniqueInput()\n.id(\"VcenterAccount-id\"));\r\n WithTaskVcenterAccount resp = vcenterAccountApi.updateVcenterAccount(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" @@ -3136,7 +3367,7 @@ } } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-vds-with-migrate-vlan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"nic_ids\":[\"-string\"],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"vlan\":{\"extra_ip\":[{\"management_ip\":\"management_ip-string\",\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"subnetmask\":\"subnetmask-string\",\"vlan_id\":1}}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-vds-with-migrate-vlan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"nic_ids\":[\"-string\"],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"vlan\":{\"extra_ip\":[{\"management_ip\":\"management_ip-string\",\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"subnetmask\":\"subnetmask-string\",\"vlan_id\":1}}]'", "python": "from cloudtower import ApiClient, Configuration, VdsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vds_api = VdsApi(client)\r\n resp = vds_api.create_vds_with_migrate_vlan([{\"nic_ids\":[\"-string\"],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"vlan\":{\"extra_ip\":[{\"management_ip\":\"management_ip-string\",\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"subnetmask\":\"subnetmask-string\",\"vlan_id\":1}}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vds\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vds_api := client.Vds\r\n params := vds.NewCreateVdsWithMigrateVlanParams()\r\n params.RequestBody = []*models.VdsCreationWithMigrateVlanParams{\n{\nNicIds: []string{\"-string\",\n},\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\nVlan: &models.VdsCreationWithMigrateVlanParamsVlan{\nExtraIP: []*models.VdsCreationWithMigrateVlanParamsVlanExtraip{\n{\nManagementIP: pointy.String(\"management_ip-string\"),\nHostID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n},\nSubnetmask: pointy.String(\"subnetmask-string\"),\nVlanID: pointy.Int32(1),\n},\n},\n}\r\n rawResp, err := vds_api.CreateVdsWithMigrateVlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVds) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVds)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVds) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VdsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VdsApi vdsApi = new VdsApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VdsCreationWithMigrateVlanParams()\n.addNicIdsItem(\"-string\")\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\")\n.vlan(new VdsCreationWithMigrateVlanParamsVlan()\n.addExtraIpItem(new VdsCreationWithMigrateVlanParamsVlanExtraip()\n.managementIp(\"management_ip-string\")\n.hostId(\"ck74rk21wg5lz0786opdnzz5m\"))\n.subnetmask(\"subnetmask-string\")\n.vlanId(1)));\r\n List resp = vdsApi.createVdsWithMigrateVlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3161,7 +3392,7 @@ } } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-vds-with-access-vlan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"nic_ids\":[\"-string\"],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"vlan\":{\"extra_ip\":[{\"management_ip\":\"management_ip-string\",\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"subnetmask\":\"subnetmask-string\",\"vlan_id\":1}}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-vds-with-access-vlan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"nic_ids\":[\"-string\"],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"vlan\":{\"extra_ip\":[{\"management_ip\":\"management_ip-string\",\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"subnetmask\":\"subnetmask-string\",\"vlan_id\":1}}]'", "python": "from cloudtower import ApiClient, Configuration, VdsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vds_api = VdsApi(client)\r\n resp = vds_api.create_vds_with_access_vlan([{\"nic_ids\":[\"-string\"],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"vlan\":{\"extra_ip\":[{\"management_ip\":\"management_ip-string\",\"host_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"subnetmask\":\"subnetmask-string\",\"vlan_id\":1}}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vds\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vds_api := client.Vds\r\n params := vds.NewCreateVdsWithAccessVlanParams()\r\n params.RequestBody = []*models.VdsCreationWithMAccessVlanParams{\n{\nNicIds: []string{\"-string\",\n},\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\nVlan: &models.VdsCreationWithMAccessVlanParamsVlan{\nExtraIP: []*models.VdsCreationWithMAccessVlanParamsVlanExtraip{\n{\nManagementIP: pointy.String(\"management_ip-string\"),\nHostID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n},\nSubnetmask: pointy.String(\"subnetmask-string\"),\nVlanID: pointy.Int32(1),\n},\n},\n}\r\n rawResp, err := vds_api.CreateVdsWithAccessVlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVds) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVds)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVds) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VdsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VdsApi vdsApi = new VdsApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VdsCreationWithMAccessVlanParams()\n.addNicIdsItem(\"-string\")\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\")\n.vlan(new VdsCreationWithMAccessVlanParamsVlan()\n.addExtraIpItem(new VdsCreationWithMAccessVlanParamsVlanExtraip()\n.managementIp(\"management_ip-string\")\n.hostId(\"ck74rk21wg5lz0786opdnzz5m\"))\n.subnetmask(\"subnetmask-string\")\n.vlanId(1)));\r\n List resp = vdsApi.createVdsWithAccessVlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3176,7 +3407,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-vds \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"nic_ids\":[\"-string\"],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-vds \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"nic_ids\":[\"-string\"],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, VdsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vds_api = VdsApi(client)\r\n resp = vds_api.create_vds([{\"nic_ids\":[\"-string\"],\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vds\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vds_api := client.Vds\r\n params := vds.NewCreateVdsParams()\r\n params.RequestBody = []*models.VdsCreationParams{\n{\nNicIds: []string{\"-string\",\n},\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := vds_api.CreateVds(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVds) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVds)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVds) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VdsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VdsApi vdsApi = new VdsApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VdsCreationParams()\n.addNicIdsItem(\"-string\")\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = vdsApi.createVds(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3188,7 +3419,7 @@ "id": "Vds-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vds \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vds-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vds \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vds-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VdsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vds_api = VdsApi(client)\r\n resp = vds_api.update_vds({\"data\":{},\"where\":{\"id\":\"Vds-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vds\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vds_api := client.Vds\r\n params := vds.NewUpdateVdsParams()\r\n params.RequestBody = &models.VdsUpdationParams{\nData: &models.VdsUpdationParamsData{\n},\nWhere: &models.VdsWhereInput{\nID: pointy.String(\"Vds-id\"),\n},\n}\r\n rawResp, err := vds_api.UpdateVds(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVds) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVds)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVds) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VdsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VdsApi vdsApi = new VdsApi(client);\r\n VdsUpdationParams params = new VdsUpdationParams()\n.data(new VdsUpdationParamsData())\n.where(new VdsWhereInput()\n.id(\"Vds-id\"));\r\n List resp = vdsApi.updateVds(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3199,7 +3430,7 @@ "id": "Vds-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-vds \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vds-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-vds \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vds-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VdsApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vds_api = VdsApi(client)\r\n resp = vds_api.delete_vds({\"where\":{\"id\":\"Vds-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vds\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vds_api := client.Vds\r\n params := vds.NewDeleteVdsParams()\r\n params.RequestBody = &models.VdsDeletionParams{\nWhere: &models.VdsWhereInput{\nID: pointy.String(\"Vds-id\"),\n},\n}\r\n rawResp, err := vds_api.DeleteVds(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVds) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVds)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVds) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VdsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VdsApi vdsApi = new VdsApi(client);\r\n VdsDeletionParams params = new VdsDeletionParams()\n.where(new VdsWhereInput()\n.id(\"Vds-id\"));\r\n List resp = vdsApi.deleteVds(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3213,7 +3444,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-view \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"time_unit\":\"DAY\",\"time_span\":1,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-view \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"time_unit\":\"DAY\",\"time_span\":1,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, ViewApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n view_api = ViewApi(client)\r\n resp = view_api.create_view([{\"time_unit\":\"DAY\",\"time_span\":1,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/view\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n view_api := client.View\r\n params := view.NewCreateViewParams()\r\n params.RequestBody = []*models.ViewCreationParams{\n{\nTimeUnit: models.TimeUnitDAY.Pointer(),\nTimeSpan: pointy.Int32(1),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := view_api.CreateView(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskView) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskView)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskView) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ViewApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ViewApi viewApi = new ViewApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new ViewCreationParams()\n.timeUnit(TimeUnit.fromValue(\"DAY\"))\n.timeSpan(1)\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = viewApi.createView(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3224,7 +3455,7 @@ "id": "View-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-view \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"View-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-view \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"View-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ViewApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n view_api = ViewApi(client)\r\n resp = view_api.update_view({\"where\":{\"id\":\"View-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/view\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n view_api := client.View\r\n params := view.NewUpdateViewParams()\r\n params.RequestBody = &models.ViewUpdationParams{\nWhere: &models.ViewWhereInput{\nID: pointy.String(\"View-id\"),\n},\n}\r\n rawResp, err := view_api.UpdateView(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskView) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskView)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskView) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ViewApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ViewApi viewApi = new ViewApi(client);\r\n ViewUpdationParams params = new ViewUpdationParams()\n.where(new ViewWhereInput()\n.id(\"View-id\"));\r\n List resp = viewApi.updateView(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3235,54 +3466,343 @@ "id": "View-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-view \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"View-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-view \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"View-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ViewApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n view_api = ViewApi(client)\r\n resp = view_api.delete_view({\"where\":{\"id\":\"View-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/view\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n view_api := client.View\r\n params := view.NewDeleteViewParams()\r\n params.RequestBody = &models.ViewDeletionParams{\nWhere: &models.ViewWhereInput{\nID: pointy.String(\"View-id\"),\n},\n}\r\n rawResp, err := view_api.DeleteView(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteView) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteView)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteView) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ViewApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ViewApi viewApi = new ViewApi(client);\r\n ViewDeletionParams params = new ViewDeletionParams()\n.where(new ViewWhereInput()\n.id(\"View-id\"));\r\n List resp = viewApi.deleteView(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" }, - "/create-vm-vlan": { + "/create-virtual-private-cloud-floating-ip": { "exampleValue": [ { - "vds_id": "ck74rk21wg5lz0786opdnzz5m", - "name": "name-string" + "external_subnet_id": "ck74rk21wg5lz0786opdnzz5m", + "vpc_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-vm-vlan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"vds_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", - "python": "from cloudtower import ApiClient, Configuration, VlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vlan_api = VlanApi(client)\r\n resp = vlan_api.create_vm_vlan([{\"vds_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vlan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vlan_api := client.Vlan\r\n params := vlan.NewCreateVMVlanParams()\r\n params.RequestBody = []*models.VMVlanCreationParams{\n{\nVdsID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := vlan_api.CreateVMVlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VlanApi vlanApi = new VlanApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmVlanCreationParams()\n.vdsId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = vlanApi.createVmVlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-virtual-private-cloud-floating-ip \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"external_subnet_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudFloatingIpApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_floating_ip_api = VirtualPrivateCloudFloatingIpApi(client)\r\n resp = virtual_private_cloud_floating_ip_api.create_virtual_private_cloud_floating_ip([{\"external_subnet_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_floating_ip\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_floating_ip_api := client.VirtualPrivateCloudFloatingIP\r\n params := virtual_private_cloud_floating_ip.NewCreateVirtualPrivateCloudFloatingIPParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudFloatingIPCreationParams{\n{\nExternalSubnetID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nVpcID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_floating_ip_api.CreateVirtualPrivateCloudFloatingIP(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudFloatingIP) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudFloatingIP)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudFloatingIP) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudFloatingIpApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudFloatingIpApi virtualPrivateCloudFloatingIpApi = new VirtualPrivateCloudFloatingIpApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudFloatingIpCreationParams()\n.externalSubnetId(\"ck74rk21wg5lz0786opdnzz5m\")\n.vpcId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = virtualPrivateCloudFloatingIpApi.createVirtualPrivateCloudFloatingIp(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" }, - "/update-vm-vlan": { + "/delete-virtual-private-cloud-floating-ip": { "exampleValue": { - "data": {}, "where": { - "id": "Vlan-id" + "id": "VirtualPrivateCloudFloatingIp-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-vlan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vlan-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vlan_api = VlanApi(client)\r\n resp = vlan_api.update_vlan({\"data\":{},\"where\":{\"id\":\"Vlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vlan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vlan_api := client.Vlan\r\n params := vlan.NewUpdateVlanParams()\r\n params.RequestBody = &models.VMVlanUpdationParams{\nData: &models.VMVlanUpdationParamsData{\n},\nWhere: &models.VlanWhereInput{\nID: pointy.String(\"Vlan-id\"),\n},\n}\r\n rawResp, err := vlan_api.UpdateVlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VlanApi vlanApi = new VlanApi(client);\r\n VmVlanUpdationParams params = new VmVlanUpdationParams()\n.data(new VmVlanUpdationParamsData())\n.where(new VlanWhereInput()\n.id(\"Vlan-id\"));\r\n List resp = vlanApi.updateVlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-virtual-private-cloud-floating-ip \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloudFloatingIp-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudFloatingIpApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_floating_ip_api = VirtualPrivateCloudFloatingIpApi(client)\r\n resp = virtual_private_cloud_floating_ip_api.delete_virtual_private_cloud_floating_ip({\"where\":{\"id\":\"VirtualPrivateCloudFloatingIp-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_floating_ip\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_floating_ip_api := client.VirtualPrivateCloudFloatingIP\r\n params := virtual_private_cloud_floating_ip.NewDeleteVirtualPrivateCloudFloatingIPParams()\r\n params.RequestBody = &models.VirtualPrivateCloudFloatingIPDeletionParams{\nWhere: &models.VirtualPrivateCloudFloatingIPWhereInput{\nID: pointy.String(\"VirtualPrivateCloudFloatingIp-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_floating_ip_api.DeleteVirtualPrivateCloudFloatingIP(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudFloatingIP) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloudFloatingIP)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudFloatingIP) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudFloatingIpApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudFloatingIpApi virtualPrivateCloudFloatingIpApi = new VirtualPrivateCloudFloatingIpApi(client);\r\n VirtualPrivateCloudFloatingIpDeletionParams params = new VirtualPrivateCloudFloatingIpDeletionParams()\n.where(new VirtualPrivateCloudFloatingIpWhereInput()\n.id(\"VirtualPrivateCloudFloatingIp-id\"));\r\n List resp = virtualPrivateCloudFloatingIpApi.deleteVirtualPrivateCloudFloatingIp(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" }, - "/update-management-vlan": { + "/create-virtual-private-cloud-nat-gateway": { + "exampleValue": [ + { + "external_subnet_id": "ck74rk21wg5lz0786opdnzz5m", + "enable_dnat": true, + "enable_snat": true, + "vpc_id": "ck74rk21wg5lz0786opdnzz5m", + "name": "name-string" + } + ], + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-virtual-private-cloud-nat-gateway \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"external_subnet_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"enable_dnat\":true,\"enable_snat\":true,\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudNatGatewayApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_nat_gateway_api = VirtualPrivateCloudNatGatewayApi(client)\r\n resp = virtual_private_cloud_nat_gateway_api.create_virtual_private_cloud_nat_gateway([{\"external_subnet_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"enable_dnat\":True,\"enable_snat\":True,\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_nat_gateway\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_nat_gateway_api := client.VirtualPrivateCloudNatGateway\r\n params := virtual_private_cloud_nat_gateway.NewCreateVirtualPrivateCloudNatGatewayParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudNatGatewayCreationParams{\n{\nExternalSubnetID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nEnableDnat: pointy.Bool(true),\nEnableSnat: pointy.Bool(true),\nVpcID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_nat_gateway_api.CreateVirtualPrivateCloudNatGateway(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudNatGateway) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudNatGateway)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudNatGateway) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudNatGatewayApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudNatGatewayApi virtualPrivateCloudNatGatewayApi = new VirtualPrivateCloudNatGatewayApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudNatGatewayCreationParams()\n.externalSubnetId(\"ck74rk21wg5lz0786opdnzz5m\")\n.enableDnat(true)\n.enableSnat(true)\n.vpcId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = virtualPrivateCloudNatGatewayApi.createVirtualPrivateCloudNatGateway(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/update-virtual-private-cloud-nat-gateway": { "exampleValue": { "data": {}, "where": { - "id": "Vlan-id" + "id": "VirtualPrivateCloudNatGateway-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-management-vlan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vlan-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vlan_api = VlanApi(client)\r\n resp = vlan_api.update_management_vlan({\"data\":{},\"where\":{\"id\":\"Vlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vlan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vlan_api := client.Vlan\r\n params := vlan.NewUpdateManagementVlanParams()\r\n params.RequestBody = &models.ManagementVlanUpdationParams{\nData: &models.ManagementVlanUpdationParamsData{\n},\nWhere: &models.VlanWhereInput{\nID: pointy.String(\"Vlan-id\"),\n},\n}\r\n rawResp, err := vlan_api.UpdateManagementVlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VlanApi vlanApi = new VlanApi(client);\r\n ManagementVlanUpdationParams params = new ManagementVlanUpdationParams()\n.data(new ManagementVlanUpdationParamsData())\n.where(new VlanWhereInput()\n.id(\"Vlan-id\"));\r\n List resp = vlanApi.updateManagementVlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-virtual-private-cloud-nat-gateway \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudNatGateway-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudNatGatewayApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_nat_gateway_api = VirtualPrivateCloudNatGatewayApi(client)\r\n resp = virtual_private_cloud_nat_gateway_api.update_virtual_private_cloud_nat_gateway({\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudNatGateway-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_nat_gateway\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_nat_gateway_api := client.VirtualPrivateCloudNatGateway\r\n params := virtual_private_cloud_nat_gateway.NewUpdateVirtualPrivateCloudNatGatewayParams()\r\n params.RequestBody = &models.VirtualPrivateCloudNatGatewayUpdationParams{\nData: &models.VirtualPrivateCloudNatGatewayUpdationParamsData{\n},\nWhere: &models.VirtualPrivateCloudNatGatewayWhereInput{\nID: pointy.String(\"VirtualPrivateCloudNatGateway-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_nat_gateway_api.UpdateVirtualPrivateCloudNatGateway(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudNatGateway) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudNatGateway)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudNatGateway) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudNatGatewayApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudNatGatewayApi virtualPrivateCloudNatGatewayApi = new VirtualPrivateCloudNatGatewayApi(client);\r\n VirtualPrivateCloudNatGatewayUpdationParams params = new VirtualPrivateCloudNatGatewayUpdationParams()\n.data(new VirtualPrivateCloudNatGatewayUpdationParamsData())\n.where(new VirtualPrivateCloudNatGatewayWhereInput()\n.id(\"VirtualPrivateCloudNatGateway-id\"));\r\n List resp = virtualPrivateCloudNatGatewayApi.updateVirtualPrivateCloudNatGateway(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" }, - "/update-migration-vlan": { + "/delete-virtual-private-cloud-nat-gateway": { + "exampleValue": { + "where": { + "id": "VirtualPrivateCloudNatGateway-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-virtual-private-cloud-nat-gateway \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloudNatGateway-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudNatGatewayApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_nat_gateway_api = VirtualPrivateCloudNatGatewayApi(client)\r\n resp = virtual_private_cloud_nat_gateway_api.delete_virtual_private_cloud_nat_gateway({\"where\":{\"id\":\"VirtualPrivateCloudNatGateway-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_nat_gateway\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_nat_gateway_api := client.VirtualPrivateCloudNatGateway\r\n params := virtual_private_cloud_nat_gateway.NewDeleteVirtualPrivateCloudNatGatewayParams()\r\n params.RequestBody = &models.VirtualPrivateCloudNatGatewayDeletionParams{\nWhere: &models.VirtualPrivateCloudNatGatewayWhereInput{\nID: pointy.String(\"VirtualPrivateCloudNatGateway-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_nat_gateway_api.DeleteVirtualPrivateCloudNatGateway(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudNatGateway) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloudNatGateway)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudNatGateway) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudNatGatewayApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudNatGatewayApi virtualPrivateCloudNatGatewayApi = new VirtualPrivateCloudNatGatewayApi(client);\r\n VirtualPrivateCloudNatGatewayDeletionParams params = new VirtualPrivateCloudNatGatewayDeletionParams()\n.where(new VirtualPrivateCloudNatGatewayWhereInput()\n.id(\"VirtualPrivateCloudNatGateway-id\"));\r\n List resp = virtualPrivateCloudNatGatewayApi.deleteVirtualPrivateCloudNatGateway(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/create-virtual-private-cloud-route-table": { + "exampleValue": [ + { + "vpc_id": "ck74rk21wg5lz0786opdnzz5m", + "name": "name-string" + } + ], + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-virtual-private-cloud-route-table \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudRouteTableApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_route_table_api = VirtualPrivateCloudRouteTableApi(client)\r\n resp = virtual_private_cloud_route_table_api.create_virtual_private_cloud_route_table([{\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_route_table\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_route_table_api := client.VirtualPrivateCloudRouteTable\r\n params := virtual_private_cloud_route_table.NewCreateVirtualPrivateCloudRouteTableParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudRouteTableCreationParams{\n{\nVpcID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_route_table_api.CreateVirtualPrivateCloudRouteTable(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouteTable) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudRouteTable)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouteTable) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudRouteTableApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudRouteTableApi virtualPrivateCloudRouteTableApi = new VirtualPrivateCloudRouteTableApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudRouteTableCreationParams()\n.vpcId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = virtualPrivateCloudRouteTableApi.createVirtualPrivateCloudRouteTable(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/update-virtual-private-cloud-route-table": { + "exampleValue": { + "data": {}, + "where": { + "id": "VirtualPrivateCloudRouteTable-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-virtual-private-cloud-route-table \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudRouteTable-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudRouteTableApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_route_table_api = VirtualPrivateCloudRouteTableApi(client)\r\n resp = virtual_private_cloud_route_table_api.update_virtual_private_cloud_route_table({\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudRouteTable-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_route_table\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_route_table_api := client.VirtualPrivateCloudRouteTable\r\n params := virtual_private_cloud_route_table.NewUpdateVirtualPrivateCloudRouteTableParams()\r\n params.RequestBody = &models.VirtualPrivateCloudRouteTableUpdationParams{\nData: &models.VirtualPrivateCloudRouteTableUpdationParamsData{\n},\nWhere: &models.VirtualPrivateCloudRouteTableWhereInput{\nID: pointy.String(\"VirtualPrivateCloudRouteTable-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_route_table_api.UpdateVirtualPrivateCloudRouteTable(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouteTable) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudRouteTable)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouteTable) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudRouteTableApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudRouteTableApi virtualPrivateCloudRouteTableApi = new VirtualPrivateCloudRouteTableApi(client);\r\n VirtualPrivateCloudRouteTableUpdationParams params = new VirtualPrivateCloudRouteTableUpdationParams()\n.data(new VirtualPrivateCloudRouteTableUpdationParamsData())\n.where(new VirtualPrivateCloudRouteTableWhereInput()\n.id(\"VirtualPrivateCloudRouteTable-id\"));\r\n List resp = virtualPrivateCloudRouteTableApi.updateVirtualPrivateCloudRouteTable(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/delete-virtual-private-cloud-route-table": { + "exampleValue": { + "where": { + "id": "VirtualPrivateCloudRouteTable-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-virtual-private-cloud-route-table \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloudRouteTable-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudRouteTableApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_route_table_api = VirtualPrivateCloudRouteTableApi(client)\r\n resp = virtual_private_cloud_route_table_api.delete_virtual_private_cloud_route_table({\"where\":{\"id\":\"VirtualPrivateCloudRouteTable-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_route_table\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_route_table_api := client.VirtualPrivateCloudRouteTable\r\n params := virtual_private_cloud_route_table.NewDeleteVirtualPrivateCloudRouteTableParams()\r\n params.RequestBody = &models.VirtualPrivateCloudRouteTableDeletionParams{\nWhere: &models.VirtualPrivateCloudRouteTableWhereInput{\nID: pointy.String(\"VirtualPrivateCloudRouteTable-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_route_table_api.DeleteVirtualPrivateCloudRouteTable(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudRouteTable) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloudRouteTable)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudRouteTable) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudRouteTableApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudRouteTableApi virtualPrivateCloudRouteTableApi = new VirtualPrivateCloudRouteTableApi(client);\r\n VirtualPrivateCloudRouteTableDeletionParams params = new VirtualPrivateCloudRouteTableDeletionParams()\n.where(new VirtualPrivateCloudRouteTableWhereInput()\n.id(\"VirtualPrivateCloudRouteTable-id\"));\r\n List resp = virtualPrivateCloudRouteTableApi.deleteVirtualPrivateCloudRouteTable(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/create-virtual-private-cloud-router-gateway": { + "exampleValue": [ + { + "rules": [ + { + "dst": "dst-string" + } + ], + "associated_subnets_ids": [ + "-string" + ], + "external_subnet_id": "ck74rk21wg5lz0786opdnzz5m", + "vpc_id": "ck74rk21wg5lz0786opdnzz5m", + "name": "name-string" + } + ], + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-virtual-private-cloud-router-gateway \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"rules\":[{\"dst\":\"dst-string\"}],\"associated_subnets_ids\":[\"-string\"],\"external_subnet_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudRouterGatewayApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_router_gateway_api = VirtualPrivateCloudRouterGatewayApi(client)\r\n resp = virtual_private_cloud_router_gateway_api.create_virtual_private_cloud_router_gateway([{\"rules\":[{\"dst\":\"dst-string\"}],\"associated_subnets_ids\":[\"-string\"],\"external_subnet_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_router_gateway\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_router_gateway_api := client.VirtualPrivateCloudRouterGateway\r\n params := virtual_private_cloud_router_gateway.NewCreateVirtualPrivateCloudRouterGatewayParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudRouterGatewayCreationParams{\n{\nRules: []*models.VirtualPrivateCloudRouterGatewayRuleInputType{\n{\nDst: pointy.String(\"dst-string\"),\n},\n},\nAssociatedSubnetsIds: []string{\"-string\",\n},\nExternalSubnetID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nVpcID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_router_gateway_api.CreateVirtualPrivateCloudRouterGateway(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouterGateway) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudRouterGateway)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouterGateway) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudRouterGatewayApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudRouterGatewayApi virtualPrivateCloudRouterGatewayApi = new VirtualPrivateCloudRouterGatewayApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudRouterGatewayCreationParams()\n.addRulesItem(new VirtualPrivateCloudRouterGatewayRuleInputType()\n.dst(\"dst-string\"))\n.addAssociatedSubnetsIdsItem(\"-string\")\n.externalSubnetId(\"ck74rk21wg5lz0786opdnzz5m\")\n.vpcId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = virtualPrivateCloudRouterGatewayApi.createVirtualPrivateCloudRouterGateway(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/update-virtual-private-cloud-router-gateway": { + "exampleValue": { + "data": {}, + "where": { + "id": "VirtualPrivateCloudRouterGateway-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-virtual-private-cloud-router-gateway \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudRouterGateway-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudRouterGatewayApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_router_gateway_api = VirtualPrivateCloudRouterGatewayApi(client)\r\n resp = virtual_private_cloud_router_gateway_api.update_virtual_private_cloud_router_gateway({\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudRouterGateway-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_router_gateway\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_router_gateway_api := client.VirtualPrivateCloudRouterGateway\r\n params := virtual_private_cloud_router_gateway.NewUpdateVirtualPrivateCloudRouterGatewayParams()\r\n params.RequestBody = &models.VirtualPrivateCloudRouterGatewayUpdationParams{\nData: &models.VirtualPrivateCloudRouterGatewayUpdateDataParams{\n},\nWhere: &models.VirtualPrivateCloudRouterGatewayWhereInput{\nID: pointy.String(\"VirtualPrivateCloudRouterGateway-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_router_gateway_api.UpdateVirtualPrivateCloudRouterGateway(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouterGateway) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudRouterGateway)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouterGateway) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudRouterGatewayApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudRouterGatewayApi virtualPrivateCloudRouterGatewayApi = new VirtualPrivateCloudRouterGatewayApi(client);\r\n VirtualPrivateCloudRouterGatewayUpdationParams params = new VirtualPrivateCloudRouterGatewayUpdationParams()\n.data(new VirtualPrivateCloudRouterGatewayUpdateDataParams())\n.where(new VirtualPrivateCloudRouterGatewayWhereInput()\n.id(\"VirtualPrivateCloudRouterGateway-id\"));\r\n List resp = virtualPrivateCloudRouterGatewayApi.updateVirtualPrivateCloudRouterGateway(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/delete-virtual-private-cloud-router-gateway": { + "exampleValue": { + "where": { + "id": "VirtualPrivateCloudRouterGateway-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-virtual-private-cloud-router-gateway \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloudRouterGateway-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudRouterGatewayApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_router_gateway_api = VirtualPrivateCloudRouterGatewayApi(client)\r\n resp = virtual_private_cloud_router_gateway_api.delete_virtual_private_cloud_router_gateway({\"where\":{\"id\":\"VirtualPrivateCloudRouterGateway-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_router_gateway\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_router_gateway_api := client.VirtualPrivateCloudRouterGateway\r\n params := virtual_private_cloud_router_gateway.NewDeleteVirtualPrivateCloudRouterGatewayParams()\r\n params.RequestBody = &models.VirtualPrivateCloudRouterGatewayDeletionParams{\nWhere: &models.VirtualPrivateCloudRouterGatewayWhereInput{\nID: pointy.String(\"VirtualPrivateCloudRouterGateway-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_router_gateway_api.DeleteVirtualPrivateCloudRouterGateway(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudRouterGateway) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloudRouterGateway)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudRouterGateway) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudRouterGatewayApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudRouterGatewayApi virtualPrivateCloudRouterGatewayApi = new VirtualPrivateCloudRouterGatewayApi(client);\r\n VirtualPrivateCloudRouterGatewayDeletionParams params = new VirtualPrivateCloudRouterGatewayDeletionParams()\n.where(new VirtualPrivateCloudRouterGatewayWhereInput()\n.id(\"VirtualPrivateCloudRouterGateway-id\"));\r\n List resp = virtualPrivateCloudRouterGatewayApi.deleteVirtualPrivateCloudRouterGateway(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/create-virtual-private-cloud-security-group": { + "exampleValue": [ + { + "vpc_id": "ck74rk21wg5lz0786opdnzz5m", + "name": "name-string" + } + ], + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-virtual-private-cloud-security-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSecurityGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_security_group_api = VirtualPrivateCloudSecurityGroupApi(client)\r\n resp = virtual_private_cloud_security_group_api.create_virtual_private_cloud_security_group([{\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_security_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_security_group_api := client.VirtualPrivateCloudSecurityGroup\r\n params := virtual_private_cloud_security_group.NewCreateVirtualPrivateCloudSecurityGroupParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudSecurityGroupCreationParams{\n{\nVpcID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_security_group_api.CreateVirtualPrivateCloudSecurityGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudSecurityGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSecurityGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSecurityGroupApi virtualPrivateCloudSecurityGroupApi = new VirtualPrivateCloudSecurityGroupApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudSecurityGroupCreationParams()\n.vpcId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = virtualPrivateCloudSecurityGroupApi.createVirtualPrivateCloudSecurityGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/update-virtual-private-cloud-security-group": { + "exampleValue": { + "data": {}, + "where": { + "id": "VirtualPrivateCloudSecurityGroup-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-virtual-private-cloud-security-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudSecurityGroup-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSecurityGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_security_group_api = VirtualPrivateCloudSecurityGroupApi(client)\r\n resp = virtual_private_cloud_security_group_api.update_virtual_private_cloud_security_group({\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudSecurityGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_security_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_security_group_api := client.VirtualPrivateCloudSecurityGroup\r\n params := virtual_private_cloud_security_group.NewUpdateVirtualPrivateCloudSecurityGroupParams()\r\n params.RequestBody = &models.VirtualPrivateCloudSecurityGroupUpdationParams{\nData: &models.VirtualPrivateCloudSecurityGroupUpdationParamsData{\n},\nWhere: &models.VirtualPrivateCloudSecurityGroupWhereInput{\nID: pointy.String(\"VirtualPrivateCloudSecurityGroup-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_security_group_api.UpdateVirtualPrivateCloudSecurityGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudSecurityGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSecurityGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSecurityGroupApi virtualPrivateCloudSecurityGroupApi = new VirtualPrivateCloudSecurityGroupApi(client);\r\n VirtualPrivateCloudSecurityGroupUpdationParams params = new VirtualPrivateCloudSecurityGroupUpdationParams()\n.data(new VirtualPrivateCloudSecurityGroupUpdationParamsData())\n.where(new VirtualPrivateCloudSecurityGroupWhereInput()\n.id(\"VirtualPrivateCloudSecurityGroup-id\"));\r\n List resp = virtualPrivateCloudSecurityGroupApi.updateVirtualPrivateCloudSecurityGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/delete-virtual-private-cloud-security-group": { + "exampleValue": { + "where": { + "id": "VirtualPrivateCloudSecurityGroup-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-virtual-private-cloud-security-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloudSecurityGroup-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSecurityGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_security_group_api = VirtualPrivateCloudSecurityGroupApi(client)\r\n resp = virtual_private_cloud_security_group_api.delete_virtual_private_cloud_security_group({\"where\":{\"id\":\"VirtualPrivateCloudSecurityGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_security_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_security_group_api := client.VirtualPrivateCloudSecurityGroup\r\n params := virtual_private_cloud_security_group.NewDeleteVirtualPrivateCloudSecurityGroupParams()\r\n params.RequestBody = &models.VirtualPrivateCloudSecurityGroupDeletionParams{\nWhere: &models.VirtualPrivateCloudSecurityGroupWhereInput{\nID: pointy.String(\"VirtualPrivateCloudSecurityGroup-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_security_group_api.DeleteVirtualPrivateCloudSecurityGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudSecurityGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloudSecurityGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudSecurityGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSecurityGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSecurityGroupApi virtualPrivateCloudSecurityGroupApi = new VirtualPrivateCloudSecurityGroupApi(client);\r\n VirtualPrivateCloudSecurityGroupDeletionParams params = new VirtualPrivateCloudSecurityGroupDeletionParams()\n.where(new VirtualPrivateCloudSecurityGroupWhereInput()\n.id(\"VirtualPrivateCloudSecurityGroup-id\"));\r\n List resp = virtualPrivateCloudSecurityGroupApi.deleteVirtualPrivateCloudSecurityGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/create-virtual-private-cloud-security-policy": { + "exampleValue": [ + { + "apply_to": [ + { + "security_group_id": "ck74rk21wg5lz0786opdnzz5m", + "communicable": true + } + ], + "vpc_id": "ck74rk21wg5lz0786opdnzz5m", + "name": "name-string" + } + ], + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-virtual-private-cloud-security-policy \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"apply_to\":[{\"security_group_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"communicable\":true}],\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSecurityPolicyApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_security_policy_api = VirtualPrivateCloudSecurityPolicyApi(client)\r\n resp = virtual_private_cloud_security_policy_api.create_virtual_private_cloud_security_policy([{\"apply_to\":[{\"security_group_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"communicable\":True}],\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_security_policy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_security_policy_api := client.VirtualPrivateCloudSecurityPolicy\r\n params := virtual_private_cloud_security_policy.NewCreateVirtualPrivateCloudSecurityPolicyParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudSecurityPolicyCreateParams{\n{\nApplyTo: []*models.VirtualPrivateCloudSecurityPolicyApplyInput{\n{\nSecurityGroupID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nCommunicable: pointy.Bool(true),\n},\n},\nVpcID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_security_policy_api.CreateVirtualPrivateCloudSecurityPolicy(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityPolicy) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudSecurityPolicy)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityPolicy) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSecurityPolicyApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSecurityPolicyApi virtualPrivateCloudSecurityPolicyApi = new VirtualPrivateCloudSecurityPolicyApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudSecurityPolicyCreateParams()\n.addApplyToItem(new VirtualPrivateCloudSecurityPolicyApplyInput()\n.securityGroupId(\"ck74rk21wg5lz0786opdnzz5m\")\n.communicable(true))\n.vpcId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = virtualPrivateCloudSecurityPolicyApi.createVirtualPrivateCloudSecurityPolicy(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/delete-virtual-private-cloud-security-policy": { + "exampleValue": { + "where": { + "id": "VirtualPrivateCloudSecurityPolicy-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-virtual-private-cloud-security-policy \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloudSecurityPolicy-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSecurityPolicyApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_security_policy_api = VirtualPrivateCloudSecurityPolicyApi(client)\r\n resp = virtual_private_cloud_security_policy_api.delete_virtual_private_cloud_security_policy({\"where\":{\"id\":\"VirtualPrivateCloudSecurityPolicy-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_security_policy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_security_policy_api := client.VirtualPrivateCloudSecurityPolicy\r\n params := virtual_private_cloud_security_policy.NewDeleteVirtualPrivateCloudSecurityPolicyParams()\r\n params.RequestBody = &models.VirtualPrivateCloudSecurityPolicyDeleteParams{\nWhere: &models.VirtualPrivateCloudSecurityPolicyWhereInput{\nID: pointy.String(\"VirtualPrivateCloudSecurityPolicy-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_security_policy_api.DeleteVirtualPrivateCloudSecurityPolicy(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudSecurityPolicy) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloudSecurityPolicy)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudSecurityPolicy) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSecurityPolicyApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSecurityPolicyApi virtualPrivateCloudSecurityPolicyApi = new VirtualPrivateCloudSecurityPolicyApi(client);\r\n VirtualPrivateCloudSecurityPolicyDeleteParams params = new VirtualPrivateCloudSecurityPolicyDeleteParams()\n.where(new VirtualPrivateCloudSecurityPolicyWhereInput()\n.id(\"VirtualPrivateCloudSecurityPolicy-id\"));\r\n List resp = virtualPrivateCloudSecurityPolicyApi.deleteVirtualPrivateCloudSecurityPolicy(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/update-virtual-private-cloud-security-policy": { + "exampleValue": { + "data": {}, + "where": { + "id": "VirtualPrivateCloudSecurityPolicy-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-virtual-private-cloud-security-policy \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudSecurityPolicy-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSecurityPolicyApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_security_policy_api = VirtualPrivateCloudSecurityPolicyApi(client)\r\n resp = virtual_private_cloud_security_policy_api.update_virtual_private_cloud_security_policy({\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudSecurityPolicy-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_security_policy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_security_policy_api := client.VirtualPrivateCloudSecurityPolicy\r\n params := virtual_private_cloud_security_policy.NewUpdateVirtualPrivateCloudSecurityPolicyParams()\r\n params.RequestBody = &models.VirtualPrivateCloudSecurityPolicyUpdateBody{\nData: &models.VirtualPrivateCloudSecurityPolicyUpdateParams{\n},\nWhere: &models.VirtualPrivateCloudSecurityPolicyWhereInput{\nID: pointy.String(\"VirtualPrivateCloudSecurityPolicy-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_security_policy_api.UpdateVirtualPrivateCloudSecurityPolicy(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityPolicy) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudSecurityPolicy)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityPolicy) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSecurityPolicyApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSecurityPolicyApi virtualPrivateCloudSecurityPolicyApi = new VirtualPrivateCloudSecurityPolicyApi(client);\r\n VirtualPrivateCloudSecurityPolicyUpdateBody params = new VirtualPrivateCloudSecurityPolicyUpdateBody()\n.data(new VirtualPrivateCloudSecurityPolicyUpdateParams())\n.where(new VirtualPrivateCloudSecurityPolicyWhereInput()\n.id(\"VirtualPrivateCloudSecurityPolicy-id\"));\r\n List resp = virtualPrivateCloudSecurityPolicyApi.updateVirtualPrivateCloudSecurityPolicy(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/create-virtual-private-cloud-subnet": { + "exampleValue": [ + { + "route_table_id": "ck74rk21wg5lz0786opdnzz5m", + "gateway": "gateway-string", + "cidr": "cidr-string", + "vpc_id": "ck74rk21wg5lz0786opdnzz5m", + "name": "name-string" + } + ], + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-virtual-private-cloud-subnet \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"route_table_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"gateway\":\"gateway-string\",\"cidr\":\"cidr-string\",\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSubnetApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_subnet_api = VirtualPrivateCloudSubnetApi(client)\r\n resp = virtual_private_cloud_subnet_api.create_virtual_private_cloud_subnet([{\"route_table_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"gateway\":\"gateway-string\",\"cidr\":\"cidr-string\",\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_subnet\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_subnet_api := client.VirtualPrivateCloudSubnet\r\n params := virtual_private_cloud_subnet.NewCreateVirtualPrivateCloudSubnetParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudSubnetCreationParams{\n{\nRouteTableID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nGateway: pointy.String(\"gateway-string\"),\nCidr: pointy.String(\"cidr-string\"),\nVpcID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_subnet_api.CreateVirtualPrivateCloudSubnet(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudSubnet) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudSubnet)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudSubnet) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSubnetApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSubnetApi virtualPrivateCloudSubnetApi = new VirtualPrivateCloudSubnetApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudSubnetCreationParams()\n.routeTableId(\"ck74rk21wg5lz0786opdnzz5m\")\n.gateway(\"gateway-string\")\n.cidr(\"cidr-string\")\n.vpcId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = virtualPrivateCloudSubnetApi.createVirtualPrivateCloudSubnet(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/update-virtual-private-cloud-subnet": { + "exampleValue": { + "data": {}, + "where": { + "id": "VirtualPrivateCloudSubnet-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-virtual-private-cloud-subnet \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudSubnet-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSubnetApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_subnet_api = VirtualPrivateCloudSubnetApi(client)\r\n resp = virtual_private_cloud_subnet_api.update_virtual_private_cloud_subnet({\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudSubnet-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_subnet\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_subnet_api := client.VirtualPrivateCloudSubnet\r\n params := virtual_private_cloud_subnet.NewUpdateVirtualPrivateCloudSubnetParams()\r\n params.RequestBody = &models.VirtualPrivateCloudSubnetUpdationParams{\nData: &models.VirtualPrivateCloudSubnetUpdateDataParams{\n},\nWhere: &models.VirtualPrivateCloudSubnetWhereInput{\nID: pointy.String(\"VirtualPrivateCloudSubnet-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_subnet_api.UpdateVirtualPrivateCloudSubnet(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudSubnet) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudSubnet)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudSubnet) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSubnetApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSubnetApi virtualPrivateCloudSubnetApi = new VirtualPrivateCloudSubnetApi(client);\r\n VirtualPrivateCloudSubnetUpdationParams params = new VirtualPrivateCloudSubnetUpdationParams()\n.data(new VirtualPrivateCloudSubnetUpdateDataParams())\n.where(new VirtualPrivateCloudSubnetWhereInput()\n.id(\"VirtualPrivateCloudSubnet-id\"));\r\n List resp = virtualPrivateCloudSubnetApi.updateVirtualPrivateCloudSubnet(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/delete-virtual-private-cloud-subnet": { + "exampleValue": { + "where": { + "id": "VirtualPrivateCloudSubnet-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-virtual-private-cloud-subnet \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloudSubnet-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSubnetApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_subnet_api = VirtualPrivateCloudSubnetApi(client)\r\n resp = virtual_private_cloud_subnet_api.delete_virtual_private_cloud_subnet({\"where\":{\"id\":\"VirtualPrivateCloudSubnet-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_subnet\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_subnet_api := client.VirtualPrivateCloudSubnet\r\n params := virtual_private_cloud_subnet.NewDeleteVirtualPrivateCloudSubnetParams()\r\n params.RequestBody = &models.VirtualPrivateCloudSubnetDeletionParams{\nWhere: &models.VirtualPrivateCloudSubnetWhereInput{\nID: pointy.String(\"VirtualPrivateCloudSubnet-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_subnet_api.DeleteVirtualPrivateCloudSubnet(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudSubnet) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloudSubnet)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudSubnet) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSubnetApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSubnetApi virtualPrivateCloudSubnetApi = new VirtualPrivateCloudSubnetApi(client);\r\n VirtualPrivateCloudSubnetDeletionParams params = new VirtualPrivateCloudSubnetDeletionParams()\n.where(new VirtualPrivateCloudSubnetWhereInput()\n.id(\"VirtualPrivateCloudSubnet-id\"));\r\n List resp = virtualPrivateCloudSubnetApi.deleteVirtualPrivateCloudSubnet(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/create-virtual-private-cloud": { + "exampleValue": [ + { + "vpc_service_id": "ck74rk21wg5lz0786opdnzz5m", + "name": "name-string" + } + ], + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-virtual-private-cloud \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"vpc_service_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_api = VirtualPrivateCloudApi(client)\r\n resp = virtual_private_cloud_api.create_virtual_private_cloud([{\"vpc_service_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_api := client.VirtualPrivateCloud\r\n params := virtual_private_cloud.NewCreateVirtualPrivateCloudParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudCreationParams{\n{\nVpcServiceID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_api.CreateVirtualPrivateCloud(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloud) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloud)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloud) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudApi virtualPrivateCloudApi = new VirtualPrivateCloudApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudCreationParams()\n.vpcServiceId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = virtualPrivateCloudApi.createVirtualPrivateCloud(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/update-virtual-private-cloud": { + "exampleValue": { + "data": {}, + "where": { + "id": "VirtualPrivateCloud-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-virtual-private-cloud \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloud-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_api = VirtualPrivateCloudApi(client)\r\n resp = virtual_private_cloud_api.update_virtual_private_cloud({\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloud-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_api := client.VirtualPrivateCloud\r\n params := virtual_private_cloud.NewUpdateVirtualPrivateCloudParams()\r\n params.RequestBody = &models.VirtualPrivateCloudUpdationParams{\nData: &models.VirtualPrivateCloudUpdateDataParams{\n},\nWhere: &models.VirtualPrivateCloudWhereInput{\nID: pointy.String(\"VirtualPrivateCloud-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_api.UpdateVirtualPrivateCloud(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloud) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloud)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloud) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudApi virtualPrivateCloudApi = new VirtualPrivateCloudApi(client);\r\n VirtualPrivateCloudUpdationParams params = new VirtualPrivateCloudUpdationParams()\n.data(new VirtualPrivateCloudUpdateDataParams())\n.where(new VirtualPrivateCloudWhereInput()\n.id(\"VirtualPrivateCloud-id\"));\r\n List resp = virtualPrivateCloudApi.updateVirtualPrivateCloud(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/delete-virtual-private-cloud": { + "exampleValue": { + "where": { + "id": "VirtualPrivateCloud-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-virtual-private-cloud \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloud-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_api = VirtualPrivateCloudApi(client)\r\n resp = virtual_private_cloud_api.delete_virtual_private_cloud({\"where\":{\"id\":\"VirtualPrivateCloud-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_api := client.VirtualPrivateCloud\r\n params := virtual_private_cloud.NewDeleteVirtualPrivateCloudParams()\r\n params.RequestBody = &models.VirtualPrivateCloudDeletionParams{\nWhere: &models.VirtualPrivateCloudWhereInput{\nID: pointy.String(\"VirtualPrivateCloud-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_api.DeleteVirtualPrivateCloud(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloud) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloud)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloud) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudApi virtualPrivateCloudApi = new VirtualPrivateCloudApi(client);\r\n VirtualPrivateCloudDeletionParams params = new VirtualPrivateCloudDeletionParams()\n.where(new VirtualPrivateCloudWhereInput()\n.id(\"VirtualPrivateCloud-id\"));\r\n List resp = virtualPrivateCloudApi.deleteVirtualPrivateCloud(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/create-vm-vlan": { + "exampleValue": [ + { + "vds_id": "ck74rk21wg5lz0786opdnzz5m", + "name": "name-string" + } + ], + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-vm-vlan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"vds_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "python": "from cloudtower import ApiClient, Configuration, VlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vlan_api = VlanApi(client)\r\n resp = vlan_api.create_vm_vlan([{\"vds_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vlan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vlan_api := client.Vlan\r\n params := vlan.NewCreateVMVlanParams()\r\n params.RequestBody = []*models.VMVlanCreationParams{\n{\nVdsID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := vlan_api.CreateVMVlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VlanApi vlanApi = new VlanApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmVlanCreationParams()\n.vdsId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = vlanApi.createVmVlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/update-vm-vlan": { + "exampleValue": { + "data": {}, + "where": { + "id": "Vlan-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-vlan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vlan-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vlan_api = VlanApi(client)\r\n resp = vlan_api.update_vlan({\"data\":{},\"where\":{\"id\":\"Vlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vlan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vlan_api := client.Vlan\r\n params := vlan.NewUpdateVlanParams()\r\n params.RequestBody = &models.VMVlanUpdationParams{\nData: &models.VMVlanUpdationParamsData{\n},\nWhere: &models.VlanWhereInput{\nID: pointy.String(\"Vlan-id\"),\n},\n}\r\n rawResp, err := vlan_api.UpdateVlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VlanApi vlanApi = new VlanApi(client);\r\n VmVlanUpdationParams params = new VmVlanUpdationParams()\n.data(new VmVlanUpdationParamsData())\n.where(new VlanWhereInput()\n.id(\"Vlan-id\"));\r\n List resp = vlanApi.updateVlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/update-management-vlan": { + "exampleValue": { + "data": {}, + "where": { + "id": "Vlan-id" + } + }, + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-management-vlan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Vlan-id\"}}'", + "python": "from cloudtower import ApiClient, Configuration, VlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vlan_api = VlanApi(client)\r\n resp = vlan_api.update_management_vlan({\"data\":{},\"where\":{\"id\":\"Vlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", + "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vlan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vlan_api := client.Vlan\r\n params := vlan.NewUpdateManagementVlanParams()\r\n params.RequestBody = &models.ManagementVlanUpdationParams{\nData: &models.ManagementVlanUpdationParamsData{\n},\nWhere: &models.VlanWhereInput{\nID: pointy.String(\"Vlan-id\"),\n},\n}\r\n rawResp, err := vlan_api.UpdateManagementVlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", + "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VlanApi vlanApi = new VlanApi(client);\r\n ManagementVlanUpdationParams params = new ManagementVlanUpdationParams()\n.data(new ManagementVlanUpdationParamsData())\n.where(new VlanWhereInput()\n.id(\"Vlan-id\"));\r\n List resp = vlanApi.updateManagementVlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" + }, + "/update-migration-vlan": { "exampleValue": { "where": { "id": "Vlan-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-migration-vlan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vlan-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-migration-vlan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vlan-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vlan_api = VlanApi(client)\r\n resp = vlan_api.update_migration_vlan({\"where\":{\"id\":\"Vlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vlan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vlan_api := client.Vlan\r\n params := vlan.NewUpdateMigrationVlanParams()\r\n params.RequestBody = &models.MigrationVlanUpdationParams{\nWhere: &models.VlanWhereInput{\nID: pointy.String(\"Vlan-id\"),\n},\n}\r\n rawResp, err := vlan_api.UpdateMigrationVlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VlanApi vlanApi = new VlanApi(client);\r\n MigrationVlanUpdationParams params = new MigrationVlanUpdationParams()\n.where(new VlanWhereInput()\n.id(\"Vlan-id\"));\r\n List resp = vlanApi.updateMigrationVlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3293,7 +3813,7 @@ "id": "Vlan-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-vm-vlan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vlan-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-vm-vlan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Vlan-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vlan_api = VlanApi(client)\r\n resp = vlan_api.delete_vlan({\"where\":{\"id\":\"Vlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vlan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vlan_api := client.Vlan\r\n params := vlan.NewDeleteVlanParams()\r\n params.RequestBody = &models.VlanDeletionParams{\nWhere: &models.VlanWhereInput{\nID: pointy.String(\"Vlan-id\"),\n},\n}\r\n rawResp, err := vlan_api.DeleteVlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VlanApi vlanApi = new VlanApi(client);\r\n VlanDeletionParams params = new VlanDeletionParams()\n.where(new VlanWhereInput()\n.id(\"Vlan-id\"));\r\n List resp = vlanApi.deleteVlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3305,7 +3825,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-vm-folder \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-vm-folder \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmFolderApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_folder_api = VmFolderApi(client)\r\n resp = vm_folder_api.create_vm_folder([{\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_folder\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_folder_api := client.VMFolder\r\n params := vm_folder.NewCreateVMFolderParams()\r\n params.RequestBody = []*models.VMFolderCreationParams{\n{\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := vm_folder_api.CreateVMFolder(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMFolder) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMFolder)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMFolder) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmFolderApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmFolderApi vmFolderApi = new VmFolderApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmFolderCreationParams()\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = vmFolderApi.createVmFolder(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3319,7 +3839,7 @@ "id": "VmFolder-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-folder \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"name\":\"name-string\"},\"where\":{\"id\":\"VmFolder-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-folder \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"name\":\"name-string\"},\"where\":{\"id\":\"VmFolder-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmFolderApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_folder_api = VmFolderApi(client)\r\n resp = vm_folder_api.update_vm_folder({\"data\":{\"name\":\"name-string\"},\"where\":{\"id\":\"VmFolder-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_folder\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_folder_api := client.VMFolder\r\n params := vm_folder.NewUpdateVMFolderParams()\r\n params.RequestBody = &models.VMFolderUpdationParams{\nData: &models.VMFolderUpdationParamsData{\nName: pointy.String(\"name-string\"),\n},\nWhere: &models.VMFolderWhereInput{\nID: pointy.String(\"VmFolder-id\"),\n},\n}\r\n rawResp, err := vm_folder_api.UpdateVMFolder(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMFolder) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMFolder)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMFolder) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmFolderApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmFolderApi vmFolderApi = new VmFolderApi(client);\r\n VmFolderUpdationParams params = new VmFolderUpdationParams()\n.data(new VmFolderUpdationParamsData()\n.name(\"name-string\"))\n.where(new VmFolderWhereInput()\n.id(\"VmFolder-id\"));\r\n List resp = vmFolderApi.updateVmFolder(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3330,7 +3850,7 @@ "id": "VmFolder-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-vm-folder \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmFolder-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-vm-folder \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmFolder-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmFolderApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_folder_api = VmFolderApi(client)\r\n resp = vm_folder_api.delete_vm_folder({\"where\":{\"id\":\"VmFolder-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_folder\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_folder_api := client.VMFolder\r\n params := vm_folder.NewDeleteVMFolderParams()\r\n params.RequestBody = &models.VMFolderDeletionParams{\nWhere: &models.VMFolderWhereInput{\nID: pointy.String(\"VmFolder-id\"),\n},\n}\r\n rawResp, err := vm_folder_api.DeleteVMFolder(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVMFolder) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVMFolder)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVMFolder) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmFolderApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmFolderApi vmFolderApi = new VmFolderApi(client);\r\n VmFolderDeletionParams params = new VmFolderDeletionParams()\n.where(new VmFolderWhereInput()\n.id(\"VmFolder-id\"));\r\n List resp = vmFolderApi.deleteVmFolder(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3343,7 +3863,7 @@ "cluster_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-vm-placement-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"name\":\"name-string\",\"enabled\":true,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-vm-placement-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"name\":\"name-string\",\"enabled\":true,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmPlacementGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_placement_group_api = VmPlacementGroupApi(client)\r\n resp = vm_placement_group_api.create_vm_placement_group([{\"name\":\"name-string\",\"enabled\":True,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_placement_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_placement_group_api := client.VMPlacementGroup\r\n params := vm_placement_group.NewCreateVMPlacementGroupParams()\r\n params.RequestBody = []*models.VMPlacementGroupCreationParams{\n{\nName: pointy.String(\"name-string\"),\nEnabled: pointy.Bool(true),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := vm_placement_group_api.CreateVMPlacementGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMPlacementGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMPlacementGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMPlacementGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmPlacementGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmPlacementGroupApi vmPlacementGroupApi = new VmPlacementGroupApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmPlacementGroupCreationParams()\n.name(\"name-string\")\n.enabled(true)\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = vmPlacementGroupApi.createVmPlacementGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3355,7 +3875,7 @@ "id": "VmPlacementGroup-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-placement-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VmPlacementGroup-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-placement-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VmPlacementGroup-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmPlacementGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_placement_group_api = VmPlacementGroupApi(client)\r\n resp = vm_placement_group_api.update_vm_placement_group({\"data\":{},\"where\":{\"id\":\"VmPlacementGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_placement_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_placement_group_api := client.VMPlacementGroup\r\n params := vm_placement_group.NewUpdateVMPlacementGroupParams()\r\n params.RequestBody = &models.VMPlacementGroupUpdationParams{\nData: &models.VMPlacementGroupUpdationParamsData{\n},\nWhere: &models.VMPlacementGroupWhereInput{\nID: pointy.String(\"VmPlacementGroup-id\"),\n},\n}\r\n rawResp, err := vm_placement_group_api.UpdateVMPlacementGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMPlacementGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMPlacementGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMPlacementGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmPlacementGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmPlacementGroupApi vmPlacementGroupApi = new VmPlacementGroupApi(client);\r\n VmPlacementGroupUpdationParams params = new VmPlacementGroupUpdationParams()\n.data(new VmPlacementGroupUpdationParamsData())\n.where(new VmPlacementGroupWhereInput()\n.id(\"VmPlacementGroup-id\"));\r\n List resp = vmPlacementGroupApi.updateVmPlacementGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3366,7 +3886,7 @@ "id": "VmPlacementGroup-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-vm-placement-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmPlacementGroup-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-vm-placement-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmPlacementGroup-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmPlacementGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_placement_group_api = VmPlacementGroupApi(client)\r\n resp = vm_placement_group_api.delete_vm_placement_group({\"where\":{\"id\":\"VmPlacementGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_placement_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_placement_group_api := client.VMPlacementGroup\r\n params := vm_placement_group.NewDeleteVMPlacementGroupParams()\r\n params.RequestBody = &models.VMPlacementGroupDeletionParams{\nWhere: &models.VMPlacementGroupWhereInput{\nID: pointy.String(\"VmPlacementGroup-id\"),\n},\n}\r\n rawResp, err := vm_placement_group_api.DeleteVMPlacementGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVMPlacementGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVMPlacementGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVMPlacementGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmPlacementGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmPlacementGroupApi vmPlacementGroupApi = new VmPlacementGroupApi(client);\r\n VmPlacementGroupDeletionParams params = new VmPlacementGroupDeletionParams()\n.where(new VmPlacementGroupWhereInput()\n.id(\"VmPlacementGroup-id\"));\r\n List resp = vmPlacementGroupApi.deleteVmPlacementGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3380,7 +3900,7 @@ } ] }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-vm-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":[{\"name\":\"name-string\",\"vm_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-vm-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":[{\"name\":\"name-string\",\"vm_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]}'", "python": "from cloudtower import ApiClient, Configuration, VmSnapshotApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_snapshot_api = VmSnapshotApi(client)\r\n resp = vm_snapshot_api.create_vm_snapshot({\"data\":[{\"name\":\"name-string\",\"vm_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_snapshot_api := client.VMSnapshot\r\n params := vm_snapshot.NewCreateVMSnapshotParams()\r\n params.RequestBody = &models.VMSnapshotCreationParams{\nData: []*models.VMSnapshotCreationParamsData{\n{\nName: pointy.String(\"name-string\"),\nVMID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n},\n}\r\n rawResp, err := vm_snapshot_api.CreateVMSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMSnapshot) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMSnapshot)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMSnapshot) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmSnapshotApi vmSnapshotApi = new VmSnapshotApi(client);\r\n VmSnapshotCreationParams params = new VmSnapshotCreationParams()\n.addDataItem(new VmSnapshotCreationParamsData()\n.name(\"name-string\")\n.vmId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = vmSnapshotApi.createVmSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3391,7 +3911,7 @@ "id": "VmSnapshot-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-vm-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmSnapshot-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-vm-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmSnapshot-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmSnapshotApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_snapshot_api = VmSnapshotApi(client)\r\n resp = vm_snapshot_api.delete_vm_snapshot({\"where\":{\"id\":\"VmSnapshot-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_snapshot_api := client.VMSnapshot\r\n params := vm_snapshot.NewDeleteVMSnapshotParams()\r\n params.RequestBody = &models.VMSnapshotDeletionParams{\nWhere: &models.VMSnapshotWhereInput{\nID: pointy.String(\"VmSnapshot-id\"),\n},\n}\r\n rawResp, err := vm_snapshot_api.DeleteVMSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVMSnapshot) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVMSnapshot)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVMSnapshot) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmSnapshotApi vmSnapshotApi = new VmSnapshotApi(client);\r\n VmSnapshotDeletionParams params = new VmSnapshotDeletionParams()\n.where(new VmSnapshotWhereInput()\n.id(\"VmSnapshot-id\"));\r\n List resp = vmSnapshotApi.deleteVmSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3404,7 +3924,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/clone-vm-template-from-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"cloud_init_supported\":true,\"vm_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/clone-vm-template-from-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"cloud_init_supported\":true,\"vm_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_template_api = VmTemplateApi(client)\r\n resp = vm_template_api.clone_vm_template_from_vm([{\"cloud_init_supported\":True,\"vm_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_template_api := client.VMTemplate\r\n params := vm_template.NewCloneVMTemplateFromVMParams()\r\n params.RequestBody = []*models.VMTemplateCreationParams{\n{\nCloudInitSupported: pointy.Bool(true),\nVMID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := vm_template_api.CloneVMTemplateFromVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmTemplateApi vmTemplateApi = new VmTemplateApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmTemplateCreationParams()\n.cloudInitSupported(true)\n.vmId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = vmTemplateApi.cloneVmTemplateFromVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3417,7 +3937,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/convert-vm-template-from-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"cloud_init_supported\":true,\"vm_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/convert-vm-template-from-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"cloud_init_supported\":true,\"vm_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_template_api = VmTemplateApi(client)\r\n resp = vm_template_api.convert_vm_template_from_vm([{\"cloud_init_supported\":True,\"vm_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_template_api := client.VMTemplate\r\n params := vm_template.NewConvertVMTemplateFromVMParams()\r\n params.RequestBody = []*models.VMTemplateCreationParams{\n{\nCloudInitSupported: pointy.Bool(true),\nVMID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := vm_template_api.ConvertVMTemplateFromVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmTemplateApi vmTemplateApi = new VmTemplateApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmTemplateCreationParams()\n.cloudInitSupported(true)\n.vmId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = vmTemplateApi.convertVmTemplateFromVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3428,7 +3948,7 @@ "id": "VmTemplate-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmTemplate-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmTemplate-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_template_api = VmTemplateApi(client)\r\n resp = vm_template_api.update_vm_template({\"where\":{\"id\":\"VmTemplate-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_template_api := client.VMTemplate\r\n params := vm_template.NewUpdateVMTemplateParams()\r\n params.RequestBody = &models.VMTemplateUpdationParams{\nWhere: &models.VMTemplateWhereInput{\nID: pointy.String(\"VmTemplate-id\"),\n},\n}\r\n rawResp, err := vm_template_api.UpdateVMTemplate(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmTemplateApi vmTemplateApi = new VmTemplateApi(client);\r\n VmTemplateUpdationParams params = new VmTemplateUpdationParams()\n.where(new VmTemplateWhereInput()\n.id(\"VmTemplate-id\"));\r\n List resp = vmTemplateApi.updateVmTemplate(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3439,7 +3959,7 @@ "id": "VmTemplate-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-vm-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmTemplate-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-vm-template \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmTemplate-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmTemplateApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_template_api = VmTemplateApi(client)\r\n resp = vm_template_api.delete_vm_template({\"where\":{\"id\":\"VmTemplate-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_template_api := client.VMTemplate\r\n params := vm_template.NewDeleteVMTemplateParams()\r\n params.RequestBody = &models.VMTemplateDeletionParams{\nWhere: &models.VMTemplateWhereInput{\nID: pointy.String(\"VmTemplate-id\"),\n},\n}\r\n rawResp, err := vm_template_api.DeleteVMTemplate(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVMTemplate) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVMTemplate)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVMTemplate) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmTemplateApi vmTemplateApi = new VmTemplateApi(client);\r\n VmTemplateDeletionParams params = new VmTemplateDeletionParams()\n.where(new VmTemplateWhereInput()\n.id(\"VmTemplate-id\"));\r\n List resp = vmTemplateApi.deleteVmTemplate(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3452,7 +3972,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-vm-volume-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"volume_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"description\":\"description-string\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-vm-volume-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"volume_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"description\":\"description-string\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmVolumeSnapshotApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_volume_snapshot_api = VmVolumeSnapshotApi(client)\r\n resp = vm_volume_snapshot_api.create_vm_volume_snapshot([{\"volume_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"description\":\"description-string\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_volume_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_volume_snapshot_api := client.VMVolumeSnapshot\r\n params := vm_volume_snapshot.NewCreateVMVolumeSnapshotParams()\r\n params.RequestBody = []*models.VMVolumeSnapshotCreationParams{\n{\nVolumeID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nDescription: pointy.String(\"description-string\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := vm_volume_snapshot_api.CreateVMVolumeSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMVolumeSnapshot) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMVolumeSnapshot)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMVolumeSnapshot) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmVolumeSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmVolumeSnapshotApi vmVolumeSnapshotApi = new VmVolumeSnapshotApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmVolumeSnapshotCreationParams()\n.volumeId(\"ck74rk21wg5lz0786opdnzz5m\")\n.description(\"description-string\")\n.name(\"name-string\"));\r\n List resp = vmVolumeSnapshotApi.createVmVolumeSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3463,7 +3983,7 @@ "id": "VmVolumeSnapshot-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-vm-volume-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmVolumeSnapshot-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-vm-volume-snapshot \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmVolumeSnapshot-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmVolumeSnapshotApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_volume_snapshot_api = VmVolumeSnapshotApi(client)\r\n resp = vm_volume_snapshot_api.delete_vm_volume_snapshot({\"where\":{\"id\":\"VmVolumeSnapshot-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_volume_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_volume_snapshot_api := client.VMVolumeSnapshot\r\n params := vm_volume_snapshot.NewDeleteVMVolumeSnapshotParams()\r\n params.RequestBody = &models.VMVolumeSnapshotDeletionParams{\nWhere: &models.VMVolumeSnapshotWhereInput{\nID: pointy.String(\"VmVolumeSnapshot-id\"),\n},\n}\r\n rawResp, err := vm_volume_snapshot_api.DeleteVMVolumeSnapshot(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVMVolumeSnapshot) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVMVolumeSnapshot)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVMVolumeSnapshot) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmVolumeSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmVolumeSnapshotApi vmVolumeSnapshotApi = new VmVolumeSnapshotApi(client);\r\n VmVolumeSnapshotDeletionParams params = new VmVolumeSnapshotDeletionParams()\n.where(new VmVolumeSnapshotWhereInput()\n.id(\"VmVolumeSnapshot-id\"));\r\n List resp = vmVolumeSnapshotApi.deleteVmVolumeSnapshot(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3478,7 +3998,7 @@ "name": "name-string" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"elf_storage_policy\":\"EC\",\"size\":1,\"sharing\":true,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/create-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"elf_storage_policy\":\"EC\",\"size\":1,\"sharing\":true,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmVolumeApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_volume_api = VmVolumeApi(client)\r\n resp = vm_volume_api.create_vm_volume([{\"elf_storage_policy\":\"EC\",\"size\":1,\"sharing\":True,\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_volume\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_volume_api := client.VMVolume\r\n params := vm_volume.NewCreateVMVolumeParams()\r\n params.RequestBody = []*models.VMVolumeCreationParams{\n{\nElfStoragePolicy: models.VMVolumeElfStoragePolicyTypeEC.Pointer(),\nSize: pointy.Int64(1),\nSharing: pointy.Bool(true),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := vm_volume_api.CreateVMVolume(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMVolume) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMVolume)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMVolume) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmVolumeApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmVolumeApi vmVolumeApi = new VmVolumeApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmVolumeCreationParams()\n.elfStoragePolicy(VmVolumeElfStoragePolicyType.fromValue(\"EC\"))\n.size(1L)\n.sharing(true)\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = vmVolumeApi.createVmVolume(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3489,7 +4009,7 @@ "id": "VmVolume-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmVolume-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/delete-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmVolume-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmVolumeApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_volume_api = VmVolumeApi(client)\r\n resp = vm_volume_api.delete_vm_volume_from_vm({\"where\":{\"id\":\"VmVolume-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_volume\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_volume_api := client.VMVolume\r\n params := vm_volume.NewDeleteVMVolumeFromVMParams()\r\n params.RequestBody = &models.VMVolumeDeletionParams{\nWhere: &models.VMVolumeWhereInput{\nID: pointy.String(\"VmVolume-id\"),\n},\n}\r\n rawResp, err := vm_volume_api.DeleteVMVolumeFromVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVMVolume) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVMVolume)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVMVolume) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmVolumeApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmVolumeApi vmVolumeApi = new VmVolumeApi(client);\r\n VmVolumeDeletionParams params = new VmVolumeDeletionParams()\n.where(new VmVolumeWhereInput()\n.id(\"VmVolume-id\"));\r\n List resp = vmVolumeApi.deleteVmVolumeFromVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3502,7 +4022,7 @@ "volume_snapshot_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/rebuild-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"name\":\"name-string\",\"description\":\"description-string\",\"volume_snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/rebuild-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"name\":\"name-string\",\"description\":\"description-string\",\"volume_snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmVolumeApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_volume_api = VmVolumeApi(client)\r\n resp = vm_volume_api.rebuild_vm_volume([{\"name\":\"name-string\",\"description\":\"description-string\",\"volume_snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_volume\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_volume_api := client.VMVolume\r\n params := vm_volume.NewRebuildVMVolumeParams()\r\n params.RequestBody = []*models.VMVolumeRebuildParams{\n{\nName: pointy.String(\"name-string\"),\nDescription: pointy.String(\"description-string\"),\nVolumeSnapshotID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := vm_volume_api.RebuildVMVolume(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMVolume) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMVolume)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMVolume) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmVolumeApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmVolumeApi vmVolumeApi = new VmVolumeApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmVolumeRebuildParams()\n.name(\"name-string\")\n.description(\"description-string\")\n.volumeSnapshotId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = vmVolumeApi.rebuildVmVolume(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3513,7 +4033,7 @@ "volume_snapshot_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/rollback-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"volume_snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/rollback-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"volume_snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmVolumeApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_volume_api = VmVolumeApi(client)\r\n resp = vm_volume_api.rollback_vm_volume([{\"volume_snapshot_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_volume\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_volume_api := client.VMVolume\r\n params := vm_volume.NewRollbackVMVolumeParams()\r\n params.RequestBody = []*models.VMVolumeRollbackParams{\n{\nVolumeSnapshotID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := vm_volume_api.RollbackVMVolume(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMVolume) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMVolume)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMVolume) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmVolumeApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmVolumeApi vmVolumeApi = new VmVolumeApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VmVolumeRollbackParams()\n.volumeSnapshotId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = vmVolumeApi.rollbackVmVolume(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3529,7 +4049,7 @@ } } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/clone-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"where\":{\"id\":\"VmVolume-id\"},\"data\":{\"name\":\"name-string\"}}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/clone-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"where\":{\"id\":\"VmVolume-id\"},\"data\":{\"name\":\"name-string\"}}]'", "python": "from cloudtower import ApiClient, Configuration, VmVolumeApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_volume_api = VmVolumeApi(client)\r\n resp = vm_volume_api.clone_vm_volume([{\"where\":{\"id\":\"VmVolume-id\"},\"data\":{\"name\":\"name-string\"}}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_volume\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_volume_api := client.VMVolume\r\n params := vm_volume.NewCloneVMVolumeParams()\r\n params.RequestBody = []*models.CloneVMVolumeParams{\n{\nWhere: &models.VMVolumeWhereUniqueInput{\nID: pointy.String(\"VmVolume-id\"),\n},\nData: &models.CloneVMVolumeParamsData{\nName: pointy.String(\"name-string\"),\n},\n},\n}\r\n rawResp, err := vm_volume_api.CloneVMVolume(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMVolume) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMVolume)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMVolume) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmVolumeApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmVolumeApi vmVolumeApi = new VmVolumeApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new CloneVmVolumeParams()\n.where(new VmVolumeWhereUniqueInput()\n.id(\"VmVolume-id\"))\n.data(new CloneVmVolumeParamsData()\n.name(\"name-string\")));\r\n List resp = vmVolumeApi.cloneVmVolume(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3541,7 +4061,7 @@ }, "data": {} }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmVolume-id\"},\"data\":{}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VmVolume-id\"},\"data\":{}}'", "python": "from cloudtower import ApiClient, Configuration, VmVolumeApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_volume_api = VmVolumeApi(client)\r\n resp = vm_volume_api.update_vm_volume({\"where\":{\"id\":\"VmVolume-id\"},\"data\":{}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_volume\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_volume_api := client.VMVolume\r\n params := vm_volume.NewUpdateVMVolumeParams()\r\n params.RequestBody = &models.UpdateVMVolumeParams{\nWhere: &models.VMVolumeWhereInput{\nID: pointy.String(\"VmVolume-id\"),\n},\nData: &models.UpdateVMVolumeParamsData{\n},\n}\r\n rawResp, err := vm_volume_api.UpdateVMVolume(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMVolume) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMVolume)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMVolume) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmVolumeApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmVolumeApi vmVolumeApi = new VmVolumeApi(client);\r\n UpdateVmVolumeParams params = new UpdateVmVolumeParams()\n.where(new VmVolumeWhereInput()\n.id(\"VmVolume-id\"))\n.data(new UpdateVmVolumeParamsData());\r\n List resp = vmVolumeApi.updateVmVolume(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3555,7 +4075,7 @@ "id": "VmVolume-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/export-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"type\":\"QCOW2\"},\"where\":{\"id\":\"VmVolume-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/export-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"type\":\"QCOW2\"},\"where\":{\"id\":\"VmVolume-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, VmVolumeApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_volume_api = VmVolumeApi(client)\r\n resp = vm_volume_api.export_vm_volume({\"data\":{\"type\":\"QCOW2\"},\"where\":{\"id\":\"VmVolume-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_volume\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_volume_api := client.VMVolume\r\n params := vm_volume.NewExportVMVolumeParams()\r\n params.RequestBody = &models.ExportVMVolumeParams{\nData: &models.ExportVMVolumeParamsData{\nType: models.VMVolumeExportFileTypeQCOW2.Pointer(),\n},\nWhere: &models.VMVolumeWhereInput{\nID: pointy.String(\"VmVolume-id\"),\n},\n}\r\n rawResp, err := vm_volume_api.ExportVMVolume(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMExportFile) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMExportFile)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMExportFile) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmVolumeApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmVolumeApi vmVolumeApi = new VmVolumeApi(client);\r\n ExportVmVolumeParams params = new ExportVmVolumeParams()\n.data(new ExportVmVolumeParamsData()\n.type(VmVolumeExportFileType.fromValue(\"QCOW2\")))\n.where(new VmVolumeWhereInput()\n.id(\"VmVolume-id\"));\r\n List resp = vmVolumeApi.exportVmVolume(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3569,7 +4089,7 @@ "cluster_id": "ck74rk21wg5lz0786opdnzz5m" } ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/import-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"upload_task_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"storage_policy\":\"EC\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/import-vm-volume \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"upload_task_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"storage_policy\":\"EC\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", "python": "from cloudtower import ApiClient, Configuration, VmVolumeApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vm_volume_api = VmVolumeApi(client)\r\n resp = vm_volume_api.import_vm_volume([{\"upload_task_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\",\"storage_policy\":\"EC\",\"cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vm_volume\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vm_volume_api := client.VMVolume\r\n params := vm_volume.NewImportVMVolumeParams()\r\n params.RequestBody = []*models.ImportVMVolumeParams{\n{\nUploadTaskID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\nStoragePolicy: models.VMVolumeElfStoragePolicyTypeEC.Pointer(),\nClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := vm_volume_api.ImportVMVolume(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVMVolume) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVMVolume)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVMVolume) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VmVolumeApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VmVolumeApi vmVolumeApi = new VmVolumeApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new ImportVmVolumeParams()\n.uploadTaskId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\")\n.storagePolicy(VmVolumeElfStoragePolicyType.fromValue(\"EC\"))\n.clusterId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = vmVolumeApi.importVmVolume(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" @@ -3584,518 +4104,18 @@ } ] }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-vsphere-esxi-account \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":[{\"username\":\"username-string\",\"ip\":\"ip-string\",\"esxi_account_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/update-vsphere-esxi-account \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":[{\"username\":\"username-string\",\"ip\":\"ip-string\",\"esxi_account_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]}'", "python": "from cloudtower import ApiClient, Configuration, VsphereEsxiAccountApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n vsphere_esxi_account_api = VsphereEsxiAccountApi(client)\r\n resp = vsphere_esxi_account_api.update_vsphere_esxi_account({\"data\":[{\"username\":\"username-string\",\"ip\":\"ip-string\",\"esxi_account_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/vsphere_esxi_account\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n vsphere_esxi_account_api := client.VsphereEsxiAccount\r\n params := vsphere_esxi_account.NewUpdateVsphereEsxiAccountParams()\r\n params.RequestBody = &models.UpdateVsphereEsxiAccountParams{\nData: []*models.UpdateVsphereEsxiAccountParamsData{\n{\nUsername: pointy.String(\"username-string\"),\nIP: pointy.String(\"ip-string\"),\nEsxiAccountID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n},\n}\r\n rawResp, err := vsphere_esxi_account_api.UpdateVsphereEsxiAccount(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVsphereEsxiAccountArray) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVsphereEsxiAccountArray)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVsphereEsxiAccountArray) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VsphereEsxiAccountApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VsphereEsxiAccountApi vsphereEsxiAccountApi = new VsphereEsxiAccountApi(client);\r\n UpdateVsphereEsxiAccountParams params = new UpdateVsphereEsxiAccountParams()\n.addDataItem(new UpdateVsphereEsxiAccountParamsData()\n.username(\"username-string\")\n.ip(\"ip-string\")\n.esxiAccountId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = vsphereEsxiAccountApi.updateVsphereEsxiAccount(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" }, - "/export-csv": { - "exampleValue": { - "filter": {}, - "columns": [ - { - "name": "name-string", - "path": "path-string" - } - ], - "name": "name-string" - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/export-csv \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"filter\":{},\"columns\":[{\"name\":\"name-string\",\"path\":\"path-string\"}],\"name\":\"name-string\"}'", - "python": "from cloudtower import ApiClient, Configuration, TableReporterApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n table_reporter_api = TableReporterApi(client)\r\n resp = table_reporter_api.export_csv({\"filter\":{},\"columns\":[{\"name\":\"name-string\",\"path\":\"path-string\"}],\"name\":\"name-string\"})\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/table_reporter\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n table_reporter_api := client.TableReporter\r\n params := table_reporter.NewExportCsvParams()\r\n params.RequestBody = &models.TableReporterParams{\nFilter: &models.TableReporterParamsFilter{\n},\nColumns: []*models.ColumnConfig{\n{\nName: pointy.String(\"name-string\"),\nPath: pointy.String(\"path-string\"),\n},\n},\nName: pointy.String(\"name-string\"),\n}\r\n rawResp, err := table_reporter_api.ExportCsv(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.TableReporterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n TableReporterApi tableReporterApi = new TableReporterApi(client);\r\n TableReporterParams params = new TableReporterParams()\n.filter(new TableReporterParamsFilter())\n.addColumnsItem(new ColumnConfig()\n.name(\"name-string\")\n.path(\"path-string\"))\n.name(\"name-string\");\r\n String resp = tableReporterApi.exportCsv(params);\r\n }\r\n}" - }, - "/create-user-audit-log": { - "exampleValue": [ - { - "status": "FAILED", - "user_id": "ck74rk21wg5lz0786opdnzz5m", - "message": { - "en-US": "en-US-string", - "zh-CN": "zh-CN-string" - }, - "resource_type": "resource_type-string", - "action": "action-string" - } - ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-user-audit-log \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"status\":\"FAILED\",\"user_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"message\":{\"en-US\":\"en-US-string\",\"zh-CN\":\"zh-CN-string\"},\"resource_type\":\"resource_type-string\",\"action\":\"action-string\"}]'", - "python": "from cloudtower import ApiClient, Configuration, UserAuditLogApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n user_audit_log_api = UserAuditLogApi(client)\r\n resp = user_audit_log_api.create_user_audit_log([{\"status\":\"FAILED\",\"user_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"message\":{\"en-US\":\"en-US-string\",\"zh-CN\":\"zh-CN-string\"},\"resource_type\":\"resource_type-string\",\"action\":\"action-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/user_audit_log\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n user_audit_log_api := client.UserAuditLog\r\n params := user_audit_log.NewCreateUserAuditLogParams()\r\n params.RequestBody = []*models.UserAuditLogCreationParams{\n{\nStatus: models.UserAuditLogStatusFAILED.Pointer(),\nUserID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nMessage: &models.UserAuditLogMessage{\nEnUs: pointy.String(\"en-US-string\"),\nZhCn: pointy.String(\"zh-CN-string\"),\n},\nResourceType: pointy.String(\"resource_type-string\"),\nAction: pointy.String(\"action-string\"),\n},\n}\r\n rawResp, err := user_audit_log_api.CreateUserAuditLog(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskUserAuditLog) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskUserAuditLog)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskUserAuditLog) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.UserAuditLogApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n UserAuditLogApi userAuditLogApi = new UserAuditLogApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new UserAuditLogCreationParams()\n.status(UserAuditLogStatus.fromValue(\"FAILED\"))\n.userId(\"ck74rk21wg5lz0786opdnzz5m\")\n.message(new UserAuditLogMessage()\n.enUs(\"en-US-string\")\n.zhCn(\"zh-CN-string\"))\n.resourceType(\"resource_type-string\")\n.action(\"action-string\"));\r\n List resp = userAuditLogApi.createUserAuditLog(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/create-backup-plan": { - "exampleValue": [ - { - "keep_policy_value": 1, - "keep_policy": "COUNT", - "enable_window": true, - "full_time_point": { - "minute": 1, - "hour": 1 - }, - "full_period": "DAILY", - "full_interval": 1, - "incremental_interval": 1, - "incremental_period": "DAILY", - "snapshot_consistent_type": "CRASH_CONSISTENT", - "compression": true, - "vms": { - "id": "Vm-id" - }, - "backup_store_repository_id": "ck74rk21wg5lz0786opdnzz5m", - "backup_service_id": "ck74rk21wg5lz0786opdnzz5m", - "name": "name-string" - } - ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-backup-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"keep_policy_value\":1,\"keep_policy\":\"COUNT\",\"enable_window\":true,\"full_time_point\":{\"minute\":1,\"hour\":1},\"full_period\":\"DAILY\",\"full_interval\":1,\"incremental_interval\":1,\"incremental_period\":\"DAILY\",\"snapshot_consistent_type\":\"CRASH_CONSISTENT\",\"compression\":true,\"vms\":{\"id\":\"Vm-id\"},\"backup_store_repository_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"backup_service_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", - "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.create_backup_plan([{\"keep_policy_value\":1,\"keep_policy\":\"COUNT\",\"enable_window\":True,\"full_time_point\":{\"minute\":1,\"hour\":1},\"full_period\":\"DAILY\",\"full_interval\":1,\"incremental_interval\":1,\"incremental_period\":\"DAILY\",\"snapshot_consistent_type\":\"CRASH_CONSISTENT\",\"compression\":True,\"vms\":{\"id\":\"Vm-id\"},\"backup_store_repository_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"backup_service_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewCreateBackupPlanParams()\r\n params.RequestBody = []*models.BackupPlanCreationParams{\n{\nKeepPolicyValue: pointy.Int32(1),\nKeepPolicy: models.BackupPlanKeepPolicyCOUNT.Pointer(),\nEnableWindow: pointy.Bool(true),\nFullTimePoint: &models.BackupPlanTimePoint{\nMinute: pointy.Int32(1),\nHour: pointy.Int32(1),\n},\nFullPeriod: models.BackupPlanPeriodDAILY.Pointer(),\nFullInterval: pointy.Int32(1),\nIncrementalInterval: pointy.Int32(1),\nIncrementalPeriod: models.BackupPlanPeriodDAILY.Pointer(),\nSnapshotConsistentType: models.ConsistentTypeCRASH_CONSISTENT.Pointer(),\nCompression: pointy.Bool(true),\nVms: &models.VMWhereInput{\nID: pointy.String(\"Vm-id\"),\n},\nBackupStoreRepositoryID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nBackupServiceID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := backup_plan_api.CreateBackupPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBackupPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBackupPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBackupPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new BackupPlanCreationParams()\n.keepPolicyValue(1)\n.keepPolicy(BackupPlanKeepPolicy.fromValue(\"COUNT\"))\n.enableWindow(true)\n.fullTimePoint(new BackupPlanTimePoint()\n.minute(1)\n.hour(1))\n.fullPeriod(BackupPlanPeriod.fromValue(\"DAILY\"))\n.fullInterval(1)\n.incrementalInterval(1)\n.incrementalPeriod(BackupPlanPeriod.fromValue(\"DAILY\"))\n.snapshotConsistentType(ConsistentType.fromValue(\"CRASH_CONSISTENT\"))\n.compression(true)\n.vms(new VmWhereInput()\n.id(\"Vm-id\"))\n.backupStoreRepositoryId(\"ck74rk21wg5lz0786opdnzz5m\")\n.backupServiceId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = backupPlanApi.createBackupPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/update-backup-plan": { - "exampleValue": { - "data": {}, - "where": { - "id": "BackupPlan-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-backup-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"BackupPlan-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.update_backup_plan({\"data\":{},\"where\":{\"id\":\"BackupPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewUpdateBackupPlanParams()\r\n params.RequestBody = &models.BackupPlanUpdationParams{\nData: &models.BackupPlanUpdationParamsData{\n},\nWhere: &models.BackupPlanWhereInput{\nID: pointy.String(\"BackupPlan-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.UpdateBackupPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBackupPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBackupPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBackupPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupPlanUpdationParams params = new BackupPlanUpdationParams()\n.data(new BackupPlanUpdationParamsData())\n.where(new BackupPlanWhereInput()\n.id(\"BackupPlan-id\"));\r\n List resp = backupPlanApi.updateBackupPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/delete-backup-plan": { - "exampleValue": { - "data": { - "delete_strategy": "DELETE_RESTORE_POINT" - }, - "where": { - "id": "BackupPlan-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-backup-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"delete_strategy\":\"DELETE_RESTORE_POINT\"},\"where\":{\"id\":\"BackupPlan-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.delete_backup_plan({\"data\":{\"delete_strategy\":\"DELETE_RESTORE_POINT\"},\"where\":{\"id\":\"BackupPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewDeleteBackupPlanParams()\r\n params.RequestBody = &models.BackupPlanDeletionParams{\nData: &models.BackupPlanDeletionParamsData{\nDeleteStrategy: models.BackupPlanDeleteStrategyDELETE_RESTORE_POINT.Pointer(),\n},\nWhere: &models.BackupPlanWhereInput{\nID: pointy.String(\"BackupPlan-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.DeleteBackupPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteBackupPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteBackupPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteBackupPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupPlanDeletionParams params = new BackupPlanDeletionParams()\n.data(new BackupPlanDeletionParamsData()\n.deleteStrategy(BackupPlanDeleteStrategy.fromValue(\"DELETE_RESTORE_POINT\")))\n.where(new BackupPlanWhereInput()\n.id(\"BackupPlan-id\"));\r\n List resp = backupPlanApi.deleteBackupPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/suspend-backup-plan": { - "exampleValue": { - "where": { - "id": "BackupPlan-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/suspend-backup-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupPlan-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.suspend_backup_plan({\"where\":{\"id\":\"BackupPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewSuspendBackupPlanParams()\r\n params.RequestBody = &models.BackupPlanSuspendParams{\nWhere: &models.BackupPlanWhereInput{\nID: pointy.String(\"BackupPlan-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.SuspendBackupPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBackupPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBackupPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBackupPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupPlanSuspendParams params = new BackupPlanSuspendParams()\n.where(new BackupPlanWhereInput()\n.id(\"BackupPlan-id\"));\r\n List resp = backupPlanApi.suspendBackupPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/resume-backup-plan": { - "exampleValue": { - "where": { - "id": "BackupPlan-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/resume-backup-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupPlan-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.resume_backup_plan({\"where\":{\"id\":\"BackupPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewResumeBackupPlanParams()\r\n params.RequestBody = &models.BackupPlanResumeParams{\nWhere: &models.BackupPlanWhereInput{\nID: pointy.String(\"BackupPlan-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.ResumeBackupPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBackupPlan) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBackupPlan)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBackupPlan) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupPlanResumeParams params = new BackupPlanResumeParams()\n.where(new BackupPlanWhereInput()\n.id(\"BackupPlan-id\"));\r\n List resp = backupPlanApi.resumeBackupPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/execute-backup-plan": { - "exampleValue": { - "data": { - "type": "FULL" - }, - "where": { - "id": "BackupPlan-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/execute-backup-plan \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"type\":\"FULL\"},\"where\":{\"id\":\"BackupPlan-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.execute_backup_plan({\"data\":{\"type\":\"FULL\"},\"where\":{\"id\":\"BackupPlan-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewExecuteBackupPlanParams()\r\n params.RequestBody = &models.BackupPlanExecuteParams{\nData: &models.BackupPlanExecuteParamsData{\nType: models.BackupExecutionTypeFULL.Pointer(),\n},\nWhere: &models.BackupPlanWhereInput{\nID: pointy.String(\"BackupPlan-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.ExecuteBackupPlan(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBackupPlanExecution) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBackupPlanExecution)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBackupPlanExecution) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupPlanExecuteParams params = new BackupPlanExecuteParams()\n.data(new BackupPlanExecuteParamsData()\n.type(BackupExecutionType.fromValue(\"FULL\")))\n.where(new BackupPlanWhereInput()\n.id(\"BackupPlan-id\"));\r\n List resp = backupPlanApi.executeBackupPlan(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/backup-rebuild-vm": { - "exampleValue": { - "data": { - "rebuild_network_mapping": [ - { - "src_vlan_id": "ck74rk21wg5lz0786opdnzz5m", - "dst_vlan_id": "ck74rk21wg5lz0786opdnzz5m" - } - ], - "rebuild_target_host_id": "ck74rk21wg5lz0786opdnzz5m", - "rebuild_target_cluster_id": "ck74rk21wg5lz0786opdnzz5m", - "rebuild_name": "rebuild_name-string", - "startup_after_restore": true - }, - "where": { - "id": "BackupRestorePoint-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/backup-rebuild-vm \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"rebuild_network_mapping\":[{\"src_vlan_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"dst_vlan_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"rebuild_target_host_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"rebuild_target_cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"rebuild_name\":\"rebuild_name-string\",\"startup_after_restore\":true},\"where\":{\"id\":\"BackupRestorePoint-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.backup_rebuild_vm({\"data\":{\"rebuild_network_mapping\":[{\"src_vlan_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"dst_vlan_id\":\"ck74rk21wg5lz0786opdnzz5m\"}],\"rebuild_target_host_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"rebuild_target_cluster_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"rebuild_name\":\"rebuild_name-string\",\"startup_after_restore\":True},\"where\":{\"id\":\"BackupRestorePoint-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewBackupRebuildVMParams()\r\n params.RequestBody = &models.BackupRestorePointRebuildParams{\nData: &models.BackupRestorePointRebuildParamsData{\nRebuildNetworkMapping: []*models.BackupRestoreExecutionNetworkMapping{\n{\nSrcVlanID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nDstVlanID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n},\nRebuildTargetHostID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nRebuildTargetClusterID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nRebuildName: pointy.String(\"rebuild_name-string\"),\nStartupAfterRestore: pointy.Bool(true),\n},\nWhere: &models.BackupRestorePointWhereInput{\nID: pointy.String(\"BackupRestorePoint-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.BackupRebuildVM(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBackupRestoreExecution) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBackupRestoreExecution)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBackupRestoreExecution) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupRestorePointRebuildParams params = new BackupRestorePointRebuildParams()\n.data(new BackupRestorePointRebuildParamsData()\n.addRebuildNetworkMappingItem(new BackupRestoreExecutionNetworkMapping()\n.srcVlanId(\"ck74rk21wg5lz0786opdnzz5m\")\n.dstVlanId(\"ck74rk21wg5lz0786opdnzz5m\"))\n.rebuildTargetHostId(\"ck74rk21wg5lz0786opdnzz5m\")\n.rebuildTargetClusterId(\"ck74rk21wg5lz0786opdnzz5m\")\n.rebuildName(\"rebuild_name-string\")\n.startupAfterRestore(true))\n.where(new BackupRestorePointWhereInput()\n.id(\"BackupRestorePoint-id\"));\r\n List resp = backupPlanApi.backupRebuildVm(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/backup-restore-vm-in-place": { - "exampleValue": { - "data": { - "startup_after_restore": true - }, - "where": { - "id": "BackupRestorePoint-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/backup-restore-vm-in-place \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{\"startup_after_restore\":true},\"where\":{\"id\":\"BackupRestorePoint-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.backup_restore_vm_in_place({\"data\":{\"startup_after_restore\":True},\"where\":{\"id\":\"BackupRestorePoint-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewBackupRestoreVMInPlaceParams()\r\n params.RequestBody = &models.BackupRestorePointRestoreInPlaceParams{\nData: &models.BackupRestorePointRestoreInPlaceParamsData{\nStartupAfterRestore: pointy.Bool(true),\n},\nWhere: &models.BackupRestorePointWhereInput{\nID: pointy.String(\"BackupRestorePoint-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.BackupRestoreVMInPlace(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskBackupRestoreExecution) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskBackupRestoreExecution)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskBackupRestoreExecution) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupRestorePointRestoreInPlaceParams params = new BackupRestorePointRestoreInPlaceParams()\n.data(new BackupRestorePointRestoreInPlaceParamsData()\n.startupAfterRestore(true))\n.where(new BackupRestorePointWhereInput()\n.id(\"BackupRestorePoint-id\"));\r\n List resp = backupPlanApi.backupRestoreVmInPlace(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/delete-backup-restore-point": { - "exampleValue": { - "where": { - "id": "BackupRestorePoint-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-backup-restore-point \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupRestorePoint-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.delete_backup_restore_point({\"where\":{\"id\":\"BackupRestorePoint-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewDeleteBackupRestorePointParams()\r\n params.RequestBody = &models.BackupRestorePointDeletionParams{\nWhere: &models.BackupRestorePointWhereInput{\nID: pointy.String(\"BackupRestorePoint-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.DeleteBackupRestorePoint(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteBackupRestorePointArray) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteBackupRestorePointArray)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteBackupRestorePointArray) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n BackupRestorePointDeletionParams params = new BackupRestorePointDeletionParams()\n.where(new BackupRestorePointWhereInput()\n.id(\"BackupRestorePoint-id\"));\r\n List resp = backupPlanApi.deleteBackupRestorePoint(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/disassociate-system-service-from-obs-service": { - "exampleValue": { - "system_service_id": "ck74rk21wg5lz0786opdnzz5m" - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/disassociate-system-service-from-obs-service \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"system_service_id\":\"ck74rk21wg5lz0786opdnzz5m\"}'", - "python": "from cloudtower import ApiClient, Configuration, ObservabilityApi\r\nfrom cloudtower.utils import login, wait_task\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n observability_api = ObservabilityApi(client)\r\n resp = observability_api.disassociate_system_service_from_obs_service({\"system_service_id\":\"ck74rk21wg5lz0786opdnzz5m\"})\r\n wait_task(resp.task_id, client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/observability\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n observability_api := client.Observability\r\n params := observability.NewDisassociateSystemServiceFromObsServiceParams()\r\n params.RequestBody = &models.DisassociateSystemServiceFromObsServiceParams{\nSystemServiceID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n}\r\n rawResp, err := observability_api.DisassociateSystemServiceFromObsService(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n err = utils.WaitTask(context.Background(), client, resp.TaskID, 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.ObservabilityApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ObservabilityApi observabilityApi = new ObservabilityApi(client);\r\n DisassociateSystemServiceFromObsServiceParams params = new DisassociateSystemServiceFromObsServiceParams()\n.systemServiceId(\"ck74rk21wg5lz0786opdnzz5m\");\r\n WithTaskDisassociateSystemServiceFromObsServiceResult resp = observabilityApi.disassociateSystemServiceFromObsService(params);\r\n TaskUtil.WaitTask(resp.getTaskId(), client);\r\n }\r\n}" - }, - "/create-task": { - "exampleValue": [ - { - "user_id": "ck74rk21wg5lz0786opdnzz5m", - "description": { - "en-US": "en-US-string", - "zh-CN": "zh-CN-string" - }, - "resource_mutation": "resource_mutation-string", - "resource_type": "resource_type-string" - } - ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-task \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"user_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"description\":{\"en-US\":\"en-US-string\",\"zh-CN\":\"zh-CN-string\"},\"resource_mutation\":\"resource_mutation-string\",\"resource_type\":\"resource_type-string\"}]'", - "python": "from cloudtower import ApiClient, Configuration, TaskApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n task_api = TaskApi(client)\r\n resp = task_api.create_task([{\"user_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"description\":{\"en-US\":\"en-US-string\",\"zh-CN\":\"zh-CN-string\"},\"resource_mutation\":\"resource_mutation-string\",\"resource_type\":\"resource_type-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/task\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n task_api := client.Task\r\n params := task.NewCreateTaskParams()\r\n params.RequestBody = []*models.TaskCreationParams{\n{\nUserID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nDescription: &models.TaskDescription{\nEnUs: pointy.String(\"en-US-string\"),\nZhCn: pointy.String(\"zh-CN-string\"),\n},\nResourceMutation: pointy.String(\"resource_mutation-string\"),\nResourceType: pointy.String(\"resource_type-string\"),\n},\n}\r\n rawResp, err := task_api.CreateTask(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskTask) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskTask)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskTask) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.TaskApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n TaskApi taskApi = new TaskApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new TaskCreationParams()\n.userId(\"ck74rk21wg5lz0786opdnzz5m\")\n.description(new TaskDescription()\n.enUs(\"en-US-string\")\n.zhCn(\"zh-CN-string\"))\n.resourceMutation(\"resource_mutation-string\")\n.resourceType(\"resource_type-string\"));\r\n List resp = taskApi.createTask(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/update-task": { - "exampleValue": { - "data": {}, - "where": { - "id": "Task-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-task \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"Task-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, TaskApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n task_api = TaskApi(client)\r\n resp = task_api.update_task({\"data\":{},\"where\":{\"id\":\"Task-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/task\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n task_api := client.Task\r\n params := task.NewUpdateTaskParams()\r\n params.RequestBody = &models.TaskUpdateParams{\nData: &models.TaskUpdateParamsData{\n},\nWhere: &models.TaskWhereInput{\nID: pointy.String(\"Task-id\"),\n},\n}\r\n rawResp, err := task_api.UpdateTask(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskTask) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskTask)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskTask) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.TaskApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n TaskApi taskApi = new TaskApi(client);\r\n TaskUpdateParams params = new TaskUpdateParams()\n.data(new TaskUpdateParamsData())\n.where(new TaskWhereInput()\n.id(\"Task-id\"));\r\n List resp = taskApi.updateTask(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/create-virtual-private-cloud-floating-ip": { - "exampleValue": [ - { - "external_subnet_id": "ck74rk21wg5lz0786opdnzz5m", - "vpc_id": "ck74rk21wg5lz0786opdnzz5m" - } - ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-virtual-private-cloud-floating-ip \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"external_subnet_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\"}]'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudFloatingIpApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_floating_ip_api = VirtualPrivateCloudFloatingIpApi(client)\r\n resp = virtual_private_cloud_floating_ip_api.create_virtual_private_cloud_floating_ip([{\"external_subnet_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_floating_ip\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_floating_ip_api := client.VirtualPrivateCloudFloatingIP\r\n params := virtual_private_cloud_floating_ip.NewCreateVirtualPrivateCloudFloatingIPParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudFloatingIPCreationParams{\n{\nExternalSubnetID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nVpcID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_floating_ip_api.CreateVirtualPrivateCloudFloatingIP(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudFloatingIP) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudFloatingIP)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudFloatingIP) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudFloatingIpApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudFloatingIpApi virtualPrivateCloudFloatingIpApi = new VirtualPrivateCloudFloatingIpApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudFloatingIpCreationParams()\n.externalSubnetId(\"ck74rk21wg5lz0786opdnzz5m\")\n.vpcId(\"ck74rk21wg5lz0786opdnzz5m\"));\r\n List resp = virtualPrivateCloudFloatingIpApi.createVirtualPrivateCloudFloatingIp(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/delete-virtual-private-cloud-floating-ip": { - "exampleValue": { - "where": { - "id": "VirtualPrivateCloudFloatingIp-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-virtual-private-cloud-floating-ip \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloudFloatingIp-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudFloatingIpApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_floating_ip_api = VirtualPrivateCloudFloatingIpApi(client)\r\n resp = virtual_private_cloud_floating_ip_api.delete_virtual_private_cloud_floating_ip({\"where\":{\"id\":\"VirtualPrivateCloudFloatingIp-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_floating_ip\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_floating_ip_api := client.VirtualPrivateCloudFloatingIP\r\n params := virtual_private_cloud_floating_ip.NewDeleteVirtualPrivateCloudFloatingIPParams()\r\n params.RequestBody = &models.VirtualPrivateCloudFloatingIPDeletionParams{\nWhere: &models.VirtualPrivateCloudFloatingIPWhereInput{\nID: pointy.String(\"VirtualPrivateCloudFloatingIp-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_floating_ip_api.DeleteVirtualPrivateCloudFloatingIP(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudFloatingIP) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloudFloatingIP)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudFloatingIP) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudFloatingIpApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudFloatingIpApi virtualPrivateCloudFloatingIpApi = new VirtualPrivateCloudFloatingIpApi(client);\r\n VirtualPrivateCloudFloatingIpDeletionParams params = new VirtualPrivateCloudFloatingIpDeletionParams()\n.where(new VirtualPrivateCloudFloatingIpWhereInput()\n.id(\"VirtualPrivateCloudFloatingIp-id\"));\r\n List resp = virtualPrivateCloudFloatingIpApi.deleteVirtualPrivateCloudFloatingIp(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/create-virtual-private-cloud-nat-gateway": { - "exampleValue": [ - { - "external_subnet_id": "ck74rk21wg5lz0786opdnzz5m", - "enable_dnat": true, - "enable_snat": true, - "vpc_id": "ck74rk21wg5lz0786opdnzz5m", - "name": "name-string" - } - ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-virtual-private-cloud-nat-gateway \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"external_subnet_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"enable_dnat\":true,\"enable_snat\":true,\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudNatGatewayApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_nat_gateway_api = VirtualPrivateCloudNatGatewayApi(client)\r\n resp = virtual_private_cloud_nat_gateway_api.create_virtual_private_cloud_nat_gateway([{\"external_subnet_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"enable_dnat\":True,\"enable_snat\":True,\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_nat_gateway\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_nat_gateway_api := client.VirtualPrivateCloudNatGateway\r\n params := virtual_private_cloud_nat_gateway.NewCreateVirtualPrivateCloudNatGatewayParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudNatGatewayCreationParams{\n{\nExternalSubnetID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nEnableDnat: pointy.Bool(true),\nEnableSnat: pointy.Bool(true),\nVpcID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_nat_gateway_api.CreateVirtualPrivateCloudNatGateway(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudNatGateway) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudNatGateway)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudNatGateway) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudNatGatewayApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudNatGatewayApi virtualPrivateCloudNatGatewayApi = new VirtualPrivateCloudNatGatewayApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudNatGatewayCreationParams()\n.externalSubnetId(\"ck74rk21wg5lz0786opdnzz5m\")\n.enableDnat(true)\n.enableSnat(true)\n.vpcId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = virtualPrivateCloudNatGatewayApi.createVirtualPrivateCloudNatGateway(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/update-virtual-private-cloud-nat-gateway": { - "exampleValue": { - "data": {}, - "where": { - "id": "VirtualPrivateCloudNatGateway-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-virtual-private-cloud-nat-gateway \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudNatGateway-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudNatGatewayApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_nat_gateway_api = VirtualPrivateCloudNatGatewayApi(client)\r\n resp = virtual_private_cloud_nat_gateway_api.update_virtual_private_cloud_nat_gateway({\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudNatGateway-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_nat_gateway\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_nat_gateway_api := client.VirtualPrivateCloudNatGateway\r\n params := virtual_private_cloud_nat_gateway.NewUpdateVirtualPrivateCloudNatGatewayParams()\r\n params.RequestBody = &models.VirtualPrivateCloudNatGatewayUpdationParams{\nData: &models.VirtualPrivateCloudNatGatewayUpdationParamsData{\n},\nWhere: &models.VirtualPrivateCloudNatGatewayWhereInput{\nID: pointy.String(\"VirtualPrivateCloudNatGateway-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_nat_gateway_api.UpdateVirtualPrivateCloudNatGateway(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudNatGateway) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudNatGateway)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudNatGateway) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudNatGatewayApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudNatGatewayApi virtualPrivateCloudNatGatewayApi = new VirtualPrivateCloudNatGatewayApi(client);\r\n VirtualPrivateCloudNatGatewayUpdationParams params = new VirtualPrivateCloudNatGatewayUpdationParams()\n.data(new VirtualPrivateCloudNatGatewayUpdationParamsData())\n.where(new VirtualPrivateCloudNatGatewayWhereInput()\n.id(\"VirtualPrivateCloudNatGateway-id\"));\r\n List resp = virtualPrivateCloudNatGatewayApi.updateVirtualPrivateCloudNatGateway(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/delete-virtual-private-cloud-nat-gateway": { - "exampleValue": { - "where": { - "id": "VirtualPrivateCloudNatGateway-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-virtual-private-cloud-nat-gateway \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloudNatGateway-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudNatGatewayApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_nat_gateway_api = VirtualPrivateCloudNatGatewayApi(client)\r\n resp = virtual_private_cloud_nat_gateway_api.delete_virtual_private_cloud_nat_gateway({\"where\":{\"id\":\"VirtualPrivateCloudNatGateway-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_nat_gateway\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_nat_gateway_api := client.VirtualPrivateCloudNatGateway\r\n params := virtual_private_cloud_nat_gateway.NewDeleteVirtualPrivateCloudNatGatewayParams()\r\n params.RequestBody = &models.VirtualPrivateCloudNatGatewayDeletionParams{\nWhere: &models.VirtualPrivateCloudNatGatewayWhereInput{\nID: pointy.String(\"VirtualPrivateCloudNatGateway-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_nat_gateway_api.DeleteVirtualPrivateCloudNatGateway(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudNatGateway) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloudNatGateway)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudNatGateway) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudNatGatewayApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudNatGatewayApi virtualPrivateCloudNatGatewayApi = new VirtualPrivateCloudNatGatewayApi(client);\r\n VirtualPrivateCloudNatGatewayDeletionParams params = new VirtualPrivateCloudNatGatewayDeletionParams()\n.where(new VirtualPrivateCloudNatGatewayWhereInput()\n.id(\"VirtualPrivateCloudNatGateway-id\"));\r\n List resp = virtualPrivateCloudNatGatewayApi.deleteVirtualPrivateCloudNatGateway(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/create-virtual-private-cloud-route-table": { - "exampleValue": [ - { - "vpc_id": "ck74rk21wg5lz0786opdnzz5m", - "name": "name-string" - } - ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-virtual-private-cloud-route-table \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudRouteTableApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_route_table_api = VirtualPrivateCloudRouteTableApi(client)\r\n resp = virtual_private_cloud_route_table_api.create_virtual_private_cloud_route_table([{\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_route_table\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_route_table_api := client.VirtualPrivateCloudRouteTable\r\n params := virtual_private_cloud_route_table.NewCreateVirtualPrivateCloudRouteTableParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudRouteTableCreationParams{\n{\nVpcID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_route_table_api.CreateVirtualPrivateCloudRouteTable(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouteTable) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudRouteTable)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouteTable) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudRouteTableApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudRouteTableApi virtualPrivateCloudRouteTableApi = new VirtualPrivateCloudRouteTableApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudRouteTableCreationParams()\n.vpcId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = virtualPrivateCloudRouteTableApi.createVirtualPrivateCloudRouteTable(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/update-virtual-private-cloud-route-table": { - "exampleValue": { - "data": {}, - "where": { - "id": "VirtualPrivateCloudRouteTable-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-virtual-private-cloud-route-table \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudRouteTable-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudRouteTableApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_route_table_api = VirtualPrivateCloudRouteTableApi(client)\r\n resp = virtual_private_cloud_route_table_api.update_virtual_private_cloud_route_table({\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudRouteTable-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_route_table\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_route_table_api := client.VirtualPrivateCloudRouteTable\r\n params := virtual_private_cloud_route_table.NewUpdateVirtualPrivateCloudRouteTableParams()\r\n params.RequestBody = &models.VirtualPrivateCloudRouteTableUpdationParams{\nData: &models.VirtualPrivateCloudRouteTableUpdationParamsData{\n},\nWhere: &models.VirtualPrivateCloudRouteTableWhereInput{\nID: pointy.String(\"VirtualPrivateCloudRouteTable-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_route_table_api.UpdateVirtualPrivateCloudRouteTable(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouteTable) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudRouteTable)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouteTable) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudRouteTableApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudRouteTableApi virtualPrivateCloudRouteTableApi = new VirtualPrivateCloudRouteTableApi(client);\r\n VirtualPrivateCloudRouteTableUpdationParams params = new VirtualPrivateCloudRouteTableUpdationParams()\n.data(new VirtualPrivateCloudRouteTableUpdationParamsData())\n.where(new VirtualPrivateCloudRouteTableWhereInput()\n.id(\"VirtualPrivateCloudRouteTable-id\"));\r\n List resp = virtualPrivateCloudRouteTableApi.updateVirtualPrivateCloudRouteTable(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/delete-virtual-private-cloud-route-table": { - "exampleValue": { - "where": { - "id": "VirtualPrivateCloudRouteTable-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-virtual-private-cloud-route-table \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloudRouteTable-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudRouteTableApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_route_table_api = VirtualPrivateCloudRouteTableApi(client)\r\n resp = virtual_private_cloud_route_table_api.delete_virtual_private_cloud_route_table({\"where\":{\"id\":\"VirtualPrivateCloudRouteTable-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_route_table\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_route_table_api := client.VirtualPrivateCloudRouteTable\r\n params := virtual_private_cloud_route_table.NewDeleteVirtualPrivateCloudRouteTableParams()\r\n params.RequestBody = &models.VirtualPrivateCloudRouteTableDeletionParams{\nWhere: &models.VirtualPrivateCloudRouteTableWhereInput{\nID: pointy.String(\"VirtualPrivateCloudRouteTable-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_route_table_api.DeleteVirtualPrivateCloudRouteTable(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudRouteTable) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloudRouteTable)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudRouteTable) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudRouteTableApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudRouteTableApi virtualPrivateCloudRouteTableApi = new VirtualPrivateCloudRouteTableApi(client);\r\n VirtualPrivateCloudRouteTableDeletionParams params = new VirtualPrivateCloudRouteTableDeletionParams()\n.where(new VirtualPrivateCloudRouteTableWhereInput()\n.id(\"VirtualPrivateCloudRouteTable-id\"));\r\n List resp = virtualPrivateCloudRouteTableApi.deleteVirtualPrivateCloudRouteTable(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/create-virtual-private-cloud-router-gateway": { - "exampleValue": [ - { - "rules": [ - { - "dst": "dst-string" - } - ], - "associated_subnets_ids": [ - "-string" - ], - "external_subnet_id": "ck74rk21wg5lz0786opdnzz5m", - "vpc_id": "ck74rk21wg5lz0786opdnzz5m", - "name": "name-string" - } - ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-virtual-private-cloud-router-gateway \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"rules\":[{\"dst\":\"dst-string\"}],\"associated_subnets_ids\":[\"-string\"],\"external_subnet_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudRouterGatewayApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_router_gateway_api = VirtualPrivateCloudRouterGatewayApi(client)\r\n resp = virtual_private_cloud_router_gateway_api.create_virtual_private_cloud_router_gateway([{\"rules\":[{\"dst\":\"dst-string\"}],\"associated_subnets_ids\":[\"-string\"],\"external_subnet_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_router_gateway\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_router_gateway_api := client.VirtualPrivateCloudRouterGateway\r\n params := virtual_private_cloud_router_gateway.NewCreateVirtualPrivateCloudRouterGatewayParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudRouterGatewayCreationParams{\n{\nRules: []*models.VirtualPrivateCloudRouterGatewayRuleInputType{\n{\nDst: pointy.String(\"dst-string\"),\n},\n},\nAssociatedSubnetsIds: []string{\"-string\",\n},\nExternalSubnetID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nVpcID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_router_gateway_api.CreateVirtualPrivateCloudRouterGateway(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouterGateway) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudRouterGateway)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouterGateway) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudRouterGatewayApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudRouterGatewayApi virtualPrivateCloudRouterGatewayApi = new VirtualPrivateCloudRouterGatewayApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudRouterGatewayCreationParams()\n.addRulesItem(new VirtualPrivateCloudRouterGatewayRuleInputType()\n.dst(\"dst-string\"))\n.addAssociatedSubnetsIdsItem(\"-string\")\n.externalSubnetId(\"ck74rk21wg5lz0786opdnzz5m\")\n.vpcId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = virtualPrivateCloudRouterGatewayApi.createVirtualPrivateCloudRouterGateway(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/update-virtual-private-cloud-router-gateway": { - "exampleValue": { - "data": {}, - "where": { - "id": "VirtualPrivateCloudRouterGateway-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-virtual-private-cloud-router-gateway \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudRouterGateway-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudRouterGatewayApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_router_gateway_api = VirtualPrivateCloudRouterGatewayApi(client)\r\n resp = virtual_private_cloud_router_gateway_api.update_virtual_private_cloud_router_gateway({\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudRouterGateway-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_router_gateway\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_router_gateway_api := client.VirtualPrivateCloudRouterGateway\r\n params := virtual_private_cloud_router_gateway.NewUpdateVirtualPrivateCloudRouterGatewayParams()\r\n params.RequestBody = &models.VirtualPrivateCloudRouterGatewayUpdationParams{\nData: &models.VirtualPrivateCloudRouterGatewayUpdateDataParams{\n},\nWhere: &models.VirtualPrivateCloudRouterGatewayWhereInput{\nID: pointy.String(\"VirtualPrivateCloudRouterGateway-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_router_gateway_api.UpdateVirtualPrivateCloudRouterGateway(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouterGateway) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudRouterGateway)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudRouterGateway) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudRouterGatewayApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudRouterGatewayApi virtualPrivateCloudRouterGatewayApi = new VirtualPrivateCloudRouterGatewayApi(client);\r\n VirtualPrivateCloudRouterGatewayUpdationParams params = new VirtualPrivateCloudRouterGatewayUpdationParams()\n.data(new VirtualPrivateCloudRouterGatewayUpdateDataParams())\n.where(new VirtualPrivateCloudRouterGatewayWhereInput()\n.id(\"VirtualPrivateCloudRouterGateway-id\"));\r\n List resp = virtualPrivateCloudRouterGatewayApi.updateVirtualPrivateCloudRouterGateway(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/delete-virtual-private-cloud-router-gateway": { - "exampleValue": { - "where": { - "id": "VirtualPrivateCloudRouterGateway-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-virtual-private-cloud-router-gateway \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloudRouterGateway-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudRouterGatewayApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_router_gateway_api = VirtualPrivateCloudRouterGatewayApi(client)\r\n resp = virtual_private_cloud_router_gateway_api.delete_virtual_private_cloud_router_gateway({\"where\":{\"id\":\"VirtualPrivateCloudRouterGateway-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_router_gateway\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_router_gateway_api := client.VirtualPrivateCloudRouterGateway\r\n params := virtual_private_cloud_router_gateway.NewDeleteVirtualPrivateCloudRouterGatewayParams()\r\n params.RequestBody = &models.VirtualPrivateCloudRouterGatewayDeletionParams{\nWhere: &models.VirtualPrivateCloudRouterGatewayWhereInput{\nID: pointy.String(\"VirtualPrivateCloudRouterGateway-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_router_gateway_api.DeleteVirtualPrivateCloudRouterGateway(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudRouterGateway) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloudRouterGateway)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudRouterGateway) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudRouterGatewayApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudRouterGatewayApi virtualPrivateCloudRouterGatewayApi = new VirtualPrivateCloudRouterGatewayApi(client);\r\n VirtualPrivateCloudRouterGatewayDeletionParams params = new VirtualPrivateCloudRouterGatewayDeletionParams()\n.where(new VirtualPrivateCloudRouterGatewayWhereInput()\n.id(\"VirtualPrivateCloudRouterGateway-id\"));\r\n List resp = virtualPrivateCloudRouterGatewayApi.deleteVirtualPrivateCloudRouterGateway(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/create-virtual-private-cloud-security-group": { - "exampleValue": [ - { - "vpc_id": "ck74rk21wg5lz0786opdnzz5m", - "name": "name-string" - } - ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-virtual-private-cloud-security-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSecurityGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_security_group_api = VirtualPrivateCloudSecurityGroupApi(client)\r\n resp = virtual_private_cloud_security_group_api.create_virtual_private_cloud_security_group([{\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_security_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_security_group_api := client.VirtualPrivateCloudSecurityGroup\r\n params := virtual_private_cloud_security_group.NewCreateVirtualPrivateCloudSecurityGroupParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudSecurityGroupCreationParams{\n{\nVpcID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_security_group_api.CreateVirtualPrivateCloudSecurityGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudSecurityGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSecurityGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSecurityGroupApi virtualPrivateCloudSecurityGroupApi = new VirtualPrivateCloudSecurityGroupApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudSecurityGroupCreationParams()\n.vpcId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = virtualPrivateCloudSecurityGroupApi.createVirtualPrivateCloudSecurityGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/update-virtual-private-cloud-security-group": { - "exampleValue": { - "data": {}, - "where": { - "id": "VirtualPrivateCloudSecurityGroup-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-virtual-private-cloud-security-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudSecurityGroup-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSecurityGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_security_group_api = VirtualPrivateCloudSecurityGroupApi(client)\r\n resp = virtual_private_cloud_security_group_api.update_virtual_private_cloud_security_group({\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudSecurityGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_security_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_security_group_api := client.VirtualPrivateCloudSecurityGroup\r\n params := virtual_private_cloud_security_group.NewUpdateVirtualPrivateCloudSecurityGroupParams()\r\n params.RequestBody = &models.VirtualPrivateCloudSecurityGroupUpdationParams{\nData: &models.VirtualPrivateCloudSecurityGroupUpdationParamsData{\n},\nWhere: &models.VirtualPrivateCloudSecurityGroupWhereInput{\nID: pointy.String(\"VirtualPrivateCloudSecurityGroup-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_security_group_api.UpdateVirtualPrivateCloudSecurityGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudSecurityGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSecurityGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSecurityGroupApi virtualPrivateCloudSecurityGroupApi = new VirtualPrivateCloudSecurityGroupApi(client);\r\n VirtualPrivateCloudSecurityGroupUpdationParams params = new VirtualPrivateCloudSecurityGroupUpdationParams()\n.data(new VirtualPrivateCloudSecurityGroupUpdationParamsData())\n.where(new VirtualPrivateCloudSecurityGroupWhereInput()\n.id(\"VirtualPrivateCloudSecurityGroup-id\"));\r\n List resp = virtualPrivateCloudSecurityGroupApi.updateVirtualPrivateCloudSecurityGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/delete-virtual-private-cloud-security-group": { - "exampleValue": { - "where": { - "id": "VirtualPrivateCloudSecurityGroup-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-virtual-private-cloud-security-group \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloudSecurityGroup-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSecurityGroupApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_security_group_api = VirtualPrivateCloudSecurityGroupApi(client)\r\n resp = virtual_private_cloud_security_group_api.delete_virtual_private_cloud_security_group({\"where\":{\"id\":\"VirtualPrivateCloudSecurityGroup-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_security_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_security_group_api := client.VirtualPrivateCloudSecurityGroup\r\n params := virtual_private_cloud_security_group.NewDeleteVirtualPrivateCloudSecurityGroupParams()\r\n params.RequestBody = &models.VirtualPrivateCloudSecurityGroupDeletionParams{\nWhere: &models.VirtualPrivateCloudSecurityGroupWhereInput{\nID: pointy.String(\"VirtualPrivateCloudSecurityGroup-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_security_group_api.DeleteVirtualPrivateCloudSecurityGroup(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudSecurityGroup) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloudSecurityGroup)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudSecurityGroup) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSecurityGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSecurityGroupApi virtualPrivateCloudSecurityGroupApi = new VirtualPrivateCloudSecurityGroupApi(client);\r\n VirtualPrivateCloudSecurityGroupDeletionParams params = new VirtualPrivateCloudSecurityGroupDeletionParams()\n.where(new VirtualPrivateCloudSecurityGroupWhereInput()\n.id(\"VirtualPrivateCloudSecurityGroup-id\"));\r\n List resp = virtualPrivateCloudSecurityGroupApi.deleteVirtualPrivateCloudSecurityGroup(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/create-virtual-private-cloud-security-policy": { - "exampleValue": [ - { - "apply_to": [ - { - "security_group_id": "ck74rk21wg5lz0786opdnzz5m", - "communicable": true - } - ], - "vpc_id": "ck74rk21wg5lz0786opdnzz5m", - "name": "name-string" - } - ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-virtual-private-cloud-security-policy \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"apply_to\":[{\"security_group_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"communicable\":true}],\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSecurityPolicyApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_security_policy_api = VirtualPrivateCloudSecurityPolicyApi(client)\r\n resp = virtual_private_cloud_security_policy_api.create_virtual_private_cloud_security_policy([{\"apply_to\":[{\"security_group_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"communicable\":True}],\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_security_policy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_security_policy_api := client.VirtualPrivateCloudSecurityPolicy\r\n params := virtual_private_cloud_security_policy.NewCreateVirtualPrivateCloudSecurityPolicyParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudSecurityPolicyCreateParams{\n{\nApplyTo: []*models.VirtualPrivateCloudSecurityPolicyApplyInput{\n{\nSecurityGroupID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nCommunicable: pointy.Bool(true),\n},\n},\nVpcID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_security_policy_api.CreateVirtualPrivateCloudSecurityPolicy(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityPolicy) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudSecurityPolicy)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityPolicy) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSecurityPolicyApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSecurityPolicyApi virtualPrivateCloudSecurityPolicyApi = new VirtualPrivateCloudSecurityPolicyApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudSecurityPolicyCreateParams()\n.addApplyToItem(new VirtualPrivateCloudSecurityPolicyApplyInput()\n.securityGroupId(\"ck74rk21wg5lz0786opdnzz5m\")\n.communicable(true))\n.vpcId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = virtualPrivateCloudSecurityPolicyApi.createVirtualPrivateCloudSecurityPolicy(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/delete-virtual-private-cloud-security-policy": { - "exampleValue": { - "where": { - "id": "VirtualPrivateCloudSecurityPolicy-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-virtual-private-cloud-security-policy \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloudSecurityPolicy-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSecurityPolicyApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_security_policy_api = VirtualPrivateCloudSecurityPolicyApi(client)\r\n resp = virtual_private_cloud_security_policy_api.delete_virtual_private_cloud_security_policy({\"where\":{\"id\":\"VirtualPrivateCloudSecurityPolicy-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_security_policy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_security_policy_api := client.VirtualPrivateCloudSecurityPolicy\r\n params := virtual_private_cloud_security_policy.NewDeleteVirtualPrivateCloudSecurityPolicyParams()\r\n params.RequestBody = &models.VirtualPrivateCloudSecurityPolicyDeleteParams{\nWhere: &models.VirtualPrivateCloudSecurityPolicyWhereInput{\nID: pointy.String(\"VirtualPrivateCloudSecurityPolicy-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_security_policy_api.DeleteVirtualPrivateCloudSecurityPolicy(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudSecurityPolicy) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloudSecurityPolicy)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudSecurityPolicy) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSecurityPolicyApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSecurityPolicyApi virtualPrivateCloudSecurityPolicyApi = new VirtualPrivateCloudSecurityPolicyApi(client);\r\n VirtualPrivateCloudSecurityPolicyDeleteParams params = new VirtualPrivateCloudSecurityPolicyDeleteParams()\n.where(new VirtualPrivateCloudSecurityPolicyWhereInput()\n.id(\"VirtualPrivateCloudSecurityPolicy-id\"));\r\n List resp = virtualPrivateCloudSecurityPolicyApi.deleteVirtualPrivateCloudSecurityPolicy(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/update-virtual-private-cloud-security-policy": { - "exampleValue": { - "data": {}, - "where": { - "id": "VirtualPrivateCloudSecurityPolicy-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-virtual-private-cloud-security-policy \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudSecurityPolicy-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSecurityPolicyApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_security_policy_api = VirtualPrivateCloudSecurityPolicyApi(client)\r\n resp = virtual_private_cloud_security_policy_api.update_virtual_private_cloud_security_policy({\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudSecurityPolicy-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_security_policy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_security_policy_api := client.VirtualPrivateCloudSecurityPolicy\r\n params := virtual_private_cloud_security_policy.NewUpdateVirtualPrivateCloudSecurityPolicyParams()\r\n params.RequestBody = &models.VirtualPrivateCloudSecurityPolicyUpdateBody{\nData: &models.VirtualPrivateCloudSecurityPolicyUpdateParams{\n},\nWhere: &models.VirtualPrivateCloudSecurityPolicyWhereInput{\nID: pointy.String(\"VirtualPrivateCloudSecurityPolicy-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_security_policy_api.UpdateVirtualPrivateCloudSecurityPolicy(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityPolicy) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudSecurityPolicy)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudSecurityPolicy) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSecurityPolicyApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSecurityPolicyApi virtualPrivateCloudSecurityPolicyApi = new VirtualPrivateCloudSecurityPolicyApi(client);\r\n VirtualPrivateCloudSecurityPolicyUpdateBody params = new VirtualPrivateCloudSecurityPolicyUpdateBody()\n.data(new VirtualPrivateCloudSecurityPolicyUpdateParams())\n.where(new VirtualPrivateCloudSecurityPolicyWhereInput()\n.id(\"VirtualPrivateCloudSecurityPolicy-id\"));\r\n List resp = virtualPrivateCloudSecurityPolicyApi.updateVirtualPrivateCloudSecurityPolicy(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/create-virtual-private-cloud-subnet": { - "exampleValue": [ - { - "route_table_id": "ck74rk21wg5lz0786opdnzz5m", - "gateway": "gateway-string", - "cidr": "cidr-string", - "vpc_id": "ck74rk21wg5lz0786opdnzz5m", - "name": "name-string" - } - ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-virtual-private-cloud-subnet \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"route_table_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"gateway\":\"gateway-string\",\"cidr\":\"cidr-string\",\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSubnetApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_subnet_api = VirtualPrivateCloudSubnetApi(client)\r\n resp = virtual_private_cloud_subnet_api.create_virtual_private_cloud_subnet([{\"route_table_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"gateway\":\"gateway-string\",\"cidr\":\"cidr-string\",\"vpc_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_subnet\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_subnet_api := client.VirtualPrivateCloudSubnet\r\n params := virtual_private_cloud_subnet.NewCreateVirtualPrivateCloudSubnetParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudSubnetCreationParams{\n{\nRouteTableID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nGateway: pointy.String(\"gateway-string\"),\nCidr: pointy.String(\"cidr-string\"),\nVpcID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_subnet_api.CreateVirtualPrivateCloudSubnet(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudSubnet) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudSubnet)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudSubnet) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSubnetApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSubnetApi virtualPrivateCloudSubnetApi = new VirtualPrivateCloudSubnetApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudSubnetCreationParams()\n.routeTableId(\"ck74rk21wg5lz0786opdnzz5m\")\n.gateway(\"gateway-string\")\n.cidr(\"cidr-string\")\n.vpcId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = virtualPrivateCloudSubnetApi.createVirtualPrivateCloudSubnet(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/update-virtual-private-cloud-subnet": { - "exampleValue": { - "data": {}, - "where": { - "id": "VirtualPrivateCloudSubnet-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-virtual-private-cloud-subnet \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudSubnet-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSubnetApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_subnet_api = VirtualPrivateCloudSubnetApi(client)\r\n resp = virtual_private_cloud_subnet_api.update_virtual_private_cloud_subnet({\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloudSubnet-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_subnet\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_subnet_api := client.VirtualPrivateCloudSubnet\r\n params := virtual_private_cloud_subnet.NewUpdateVirtualPrivateCloudSubnetParams()\r\n params.RequestBody = &models.VirtualPrivateCloudSubnetUpdationParams{\nData: &models.VirtualPrivateCloudSubnetUpdateDataParams{\n},\nWhere: &models.VirtualPrivateCloudSubnetWhereInput{\nID: pointy.String(\"VirtualPrivateCloudSubnet-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_subnet_api.UpdateVirtualPrivateCloudSubnet(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloudSubnet) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloudSubnet)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloudSubnet) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSubnetApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSubnetApi virtualPrivateCloudSubnetApi = new VirtualPrivateCloudSubnetApi(client);\r\n VirtualPrivateCloudSubnetUpdationParams params = new VirtualPrivateCloudSubnetUpdationParams()\n.data(new VirtualPrivateCloudSubnetUpdateDataParams())\n.where(new VirtualPrivateCloudSubnetWhereInput()\n.id(\"VirtualPrivateCloudSubnet-id\"));\r\n List resp = virtualPrivateCloudSubnetApi.updateVirtualPrivateCloudSubnet(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/delete-virtual-private-cloud-subnet": { - "exampleValue": { - "where": { - "id": "VirtualPrivateCloudSubnet-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-virtual-private-cloud-subnet \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloudSubnet-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudSubnetApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_subnet_api = VirtualPrivateCloudSubnetApi(client)\r\n resp = virtual_private_cloud_subnet_api.delete_virtual_private_cloud_subnet({\"where\":{\"id\":\"VirtualPrivateCloudSubnet-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud_subnet\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_subnet_api := client.VirtualPrivateCloudSubnet\r\n params := virtual_private_cloud_subnet.NewDeleteVirtualPrivateCloudSubnetParams()\r\n params.RequestBody = &models.VirtualPrivateCloudSubnetDeletionParams{\nWhere: &models.VirtualPrivateCloudSubnetWhereInput{\nID: pointy.String(\"VirtualPrivateCloudSubnet-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_subnet_api.DeleteVirtualPrivateCloudSubnet(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudSubnet) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloudSubnet)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloudSubnet) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudSubnetApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudSubnetApi virtualPrivateCloudSubnetApi = new VirtualPrivateCloudSubnetApi(client);\r\n VirtualPrivateCloudSubnetDeletionParams params = new VirtualPrivateCloudSubnetDeletionParams()\n.where(new VirtualPrivateCloudSubnetWhereInput()\n.id(\"VirtualPrivateCloudSubnet-id\"));\r\n List resp = virtualPrivateCloudSubnetApi.deleteVirtualPrivateCloudSubnet(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/create-virtual-private-cloud": { - "exampleValue": [ - { - "vpc_service_id": "ck74rk21wg5lz0786opdnzz5m", - "name": "name-string" - } - ], - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/create-virtual-private-cloud \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '[{\"vpc_service_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}]'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_api = VirtualPrivateCloudApi(client)\r\n resp = virtual_private_cloud_api.create_virtual_private_cloud([{\"vpc_service_id\":\"ck74rk21wg5lz0786opdnzz5m\",\"name\":\"name-string\"}])\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_api := client.VirtualPrivateCloud\r\n params := virtual_private_cloud.NewCreateVirtualPrivateCloudParams()\r\n params.RequestBody = []*models.VirtualPrivateCloudCreationParams{\n{\nVpcServiceID: pointy.String(\"ck74rk21wg5lz0786opdnzz5m\"),\nName: pointy.String(\"name-string\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_api.CreateVirtualPrivateCloud(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloud) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloud)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloud) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudApi virtualPrivateCloudApi = new VirtualPrivateCloudApi(client);\r\n List params = new ArrayList<>();\r\n params.add(new VirtualPrivateCloudCreationParams()\n.vpcServiceId(\"ck74rk21wg5lz0786opdnzz5m\")\n.name(\"name-string\"));\r\n List resp = virtualPrivateCloudApi.createVirtualPrivateCloud(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/update-virtual-private-cloud": { - "exampleValue": { - "data": {}, - "where": { - "id": "VirtualPrivateCloud-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/update-virtual-private-cloud \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloud-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_api = VirtualPrivateCloudApi(client)\r\n resp = virtual_private_cloud_api.update_virtual_private_cloud({\"data\":{},\"where\":{\"id\":\"VirtualPrivateCloud-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_api := client.VirtualPrivateCloud\r\n params := virtual_private_cloud.NewUpdateVirtualPrivateCloudParams()\r\n params.RequestBody = &models.VirtualPrivateCloudUpdationParams{\nData: &models.VirtualPrivateCloudUpdateDataParams{\n},\nWhere: &models.VirtualPrivateCloudWhereInput{\nID: pointy.String(\"VirtualPrivateCloud-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_api.UpdateVirtualPrivateCloud(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskVirtualPrivateCloud) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskVirtualPrivateCloud)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskVirtualPrivateCloud) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudApi virtualPrivateCloudApi = new VirtualPrivateCloudApi(client);\r\n VirtualPrivateCloudUpdationParams params = new VirtualPrivateCloudUpdationParams()\n.data(new VirtualPrivateCloudUpdateDataParams())\n.where(new VirtualPrivateCloudWhereInput()\n.id(\"VirtualPrivateCloud-id\"));\r\n List resp = virtualPrivateCloudApi.updateVirtualPrivateCloud(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, - "/delete-virtual-private-cloud": { - "exampleValue": { - "where": { - "id": "VirtualPrivateCloud-id" - } - }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/delete-virtual-private-cloud \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"VirtualPrivateCloud-id\"}}'", - "python": "from cloudtower import ApiClient, Configuration, VirtualPrivateCloudApi\r\nfrom cloudtower.utils import login, wait_tasks\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n virtual_private_cloud_api = VirtualPrivateCloudApi(client)\r\n resp = virtual_private_cloud_api.delete_virtual_private_cloud({\"where\":{\"id\":\"VirtualPrivateCloud-id\"}})\r\n wait_tasks([with_task_obj.task_id for with_task_obj in resp if with_task_obj.task_id], client)\r\n\r\n", - "go": "package main\r\n\r\nimport (\r\n \"context\"\r\n \"fmt\"\r\n \"time\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/virtual_private_cloud\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/utils\"\r\n \"github.com/thoas/go-funk\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n virtual_private_cloud_api := client.VirtualPrivateCloud\r\n params := virtual_private_cloud.NewDeleteVirtualPrivateCloudParams()\r\n params.RequestBody = &models.VirtualPrivateCloudDeletionParams{\nWhere: &models.VirtualPrivateCloudWhereInput{\nID: pointy.String(\"VirtualPrivateCloud-id\"),\n},\n}\r\n rawResp, err := virtual_private_cloud_api.DeleteVirtualPrivateCloud(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n respTaskIds := funk.Filter(resp, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloud) bool {\r\n return withTaskObj.TaskID != nil\r\n }).([]*models.WithTaskDeleteVirtualPrivateCloud)\r\n if len(respTaskIds) == 0 {\r\n return\r\n }\r\n err = utils.WaitTasks(context.Background(), client, funk.Map(respTaskIds, func(withTaskObj *models.WithTaskDeleteVirtualPrivateCloud) string {\r\n\t\treturn *withTaskObj.TaskID\r\n\t}).([]string), 1*time.Second)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n}", - "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.TaskUtil;\r\nimport com.smartx.tower.api.VirtualPrivateCloudApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\nimport java.util.Objects;\r\nimport java.util.stream.Collectors;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n VirtualPrivateCloudApi virtualPrivateCloudApi = new VirtualPrivateCloudApi(client);\r\n VirtualPrivateCloudDeletionParams params = new VirtualPrivateCloudDeletionParams()\n.where(new VirtualPrivateCloudWhereInput()\n.id(\"VirtualPrivateCloud-id\"));\r\n List resp = virtualPrivateCloudApi.deleteVirtualPrivateCloud(params);\r\n List taskIds = resp.stream().map(withTaskObj -> withTaskObj.getTaskId()).filter(id -> Objects.nonNull(id)).collect(Collectors.toList());\r\n TaskUtil.WaitTasks(taskIds, client);\r\n }\r\n}" - }, "/get-alert-notifiers": { "exampleValue": { "where": { "id": "AlertNotifier-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-alert-notifiers \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"AlertNotifier-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-alert-notifiers \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"AlertNotifier-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, AlertNotifierApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n alert_notifier_api = AlertNotifierApi(client)\r\n resp = alert_notifier_api.get_alert_notifiers({\"where\":{\"id\":\"AlertNotifier-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/alert_notifier\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n alert_notifier_api := client.AlertNotifier\r\n params := alert_notifier.NewGetAlertNotifiersParams()\r\n params.RequestBody = &models.GetAlertNotifiersRequestBody{\nWhere: &models.AlertNotifierWhereInput{\nID: pointy.String(\"AlertNotifier-id\"),\n},\n}\r\n rawResp, err := alert_notifier_api.GetAlertNotifiers(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.AlertNotifierApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n AlertNotifierApi alertNotifierApi = new AlertNotifierApi(client);\r\n GetAlertNotifiersRequestBody params = new GetAlertNotifiersRequestBody()\n.where(new AlertNotifierWhereInput()\n.id(\"AlertNotifier-id\"));\r\n List resp = alertNotifierApi.getAlertNotifiers(params);\r\n }\r\n}" @@ -4106,7 +4126,7 @@ "id": "AlertNotifier-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-alert-notifiers-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"AlertNotifier-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-alert-notifiers-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"AlertNotifier-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, AlertNotifierApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n alert_notifier_api = AlertNotifierApi(client)\r\n resp = alert_notifier_api.get_alert_notifiers_connection({\"where\":{\"id\":\"AlertNotifier-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/alert_notifier\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n alert_notifier_api := client.AlertNotifier\r\n params := alert_notifier.NewGetAlertNotifiersConnectionParams()\r\n params.RequestBody = &models.GetAlertNotifiersConnectionRequestBody{\nWhere: &models.AlertNotifierWhereInput{\nID: pointy.String(\"AlertNotifier-id\"),\n},\n}\r\n rawResp, err := alert_notifier_api.GetAlertNotifiersConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.AlertNotifierApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n AlertNotifierApi alertNotifierApi = new AlertNotifierApi(client);\r\n GetAlertNotifiersConnectionRequestBody params = new GetAlertNotifiersConnectionRequestBody()\n.where(new AlertNotifierWhereInput()\n.id(\"AlertNotifier-id\"));\r\n AlertNotifierConnection resp = alertNotifierApi.getAlertNotifiersConnection(params);\r\n }\r\n}" @@ -4117,7 +4137,7 @@ "id": "AlertRule-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-alert-rules \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"AlertRule-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-alert-rules \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"AlertRule-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, AlertRuleApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n alert_rule_api = AlertRuleApi(client)\r\n resp = alert_rule_api.get_alert_rules({\"where\":{\"id\":\"AlertRule-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/alert_rule\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n alert_rule_api := client.AlertRule\r\n params := alert_rule.NewGetAlertRulesParams()\r\n params.RequestBody = &models.GetAlertRulesRequestBody{\nWhere: &models.AlertRuleWhereInput{\nID: pointy.String(\"AlertRule-id\"),\n},\n}\r\n rawResp, err := alert_rule_api.GetAlertRules(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.AlertRuleApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n AlertRuleApi alertRuleApi = new AlertRuleApi(client);\r\n GetAlertRulesRequestBody params = new GetAlertRulesRequestBody()\n.where(new AlertRuleWhereInput()\n.id(\"AlertRule-id\"));\r\n List resp = alertRuleApi.getAlertRules(params);\r\n }\r\n}" @@ -4128,7 +4148,7 @@ "id": "AlertRule-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-alert-rules-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"AlertRule-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-alert-rules-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"AlertRule-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, AlertRuleApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n alert_rule_api = AlertRuleApi(client)\r\n resp = alert_rule_api.get_alert_rules_connection({\"where\":{\"id\":\"AlertRule-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/alert_rule\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n alert_rule_api := client.AlertRule\r\n params := alert_rule.NewGetAlertRulesConnectionParams()\r\n params.RequestBody = &models.GetAlertRulesConnectionRequestBody{\nWhere: &models.AlertRuleWhereInput{\nID: pointy.String(\"AlertRule-id\"),\n},\n}\r\n rawResp, err := alert_rule_api.GetAlertRulesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.AlertRuleApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n AlertRuleApi alertRuleApi = new AlertRuleApi(client);\r\n GetAlertRulesConnectionRequestBody params = new GetAlertRulesConnectionRequestBody()\n.where(new AlertRuleWhereInput()\n.id(\"AlertRule-id\"));\r\n AlertRuleConnection resp = alertRuleApi.getAlertRulesConnection(params);\r\n }\r\n}" @@ -4139,7 +4159,7 @@ "id": "Alert-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-alerts \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Alert-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-alerts \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Alert-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, AlertApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n alert_api = AlertApi(client)\r\n resp = alert_api.get_alerts({\"where\":{\"id\":\"Alert-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/alert\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n alert_api := client.Alert\r\n params := alert.NewGetAlertsParams()\r\n params.RequestBody = &models.GetAlertsRequestBody{\nWhere: &models.AlertWhereInput{\nID: pointy.String(\"Alert-id\"),\n},\n}\r\n rawResp, err := alert_api.GetAlerts(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.AlertApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n AlertApi alertApi = new AlertApi(client);\r\n GetAlertsRequestBody params = new GetAlertsRequestBody()\n.where(new AlertWhereInput()\n.id(\"Alert-id\"));\r\n List resp = alertApi.getAlerts(params);\r\n }\r\n}" @@ -4150,7 +4170,7 @@ "id": "Alert-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-alerts-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Alert-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-alerts-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Alert-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, AlertApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n alert_api = AlertApi(client)\r\n resp = alert_api.get_alerts_connection({\"where\":{\"id\":\"Alert-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/alert\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n alert_api := client.Alert\r\n params := alert.NewGetAlertsConnectionParams()\r\n params.RequestBody = &models.GetAlertsConnectionRequestBody{\nWhere: &models.AlertWhereInput{\nID: pointy.String(\"Alert-id\"),\n},\n}\r\n rawResp, err := alert_api.GetAlertsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.AlertApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n AlertApi alertApi = new AlertApi(client);\r\n GetAlertsConnectionRequestBody params = new GetAlertsConnectionRequestBody()\n.where(new AlertWhereInput()\n.id(\"Alert-id\"));\r\n AlertConnection resp = alertApi.getAlertsConnection(params);\r\n }\r\n}" @@ -4161,7 +4181,7 @@ "id": "Application-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-applications \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Application-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-applications \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Application-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ApplicationApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n application_api = ApplicationApi(client)\r\n resp = application_api.get_applications({\"where\":{\"id\":\"Application-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/application\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n application_api := client.Application\r\n params := application.NewGetApplicationsParams()\r\n params.RequestBody = &models.GetApplicationsRequestBody{\nWhere: &models.ApplicationWhereInput{\nID: pointy.String(\"Application-id\"),\n},\n}\r\n rawResp, err := application_api.GetApplications(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ApplicationApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ApplicationApi applicationApi = new ApplicationApi(client);\r\n GetApplicationsRequestBody params = new GetApplicationsRequestBody()\n.where(new ApplicationWhereInput()\n.id(\"Application-id\"));\r\n List resp = applicationApi.getApplications(params);\r\n }\r\n}" @@ -4172,7 +4192,7 @@ "id": "Application-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-applications-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Application-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-applications-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Application-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ApplicationApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n application_api = ApplicationApi(client)\r\n resp = application_api.get_applications_connection({\"where\":{\"id\":\"Application-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/application\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n application_api := client.Application\r\n params := application.NewGetApplicationsConnectionParams()\r\n params.RequestBody = &models.GetApplicationsConnectionRequestBody{\nWhere: &models.ApplicationWhereInput{\nID: pointy.String(\"Application-id\"),\n},\n}\r\n rawResp, err := application_api.GetApplicationsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ApplicationApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ApplicationApi applicationApi = new ApplicationApi(client);\r\n GetApplicationsConnectionRequestBody params = new GetApplicationsConnectionRequestBody()\n.where(new ApplicationWhereInput()\n.id(\"Application-id\"));\r\n ApplicationConnection resp = applicationApi.getApplicationsConnection(params);\r\n }\r\n}" @@ -4183,7 +4203,7 @@ "id": "BackupPlanExecution-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-backup-plan-executions \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupPlanExecution-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-plan-executions \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupPlanExecution-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BackupPlanExecutionApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_execution_api = BackupPlanExecutionApi(client)\r\n resp = backup_plan_execution_api.get_backup_plan_executions({\"where\":{\"id\":\"BackupPlanExecution-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan_execution\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_execution_api := client.BackupPlanExecution\r\n params := backup_plan_execution.NewGetBackupPlanExecutionsParams()\r\n params.RequestBody = &models.GetBackupPlanExecutionsRequestBody{\nWhere: &models.BackupPlanExecutionWhereInput{\nID: pointy.String(\"BackupPlanExecution-id\"),\n},\n}\r\n rawResp, err := backup_plan_execution_api.GetBackupPlanExecutions(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupPlanExecutionApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanExecutionApi backupPlanExecutionApi = new BackupPlanExecutionApi(client);\r\n GetBackupPlanExecutionsRequestBody params = new GetBackupPlanExecutionsRequestBody()\n.where(new BackupPlanExecutionWhereInput()\n.id(\"BackupPlanExecution-id\"));\r\n List resp = backupPlanExecutionApi.getBackupPlanExecutions(params);\r\n }\r\n}" @@ -4194,7 +4214,7 @@ "id": "BackupPlanExecution-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-backup-plan-executions-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupPlanExecution-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-plan-executions-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupPlanExecution-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BackupPlanExecutionApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_execution_api = BackupPlanExecutionApi(client)\r\n resp = backup_plan_execution_api.get_backup_plan_executions_connection({\"where\":{\"id\":\"BackupPlanExecution-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan_execution\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_execution_api := client.BackupPlanExecution\r\n params := backup_plan_execution.NewGetBackupPlanExecutionsConnectionParams()\r\n params.RequestBody = &models.GetBackupPlanExecutionsConnectionRequestBody{\nWhere: &models.BackupPlanExecutionWhereInput{\nID: pointy.String(\"BackupPlanExecution-id\"),\n},\n}\r\n rawResp, err := backup_plan_execution_api.GetBackupPlanExecutionsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupPlanExecutionApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanExecutionApi backupPlanExecutionApi = new BackupPlanExecutionApi(client);\r\n GetBackupPlanExecutionsConnectionRequestBody params = new GetBackupPlanExecutionsConnectionRequestBody()\n.where(new BackupPlanExecutionWhereInput()\n.id(\"BackupPlanExecution-id\"));\r\n BackupPlanExecutionConnection resp = backupPlanExecutionApi.getBackupPlanExecutionsConnection(params);\r\n }\r\n}" @@ -4205,7 +4225,7 @@ "id": "BackupPlan-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-backup-plans \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupPlan-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-plans \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupPlan-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.get_backup_plans({\"where\":{\"id\":\"BackupPlan-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewGetBackupPlansParams()\r\n params.RequestBody = &models.GetBackupPlansRequestBody{\nWhere: &models.BackupPlanWhereInput{\nID: pointy.String(\"BackupPlan-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.GetBackupPlans(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n GetBackupPlansRequestBody params = new GetBackupPlansRequestBody()\n.where(new BackupPlanWhereInput()\n.id(\"BackupPlan-id\"));\r\n List resp = backupPlanApi.getBackupPlans(params);\r\n }\r\n}" @@ -4216,7 +4236,7 @@ "id": "BackupPlan-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-backup-plans-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupPlan-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-plans-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupPlan-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BackupPlanApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_plan_api = BackupPlanApi(client)\r\n resp = backup_plan_api.get_backup_plans_connection({\"where\":{\"id\":\"BackupPlan-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_plan\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_plan_api := client.BackupPlan\r\n params := backup_plan.NewGetBackupPlansConnectionParams()\r\n params.RequestBody = &models.GetBackupPlansConnectionRequestBody{\nWhere: &models.BackupPlanWhereInput{\nID: pointy.String(\"BackupPlan-id\"),\n},\n}\r\n rawResp, err := backup_plan_api.GetBackupPlansConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupPlanApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupPlanApi backupPlanApi = new BackupPlanApi(client);\r\n GetBackupPlansConnectionRequestBody params = new GetBackupPlansConnectionRequestBody()\n.where(new BackupPlanWhereInput()\n.id(\"BackupPlan-id\"));\r\n BackupPlanConnection resp = backupPlanApi.getBackupPlansConnection(params);\r\n }\r\n}" @@ -4227,7 +4247,7 @@ "id": "BackupRestoreExecution-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-backup-restore-executions \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupRestoreExecution-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-restore-executions \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupRestoreExecution-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BackupRestoreExecutionApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_restore_execution_api = BackupRestoreExecutionApi(client)\r\n resp = backup_restore_execution_api.get_backup_restore_executions({\"where\":{\"id\":\"BackupRestoreExecution-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_restore_execution\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_restore_execution_api := client.BackupRestoreExecution\r\n params := backup_restore_execution.NewGetBackupRestoreExecutionsParams()\r\n params.RequestBody = &models.GetBackupRestoreExecutionsRequestBody{\nWhere: &models.BackupRestoreExecutionWhereInput{\nID: pointy.String(\"BackupRestoreExecution-id\"),\n},\n}\r\n rawResp, err := backup_restore_execution_api.GetBackupRestoreExecutions(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupRestoreExecutionApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupRestoreExecutionApi backupRestoreExecutionApi = new BackupRestoreExecutionApi(client);\r\n GetBackupRestoreExecutionsRequestBody params = new GetBackupRestoreExecutionsRequestBody()\n.where(new BackupRestoreExecutionWhereInput()\n.id(\"BackupRestoreExecution-id\"));\r\n List resp = backupRestoreExecutionApi.getBackupRestoreExecutions(params);\r\n }\r\n}" @@ -4238,7 +4258,7 @@ "id": "BackupRestoreExecution-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-backup-restore-executions-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupRestoreExecution-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-restore-executions-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupRestoreExecution-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BackupRestoreExecutionApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_restore_execution_api = BackupRestoreExecutionApi(client)\r\n resp = backup_restore_execution_api.get_backup_restore_executions_connection({\"where\":{\"id\":\"BackupRestoreExecution-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_restore_execution\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_restore_execution_api := client.BackupRestoreExecution\r\n params := backup_restore_execution.NewGetBackupRestoreExecutionsConnectionParams()\r\n params.RequestBody = &models.GetBackupRestoreExecutionsConnectionRequestBody{\nWhere: &models.BackupRestoreExecutionWhereInput{\nID: pointy.String(\"BackupRestoreExecution-id\"),\n},\n}\r\n rawResp, err := backup_restore_execution_api.GetBackupRestoreExecutionsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupRestoreExecutionApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupRestoreExecutionApi backupRestoreExecutionApi = new BackupRestoreExecutionApi(client);\r\n GetBackupRestoreExecutionsConnectionRequestBody params = new GetBackupRestoreExecutionsConnectionRequestBody()\n.where(new BackupRestoreExecutionWhereInput()\n.id(\"BackupRestoreExecution-id\"));\r\n BackupRestoreExecutionConnection resp = backupRestoreExecutionApi.getBackupRestoreExecutionsConnection(params);\r\n }\r\n}" @@ -4249,7 +4269,7 @@ "id": "BackupRestorePoint-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-backup-restore-points \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupRestorePoint-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-restore-points \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupRestorePoint-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BackupRestorePointApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_restore_point_api = BackupRestorePointApi(client)\r\n resp = backup_restore_point_api.get_backup_restore_points({\"where\":{\"id\":\"BackupRestorePoint-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_restore_point\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_restore_point_api := client.BackupRestorePoint\r\n params := backup_restore_point.NewGetBackupRestorePointsParams()\r\n params.RequestBody = &models.GetBackupRestorePointsRequestBody{\nWhere: &models.BackupRestorePointWhereInput{\nID: pointy.String(\"BackupRestorePoint-id\"),\n},\n}\r\n rawResp, err := backup_restore_point_api.GetBackupRestorePoints(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupRestorePointApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupRestorePointApi backupRestorePointApi = new BackupRestorePointApi(client);\r\n GetBackupRestorePointsRequestBody params = new GetBackupRestorePointsRequestBody()\n.where(new BackupRestorePointWhereInput()\n.id(\"BackupRestorePoint-id\"));\r\n List resp = backupRestorePointApi.getBackupRestorePoints(params);\r\n }\r\n}" @@ -4260,7 +4280,7 @@ "id": "BackupRestorePoint-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-backup-restore-points-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupRestorePoint-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-restore-points-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupRestorePoint-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BackupRestorePointApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_restore_point_api = BackupRestorePointApi(client)\r\n resp = backup_restore_point_api.get_backup_restore_points_connection({\"where\":{\"id\":\"BackupRestorePoint-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_restore_point\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_restore_point_api := client.BackupRestorePoint\r\n params := backup_restore_point.NewGetBackupRestorePointsConnectionParams()\r\n params.RequestBody = &models.GetBackupRestorePointsConnectionRequestBody{\nWhere: &models.BackupRestorePointWhereInput{\nID: pointy.String(\"BackupRestorePoint-id\"),\n},\n}\r\n rawResp, err := backup_restore_point_api.GetBackupRestorePointsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupRestorePointApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupRestorePointApi backupRestorePointApi = new BackupRestorePointApi(client);\r\n GetBackupRestorePointsConnectionRequestBody params = new GetBackupRestorePointsConnectionRequestBody()\n.where(new BackupRestorePointWhereInput()\n.id(\"BackupRestorePoint-id\"));\r\n BackupRestorePointConnection resp = backupRestorePointApi.getBackupRestorePointsConnection(params);\r\n }\r\n}" @@ -4271,7 +4291,7 @@ "id": "BackupService-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-backup-services \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupService-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-services \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupService-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BackupServiceApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_service_api = BackupServiceApi(client)\r\n resp = backup_service_api.get_backup_services({\"where\":{\"id\":\"BackupService-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_service\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_service_api := client.BackupService\r\n params := backup_service.NewGetBackupServicesParams()\r\n params.RequestBody = &models.GetBackupServicesRequestBody{\nWhere: &models.BackupServiceWhereInput{\nID: pointy.String(\"BackupService-id\"),\n},\n}\r\n rawResp, err := backup_service_api.GetBackupServices(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupServiceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupServiceApi backupServiceApi = new BackupServiceApi(client);\r\n GetBackupServicesRequestBody params = new GetBackupServicesRequestBody()\n.where(new BackupServiceWhereInput()\n.id(\"BackupService-id\"));\r\n List resp = backupServiceApi.getBackupServices(params);\r\n }\r\n}" @@ -4282,7 +4302,7 @@ "id": "BackupService-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-backup-services-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupService-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-services-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupService-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BackupServiceApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_service_api = BackupServiceApi(client)\r\n resp = backup_service_api.get_backup_services_connection({\"where\":{\"id\":\"BackupService-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_service\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_service_api := client.BackupService\r\n params := backup_service.NewGetBackupServicesConnectionParams()\r\n params.RequestBody = &models.GetBackupServicesConnectionRequestBody{\nWhere: &models.BackupServiceWhereInput{\nID: pointy.String(\"BackupService-id\"),\n},\n}\r\n rawResp, err := backup_service_api.GetBackupServicesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupServiceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupServiceApi backupServiceApi = new BackupServiceApi(client);\r\n GetBackupServicesConnectionRequestBody params = new GetBackupServicesConnectionRequestBody()\n.where(new BackupServiceWhereInput()\n.id(\"BackupService-id\"));\r\n BackupServiceConnection resp = backupServiceApi.getBackupServicesConnection(params);\r\n }\r\n}" @@ -4293,7 +4313,7 @@ "id": "BackupStoreRepository-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-backup-store-repositories \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupStoreRepository-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-store-repositories \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupStoreRepository-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BackupStoreRepositoryApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_store_repository_api = BackupStoreRepositoryApi(client)\r\n resp = backup_store_repository_api.get_backup_store_repositories({\"where\":{\"id\":\"BackupStoreRepository-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_store_repository\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_store_repository_api := client.BackupStoreRepository\r\n params := backup_store_repository.NewGetBackupStoreRepositoriesParams()\r\n params.RequestBody = &models.GetBackupStoreRepositoriesRequestBody{\nWhere: &models.BackupStoreRepositoryWhereInput{\nID: pointy.String(\"BackupStoreRepository-id\"),\n},\n}\r\n rawResp, err := backup_store_repository_api.GetBackupStoreRepositories(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupStoreRepositoryApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupStoreRepositoryApi backupStoreRepositoryApi = new BackupStoreRepositoryApi(client);\r\n GetBackupStoreRepositoriesRequestBody params = new GetBackupStoreRepositoriesRequestBody()\n.where(new BackupStoreRepositoryWhereInput()\n.id(\"BackupStoreRepository-id\"));\r\n List resp = backupStoreRepositoryApi.getBackupStoreRepositories(params);\r\n }\r\n}" @@ -4304,7 +4324,7 @@ "id": "BackupStoreRepository-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-backup-store-repositories-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupStoreRepository-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-store-repositories-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupStoreRepository-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BackupStoreRepositoryApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_store_repository_api = BackupStoreRepositoryApi(client)\r\n resp = backup_store_repository_api.get_backup_store_repositories_connection({\"where\":{\"id\":\"BackupStoreRepository-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_store_repository\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_store_repository_api := client.BackupStoreRepository\r\n params := backup_store_repository.NewGetBackupStoreRepositoriesConnectionParams()\r\n params.RequestBody = &models.GetBackupStoreRepositoriesConnectionRequestBody{\nWhere: &models.BackupStoreRepositoryWhereInput{\nID: pointy.String(\"BackupStoreRepository-id\"),\n},\n}\r\n rawResp, err := backup_store_repository_api.GetBackupStoreRepositoriesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupStoreRepositoryApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupStoreRepositoryApi backupStoreRepositoryApi = new BackupStoreRepositoryApi(client);\r\n GetBackupStoreRepositoriesConnectionRequestBody params = new GetBackupStoreRepositoriesConnectionRequestBody()\n.where(new BackupStoreRepositoryWhereInput()\n.id(\"BackupStoreRepository-id\"));\r\n BackupStoreRepositoryConnection resp = backupStoreRepositoryApi.getBackupStoreRepositoriesConnection(params);\r\n }\r\n}" @@ -4315,7 +4335,7 @@ "id": "BackupTargetExecution-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-backup-target-executions \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupTargetExecution-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-target-executions \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupTargetExecution-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BackupTargetExecutionApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_target_execution_api = BackupTargetExecutionApi(client)\r\n resp = backup_target_execution_api.get_backup_target_executions({\"where\":{\"id\":\"BackupTargetExecution-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_target_execution\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_target_execution_api := client.BackupTargetExecution\r\n params := backup_target_execution.NewGetBackupTargetExecutionsParams()\r\n params.RequestBody = &models.GetBackupTargetExecutionsRequestBody{\nWhere: &models.BackupTargetExecutionWhereInput{\nID: pointy.String(\"BackupTargetExecution-id\"),\n},\n}\r\n rawResp, err := backup_target_execution_api.GetBackupTargetExecutions(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupTargetExecutionApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupTargetExecutionApi backupTargetExecutionApi = new BackupTargetExecutionApi(client);\r\n GetBackupTargetExecutionsRequestBody params = new GetBackupTargetExecutionsRequestBody()\n.where(new BackupTargetExecutionWhereInput()\n.id(\"BackupTargetExecution-id\"));\r\n List resp = backupTargetExecutionApi.getBackupTargetExecutions(params);\r\n }\r\n}" @@ -4326,7 +4346,7 @@ "id": "BackupTargetExecution-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-backup-target-executions-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupTargetExecution-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-backup-target-executions-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BackupTargetExecution-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BackupTargetExecutionApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n backup_target_execution_api = BackupTargetExecutionApi(client)\r\n resp = backup_target_execution_api.get_backup_target_executions_connection({\"where\":{\"id\":\"BackupTargetExecution-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/backup_target_execution\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n backup_target_execution_api := client.BackupTargetExecution\r\n params := backup_target_execution.NewGetBackupTargetExecutionsConnectionParams()\r\n params.RequestBody = &models.GetBackupTargetExecutionsConnectionRequestBody{\nWhere: &models.BackupTargetExecutionWhereInput{\nID: pointy.String(\"BackupTargetExecution-id\"),\n},\n}\r\n rawResp, err := backup_target_execution_api.GetBackupTargetExecutionsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BackupTargetExecutionApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BackupTargetExecutionApi backupTargetExecutionApi = new BackupTargetExecutionApi(client);\r\n GetBackupTargetExecutionsConnectionRequestBody params = new GetBackupTargetExecutionsConnectionRequestBody()\n.where(new BackupTargetExecutionWhereInput()\n.id(\"BackupTargetExecution-id\"));\r\n BackupTargetExecutionConnection resp = backupTargetExecutionApi.getBackupTargetExecutionsConnection(params);\r\n }\r\n}" @@ -4337,7 +4357,7 @@ "id": "BrickTopo-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-brick-topoes \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BrickTopo-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-brick-topoes \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BrickTopo-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BrickTopoApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n brick_topo_api = BrickTopoApi(client)\r\n resp = brick_topo_api.get_brick_topoes({\"where\":{\"id\":\"BrickTopo-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/brick_topo\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n brick_topo_api := client.BrickTopo\r\n params := brick_topo.NewGetBrickTopoesParams()\r\n params.RequestBody = &models.GetBrickTopoesRequestBody{\nWhere: &models.BrickTopoWhereInput{\nID: pointy.String(\"BrickTopo-id\"),\n},\n}\r\n rawResp, err := brick_topo_api.GetBrickTopoes(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BrickTopoApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BrickTopoApi brickTopoApi = new BrickTopoApi(client);\r\n GetBrickTopoesRequestBody params = new GetBrickTopoesRequestBody()\n.where(new BrickTopoWhereInput()\n.id(\"BrickTopo-id\"));\r\n List resp = brickTopoApi.getBrickTopoes(params);\r\n }\r\n}" @@ -4348,7 +4368,7 @@ "id": "BrickTopo-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-brick-topoes-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BrickTopo-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-brick-topoes-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"BrickTopo-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, BrickTopoApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n brick_topo_api = BrickTopoApi(client)\r\n resp = brick_topo_api.get_brick_topoes_connection({\"where\":{\"id\":\"BrickTopo-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/brick_topo\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n brick_topo_api := client.BrickTopo\r\n params := brick_topo.NewGetBrickTopoesConnectionParams()\r\n params.RequestBody = &models.GetBrickTopoesConnectionRequestBody{\nWhere: &models.BrickTopoWhereInput{\nID: pointy.String(\"BrickTopo-id\"),\n},\n}\r\n rawResp, err := brick_topo_api.GetBrickTopoesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.BrickTopoApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n BrickTopoApi brickTopoApi = new BrickTopoApi(client);\r\n GetBrickTopoesConnectionRequestBody params = new GetBrickTopoesConnectionRequestBody()\n.where(new BrickTopoWhereInput()\n.id(\"BrickTopo-id\"));\r\n BrickTopoConnection resp = brickTopoApi.getBrickTopoesConnection(params);\r\n }\r\n}" @@ -4359,7 +4379,7 @@ "id": "CloudTowerApplicationPackage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-cloudtower-application-packages \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"CloudTowerApplicationPackage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-cloudtower-application-packages \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"CloudTowerApplicationPackage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, CloudTowerApplicationPackageApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cloud_tower_application_package_api = CloudTowerApplicationPackageApi(client)\r\n resp = cloud_tower_application_package_api.get_cloud_tower_application_packages({\"where\":{\"id\":\"CloudTowerApplicationPackage-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cloud_tower_application_package\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cloud_tower_application_package_api := client.CloudTowerApplicationPackage\r\n params := cloud_tower_application_package.NewGetCloudTowerApplicationPackagesParams()\r\n params.RequestBody = &models.GetCloudTowerApplicationPackagesRequestBody{\nWhere: &models.CloudTowerApplicationPackageWhereInput{\nID: pointy.String(\"CloudTowerApplicationPackage-id\"),\n},\n}\r\n rawResp, err := cloud_tower_application_package_api.GetCloudTowerApplicationPackages(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.CloudTowerApplicationPackageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n CloudTowerApplicationPackageApi cloudTowerApplicationPackageApi = new CloudTowerApplicationPackageApi(client);\r\n GetCloudTowerApplicationPackagesRequestBody params = new GetCloudTowerApplicationPackagesRequestBody()\n.where(new CloudTowerApplicationPackageWhereInput()\n.id(\"CloudTowerApplicationPackage-id\"));\r\n List resp = cloudTowerApplicationPackageApi.getCloudTowerApplicationPackages(params);\r\n }\r\n}" @@ -4370,7 +4390,7 @@ "id": "CloudTowerApplicationPackage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-cloud-tower-application-packages-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"CloudTowerApplicationPackage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-cloud-tower-application-packages-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"CloudTowerApplicationPackage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, CloudTowerApplicationPackageApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cloud_tower_application_package_api = CloudTowerApplicationPackageApi(client)\r\n resp = cloud_tower_application_package_api.get_cloud_tower_application_packages_connection({\"where\":{\"id\":\"CloudTowerApplicationPackage-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cloud_tower_application_package\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cloud_tower_application_package_api := client.CloudTowerApplicationPackage\r\n params := cloud_tower_application_package.NewGetCloudTowerApplicationPackagesConnectionParams()\r\n params.RequestBody = &models.GetCloudTowerApplicationPackagesConnectionRequestBody{\nWhere: &models.CloudTowerApplicationPackageWhereInput{\nID: pointy.String(\"CloudTowerApplicationPackage-id\"),\n},\n}\r\n rawResp, err := cloud_tower_application_package_api.GetCloudTowerApplicationPackagesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.CloudTowerApplicationPackageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n CloudTowerApplicationPackageApi cloudTowerApplicationPackageApi = new CloudTowerApplicationPackageApi(client);\r\n GetCloudTowerApplicationPackagesConnectionRequestBody params = new GetCloudTowerApplicationPackagesConnectionRequestBody()\n.where(new CloudTowerApplicationPackageWhereInput()\n.id(\"CloudTowerApplicationPackage-id\"));\r\n CloudTowerApplicationPackageConnection resp = cloudTowerApplicationPackageApi.getCloudTowerApplicationPackagesConnection(params);\r\n }\r\n}" @@ -4381,7 +4401,7 @@ "id": "CloudTowerApplication-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-cloudtower-applications \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"CloudTowerApplication-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-cloudtower-applications \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"CloudTowerApplication-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, CloudTowerApplicationApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cloud_tower_application_api = CloudTowerApplicationApi(client)\r\n resp = cloud_tower_application_api.get_cloud_tower_applications({\"where\":{\"id\":\"CloudTowerApplication-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cloud_tower_application\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cloud_tower_application_api := client.CloudTowerApplication\r\n params := cloud_tower_application.NewGetCloudTowerApplicationsParams()\r\n params.RequestBody = &models.GetCloudTowerApplicationsRequestBody{\nWhere: &models.CloudTowerApplicationWhereInput{\nID: pointy.String(\"CloudTowerApplication-id\"),\n},\n}\r\n rawResp, err := cloud_tower_application_api.GetCloudTowerApplications(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.CloudTowerApplicationApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n CloudTowerApplicationApi cloudTowerApplicationApi = new CloudTowerApplicationApi(client);\r\n GetCloudTowerApplicationsRequestBody params = new GetCloudTowerApplicationsRequestBody()\n.where(new CloudTowerApplicationWhereInput()\n.id(\"CloudTowerApplication-id\"));\r\n List resp = cloudTowerApplicationApi.getCloudTowerApplications(params);\r\n }\r\n}" @@ -4392,7 +4412,7 @@ "id": "CloudTowerApplication-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-cloud-tower-applications-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"CloudTowerApplication-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-cloud-tower-applications-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"CloudTowerApplication-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, CloudTowerApplicationApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cloud_tower_application_api = CloudTowerApplicationApi(client)\r\n resp = cloud_tower_application_api.get_cloud_tower_applications_connection({\"where\":{\"id\":\"CloudTowerApplication-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cloud_tower_application\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cloud_tower_application_api := client.CloudTowerApplication\r\n params := cloud_tower_application.NewGetCloudTowerApplicationsConnectionParams()\r\n params.RequestBody = &models.GetCloudTowerApplicationsConnectionRequestBody{\nWhere: &models.CloudTowerApplicationWhereInput{\nID: pointy.String(\"CloudTowerApplication-id\"),\n},\n}\r\n rawResp, err := cloud_tower_application_api.GetCloudTowerApplicationsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.CloudTowerApplicationApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n CloudTowerApplicationApi cloudTowerApplicationApi = new CloudTowerApplicationApi(client);\r\n GetCloudTowerApplicationsConnectionRequestBody params = new GetCloudTowerApplicationsConnectionRequestBody()\n.where(new CloudTowerApplicationWhereInput()\n.id(\"CloudTowerApplication-id\"));\r\n CloudTowerApplicationConnection resp = cloudTowerApplicationApi.getCloudTowerApplicationsConnection(params);\r\n }\r\n}" @@ -4403,7 +4423,7 @@ "id": "ClusterImage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-cluster-images \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterImage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-cluster-images \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterImage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterImageApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_image_api = ClusterImageApi(client)\r\n resp = cluster_image_api.get_cluster_images({\"where\":{\"id\":\"ClusterImage-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_image_api := client.ClusterImage\r\n params := cluster_image.NewGetClusterImagesParams()\r\n params.RequestBody = &models.GetClusterImagesRequestBody{\nWhere: &models.ClusterImageWhereInput{\nID: pointy.String(\"ClusterImage-id\"),\n},\n}\r\n rawResp, err := cluster_image_api.GetClusterImages(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ClusterImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterImageApi clusterImageApi = new ClusterImageApi(client);\r\n GetClusterImagesRequestBody params = new GetClusterImagesRequestBody()\n.where(new ClusterImageWhereInput()\n.id(\"ClusterImage-id\"));\r\n List resp = clusterImageApi.getClusterImages(params);\r\n }\r\n}" @@ -4414,7 +4434,7 @@ "id": "ClusterImage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-cluster-images-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterImage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-cluster-images-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterImage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterImageApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_image_api = ClusterImageApi(client)\r\n resp = cluster_image_api.get_cluster_images_connection({\"where\":{\"id\":\"ClusterImage-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_image_api := client.ClusterImage\r\n params := cluster_image.NewGetClusterImagesConnectionParams()\r\n params.RequestBody = &models.GetClusterImagesConnectionRequestBody{\nWhere: &models.ClusterImageWhereInput{\nID: pointy.String(\"ClusterImage-id\"),\n},\n}\r\n rawResp, err := cluster_image_api.GetClusterImagesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ClusterImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterImageApi clusterImageApi = new ClusterImageApi(client);\r\n GetClusterImagesConnectionRequestBody params = new GetClusterImagesConnectionRequestBody()\n.where(new ClusterImageWhereInput()\n.id(\"ClusterImage-id\"));\r\n ClusterImageConnection resp = clusterImageApi.getClusterImagesConnection(params);\r\n }\r\n}" @@ -4425,7 +4445,7 @@ "id": "ClusterSettings-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-cluster-settingses \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterSettings-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-cluster-settingses \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterSettings-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterSettingsApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_settings_api = ClusterSettingsApi(client)\r\n resp = cluster_settings_api.get_cluster_settingses({\"where\":{\"id\":\"ClusterSettings-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster_settings\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_settings_api := client.ClusterSettings\r\n params := cluster_settings.NewGetClusterSettingsesParams()\r\n params.RequestBody = &models.GetClusterSettingsesRequestBody{\nWhere: &models.ClusterSettingsWhereInput{\nID: pointy.String(\"ClusterSettings-id\"),\n},\n}\r\n rawResp, err := cluster_settings_api.GetClusterSettingses(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ClusterSettingsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterSettingsApi clusterSettingsApi = new ClusterSettingsApi(client);\r\n GetClusterSettingsesRequestBody params = new GetClusterSettingsesRequestBody()\n.where(new ClusterSettingsWhereInput()\n.id(\"ClusterSettings-id\"));\r\n List resp = clusterSettingsApi.getClusterSettingses(params);\r\n }\r\n}" @@ -4436,7 +4456,7 @@ "id": "ClusterSettings-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-cluster-settingses-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterSettings-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-cluster-settingses-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterSettings-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterSettingsApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_settings_api = ClusterSettingsApi(client)\r\n resp = cluster_settings_api.get_cluster_settingses_connection({\"where\":{\"id\":\"ClusterSettings-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster_settings\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_settings_api := client.ClusterSettings\r\n params := cluster_settings.NewGetClusterSettingsesConnectionParams()\r\n params.RequestBody = &models.GetClusterSettingsesConnectionRequestBody{\nWhere: &models.ClusterSettingsWhereInput{\nID: pointy.String(\"ClusterSettings-id\"),\n},\n}\r\n rawResp, err := cluster_settings_api.GetClusterSettingsesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ClusterSettingsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterSettingsApi clusterSettingsApi = new ClusterSettingsApi(client);\r\n GetClusterSettingsesConnectionRequestBody params = new GetClusterSettingsesConnectionRequestBody()\n.where(new ClusterSettingsWhereInput()\n.id(\"ClusterSettings-id\"));\r\n ClusterSettingsConnection resp = clusterSettingsApi.getClusterSettingsesConnection(params);\r\n }\r\n}" @@ -4447,7 +4467,7 @@ "id": "ClusterTopo-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-cluster-topoes \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterTopo-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-cluster-topoes \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterTopo-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterTopoApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_topo_api = ClusterTopoApi(client)\r\n resp = cluster_topo_api.get_cluster_topoes({\"where\":{\"id\":\"ClusterTopo-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster_topo\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_topo_api := client.ClusterTopo\r\n params := cluster_topo.NewGetClusterTopoesParams()\r\n params.RequestBody = &models.GetClusterTopoesRequestBody{\nWhere: &models.ClusterTopoWhereInput{\nID: pointy.String(\"ClusterTopo-id\"),\n},\n}\r\n rawResp, err := cluster_topo_api.GetClusterTopoes(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ClusterTopoApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterTopoApi clusterTopoApi = new ClusterTopoApi(client);\r\n GetClusterTopoesRequestBody params = new GetClusterTopoesRequestBody()\n.where(new ClusterTopoWhereInput()\n.id(\"ClusterTopo-id\"));\r\n List resp = clusterTopoApi.getClusterTopoes(params);\r\n }\r\n}" @@ -4458,7 +4478,7 @@ "id": "ClusterTopo-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-cluster-topoes-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterTopo-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-cluster-topoes-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterTopo-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterTopoApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_topo_api = ClusterTopoApi(client)\r\n resp = cluster_topo_api.get_cluster_topoes_connection({\"where\":{\"id\":\"ClusterTopo-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster_topo\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_topo_api := client.ClusterTopo\r\n params := cluster_topo.NewGetClusterTopoesConnectionParams()\r\n params.RequestBody = &models.GetClusterTopoesConnectionRequestBody{\nWhere: &models.ClusterTopoWhereInput{\nID: pointy.String(\"ClusterTopo-id\"),\n},\n}\r\n rawResp, err := cluster_topo_api.GetClusterTopoesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ClusterTopoApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterTopoApi clusterTopoApi = new ClusterTopoApi(client);\r\n GetClusterTopoesConnectionRequestBody params = new GetClusterTopoesConnectionRequestBody()\n.where(new ClusterTopoWhereInput()\n.id(\"ClusterTopo-id\"));\r\n ClusterTopoConnection resp = clusterTopoApi.getClusterTopoesConnection(params);\r\n }\r\n}" @@ -4469,7 +4489,7 @@ "id": "ClusterUpgradeHistory-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-cluster-upgrade-histories \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterUpgradeHistory-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-cluster-upgrade-histories \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterUpgradeHistory-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterUpgradeHistoryApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_upgrade_history_api = ClusterUpgradeHistoryApi(client)\r\n resp = cluster_upgrade_history_api.get_cluster_upgrade_histories({\"where\":{\"id\":\"ClusterUpgradeHistory-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster_upgrade_history\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_upgrade_history_api := client.ClusterUpgradeHistory\r\n params := cluster_upgrade_history.NewGetClusterUpgradeHistoriesParams()\r\n params.RequestBody = &models.GetClusterUpgradeHistoriesRequestBody{\nWhere: &models.ClusterUpgradeHistoryWhereInput{\nID: pointy.String(\"ClusterUpgradeHistory-id\"),\n},\n}\r\n rawResp, err := cluster_upgrade_history_api.GetClusterUpgradeHistories(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ClusterUpgradeHistoryApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterUpgradeHistoryApi clusterUpgradeHistoryApi = new ClusterUpgradeHistoryApi(client);\r\n GetClusterUpgradeHistoriesRequestBody params = new GetClusterUpgradeHistoriesRequestBody()\n.where(new ClusterUpgradeHistoryWhereInput()\n.id(\"ClusterUpgradeHistory-id\"));\r\n List resp = clusterUpgradeHistoryApi.getClusterUpgradeHistories(params);\r\n }\r\n}" @@ -4480,7 +4500,7 @@ "id": "ClusterUpgradeHistory-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-cluster-upgrade-histories-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterUpgradeHistory-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-cluster-upgrade-histories-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ClusterUpgradeHistory-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterUpgradeHistoryApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_upgrade_history_api = ClusterUpgradeHistoryApi(client)\r\n resp = cluster_upgrade_history_api.get_cluster_upgrade_histories_connection({\"where\":{\"id\":\"ClusterUpgradeHistory-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster_upgrade_history\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_upgrade_history_api := client.ClusterUpgradeHistory\r\n params := cluster_upgrade_history.NewGetClusterUpgradeHistoriesConnectionParams()\r\n params.RequestBody = &models.GetClusterUpgradeHistoriesConnectionRequestBody{\nWhere: &models.ClusterUpgradeHistoryWhereInput{\nID: pointy.String(\"ClusterUpgradeHistory-id\"),\n},\n}\r\n rawResp, err := cluster_upgrade_history_api.GetClusterUpgradeHistoriesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ClusterUpgradeHistoryApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterUpgradeHistoryApi clusterUpgradeHistoryApi = new ClusterUpgradeHistoryApi(client);\r\n GetClusterUpgradeHistoriesConnectionRequestBody params = new GetClusterUpgradeHistoriesConnectionRequestBody()\n.where(new ClusterUpgradeHistoryWhereInput()\n.id(\"ClusterUpgradeHistory-id\"));\r\n ClusterUpgradeHistoryConnection resp = clusterUpgradeHistoryApi.getClusterUpgradeHistoriesConnection(params);\r\n }\r\n}" @@ -4491,7 +4511,7 @@ "id": "Cluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-clusters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Cluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-clusters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Cluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_api = ClusterApi(client)\r\n resp = cluster_api.get_clusters({\"where\":{\"id\":\"Cluster-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_api := client.Cluster\r\n params := cluster.NewGetClustersParams()\r\n params.RequestBody = &models.GetClustersRequestBody{\nWhere: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n}\r\n rawResp, err := cluster_api.GetClusters(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ClusterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterApi clusterApi = new ClusterApi(client);\r\n GetClustersRequestBody params = new GetClustersRequestBody()\n.where(new ClusterWhereInput()\n.id(\"Cluster-id\"));\r\n List resp = clusterApi.getClusters(params);\r\n }\r\n}" @@ -4502,7 +4522,7 @@ "id": "Cluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-clusters-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Cluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-clusters-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Cluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ClusterApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n cluster_api = ClusterApi(client)\r\n resp = cluster_api.get_clusters_connection({\"where\":{\"id\":\"Cluster-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/cluster\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n cluster_api := client.Cluster\r\n params := cluster.NewGetClustersConnectionParams()\r\n params.RequestBody = &models.GetClustersConnectionRequestBody{\nWhere: &models.ClusterWhereInput{\nID: pointy.String(\"Cluster-id\"),\n},\n}\r\n rawResp, err := cluster_api.GetClustersConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ClusterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ClusterApi clusterApi = new ClusterApi(client);\r\n GetClustersConnectionRequestBody params = new GetClustersConnectionRequestBody()\n.where(new ClusterWhereInput()\n.id(\"Cluster-id\"));\r\n ClusterConnection resp = clusterApi.getClustersConnection(params);\r\n }\r\n}" @@ -4513,7 +4533,7 @@ "id": "ConsistencyGroupSnapshot-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-consistency-group-snapshots \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ConsistencyGroupSnapshot-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-consistency-group-snapshots \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ConsistencyGroupSnapshot-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ConsistencyGroupSnapshotApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n consistency_group_snapshot_api = ConsistencyGroupSnapshotApi(client)\r\n resp = consistency_group_snapshot_api.get_consistency_group_snapshots({\"where\":{\"id\":\"ConsistencyGroupSnapshot-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/consistency_group_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n consistency_group_snapshot_api := client.ConsistencyGroupSnapshot\r\n params := consistency_group_snapshot.NewGetConsistencyGroupSnapshotsParams()\r\n params.RequestBody = &models.GetConsistencyGroupSnapshotsRequestBody{\nWhere: &models.ConsistencyGroupSnapshotWhereInput{\nID: pointy.String(\"ConsistencyGroupSnapshot-id\"),\n},\n}\r\n rawResp, err := consistency_group_snapshot_api.GetConsistencyGroupSnapshots(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ConsistencyGroupSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ConsistencyGroupSnapshotApi consistencyGroupSnapshotApi = new ConsistencyGroupSnapshotApi(client);\r\n GetConsistencyGroupSnapshotsRequestBody params = new GetConsistencyGroupSnapshotsRequestBody()\n.where(new ConsistencyGroupSnapshotWhereInput()\n.id(\"ConsistencyGroupSnapshot-id\"));\r\n List resp = consistencyGroupSnapshotApi.getConsistencyGroupSnapshots(params);\r\n }\r\n}" @@ -4524,7 +4544,7 @@ "id": "ConsistencyGroupSnapshot-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-consistency-group-snapshots-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ConsistencyGroupSnapshot-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-consistency-group-snapshots-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ConsistencyGroupSnapshot-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ConsistencyGroupSnapshotApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n consistency_group_snapshot_api = ConsistencyGroupSnapshotApi(client)\r\n resp = consistency_group_snapshot_api.get_consistency_group_snapshots_connection({\"where\":{\"id\":\"ConsistencyGroupSnapshot-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/consistency_group_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n consistency_group_snapshot_api := client.ConsistencyGroupSnapshot\r\n params := consistency_group_snapshot.NewGetConsistencyGroupSnapshotsConnectionParams()\r\n params.RequestBody = &models.GetConsistencyGroupSnapshotsConnectionRequestBody{\nWhere: &models.ConsistencyGroupSnapshotWhereInput{\nID: pointy.String(\"ConsistencyGroupSnapshot-id\"),\n},\n}\r\n rawResp, err := consistency_group_snapshot_api.GetConsistencyGroupSnapshotsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ConsistencyGroupSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ConsistencyGroupSnapshotApi consistencyGroupSnapshotApi = new ConsistencyGroupSnapshotApi(client);\r\n GetConsistencyGroupSnapshotsConnectionRequestBody params = new GetConsistencyGroupSnapshotsConnectionRequestBody()\n.where(new ConsistencyGroupSnapshotWhereInput()\n.id(\"ConsistencyGroupSnapshot-id\"));\r\n ConsistencyGroupSnapshotConnection resp = consistencyGroupSnapshotApi.getConsistencyGroupSnapshotsConnection(params);\r\n }\r\n}" @@ -4535,7 +4555,7 @@ "id": "ConsistencyGroup-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-consistency-groups \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ConsistencyGroup-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-consistency-groups \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ConsistencyGroup-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ConsistencyGroupApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n consistency_group_api = ConsistencyGroupApi(client)\r\n resp = consistency_group_api.get_consistency_groups({\"where\":{\"id\":\"ConsistencyGroup-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/consistency_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n consistency_group_api := client.ConsistencyGroup\r\n params := consistency_group.NewGetConsistencyGroupsParams()\r\n params.RequestBody = &models.GetConsistencyGroupsRequestBody{\nWhere: &models.ConsistencyGroupWhereInput{\nID: pointy.String(\"ConsistencyGroup-id\"),\n},\n}\r\n rawResp, err := consistency_group_api.GetConsistencyGroups(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ConsistencyGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ConsistencyGroupApi consistencyGroupApi = new ConsistencyGroupApi(client);\r\n GetConsistencyGroupsRequestBody params = new GetConsistencyGroupsRequestBody()\n.where(new ConsistencyGroupWhereInput()\n.id(\"ConsistencyGroup-id\"));\r\n List resp = consistencyGroupApi.getConsistencyGroups(params);\r\n }\r\n}" @@ -4546,7 +4566,7 @@ "id": "ConsistencyGroup-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-consistency-groups-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ConsistencyGroup-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-consistency-groups-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ConsistencyGroup-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ConsistencyGroupApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n consistency_group_api = ConsistencyGroupApi(client)\r\n resp = consistency_group_api.get_consistency_groups_connection({\"where\":{\"id\":\"ConsistencyGroup-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/consistency_group\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n consistency_group_api := client.ConsistencyGroup\r\n params := consistency_group.NewGetConsistencyGroupsConnectionParams()\r\n params.RequestBody = &models.GetConsistencyGroupsConnectionRequestBody{\nWhere: &models.ConsistencyGroupWhereInput{\nID: pointy.String(\"ConsistencyGroup-id\"),\n},\n}\r\n rawResp, err := consistency_group_api.GetConsistencyGroupsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ConsistencyGroupApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ConsistencyGroupApi consistencyGroupApi = new ConsistencyGroupApi(client);\r\n GetConsistencyGroupsConnectionRequestBody params = new GetConsistencyGroupsConnectionRequestBody()\n.where(new ConsistencyGroupWhereInput()\n.id(\"ConsistencyGroup-id\"));\r\n ConsistencyGroupConnection resp = consistencyGroupApi.getConsistencyGroupsConnection(params);\r\n }\r\n}" @@ -4557,7 +4577,7 @@ "id": "ContentLibraryImage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-content-library-images \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ContentLibraryImage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-content-library-images \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ContentLibraryImage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryImageApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_image_api = ContentLibraryImageApi(client)\r\n resp = content_library_image_api.get_content_library_images({\"where\":{\"id\":\"ContentLibraryImage-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_image_api := client.ContentLibraryImage\r\n params := content_library_image.NewGetContentLibraryImagesParams()\r\n params.RequestBody = &models.GetContentLibraryImagesRequestBody{\nWhere: &models.ContentLibraryImageWhereInput{\nID: pointy.String(\"ContentLibraryImage-id\"),\n},\n}\r\n rawResp, err := content_library_image_api.GetContentLibraryImages(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ContentLibraryImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryImageApi contentLibraryImageApi = new ContentLibraryImageApi(client);\r\n GetContentLibraryImagesRequestBody params = new GetContentLibraryImagesRequestBody()\n.where(new ContentLibraryImageWhereInput()\n.id(\"ContentLibraryImage-id\"));\r\n List resp = contentLibraryImageApi.getContentLibraryImages(params);\r\n }\r\n}" @@ -4568,7 +4588,7 @@ "id": "ContentLibraryImage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-content-library-images-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ContentLibraryImage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-content-library-images-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ContentLibraryImage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryImageApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_image_api = ContentLibraryImageApi(client)\r\n resp = content_library_image_api.get_content_library_images_connection({\"where\":{\"id\":\"ContentLibraryImage-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_image_api := client.ContentLibraryImage\r\n params := content_library_image.NewGetContentLibraryImagesConnectionParams()\r\n params.RequestBody = &models.GetContentLibraryImagesConnectionRequestBody{\nWhere: &models.ContentLibraryImageWhereInput{\nID: pointy.String(\"ContentLibraryImage-id\"),\n},\n}\r\n rawResp, err := content_library_image_api.GetContentLibraryImagesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ContentLibraryImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryImageApi contentLibraryImageApi = new ContentLibraryImageApi(client);\r\n GetContentLibraryImagesConnectionRequestBody params = new GetContentLibraryImagesConnectionRequestBody()\n.where(new ContentLibraryImageWhereInput()\n.id(\"ContentLibraryImage-id\"));\r\n ContentLibraryImageConnection resp = contentLibraryImageApi.getContentLibraryImagesConnection(params);\r\n }\r\n}" @@ -4579,7 +4599,7 @@ "id": "ContentLibraryVmTemplate-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-content-library-vm-templates \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-content-library-vm-templates \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryVmTemplateApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_vm_template_api = ContentLibraryVmTemplateApi(client)\r\n resp = content_library_vm_template_api.get_content_library_vm_templates({\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_vm_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_vm_template_api := client.ContentLibraryVMTemplate\r\n params := content_library_vm_template.NewGetContentLibraryVMTemplatesParams()\r\n params.RequestBody = &models.GetContentLibraryVMTemplatesRequestBody{\nWhere: &models.ContentLibraryVMTemplateWhereInput{\nID: pointy.String(\"ContentLibraryVmTemplate-id\"),\n},\n}\r\n rawResp, err := content_library_vm_template_api.GetContentLibraryVMTemplates(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ContentLibraryVmTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryVmTemplateApi contentLibraryVmTemplateApi = new ContentLibraryVmTemplateApi(client);\r\n GetContentLibraryVmTemplatesRequestBody params = new GetContentLibraryVmTemplatesRequestBody()\n.where(new ContentLibraryVmTemplateWhereInput()\n.id(\"ContentLibraryVmTemplate-id\"));\r\n List resp = contentLibraryVmTemplateApi.getContentLibraryVmTemplates(params);\r\n }\r\n}" @@ -4590,7 +4610,7 @@ "id": "ContentLibraryVmTemplate-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-content-library-vm-templates-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-content-library-vm-templates-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ContentLibraryVmTemplateApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n content_library_vm_template_api = ContentLibraryVmTemplateApi(client)\r\n resp = content_library_vm_template_api.get_content_library_vm_templates_connection({\"where\":{\"id\":\"ContentLibraryVmTemplate-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/content_library_vm_template\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n content_library_vm_template_api := client.ContentLibraryVMTemplate\r\n params := content_library_vm_template.NewGetContentLibraryVMTemplatesConnectionParams()\r\n params.RequestBody = &models.GetContentLibraryVMTemplatesConnectionRequestBody{\nWhere: &models.ContentLibraryVMTemplateWhereInput{\nID: pointy.String(\"ContentLibraryVmTemplate-id\"),\n},\n}\r\n rawResp, err := content_library_vm_template_api.GetContentLibraryVMTemplatesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ContentLibraryVmTemplateApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ContentLibraryVmTemplateApi contentLibraryVmTemplateApi = new ContentLibraryVmTemplateApi(client);\r\n GetContentLibraryVmTemplatesConnectionRequestBody params = new GetContentLibraryVmTemplatesConnectionRequestBody()\n.where(new ContentLibraryVmTemplateWhereInput()\n.id(\"ContentLibraryVmTemplate-id\"));\r\n ContentLibraryVmTemplateConnection resp = contentLibraryVmTemplateApi.getContentLibraryVmTemplatesConnection(params);\r\n }\r\n}" @@ -4601,7 +4621,7 @@ "id": "Datacenter-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-datacenters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Datacenter-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-datacenters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Datacenter-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, DatacenterApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n datacenter_api = DatacenterApi(client)\r\n resp = datacenter_api.get_datacenters({\"where\":{\"id\":\"Datacenter-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/datacenter\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n datacenter_api := client.Datacenter\r\n params := datacenter.NewGetDatacentersParams()\r\n params.RequestBody = &models.GetDatacentersRequestBody{\nWhere: &models.DatacenterWhereInput{\nID: pointy.String(\"Datacenter-id\"),\n},\n}\r\n rawResp, err := datacenter_api.GetDatacenters(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.DatacenterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n DatacenterApi datacenterApi = new DatacenterApi(client);\r\n GetDatacentersRequestBody params = new GetDatacentersRequestBody()\n.where(new DatacenterWhereInput()\n.id(\"Datacenter-id\"));\r\n List resp = datacenterApi.getDatacenters(params);\r\n }\r\n}" @@ -4612,7 +4632,7 @@ "id": "Datacenter-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-datacenters-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Datacenter-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-datacenters-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Datacenter-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, DatacenterApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n datacenter_api = DatacenterApi(client)\r\n resp = datacenter_api.get_datacenters_connection({\"where\":{\"id\":\"Datacenter-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/datacenter\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n datacenter_api := client.Datacenter\r\n params := datacenter.NewGetDatacentersConnectionParams()\r\n params.RequestBody = &models.GetDatacentersConnectionRequestBody{\nWhere: &models.DatacenterWhereInput{\nID: pointy.String(\"Datacenter-id\"),\n},\n}\r\n rawResp, err := datacenter_api.GetDatacentersConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.DatacenterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n DatacenterApi datacenterApi = new DatacenterApi(client);\r\n GetDatacentersConnectionRequestBody params = new GetDatacentersConnectionRequestBody()\n.where(new DatacenterWhereInput()\n.id(\"Datacenter-id\"));\r\n DatacenterConnection resp = datacenterApi.getDatacentersConnection(params);\r\n }\r\n}" @@ -4623,7 +4643,7 @@ "id": "Deploy-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-deploys \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Deploy-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-deploys \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Deploy-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, DeployApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n deploy_api = DeployApi(client)\r\n resp = deploy_api.get_deploys({\"where\":{\"id\":\"Deploy-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/deploy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n deploy_api := client.Deploy\r\n params := deploy.NewGetDeploysParams()\r\n params.RequestBody = &models.GetDeploysRequestBody{\nWhere: &models.DeployWhereInput{\nID: pointy.String(\"Deploy-id\"),\n},\n}\r\n rawResp, err := deploy_api.GetDeploys(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.DeployApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n DeployApi deployApi = new DeployApi(client);\r\n GetDeploysRequestBody params = new GetDeploysRequestBody()\n.where(new DeployWhereInput()\n.id(\"Deploy-id\"));\r\n List resp = deployApi.getDeploys(params);\r\n }\r\n}" @@ -4634,7 +4654,7 @@ "id": "Deploy-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-deploys-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Deploy-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-deploys-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Deploy-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, DeployApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n deploy_api = DeployApi(client)\r\n resp = deploy_api.get_deploys_connection({\"where\":{\"id\":\"Deploy-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/deploy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n deploy_api := client.Deploy\r\n params := deploy.NewGetDeploysConnectionParams()\r\n params.RequestBody = &models.GetDeploysConnectionRequestBody{\nWhere: &models.DeployWhereInput{\nID: pointy.String(\"Deploy-id\"),\n},\n}\r\n rawResp, err := deploy_api.GetDeploysConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.DeployApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n DeployApi deployApi = new DeployApi(client);\r\n GetDeploysConnectionRequestBody params = new GetDeploysConnectionRequestBody()\n.where(new DeployWhereInput()\n.id(\"Deploy-id\"));\r\n DeployConnection resp = deployApi.getDeploysConnection(params);\r\n }\r\n}" @@ -4645,7 +4665,7 @@ "id": "Cluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-discover-hosts \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"cluster\":{\"id\":\"Cluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-discover-hosts \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"cluster\":{\"id\":\"Cluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, DiscoveredHostApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n discovered_host_api = DiscoveredHostApi(client)\r\n resp = discovered_host_api.get_discover_hosts({\"cluster\":{\"id\":\"Cluster-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/discovered_host\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n discovered_host_api := client.DiscoveredHost\r\n params := discovered_host.NewGetDiscoverHostsParams()\r\n params.RequestBody = &models.GetDiscoverHostsRequestBody{\nCluster: &models.ClusterWhereUniqueInput{\nID: pointy.String(\"Cluster-id\"),\n},\n}\r\n rawResp, err := discovered_host_api.GetDiscoverHosts(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.DiscoveredHostApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n DiscoveredHostApi discoveredHostApi = new DiscoveredHostApi(client);\r\n GetDiscoverHostsRequestBody params = new GetDiscoverHostsRequestBody()\n.cluster(new ClusterWhereUniqueInput()\n.id(\"Cluster-id\"));\r\n List resp = discoveredHostApi.getDiscoverHosts(params);\r\n }\r\n}" @@ -4656,7 +4676,7 @@ "id": "Disk-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-disks \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Disk-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-disks \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Disk-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, DiskApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n disk_api = DiskApi(client)\r\n resp = disk_api.get_disks({\"where\":{\"id\":\"Disk-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/disk\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n disk_api := client.Disk\r\n params := disk.NewGetDisksParams()\r\n params.RequestBody = &models.GetDisksRequestBody{\nWhere: &models.DiskWhereInput{\nID: pointy.String(\"Disk-id\"),\n},\n}\r\n rawResp, err := disk_api.GetDisks(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.DiskApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n DiskApi diskApi = new DiskApi(client);\r\n GetDisksRequestBody params = new GetDisksRequestBody()\n.where(new DiskWhereInput()\n.id(\"Disk-id\"));\r\n List resp = diskApi.getDisks(params);\r\n }\r\n}" @@ -4667,7 +4687,7 @@ "id": "Disk-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-disks-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Disk-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-disks-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Disk-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, DiskApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n disk_api = DiskApi(client)\r\n resp = disk_api.get_disks_connection({\"where\":{\"id\":\"Disk-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/disk\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n disk_api := client.Disk\r\n params := disk.NewGetDisksConnectionParams()\r\n params.RequestBody = &models.GetDisksConnectionRequestBody{\nWhere: &models.DiskWhereInput{\nID: pointy.String(\"Disk-id\"),\n},\n}\r\n rawResp, err := disk_api.GetDisksConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.DiskApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n DiskApi diskApi = new DiskApi(client);\r\n GetDisksConnectionRequestBody params = new GetDisksConnectionRequestBody()\n.where(new DiskWhereInput()\n.id(\"Disk-id\"));\r\n DiskConnection resp = diskApi.getDisksConnection(params);\r\n }\r\n}" @@ -4678,7 +4698,7 @@ "id": "ElfDataStore-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-elf-data-stores \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ElfDataStore-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-elf-data-stores \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ElfDataStore-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ElfDataStoreApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n elf_data_store_api = ElfDataStoreApi(client)\r\n resp = elf_data_store_api.get_elf_data_stores({\"where\":{\"id\":\"ElfDataStore-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/elf_data_store\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n elf_data_store_api := client.ElfDataStore\r\n params := elf_data_store.NewGetElfDataStoresParams()\r\n params.RequestBody = &models.GetElfDataStoresRequestBody{\nWhere: &models.ElfDataStoreWhereInput{\nID: pointy.String(\"ElfDataStore-id\"),\n},\n}\r\n rawResp, err := elf_data_store_api.GetElfDataStores(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ElfDataStoreApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ElfDataStoreApi elfDataStoreApi = new ElfDataStoreApi(client);\r\n GetElfDataStoresRequestBody params = new GetElfDataStoresRequestBody()\n.where(new ElfDataStoreWhereInput()\n.id(\"ElfDataStore-id\"));\r\n List resp = elfDataStoreApi.getElfDataStores(params);\r\n }\r\n}" @@ -4689,7 +4709,7 @@ "id": "ElfDataStore-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-elf-data-stores-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ElfDataStore-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-elf-data-stores-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ElfDataStore-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ElfDataStoreApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n elf_data_store_api = ElfDataStoreApi(client)\r\n resp = elf_data_store_api.get_elf_data_stores_connection({\"where\":{\"id\":\"ElfDataStore-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/elf_data_store\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n elf_data_store_api := client.ElfDataStore\r\n params := elf_data_store.NewGetElfDataStoresConnectionParams()\r\n params.RequestBody = &models.GetElfDataStoresConnectionRequestBody{\nWhere: &models.ElfDataStoreWhereInput{\nID: pointy.String(\"ElfDataStore-id\"),\n},\n}\r\n rawResp, err := elf_data_store_api.GetElfDataStoresConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ElfDataStoreApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ElfDataStoreApi elfDataStoreApi = new ElfDataStoreApi(client);\r\n GetElfDataStoresConnectionRequestBody params = new GetElfDataStoresConnectionRequestBody()\n.where(new ElfDataStoreWhereInput()\n.id(\"ElfDataStore-id\"));\r\n ElfDataStoreConnection resp = elfDataStoreApi.getElfDataStoresConnection(params);\r\n }\r\n}" @@ -4700,7 +4720,7 @@ "id": "ElfImage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-elf-images \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ElfImage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-elf-images \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ElfImage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ElfImageApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n elf_image_api = ElfImageApi(client)\r\n resp = elf_image_api.get_elf_images({\"where\":{\"id\":\"ElfImage-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/elf_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n elf_image_api := client.ElfImage\r\n params := elf_image.NewGetElfImagesParams()\r\n params.RequestBody = &models.GetElfImagesRequestBody{\nWhere: &models.ElfImageWhereInput{\nID: pointy.String(\"ElfImage-id\"),\n},\n}\r\n rawResp, err := elf_image_api.GetElfImages(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ElfImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ElfImageApi elfImageApi = new ElfImageApi(client);\r\n GetElfImagesRequestBody params = new GetElfImagesRequestBody()\n.where(new ElfImageWhereInput()\n.id(\"ElfImage-id\"));\r\n List resp = elfImageApi.getElfImages(params);\r\n }\r\n}" @@ -4711,7 +4731,7 @@ "id": "ElfImage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-elf-images-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ElfImage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-elf-images-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ElfImage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ElfImageApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n elf_image_api = ElfImageApi(client)\r\n resp = elf_image_api.get_elf_images_connection({\"where\":{\"id\":\"ElfImage-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/elf_image\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n elf_image_api := client.ElfImage\r\n params := elf_image.NewGetElfImagesConnectionParams()\r\n params.RequestBody = &models.GetElfImagesConnectionRequestBody{\nWhere: &models.ElfImageWhereInput{\nID: pointy.String(\"ElfImage-id\"),\n},\n}\r\n rawResp, err := elf_image_api.GetElfImagesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ElfImageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ElfImageApi elfImageApi = new ElfImageApi(client);\r\n GetElfImagesConnectionRequestBody params = new GetElfImagesConnectionRequestBody()\n.where(new ElfImageWhereInput()\n.id(\"ElfImage-id\"));\r\n ElfImageConnection resp = elfImageApi.getElfImagesConnection(params);\r\n }\r\n}" @@ -4722,7 +4742,7 @@ "id": "ElfStoragePolicy-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-elf-storage-policies \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ElfStoragePolicy-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-elf-storage-policies \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ElfStoragePolicy-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ElfStoragePolicyApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n elf_storage_policy_api = ElfStoragePolicyApi(client)\r\n resp = elf_storage_policy_api.get_elf_storage_policies({\"where\":{\"id\":\"ElfStoragePolicy-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/elf_storage_policy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n elf_storage_policy_api := client.ElfStoragePolicy\r\n params := elf_storage_policy.NewGetElfStoragePoliciesParams()\r\n params.RequestBody = &models.GetElfStoragePoliciesRequestBody{\nWhere: &models.ElfStoragePolicyWhereInput{\nID: pointy.String(\"ElfStoragePolicy-id\"),\n},\n}\r\n rawResp, err := elf_storage_policy_api.GetElfStoragePolicies(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ElfStoragePolicyApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ElfStoragePolicyApi elfStoragePolicyApi = new ElfStoragePolicyApi(client);\r\n GetElfStoragePoliciesRequestBody params = new GetElfStoragePoliciesRequestBody()\n.where(new ElfStoragePolicyWhereInput()\n.id(\"ElfStoragePolicy-id\"));\r\n List resp = elfStoragePolicyApi.getElfStoragePolicies(params);\r\n }\r\n}" @@ -4733,7 +4753,7 @@ "id": "ElfStoragePolicy-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-elf-storage-policies-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ElfStoragePolicy-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-elf-storage-policies-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"ElfStoragePolicy-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, ElfStoragePolicyApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n elf_storage_policy_api = ElfStoragePolicyApi(client)\r\n resp = elf_storage_policy_api.get_elf_storage_policies_connection({\"where\":{\"id\":\"ElfStoragePolicy-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/elf_storage_policy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n elf_storage_policy_api := client.ElfStoragePolicy\r\n params := elf_storage_policy.NewGetElfStoragePoliciesConnectionParams()\r\n params.RequestBody = &models.GetElfStoragePoliciesConnectionRequestBody{\nWhere: &models.ElfStoragePolicyWhereInput{\nID: pointy.String(\"ElfStoragePolicy-id\"),\n},\n}\r\n rawResp, err := elf_storage_policy_api.GetElfStoragePoliciesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.ElfStoragePolicyApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n ElfStoragePolicyApi elfStoragePolicyApi = new ElfStoragePolicyApi(client);\r\n GetElfStoragePoliciesConnectionRequestBody params = new GetElfStoragePoliciesConnectionRequestBody()\n.where(new ElfStoragePolicyWhereInput()\n.id(\"ElfStoragePolicy-id\"));\r\n ElfStoragePolicyConnection resp = elfStoragePolicyApi.getElfStoragePoliciesConnection(params);\r\n }\r\n}" @@ -4744,7 +4764,7 @@ "id": "EntityFilter-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-entity-filters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EntityFilter-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-entity-filters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EntityFilter-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, EntityFilterApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n entity_filter_api = EntityFilterApi(client)\r\n resp = entity_filter_api.get_entity_filters({\"where\":{\"id\":\"EntityFilter-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/entity_filter\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n entity_filter_api := client.EntityFilter\r\n params := entity_filter.NewGetEntityFiltersParams()\r\n params.RequestBody = &models.GetEntityFiltersRequestBody{\nWhere: &models.EntityFilterWhereInput{\nID: pointy.String(\"EntityFilter-id\"),\n},\n}\r\n rawResp, err := entity_filter_api.GetEntityFilters(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.EntityFilterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n EntityFilterApi entityFilterApi = new EntityFilterApi(client);\r\n GetEntityFiltersRequestBody params = new GetEntityFiltersRequestBody()\n.where(new EntityFilterWhereInput()\n.id(\"EntityFilter-id\"));\r\n List resp = entityFilterApi.getEntityFilters(params);\r\n }\r\n}" @@ -4755,7 +4775,7 @@ "id": "EntityFilter-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-entity-filters-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EntityFilter-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-entity-filters-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EntityFilter-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, EntityFilterApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n entity_filter_api = EntityFilterApi(client)\r\n resp = entity_filter_api.get_entity_filters_connection({\"where\":{\"id\":\"EntityFilter-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/entity_filter\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n entity_filter_api := client.EntityFilter\r\n params := entity_filter.NewGetEntityFiltersConnectionParams()\r\n params.RequestBody = &models.GetEntityFiltersConnectionRequestBody{\nWhere: &models.EntityFilterWhereInput{\nID: pointy.String(\"EntityFilter-id\"),\n},\n}\r\n rawResp, err := entity_filter_api.GetEntityFiltersConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.EntityFilterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n EntityFilterApi entityFilterApi = new EntityFilterApi(client);\r\n GetEntityFiltersConnectionRequestBody params = new GetEntityFiltersConnectionRequestBody()\n.where(new EntityFilterWhereInput()\n.id(\"EntityFilter-id\"));\r\n EntityFilterConnection resp = entityFilterApi.getEntityFiltersConnection(params);\r\n }\r\n}" @@ -4766,7 +4786,7 @@ "id": "EverouteCluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-everoute-clusters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EverouteCluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-everoute-clusters \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EverouteCluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, EverouteClusterApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n everoute_cluster_api = EverouteClusterApi(client)\r\n resp = everoute_cluster_api.get_everoute_clusters({\"where\":{\"id\":\"EverouteCluster-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/everoute_cluster\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n everoute_cluster_api := client.EverouteCluster\r\n params := everoute_cluster.NewGetEverouteClustersParams()\r\n params.RequestBody = &models.GetEverouteClustersRequestBody{\nWhere: &models.EverouteClusterWhereInput{\nID: pointy.String(\"EverouteCluster-id\"),\n},\n}\r\n rawResp, err := everoute_cluster_api.GetEverouteClusters(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.EverouteClusterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n EverouteClusterApi everouteClusterApi = new EverouteClusterApi(client);\r\n GetEverouteClustersRequestBody params = new GetEverouteClustersRequestBody()\n.where(new EverouteClusterWhereInput()\n.id(\"EverouteCluster-id\"));\r\n List resp = everouteClusterApi.getEverouteClusters(params);\r\n }\r\n}" @@ -4777,7 +4797,7 @@ "id": "EverouteCluster-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-everoute-clusters-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EverouteCluster-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-everoute-clusters-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EverouteCluster-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, EverouteClusterApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n everoute_cluster_api = EverouteClusterApi(client)\r\n resp = everoute_cluster_api.get_everoute_clusters_connection({\"where\":{\"id\":\"EverouteCluster-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/everoute_cluster\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n everoute_cluster_api := client.EverouteCluster\r\n params := everoute_cluster.NewGetEverouteClustersConnectionParams()\r\n params.RequestBody = &models.GetEverouteClustersConnectionRequestBody{\nWhere: &models.EverouteClusterWhereInput{\nID: pointy.String(\"EverouteCluster-id\"),\n},\n}\r\n rawResp, err := everoute_cluster_api.GetEverouteClustersConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.EverouteClusterApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n EverouteClusterApi everouteClusterApi = new EverouteClusterApi(client);\r\n GetEverouteClustersConnectionRequestBody params = new GetEverouteClustersConnectionRequestBody()\n.where(new EverouteClusterWhereInput()\n.id(\"EverouteCluster-id\"));\r\n EverouteClusterConnection resp = everouteClusterApi.getEverouteClustersConnection(params);\r\n }\r\n}" @@ -4788,7 +4808,7 @@ "id": "EverouteLicense-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-everoute-licenses \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EverouteLicense-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-everoute-licenses \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EverouteLicense-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, EverouteLicenseApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n everoute_license_api = EverouteLicenseApi(client)\r\n resp = everoute_license_api.get_everoute_licenses({\"where\":{\"id\":\"EverouteLicense-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/everoute_license\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n everoute_license_api := client.EverouteLicense\r\n params := everoute_license.NewGetEverouteLicensesParams()\r\n params.RequestBody = &models.GetEverouteLicensesRequestBody{\nWhere: &models.EverouteLicenseWhereInput{\nID: pointy.String(\"EverouteLicense-id\"),\n},\n}\r\n rawResp, err := everoute_license_api.GetEverouteLicenses(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.EverouteLicenseApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n EverouteLicenseApi everouteLicenseApi = new EverouteLicenseApi(client);\r\n GetEverouteLicensesRequestBody params = new GetEverouteLicensesRequestBody()\n.where(new EverouteLicenseWhereInput()\n.id(\"EverouteLicense-id\"));\r\n List resp = everouteLicenseApi.getEverouteLicenses(params);\r\n }\r\n}" @@ -4799,7 +4819,7 @@ "id": "EverouteLicense-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-everoute-licenses-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EverouteLicense-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-everoute-licenses-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EverouteLicense-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, EverouteLicenseApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n everoute_license_api = EverouteLicenseApi(client)\r\n resp = everoute_license_api.get_everoute_licenses_connection({\"where\":{\"id\":\"EverouteLicense-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/everoute_license\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n everoute_license_api := client.EverouteLicense\r\n params := everoute_license.NewGetEverouteLicensesConnectionParams()\r\n params.RequestBody = &models.GetEverouteLicensesConnectionRequestBody{\nWhere: &models.EverouteLicenseWhereInput{\nID: pointy.String(\"EverouteLicense-id\"),\n},\n}\r\n rawResp, err := everoute_license_api.GetEverouteLicensesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.EverouteLicenseApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n EverouteLicenseApi everouteLicenseApi = new EverouteLicenseApi(client);\r\n GetEverouteLicensesConnectionRequestBody params = new GetEverouteLicensesConnectionRequestBody()\n.where(new EverouteLicenseWhereInput()\n.id(\"EverouteLicense-id\"));\r\n EverouteLicenseConnection resp = everouteLicenseApi.getEverouteLicensesConnection(params);\r\n }\r\n}" @@ -4810,7 +4830,7 @@ "id": "EveroutePackage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-everoute-packages \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EveroutePackage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-everoute-packages \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EveroutePackage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, EveroutePackageApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n everoute_package_api = EveroutePackageApi(client)\r\n resp = everoute_package_api.get_everoute_packages({\"where\":{\"id\":\"EveroutePackage-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/everoute_package\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n everoute_package_api := client.EveroutePackage\r\n params := everoute_package.NewGetEveroutePackagesParams()\r\n params.RequestBody = &models.GetEveroutePackagesRequestBody{\nWhere: &models.EveroutePackageWhereInput{\nID: pointy.String(\"EveroutePackage-id\"),\n},\n}\r\n rawResp, err := everoute_package_api.GetEveroutePackages(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.EveroutePackageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n EveroutePackageApi everoutePackageApi = new EveroutePackageApi(client);\r\n GetEveroutePackagesRequestBody params = new GetEveroutePackagesRequestBody()\n.where(new EveroutePackageWhereInput()\n.id(\"EveroutePackage-id\"));\r\n List resp = everoutePackageApi.getEveroutePackages(params);\r\n }\r\n}" @@ -4821,7 +4841,7 @@ "id": "EveroutePackage-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-everoute-packages-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EveroutePackage-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-everoute-packages-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"EveroutePackage-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, EveroutePackageApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n everoute_package_api = EveroutePackageApi(client)\r\n resp = everoute_package_api.get_everoute_packages_connection({\"where\":{\"id\":\"EveroutePackage-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/everoute_package\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n everoute_package_api := client.EveroutePackage\r\n params := everoute_package.NewGetEveroutePackagesConnectionParams()\r\n params.RequestBody = &models.GetEveroutePackagesConnectionRequestBody{\nWhere: &models.EveroutePackageWhereInput{\nID: pointy.String(\"EveroutePackage-id\"),\n},\n}\r\n rawResp, err := everoute_package_api.GetEveroutePackagesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.EveroutePackageApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n EveroutePackageApi everoutePackageApi = new EveroutePackageApi(client);\r\n GetEveroutePackagesConnectionRequestBody params = new GetEveroutePackagesConnectionRequestBody()\n.where(new EveroutePackageWhereInput()\n.id(\"EveroutePackage-id\"));\r\n EveroutePackageConnection resp = everoutePackageApi.getEveroutePackagesConnection(params);\r\n }\r\n}" @@ -4832,7 +4852,7 @@ "id": "GlobalAlertRule-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-global-alert-rules \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"GlobalAlertRule-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-global-alert-rules \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"GlobalAlertRule-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GlobalAlertRuleApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n global_alert_rule_api = GlobalAlertRuleApi(client)\r\n resp = global_alert_rule_api.get_global_alert_rules({\"where\":{\"id\":\"GlobalAlertRule-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/global_alert_rule\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n global_alert_rule_api := client.GlobalAlertRule\r\n params := global_alert_rule.NewGetGlobalAlertRulesParams()\r\n params.RequestBody = &models.GetGlobalAlertRulesRequestBody{\nWhere: &models.GlobalAlertRuleWhereInput{\nID: pointy.String(\"GlobalAlertRule-id\"),\n},\n}\r\n rawResp, err := global_alert_rule_api.GetGlobalAlertRules(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.GlobalAlertRuleApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GlobalAlertRuleApi globalAlertRuleApi = new GlobalAlertRuleApi(client);\r\n GetGlobalAlertRulesRequestBody params = new GetGlobalAlertRulesRequestBody()\n.where(new GlobalAlertRuleWhereInput()\n.id(\"GlobalAlertRule-id\"));\r\n List resp = globalAlertRuleApi.getGlobalAlertRules(params);\r\n }\r\n}" @@ -4843,7 +4863,7 @@ "id": "GlobalAlertRule-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-global-alert-rules-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"GlobalAlertRule-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-global-alert-rules-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"GlobalAlertRule-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GlobalAlertRuleApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n global_alert_rule_api = GlobalAlertRuleApi(client)\r\n resp = global_alert_rule_api.get_global_alert_rules_connection({\"where\":{\"id\":\"GlobalAlertRule-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/global_alert_rule\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n global_alert_rule_api := client.GlobalAlertRule\r\n params := global_alert_rule.NewGetGlobalAlertRulesConnectionParams()\r\n params.RequestBody = &models.GetGlobalAlertRulesConnectionRequestBody{\nWhere: &models.GlobalAlertRuleWhereInput{\nID: pointy.String(\"GlobalAlertRule-id\"),\n},\n}\r\n rawResp, err := global_alert_rule_api.GetGlobalAlertRulesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.GlobalAlertRuleApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GlobalAlertRuleApi globalAlertRuleApi = new GlobalAlertRuleApi(client);\r\n GetGlobalAlertRulesConnectionRequestBody params = new GetGlobalAlertRulesConnectionRequestBody()\n.where(new GlobalAlertRuleWhereInput()\n.id(\"GlobalAlertRule-id\"));\r\n GlobalAlertRuleConnection resp = globalAlertRuleApi.getGlobalAlertRulesConnection(params);\r\n }\r\n}" @@ -4854,7 +4874,7 @@ "id": "GlobalSettings-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-global-settingses \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"GlobalSettings-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-global-settingses \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"GlobalSettings-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GlobalSettingsApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n global_settings_api = GlobalSettingsApi(client)\r\n resp = global_settings_api.get_global_settingses({\"where\":{\"id\":\"GlobalSettings-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/global_settings\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n global_settings_api := client.GlobalSettings\r\n params := global_settings.NewGetGlobalSettingsesParams()\r\n params.RequestBody = &models.GetGlobalSettingsesRequestBody{\nWhere: &models.GlobalSettingsWhereInput{\nID: pointy.String(\"GlobalSettings-id\"),\n},\n}\r\n rawResp, err := global_settings_api.GetGlobalSettingses(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.GlobalSettingsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GlobalSettingsApi globalSettingsApi = new GlobalSettingsApi(client);\r\n GetGlobalSettingsesRequestBody params = new GetGlobalSettingsesRequestBody()\n.where(new GlobalSettingsWhereInput()\n.id(\"GlobalSettings-id\"));\r\n List resp = globalSettingsApi.getGlobalSettingses(params);\r\n }\r\n}" @@ -4865,7 +4885,7 @@ "id": "GlobalSettings-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-global-settingses-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"GlobalSettings-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-global-settingses-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"GlobalSettings-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GlobalSettingsApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n global_settings_api = GlobalSettingsApi(client)\r\n resp = global_settings_api.get_global_settingses_connection({\"where\":{\"id\":\"GlobalSettings-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/global_settings\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n global_settings_api := client.GlobalSettings\r\n params := global_settings.NewGetGlobalSettingsesConnectionParams()\r\n params.RequestBody = &models.GetGlobalSettingsesConnectionRequestBody{\nWhere: &models.GlobalSettingsWhereInput{\nID: pointy.String(\"GlobalSettings-id\"),\n},\n}\r\n rawResp, err := global_settings_api.GetGlobalSettingsesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.GlobalSettingsApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GlobalSettingsApi globalSettingsApi = new GlobalSettingsApi(client);\r\n GetGlobalSettingsesConnectionRequestBody params = new GetGlobalSettingsesConnectionRequestBody()\n.where(new GlobalSettingsWhereInput()\n.id(\"GlobalSettings-id\"));\r\n GlobalSettingsConnection resp = globalSettingsApi.getGlobalSettingsesConnection(params);\r\n }\r\n}" @@ -4876,7 +4896,7 @@ "id": "GpuDevice-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-gpu-devices \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"GpuDevice-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-gpu-devices \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"GpuDevice-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GpuDeviceApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n gpu_device_api = GpuDeviceApi(client)\r\n resp = gpu_device_api.get_gpu_devices({\"where\":{\"id\":\"GpuDevice-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/gpu_device\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n gpu_device_api := client.GpuDevice\r\n params := gpu_device.NewGetGpuDevicesParams()\r\n params.RequestBody = &models.GetGpuDevicesRequestBody{\nWhere: &models.GpuDeviceWhereInput{\nID: pointy.String(\"GpuDevice-id\"),\n},\n}\r\n rawResp, err := gpu_device_api.GetGpuDevices(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.GpuDeviceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GpuDeviceApi gpuDeviceApi = new GpuDeviceApi(client);\r\n GetGpuDevicesRequestBody params = new GetGpuDevicesRequestBody()\n.where(new GpuDeviceWhereInput()\n.id(\"GpuDevice-id\"));\r\n List resp = gpuDeviceApi.getGpuDevices(params);\r\n }\r\n}" @@ -4887,7 +4907,7 @@ "id": "GpuDevice-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-gpu-devices-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"GpuDevice-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-gpu-devices-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"GpuDevice-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GpuDeviceApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n gpu_device_api = GpuDeviceApi(client)\r\n resp = gpu_device_api.get_gpu_devices_connection({\"where\":{\"id\":\"GpuDevice-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/gpu_device\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n gpu_device_api := client.GpuDevice\r\n params := gpu_device.NewGetGpuDevicesConnectionParams()\r\n params.RequestBody = &models.GetGpuDevicesConnectionRequestBody{\nWhere: &models.GpuDeviceWhereInput{\nID: pointy.String(\"GpuDevice-id\"),\n},\n}\r\n rawResp, err := gpu_device_api.GetGpuDevicesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.GpuDeviceApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GpuDeviceApi gpuDeviceApi = new GpuDeviceApi(client);\r\n GetGpuDevicesConnectionRequestBody params = new GetGpuDevicesConnectionRequestBody()\n.where(new GpuDeviceWhereInput()\n.id(\"GpuDevice-id\"));\r\n GpuDeviceConnection resp = gpuDeviceApi.getGpuDevicesConnection(params);\r\n }\r\n}" @@ -4898,7 +4918,7 @@ "id": "Graph-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-graphs \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Graph-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-graphs \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Graph-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GraphApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n graph_api = GraphApi(client)\r\n resp = graph_api.get_graphs({\"where\":{\"id\":\"Graph-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/graph\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n graph_api := client.Graph\r\n params := graph.NewGetGraphsParams()\r\n params.RequestBody = &models.GetGraphsRequestBody{\nWhere: &models.GraphWhereInput{\nID: pointy.String(\"Graph-id\"),\n},\n}\r\n rawResp, err := graph_api.GetGraphs(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.GraphApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GraphApi graphApi = new GraphApi(client);\r\n GetGraphsRequestBody params = new GetGraphsRequestBody()\n.where(new GraphWhereInput()\n.id(\"Graph-id\"));\r\n List resp = graphApi.getGraphs(params);\r\n }\r\n}" @@ -4909,7 +4929,7 @@ "id": "Graph-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-graphs-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Graph-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-graphs-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Graph-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, GraphApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n graph_api = GraphApi(client)\r\n resp = graph_api.get_graphs_connection({\"where\":{\"id\":\"Graph-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/graph\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n graph_api := client.Graph\r\n params := graph.NewGetGraphsConnectionParams()\r\n params.RequestBody = &models.GetGraphsConnectionRequestBody{\nWhere: &models.GraphWhereInput{\nID: pointy.String(\"Graph-id\"),\n},\n}\r\n rawResp, err := graph_api.GetGraphsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.GraphApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n GraphApi graphApi = new GraphApi(client);\r\n GetGraphsConnectionRequestBody params = new GetGraphsConnectionRequestBody()\n.where(new GraphWhereInput()\n.id(\"Graph-id\"));\r\n GraphConnection resp = graphApi.getGraphsConnection(params);\r\n }\r\n}" @@ -4920,7 +4940,7 @@ "id": "Host-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-hosts \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Host-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-hosts \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Host-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, HostApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n host_api = HostApi(client)\r\n resp = host_api.get_hosts({\"where\":{\"id\":\"Host-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/host\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n host_api := client.Host\r\n params := host.NewGetHostsParams()\r\n params.RequestBody = &models.GetHostsRequestBody{\nWhere: &models.HostWhereInput{\nID: pointy.String(\"Host-id\"),\n},\n}\r\n rawResp, err := host_api.GetHosts(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.HostApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n HostApi hostApi = new HostApi(client);\r\n GetHostsRequestBody params = new GetHostsRequestBody()\n.where(new HostWhereInput()\n.id(\"Host-id\"));\r\n List resp = hostApi.getHosts(params);\r\n }\r\n}" @@ -4931,7 +4951,7 @@ "id": "Host-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-hosts-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Host-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-hosts-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Host-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, HostApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n host_api = HostApi(client)\r\n resp = host_api.get_hosts_connection({\"where\":{\"id\":\"Host-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/host\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n host_api := client.Host\r\n params := host.NewGetHostsConnectionParams()\r\n params.RequestBody = &models.GetHostsConnectionRequestBody{\nWhere: &models.HostWhereInput{\nID: pointy.String(\"Host-id\"),\n},\n}\r\n rawResp, err := host_api.GetHostsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.HostApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n HostApi hostApi = new HostApi(client);\r\n GetHostsConnectionRequestBody params = new GetHostsConnectionRequestBody()\n.where(new HostWhereInput()\n.id(\"Host-id\"));\r\n HostConnection resp = hostApi.getHostsConnection(params);\r\n }\r\n}" @@ -4942,7 +4962,7 @@ "id": "Ipmi-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-ipmis \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Ipmi-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-ipmis \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Ipmi-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IpmiApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n ipmi_api = IpmiApi(client)\r\n resp = ipmi_api.get_ipmis({\"where\":{\"id\":\"Ipmi-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/ipmi\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n ipmi_api := client.Ipmi\r\n params := ipmi.NewGetIpmisParams()\r\n params.RequestBody = &models.GetIpmisRequestBody{\nWhere: &models.IpmiWhereInput{\nID: pointy.String(\"Ipmi-id\"),\n},\n}\r\n rawResp, err := ipmi_api.GetIpmis(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.IpmiApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IpmiApi ipmiApi = new IpmiApi(client);\r\n GetIpmisRequestBody params = new GetIpmisRequestBody()\n.where(new IpmiWhereInput()\n.id(\"Ipmi-id\"));\r\n List resp = ipmiApi.getIpmis(params);\r\n }\r\n}" @@ -4953,7 +4973,7 @@ "id": "IscsiConnection-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-iscsi-connections \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiConnection-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-iscsi-connections \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiConnection-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IscsiConnectionApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_connection_api = IscsiConnectionApi(client)\r\n resp = iscsi_connection_api.get_iscsi_connections({\"where\":{\"id\":\"IscsiConnection-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_connection\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_connection_api := client.IscsiConnection\r\n params := iscsi_connection.NewGetIscsiConnectionsParams()\r\n params.RequestBody = &models.GetIscsiConnectionsRequestBody{\nWhere: &models.IscsiConnectionWhereInput{\nID: pointy.String(\"IscsiConnection-id\"),\n},\n}\r\n rawResp, err := iscsi_connection_api.GetIscsiConnections(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.IscsiConnectionApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiConnectionApi iscsiConnectionApi = new IscsiConnectionApi(client);\r\n GetIscsiConnectionsRequestBody params = new GetIscsiConnectionsRequestBody()\n.where(new IscsiConnectionWhereInput()\n.id(\"IscsiConnection-id\"));\r\n List resp = iscsiConnectionApi.getIscsiConnections(params);\r\n }\r\n}" @@ -4964,7 +4984,7 @@ "id": "IscsiConnection-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-iscsi-connections-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiConnection-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-iscsi-connections-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiConnection-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IscsiConnectionApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_connection_api = IscsiConnectionApi(client)\r\n resp = iscsi_connection_api.get_iscsi_connections_connection({\"where\":{\"id\":\"IscsiConnection-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_connection\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_connection_api := client.IscsiConnection\r\n params := iscsi_connection.NewGetIscsiConnectionsConnectionParams()\r\n params.RequestBody = &models.GetIscsiConnectionsConnectionRequestBody{\nWhere: &models.IscsiConnectionWhereInput{\nID: pointy.String(\"IscsiConnection-id\"),\n},\n}\r\n rawResp, err := iscsi_connection_api.GetIscsiConnectionsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.IscsiConnectionApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiConnectionApi iscsiConnectionApi = new IscsiConnectionApi(client);\r\n GetIscsiConnectionsConnectionRequestBody params = new GetIscsiConnectionsConnectionRequestBody()\n.where(new IscsiConnectionWhereInput()\n.id(\"IscsiConnection-id\"));\r\n IscsiConnectionConnection resp = iscsiConnectionApi.getIscsiConnectionsConnection(params);\r\n }\r\n}" @@ -4975,7 +4995,7 @@ "id": "IscsiLunSnapshot-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-iscsi-lun-snapshots \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiLunSnapshot-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-iscsi-lun-snapshots \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiLunSnapshot-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IscsiLunSnapshotApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_lun_snapshot_api = IscsiLunSnapshotApi(client)\r\n resp = iscsi_lun_snapshot_api.get_iscsi_lun_snapshots({\"where\":{\"id\":\"IscsiLunSnapshot-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_lun_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_lun_snapshot_api := client.IscsiLunSnapshot\r\n params := iscsi_lun_snapshot.NewGetIscsiLunSnapshotsParams()\r\n params.RequestBody = &models.GetIscsiLunSnapshotsRequestBody{\nWhere: &models.IscsiLunSnapshotWhereInput{\nID: pointy.String(\"IscsiLunSnapshot-id\"),\n},\n}\r\n rawResp, err := iscsi_lun_snapshot_api.GetIscsiLunSnapshots(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.IscsiLunSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiLunSnapshotApi iscsiLunSnapshotApi = new IscsiLunSnapshotApi(client);\r\n GetIscsiLunSnapshotsRequestBody params = new GetIscsiLunSnapshotsRequestBody()\n.where(new IscsiLunSnapshotWhereInput()\n.id(\"IscsiLunSnapshot-id\"));\r\n List resp = iscsiLunSnapshotApi.getIscsiLunSnapshots(params);\r\n }\r\n}" @@ -4986,7 +5006,7 @@ "id": "IscsiLunSnapshot-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-iscsi-lun-snapshots-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiLunSnapshot-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-iscsi-lun-snapshots-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiLunSnapshot-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IscsiLunSnapshotApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_lun_snapshot_api = IscsiLunSnapshotApi(client)\r\n resp = iscsi_lun_snapshot_api.get_iscsi_lun_snapshots_connection({\"where\":{\"id\":\"IscsiLunSnapshot-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_lun_snapshot\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_lun_snapshot_api := client.IscsiLunSnapshot\r\n params := iscsi_lun_snapshot.NewGetIscsiLunSnapshotsConnectionParams()\r\n params.RequestBody = &models.GetIscsiLunSnapshotsConnectionRequestBody{\nWhere: &models.IscsiLunSnapshotWhereInput{\nID: pointy.String(\"IscsiLunSnapshot-id\"),\n},\n}\r\n rawResp, err := iscsi_lun_snapshot_api.GetIscsiLunSnapshotsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.IscsiLunSnapshotApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiLunSnapshotApi iscsiLunSnapshotApi = new IscsiLunSnapshotApi(client);\r\n GetIscsiLunSnapshotsConnectionRequestBody params = new GetIscsiLunSnapshotsConnectionRequestBody()\n.where(new IscsiLunSnapshotWhereInput()\n.id(\"IscsiLunSnapshot-id\"));\r\n IscsiLunSnapshotConnection resp = iscsiLunSnapshotApi.getIscsiLunSnapshotsConnection(params);\r\n }\r\n}" @@ -4997,7 +5017,7 @@ "id": "IscsiLun-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-iscsi-luns \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiLun-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-iscsi-luns \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiLun-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IscsiLunApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_lun_api = IscsiLunApi(client)\r\n resp = iscsi_lun_api.get_iscsi_luns({\"where\":{\"id\":\"IscsiLun-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_lun\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_lun_api := client.IscsiLun\r\n params := iscsi_lun.NewGetIscsiLunsParams()\r\n params.RequestBody = &models.GetIscsiLunsRequestBody{\nWhere: &models.IscsiLunWhereInput{\nID: pointy.String(\"IscsiLun-id\"),\n},\n}\r\n rawResp, err := iscsi_lun_api.GetIscsiLuns(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.IscsiLunApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiLunApi iscsiLunApi = new IscsiLunApi(client);\r\n GetIscsiLunsRequestBody params = new GetIscsiLunsRequestBody()\n.where(new IscsiLunWhereInput()\n.id(\"IscsiLun-id\"));\r\n List resp = iscsiLunApi.getIscsiLuns(params);\r\n }\r\n}" @@ -5008,7 +5028,7 @@ "id": "IscsiLun-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-iscsi-luns-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiLun-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-iscsi-luns-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiLun-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IscsiLunApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_lun_api = IscsiLunApi(client)\r\n resp = iscsi_lun_api.get_iscsi_luns_connection({\"where\":{\"id\":\"IscsiLun-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_lun\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_lun_api := client.IscsiLun\r\n params := iscsi_lun.NewGetIscsiLunsConnectionParams()\r\n params.RequestBody = &models.GetIscsiLunsConnectionRequestBody{\nWhere: &models.IscsiLunWhereInput{\nID: pointy.String(\"IscsiLun-id\"),\n},\n}\r\n rawResp, err := iscsi_lun_api.GetIscsiLunsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.IscsiLunApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiLunApi iscsiLunApi = new IscsiLunApi(client);\r\n GetIscsiLunsConnectionRequestBody params = new GetIscsiLunsConnectionRequestBody()\n.where(new IscsiLunWhereInput()\n.id(\"IscsiLun-id\"));\r\n IscsiLunConnection resp = iscsiLunApi.getIscsiLunsConnection(params);\r\n }\r\n}" @@ -5019,7 +5039,7 @@ "id": "IscsiTarget-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-iscsi-targets \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiTarget-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-iscsi-targets \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiTarget-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IscsiTargetApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_target_api = IscsiTargetApi(client)\r\n resp = iscsi_target_api.get_iscsi_targets({\"where\":{\"id\":\"IscsiTarget-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_target\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_target_api := client.IscsiTarget\r\n params := iscsi_target.NewGetIscsiTargetsParams()\r\n params.RequestBody = &models.GetIscsiTargetsRequestBody{\nWhere: &models.IscsiTargetWhereInput{\nID: pointy.String(\"IscsiTarget-id\"),\n},\n}\r\n rawResp, err := iscsi_target_api.GetIscsiTargets(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.IscsiTargetApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiTargetApi iscsiTargetApi = new IscsiTargetApi(client);\r\n GetIscsiTargetsRequestBody params = new GetIscsiTargetsRequestBody()\n.where(new IscsiTargetWhereInput()\n.id(\"IscsiTarget-id\"));\r\n List resp = iscsiTargetApi.getIscsiTargets(params);\r\n }\r\n}" @@ -5030,7 +5050,7 @@ "id": "IscsiTarget-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-iscsi-targets-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiTarget-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-iscsi-targets-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IscsiTarget-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IscsiTargetApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n iscsi_target_api = IscsiTargetApi(client)\r\n resp = iscsi_target_api.get_iscsi_targets_connection({\"where\":{\"id\":\"IscsiTarget-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/iscsi_target\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n iscsi_target_api := client.IscsiTarget\r\n params := iscsi_target.NewGetIscsiTargetsConnectionParams()\r\n params.RequestBody = &models.GetIscsiTargetsConnectionRequestBody{\nWhere: &models.IscsiTargetWhereInput{\nID: pointy.String(\"IscsiTarget-id\"),\n},\n}\r\n rawResp, err := iscsi_target_api.GetIscsiTargetsConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.IscsiTargetApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IscsiTargetApi iscsiTargetApi = new IscsiTargetApi(client);\r\n GetIscsiTargetsConnectionRequestBody params = new GetIscsiTargetsConnectionRequestBody()\n.where(new IscsiTargetWhereInput()\n.id(\"IscsiTarget-id\"));\r\n IscsiTargetConnection resp = iscsiTargetApi.getIscsiTargetsConnection(params);\r\n }\r\n}" @@ -5041,7 +5061,7 @@ "id": "IsolationPolicy-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-isolation-policies \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IsolationPolicy-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-isolation-policies \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IsolationPolicy-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IsolationPolicyApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n isolation_policy_api = IsolationPolicyApi(client)\r\n resp = isolation_policy_api.get_isolation_policies({\"where\":{\"id\":\"IsolationPolicy-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/isolation_policy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n isolation_policy_api := client.IsolationPolicy\r\n params := isolation_policy.NewGetIsolationPoliciesParams()\r\n params.RequestBody = &models.GetIsolationPoliciesRequestBody{\nWhere: &models.IsolationPolicyWhereInput{\nID: pointy.String(\"IsolationPolicy-id\"),\n},\n}\r\n rawResp, err := isolation_policy_api.GetIsolationPolicies(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.IsolationPolicyApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IsolationPolicyApi isolationPolicyApi = new IsolationPolicyApi(client);\r\n GetIsolationPoliciesRequestBody params = new GetIsolationPoliciesRequestBody()\n.where(new IsolationPolicyWhereInput()\n.id(\"IsolationPolicy-id\"));\r\n List resp = isolationPolicyApi.getIsolationPolicies(params);\r\n }\r\n}" @@ -5052,7 +5072,7 @@ "id": "IsolationPolicy-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-isolation-policies-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IsolationPolicy-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-isolation-policies-connection \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"IsolationPolicy-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, IsolationPolicyApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n isolation_policy_api = IsolationPolicyApi(client)\r\n resp = isolation_policy_api.get_isolation_policies_connection({\"where\":{\"id\":\"IsolationPolicy-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/isolation_policy\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n isolation_policy_api := client.IsolationPolicy\r\n params := isolation_policy.NewGetIsolationPoliciesConnectionParams()\r\n params.RequestBody = &models.GetIsolationPoliciesConnectionRequestBody{\nWhere: &models.IsolationPolicyWhereInput{\nID: pointy.String(\"IsolationPolicy-id\"),\n},\n}\r\n rawResp, err := isolation_policy_api.GetIsolationPoliciesConnection(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.IsolationPolicyApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n IsolationPolicyApi isolationPolicyApi = new IsolationPolicyApi(client);\r\n GetIsolationPoliciesConnectionRequestBody params = new GetIsolationPoliciesConnectionRequestBody()\n.where(new IsolationPolicyWhereInput()\n.id(\"IsolationPolicy-id\"));\r\n IsolationPolicyConnection resp = isolationPolicyApi.getIsolationPoliciesConnection(params);\r\n }\r\n}" @@ -5063,7 +5083,7 @@ "id": "Label-id" } }, - "curl": "curl -X POST \\\n\thttp://your_tower_url/v2/api/get-labels \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Label-id\"}}'", + "curl": "curl -X POST \\\n\thttps://your_tower_url/v2/api/get-labels \\\n\t-H 'Authorization: YOUR_TOKEN' \\\n\t-H 'Content-Language: en-US' \\\n\t-H 'Content-Type: application/json' \\\n\t-d '{\"where\":{\"id\":\"Label-id\"}}'", "python": "from cloudtower import ApiClient, Configuration, LabelApi\r\nfrom cloudtower.utils import login\r\n\r\ndef main():\r\n username = \"username\"\r\n password = \"password\"\r\n\r\n endpoint = \"http://tower.smartx.com/v2/api\"\r\n\r\n configuration = Configuration(host=endpoint)\r\n client = ApiClient(configuration=configuration)\r\n login(client,username,password)\r\n label_api = LabelApi(client)\r\n resp = label_api.get_labels({\"where\":{\"id\":\"Label-id\"}})\r\n\r\n", "go": "package main\r\n\r\nimport (\r\n \"fmt\"\r\n\r\n \"github.com/openlyinc/pointy\"\r\n apiclient \"github.com/smartxworks/cloudtower-go-sdk/v2/client\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/client/label\"\r\n \"github.com/smartxworks/cloudtower-go-sdk/v2/models\"\r\n)\r\n\r\nfunc main() {\r\n client, err := apiclient.NewWithUserConfig(apiclient.ClientConfig{\r\n Host: \"tower.smartx.com\",\r\n BasePath: \"v2/api\",\r\n Schemes: []string{\"http\"},\r\n }, apiclient.UserConfig{\r\n Name: \"Name\",\r\n Password: \"Password\",\r\n Source: models.UserSourceLOCAL,\r\n })\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n label_api := client.Label\r\n params := label.NewGetLabelsParams()\r\n params.RequestBody = &models.GetLabelsRequestBody{\nWhere: &models.LabelWhereInput{\nID: pointy.String(\"Label-id\"),\n},\n}\r\n rawResp, err := label_api.GetLabels(params)\r\n if err != nil {\r\n fmt.Println(err)\r\n return\r\n }\r\n resp := rawResp.Payload\r\n}", "java": "package com.smartx.com;\r\n\r\nimport com.smartx.tower.ApiClient;\r\nimport com.smartx.tower.ApiException;\r\nimport com.smartx.tower.ClientUtil;\r\nimport com.smartx.tower.api.LabelApi;\r\nimport com.smartx.tower.model.*;\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npublic class App {\r\n public static void main(String[] args) throws ApiException, IOException {\r\n ApiClient client = new ApiClient();\r\n client.setBasePath(\"http://tower.smartx.com/v2/api\");\r\n ClientUtil.login(\"username\",\"root\", client);\r\n\r\n LabelApi labelApi = new LabelApi(client);\r\n GetLabelsRequestBody params = new GetLabelsRequestBody()\n.where(new LabelWhereInput()\n.id(\"Label-id\"));\r\n List