diff --git a/.gitignore b/.gitignore index 2d40a75..386d532 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ gradle-app.setting *.ipr *.iws generator/generator +/.nb-gradle/ \ No newline at end of file diff --git a/build.gradle b/build.gradle index 8ef6b4b..306c5ce 100644 --- a/build.gradle +++ b/build.gradle @@ -9,8 +9,8 @@ sourceCompatibility = "1.7" targetCompatibility = "1.7" dependencies { - compile "com.squareup.retrofit2:retrofit:2.0.0-beta3" - compile "com.squareup.retrofit2:converter-jackson:2.0.0-beta3" + compile "com.squareup.retrofit2:retrofit:2.3.0" + compile "com.squareup.retrofit2:converter-jackson:2.3.0" } task sourceJar(type: Jar) { @@ -24,6 +24,18 @@ task javadocJar(type: Jar) { publishing { publications { sdk(MavenPublication) { + groupId 'io.rancher' + artifactId 'rancher-java-sdk' + version '2.0.2' + + pom.withXml { + asNode().dependencies.'*'.findAll() { + it.scope.text() == 'runtime' && project.configurations.compile.allDependencies.find { dep -> + dep.name == it.artifactId.text() + } + }.each { it.scope*.value = 'compile'} + } + from components.java artifact sourceJar { classifier 'sources' diff --git a/generator/Makefile b/generator/Makefile index 3189885..6210e8f 100644 --- a/generator/Makefile +++ b/generator/Makefile @@ -1,12 +1,17 @@ -.PHONY clean deps +#.PHONY: clean deps + +all: clean generate clean: - go clean -i ./... - rm -rf ../src/main/java/io/rancher/type - rm -rf ../src/main/java/io/rancher/service + go clean -i ./... + rm -rf ../src/main/java/io/rancher/type + rm -rf ../src/main/java/io/rancher/service deps: - go get -t ./... + go get -t ./... + +generator: generator.go + go build ./... -build: - go build ./... \ No newline at end of file +generate: generator + ./generator diff --git a/generator/schemas.json b/generator/schemas.json index 4cedb9c..03883b9 100644 --- a/generator/schemas.json +++ b/generator/schemas.json @@ -2,7 +2,7 @@ "type": "collection", "resourceType": "schema", "links": { - "self": "http://localhost:8082/v1/schemas" + "self": "http://localhost:8080/v2-beta/schemas" }, "createTypes": {}, "actions": {}, @@ -11,8 +11,8 @@ "id": "account", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/account", - "collection": "http://localhost:8082/v1/accounts" + "self": "http://localhost:8080/v2-beta/schemas/account", + "collection": "http://localhost:8080/v2-beta/accounts" }, "actions": {}, "pluralName": "accounts", @@ -125,9 +125,9 @@ "removed", "removing", "requested", - "restoring", "updating-active", - "updating-inactive" + "updating-inactive", + "upgrading" ] }, "uuid": { @@ -139,6 +139,15 @@ "readOnCreateOnly": false, "maxLength": 128 }, + "version": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, "transitioning": { "type": "enum", "description": null, @@ -188,6 +197,18 @@ "notnull" ] }, + "defaultNetworkId": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, "description": { "modifiers": [ "eq", @@ -221,6 +242,17 @@ "notnull" ] }, + "healthState": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, "id": { "modifiers": [ "eq", @@ -255,6 +287,14 @@ "notnull" ] }, + "projectTemplateId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "removeTime": { "modifiers": [ "eq", @@ -279,6 +319,18 @@ "notnull" ] }, + "revision": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, "state": { "modifiers": [ "eq", @@ -297,42 +349,64 @@ "null", "notnull" ] + }, + "version": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] } }, "includeableLinks": [ - "projectmembers", - "auditlogs", + "projectMembers", + "scheduledUpgrades", + "auditLogs", "credentials", - "environments", "instances", - "serviceexposemaps", + "processInstances", + "serviceExposeMaps", "networks", "ports", - "serviceconsumemaps", - "instancelinks", - "ipaddresses", - "storagepools", - "externalevents", + "serviceConsumeMaps", + "instanceLinks", + "ipAddresses", + "storagePools", + "externalEvents", + "subnets", + "userPreferences", + "projectTemplates", "images", + "volumeTemplates", "hosts", + "stacks", "volumes", "mounts", - "serviceevents", + "serviceEvents", "services", - "dynamicschemas", + "networkDrivers", + "secrets", "agents", "labels", - "healthcheckinstancehostmaps", + "healthcheckInstanceHostMaps", "snapshots", + "hostTemplates", "certificates", - "backuptargets", - "configitemstatuses", - "physicalhosts", - "containerevents", + "backupTargets", + "genericObjects", + "storageDrivers", + "configItemStatuses", + "physicalHosts", + "containerEvents", + "serviceLogs", "backups" ], "resourceActions": { - "restore": { + "upgrade": { "input": null, "output": "account" }, @@ -371,13 +445,14 @@ "GET", "PUT", "DELETE" - ] + ], + "baseType": "schema" }, { "id": "activeSetting", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/activesetting" + "self": "http://localhost:8080/v2-beta/schemas/activesetting" }, "actions": {}, "pluralName": "activeSettings", @@ -436,14 +511,14 @@ "GET", "PUT", "DELETE" - ] + ], + "baseType": "schema" }, { "id": "addOutputsInput", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/addoutputsinput", - "collection": "http://localhost:8082/v1/addoutputsinputs" + "self": "http://localhost:8080/v2-beta/schemas/addoutputsinput" }, "actions": {}, "pluralName": "addOutputsInputs", @@ -462,46 +537,17 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "GET" - ], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "addRemoveLoadBalancerServiceLinkInput", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/addremoveloadbalancerservicelinkinput" - }, - "actions": {}, - "pluralName": "addRemoveLoadBalancerServiceLinkInputs", - "resourceFields": { - "serviceLink": { - "type": "loadBalancerServiceLink", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "addRemoveServiceLinkInput", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/addremoveservicelinkinput" + "self": "http://localhost:8080/v2-beta/schemas/addremoveservicelinkinput" }, "actions": {}, "pluralName": "addRemoveServiceLinkInputs", @@ -520,19 +566,18 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "POST" - ], + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "agent", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/agent", - "collection": "http://localhost:8082/v1/agents" + "self": "http://localhost:8080/v2-beta/schemas/agent", + "collection": "http://localhost:8080/v2-beta/agents" }, "actions": {}, "pluralName": "agents", @@ -637,15 +682,18 @@ "activating", "active", "deactivating", + "disconnected", + "disconnecting", + "finishing-reconnect", "inactive", "purged", "purging", + "reconnected", "reconnecting", "registering", "removed", "removing", "requested", - "restoring", "updating-active", "updating-inactive" ] @@ -707,14 +755,6 @@ "notnull" ] }, - "agentGroupId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, "created": { "modifiers": [ "eq", @@ -846,17 +886,21 @@ "includeableLinks": [ "instances", "hosts", - "storagepools", - "configitemstatuses", - "physicalhosts", + "storagePools", + "configItemStatuses", + "physicalHosts", "account" ], "resourceActions": { - "reconnect": { + "finishreconnect": { "input": null, "output": "agent" }, - "restore": { + "disconnect": { + "input": null, + "output": "agent" + }, + "reconnect": { "input": null, "output": "agent" }, @@ -892,14 +936,273 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" + }, + { + "id": "amazonec2Config", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/amazonec2config" + }, + "actions": {}, + "pluralName": "amazonec2Configs", + "resourceFields": { + "accessKey": { + "type": "string", + "description": "AWS Access Key", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "ami": { + "type": "string", + "description": "AWS machine image", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "blockDurationMinutes": { + "type": "string", + "description": "AWS spot instance duration in minutes (60, 120, 180, 240, 300, or 360)", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "0" + }, + "deviceName": { + "type": "string", + "description": "AWS root device name", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "/dev/sda1" + }, + "endpoint": { + "type": "string", + "description": "Optional endpoint URL (hostname only or fully qualified URI)", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "iamInstanceProfile": { + "type": "string", + "description": "AWS IAM Instance Profile", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "insecureTransport": { + "type": "boolean", + "description": "Disable SSL when sending requests", + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "instanceType": { + "type": "string", + "description": "AWS instance type", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "t2.micro" + }, + "keypairName": { + "type": "string", + "description": "AWS keypair to use; requires --amazonec2-ssh-keypath", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "monitoring": { + "type": "boolean", + "description": "Set this flag to enable CloudWatch monitoring", + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "openPort": { + "type": "array[string]", + "description": "Make the specified port number accessible from the Internet", + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "privateAddressOnly": { + "type": "boolean", + "description": "Only use a private IP address", + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "region": { + "type": "string", + "description": "AWS region", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "us-east-1" + }, + "requestSpotInstance": { + "type": "boolean", + "description": "Set this flag to request spot instance", + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "retries": { + "type": "string", + "description": "Set retry count for recoverable failures (use -1 to disable)", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "5" + }, + "rootSize": { + "type": "string", + "description": "AWS root disk size (in GB)", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "16" + }, + "secretKey": { + "type": "string", + "description": "AWS Secret Key", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "securityGroup": { + "type": "array[string]", + "description": "AWS VPC security group", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": [ + "docker-machine" + ] + }, + "sessionToken": { + "type": "string", + "description": "AWS Session Token", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "spotPrice": { + "type": "string", + "description": "AWS spot instance bid price (in dollar)", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "0.50" + }, + "sshKeypath": { + "type": "string", + "description": "SSH Key for Instance", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "sshUser": { + "type": "string", + "description": "Set the name of the ssh user", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "ubuntu" + }, + "subnetId": { + "type": "string", + "description": "AWS VPC subnet id", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "tags": { + "type": "string", + "description": "AWS Tags (e.g. key1,value1,key2,value2)", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "useEbsOptimizedInstance": { + "type": "boolean", + "description": "Create an EBS optimized instance", + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "usePrivateAddress": { + "type": "boolean", + "description": "Force the usage of private IP address", + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "userdata": { + "type": "string", + "description": "path to file with cloud-init user data", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "volumeType": { + "type": "string", + "description": "Amazon EBS volume type", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "gp2" + }, + "vpcId": { + "type": "string", + "description": "AWS VPC id", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "zone": { + "type": "string", + "description": "AWS zone for instance (i.e. a,b,c,d,e)", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "a" + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "POST" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" }, { "id": "apiKey", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/apikey", - "collection": "http://localhost:8082/v1/apikeys" + "self": "http://localhost:8080/v2-beta/schemas/apikey", + "collection": "http://localhost:8080/v2-beta/apikeys" }, "actions": {}, "pluralName": "apiKeys", @@ -1243,14 +1546,15 @@ "GET", "PUT", "DELETE" - ] + ], + "baseType": "schema" }, { "id": "auditLog", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/auditlog", - "collection": "http://localhost:8082/v1/auditlogs" + "self": "http://localhost:8080/v2-beta/schemas/auditlog", + "collection": "http://localhost:8080/v2-beta/auditlogs" }, "actions": {}, "pluralName": "auditLogs", @@ -1536,7 +1840,7 @@ } }, "includeableLinks": [ - "authenticatedasaccount", + "authenticatedAsAccount", "account" ], "resourceActions": {}, @@ -1547,14 +1851,210 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" + }, + { + "id": "azureConfig", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/azureconfig" + }, + "actions": {}, + "pluralName": "azureConfigs", + "resourceFields": { + "availabilitySet": { + "type": "string", + "description": "Azure Availability Set to place the virtual machine into", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "docker-machine" + }, + "clientId": { + "type": "string", + "description": "Azure Service Principal Account ID (optional, browser auth is used if not specified)", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "clientSecret": { + "type": "string", + "description": "Azure Service Principal Account password (optional, browser auth is used if not specified)", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "customData": { + "type": "string", + "description": "Path to file with custom-data", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "dns": { + "type": "string", + "description": "A unique DNS label for the public IP adddress", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "dockerPort": { + "type": "string", + "description": "Port number for Docker engine", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "2376" + }, + "environment": { + "type": "string", + "description": "Azure environment (e.g. AzurePublicCloud, AzureChinaCloud)", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "AzurePublicCloud" + }, + "image": { + "type": "string", + "description": "Azure virtual machine OS image", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "canonical:UbuntuServer:16.04.0-LTS:latest" + }, + "location": { + "type": "string", + "description": "Azure region to create the virtual machine", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "westus" + }, + "noPublicIp": { + "type": "boolean", + "description": "Do not create a public IP address for the machine", + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "openPort": { + "type": "array[string]", + "description": "Make the specified port number accessible from the Internet", + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "privateIpAddress": { + "type": "string", + "description": "Specify a static private IP address for the machine", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "resourceGroup": { + "type": "string", + "description": "Azure Resource Group name (will be created if missing)", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "docker-machine" + }, + "size": { + "type": "string", + "description": "Size for Azure Virtual Machine", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "Standard_A2" + }, + "sshUser": { + "type": "string", + "description": "Username for SSH login", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "docker-user" + }, + "staticPublicIp": { + "type": "boolean", + "description": "Assign a static public IP address to the machine", + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "storageType": { + "type": "string", + "description": "Type of Storage Account to host the OS Disk for the machine", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "Standard_LRS" + }, + "subnet": { + "type": "string", + "description": "Azure Subnet Name to be used within the Virtual Network", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "docker-machine" + }, + "subnetPrefix": { + "type": "string", + "description": "Private CIDR block to be used for the new subnet, should comply RFC 1918", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "192.168.0.0/16" + }, + "subscriptionId": { + "type": "string", + "description": "Azure Subscription ID", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "usePrivateIp": { + "type": "boolean", + "description": "Use private IP address of the machine to connect", + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "vnet": { + "type": "string", + "description": "Azure Virtual Network name to connect the virtual machine (in [resourcegroup:]name format)", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "docker-machine-vnet" + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "POST" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" }, { "id": "azureadconfig", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/azureadconfig", - "collection": "http://localhost:8082/v1/azureadconfigs" + "self": "http://localhost:8080/v2-beta/schemas/azureadconfig", + "collection": "http://localhost:8080/v2-beta/azureadconfigs" }, "actions": {}, "pluralName": "azureadconfigs", @@ -1647,14 +2147,15 @@ "resourceMethods": [ "GET", "PUT" - ] + ], + "baseType": "schema" }, { "id": "backup", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/backup", - "collection": "http://localhost:8082/v1/backups" + "self": "http://localhost:8080/v2-beta/schemas/backup", + "collection": "http://localhost:8080/v2-beta/backups" }, "actions": {}, "pluralName": "backups", @@ -1977,7 +2478,7 @@ "volume", "account", "snapshot", - "backuptarget" + "backupTarget" ], "resourceActions": { "create": { @@ -1995,16 +2496,16 @@ "GET" ], "resourceMethods": [ - "GET", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { "id": "backupTarget", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/backuptarget", - "collection": "http://localhost:8082/v1/backuptargets" + "self": "http://localhost:8080/v2-beta/schemas/backuptarget", + "collection": "http://localhost:8080/v2-beta/backuptargets" }, "actions": {}, "pluralName": "backupTargets", @@ -2279,19 +2780,18 @@ "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ - "GET", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { "id": "baseMachineConfig", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/basemachineconfig" + "self": "http://localhost:8080/v2-beta/schemas/basemachineconfig" }, "actions": {}, "pluralName": "baseMachineConfigs", @@ -2304,13 +2804,42 @@ "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" + }, + { + "id": "binding", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/binding" + }, + "actions": {}, + "pluralName": "bindings", + "resourceFields": { + "services": { + "type": "map[serviceBinding]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" }, { "id": "blkioDeviceOption", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/blkiodeviceoption" + "self": "http://localhost:8080/v2-beta/schemas/blkiodeviceoption" }, "actions": {}, "pluralName": "blkioDeviceOptions", @@ -2361,19 +2890,96 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "POST" + "collectionMethods": [], + "resourceMethods": [ + "GET" ], + "baseType": "schema" + }, + { + "id": "catalogTemplate", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/catalogtemplate" + }, + "actions": {}, + "pluralName": "catalogTemplates", + "resourceFields": { + "answers": { + "type": "map[json]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "binding": { + "type": "binding", + "transform": "", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "dockerCompose": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "rancherCompose": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "templateId": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "templateVersionId": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "certificate", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/certificate", - "collection": "http://localhost:8082/v1/certificates" + "self": "http://localhost:8080/v2-beta/schemas/certificate", + "collection": "http://localhost:8080/v2-beta/certificates" }, "actions": {}, "pluralName": "certificates", @@ -2381,7 +2987,7 @@ "accountId": { "type": "reference[account]", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, @@ -2774,20 +3380,18 @@ "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { "id": "changeSecretInput", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/changesecretinput" + "self": "http://localhost:8080/v2-beta/schemas/changesecretinput" }, "actions": {}, "pluralName": "changeSecretInputs", @@ -2819,13 +3423,156 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" + }, + { + "id": "clusterMembership", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/clustermembership", + "collection": "http://localhost:8080/v2-beta/clustermemberships" + }, + "actions": {}, + "pluralName": "clusterMemberships", + "resourceFields": { + "clustered": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "config": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "heartbeat": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "name": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + } + }, + "collectionFilters": { + "clustered": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "config": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "heartbeat": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" }, { "id": "composeConfig", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/composeconfig" + "self": "http://localhost:8080/v2-beta/schemas/composeconfig" }, "actions": {}, "pluralName": "composeConfigs", @@ -2853,13 +3600,14 @@ "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "composeConfigInput", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/composeconfiginput" + "self": "http://localhost:8080/v2-beta/schemas/composeconfiginput" }, "actions": {}, "pluralName": "composeConfigInputs", @@ -2883,14 +3631,15 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "composeProject", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/composeproject", - "collection": "http://localhost:8082/v1/composeprojects" + "self": "http://localhost:8080/v2-beta/schemas/composeproject", + "collection": "http://localhost:8080/v2-beta/composeprojects" }, "actions": {}, "pluralName": "composeProjects", @@ -2904,6 +3653,21 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "answers": { + "type": "map[json]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "binding": { + "type": "binding", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, "created": { "type": "date", "description": null, @@ -2947,6 +3711,15 @@ "readOnCreateOnly": false, "maxLength": 128 }, + "group": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "healthState": { "type": "string", "description": null, @@ -3019,6 +3792,14 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "serviceIds": { + "type": "array[reference[service]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "state": { "type": "enum", "description": null, @@ -3030,7 +3811,6 @@ "activating", "active", "canceled-upgrade", - "canceling-rollback", "canceling-upgrade", "error", "erroring", @@ -3044,6 +3824,24 @@ "upgrading" ] }, + "system": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255, + "default": false + }, + "templates": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "required": true, + "readOnCreateOnly": false + }, "transitioning": { "type": "enum", "description": null, @@ -3080,14 +3878,6 @@ "nullable": true, "readOnCreateOnly": false, "maxLength": 128 - }, - "templates": { - "type": "map[string]", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false } }, "collectionFilters": { @@ -3133,6 +3923,17 @@ "notnull" ] }, + "group": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, "healthState": { "modifiers": [ "eq", @@ -3210,6 +4011,14 @@ "notnull" ] }, + "system": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "uuid": { "modifiers": [ "eq", @@ -3223,58 +4032,58 @@ } }, "includeableLinks": [ - "configitemstatuses", + "scheduledUpgrades", + "volumeTemplates", + "instances", + "hosts", + "volumes", + "configItemStatuses", "services", + "secrets", "account" ], "resourceActions": { "rollback": { "input": null, - "output": "environment" - }, - "error": { - "input": null, - "output": "environment" + "output": "stack" }, - "remove": { + "create": { "input": null, - "output": "environment" + "output": "stack" }, - "finishupgrade": { + "error": { "input": null, - "output": "environment" + "output": "stack" }, - "cancelrollback": { + "cancelupgrade": { "input": null, - "output": "environment" + "output": "stack" }, - "create": { + "remove": { "input": null, - "output": "environment" + "output": "stack" }, - "cancelupgrade": { + "finishupgrade": { "input": null, - "output": "environment" + "output": "stack" } }, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { "id": "composeService", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/composeservice", - "collection": "http://localhost:8082/v1/composeservices" + "self": "http://localhost:8080/v2-beta/schemas/composeservice", + "collection": "http://localhost:8080/v2-beta/composeservices" }, "actions": {}, "pluralName": "composeServices", @@ -3322,19 +4131,10 @@ "readOnCreateOnly": false, "maxLength": 1024 }, - "environmentId": { - "type": "reference[environment]", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, "externalId": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, @@ -3365,6 +4165,14 @@ "nullable": true, "readOnCreateOnly": false }, + "instanceIds": { + "type": "array[reference[instance]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "kind": { "type": "string", "description": null, @@ -3382,6 +4190,14 @@ "nullable": true, "readOnCreateOnly": false }, + "linkedServices": { + "type": "map[reference[service]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "name": { "type": "string", "validChars": "a-zA-Z0-9-", @@ -3397,8 +4213,8 @@ "publicEndpoints": { "type": "array[publicEndpoint]", "description": null, - "create": false, - "update": false, + "create": true, + "update": true, "nullable": true, "readOnCreateOnly": false }, @@ -3426,6 +4242,7 @@ "create": true, "update": true, "readOnCreateOnly": false, + "min": 0, "default": 1 }, "scalePolicy": { @@ -3454,6 +4271,15 @@ "readOnCreateOnly": false, "maxLength": 4096 }, + "stackId": { + "type": "reference[stack]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "startOnCreate": { "type": "boolean", "description": null, @@ -3473,9 +4299,7 @@ "options": [ "activating", "active", - "canceled-rollback", "canceled-upgrade", - "canceling-rollback", "canceling-upgrade", "deactivating", "finishing-upgrade", @@ -3492,6 +4316,15 @@ "upgrading" ] }, + "system": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255, + "default": false + }, "transitioning": { "type": "enum", "description": null, @@ -3583,14 +4416,6 @@ "notnull" ] }, - "environmentId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, "externalId": { "modifiers": [ "eq", @@ -3693,6 +4518,22 @@ "notnull" ] }, + "skip": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "state": { "modifiers": [ "eq", @@ -3701,6 +4542,14 @@ "notnull" ] }, + "system": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "uuid": { "modifiers": [ "eq", @@ -3726,13 +4575,15 @@ }, "includeableLinks": [ "consumedbyservices", - "environment", + "stack", "instances", + "storageDrivers", "consumedservices", - "configitemstatuses", - "serviceexposemaps", - "dynamicschemas", - "account" + "configItemStatuses", + "serviceExposeMaps", + "networkDrivers", + "account", + "serviceLogs" ], "resourceActions": { "rollback": { @@ -3747,7 +4598,7 @@ "input": null, "output": "service" }, - "cancelrollback": { + "continueupgrade": { "input": null, "output": "service" }, @@ -3770,16 +4621,16 @@ "GET" ], "resourceMethods": [ - "GET", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { "id": "configItem", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/configitem", - "collection": "http://localhost:8082/v1/configitems" + "self": "http://localhost:8080/v2-beta/schemas/configitem", + "collection": "http://localhost:8080/v2-beta/configitems" }, "actions": {}, "pluralName": "configItems", @@ -3856,14 +4707,15 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "configItemStatus", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/configitemstatus", - "collection": "http://localhost:8082/v1/configitemstatuses" + "self": "http://localhost:8080/v2-beta/schemas/configitemstatus", + "collection": "http://localhost:8080/v2-beta/configitemstatuses" }, "actions": {}, "pluralName": "configItemStatuses", @@ -3987,7 +4839,7 @@ "notnull" ] }, - "environmentId": { + "hostId": { "modifiers": [ "eq", "ne", @@ -4083,6 +4935,14 @@ "null", "notnull" ] + }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] } }, "includeableLinks": [ @@ -4098,14 +4958,15 @@ "resourceMethods": [ "GET", "PUT" - ] + ], + "baseType": "schema" }, { "id": "container", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/container", - "collection": "http://localhost:8082/v1/containers" + "self": "http://localhost:8080/v2-beta/schemas/container", + "collection": "http://localhost:8080/v2-beta/containers" }, "actions": {}, "pluralName": "containers", @@ -4266,6 +5127,20 @@ "nullable": true, "readOnCreateOnly": false }, + "instanceTriggeredStop": { + "type": "enum", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "stop", + "remove" + ], + "default": "stop" + }, "kind": { "type": "string", "description": null, @@ -4275,12 +5150,38 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "memoryReservation": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "milliCpuReservation": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "mounts": { + "type": "array[mountEntry]", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, "name": { "type": "string", "description": null, "create": true, "update": true, "nullable": true, + "unique": true, "readOnCreateOnly": false, "maxLength": 255 }, @@ -4359,6 +5260,32 @@ "nullable": true, "readOnCreateOnly": false }, + "serviceId": { + "type": "reference[service]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "serviceIds": { + "type": "array[reference[service]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "stackId": { + "type": "reference[stack]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "startCount": { "type": "int", "description": null, @@ -4394,7 +5321,6 @@ "removing", "requested", "restarting", - "restoring", "running", "starting", "stopped", @@ -4403,18 +5329,14 @@ "updating-stopped" ] }, - "systemContainer": { - "type": "enum", + "system": { + "type": "boolean", "description": null, "create": false, "update": false, - "nullable": true, "readOnCreateOnly": false, - "maxLength": 128, - "options": [ - "NetworkAgent", - "LoadBalancerAgent" - ] + "maxLength": 255, + "default": false }, "token": { "type": "string", @@ -4520,6 +5442,13 @@ "readOnCreateOnly": false, "default": false }, + "primaryNetworkId": { + "type": "reference[network]", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, "privileged": { "type": "boolean", "description": null, @@ -4818,20 +5747,308 @@ "nullable": true, "readOnCreateOnly": false }, + "blkioWeight": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "cgroupParent": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "usernsMode": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "pidsLimit": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "diskQuota": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "cpuCount": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "cpuPercent": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ioMaximumIOps": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ioMaximumBandwidth": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "cpuPeriod": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "cpuQuota": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "cpuSetMems": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "dnsOpt": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "groupAdd": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "isolation": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kernelMemory": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "memorySwappiness": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "oomKillDisable": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "shmSize": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "tmpfs": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "uts": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ipcMode": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "stopSignal": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "sysctls": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "runInit": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": false + }, + "storageOpt": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "oomScoreAdj": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ulimits": { + "type": "array[ulimit]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ip": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ip6": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "netAlias": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthCmd": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthInterval": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthTimeout": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthRetries": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "secrets": { + "type": "array[secretReference]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "userPorts": { + "type": "array[string]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "networkMode": { - "type": "enum", + "type": "string", "description": null, "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, - "options": [ - "none", - "bridge", - "host", - "managed", - "container" - ], "default": "managed" }, "dataVolumes": { @@ -5081,26 +6298,42 @@ "notnull" ] }, - "name": { + "memoryReservation": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "nativeContainer": { + "milliCpuReservation": { "modifiers": [ "eq", "ne", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "networkContainerId": { + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "nativeContainer": { "modifiers": [ "eq", "ne", @@ -5108,7 +6341,7 @@ "notnull" ] }, - "offeringId": { + "networkContainerId": { "modifiers": [ "eq", "ne", @@ -5148,6 +6381,14 @@ "notnull" ] }, + "serviceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "serviceIndexId": { "modifiers": [ "eq", @@ -5156,6 +6397,14 @@ "notnull" ] }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "startCount": { "modifiers": [ "eq", @@ -5176,13 +6425,10 @@ "notnull" ] }, - "systemContainer": { + "system": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", "null", "notnull" ] @@ -5242,22 +6488,25 @@ }, "includeableLinks": [ "agent", - "networkcontainer", + "stack", + "networkContainer", "credentials", "instances", "hosts", "volumes", "mounts", - "serviceevents", - "serviceexposemaps", + "serviceEvents", + "serviceExposeMaps", "services", "ports", - "instancelinks", - "healthcheckinstancehostmaps", - "registrycredential", - "targetinstancelinks", - "instancelabels", - "account" + "instanceLinks", + "healthcheckInstanceHostMaps", + "registryCredential", + "service", + "targetInstanceLinks", + "instanceLabels", + "account", + "serviceLogs" ], "resourceActions": { "updateunhealthy": { @@ -5268,10 +6517,6 @@ "input": "instanceConsoleInput", "output": "instanceConsole" }, - "restore": { - "input": null, - "output": "instance" - }, "restart": { "input": null, "output": "instance" @@ -5304,14 +6549,14 @@ "input": null, "output": "instance" }, - "allocate": { - "input": null, - "output": "instance" - }, "stop": { "input": "instanceStop", "output": "instance" }, + "allocate": { + "input": null, + "output": "instance" + }, "create": { "input": null, "output": "instance" @@ -5328,10 +6573,6 @@ "input": "containerLogs", "output": "hostAccess" }, - "setlabels": { - "input": "setLabelsInput", - "output": "container" - }, "execute": { "input": "containerExec", "output": "hostAccess" @@ -5344,21 +6585,19 @@ "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { "id": "containerEvent", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/containerevent", - "collection": "http://localhost:8082/v1/containerevents" + "self": "http://localhost:8080/v2-beta/schemas/containerevent", + "collection": "http://localhost:8080/v2-beta/containerevents" }, "actions": {}, "pluralName": "containerEvents", @@ -5650,14 +6889,14 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "containerExec", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/containerexec", - "collection": "http://localhost:8082/v1/containerexecs" + "self": "http://localhost:8080/v2-beta/schemas/containerexec" }, "actions": {}, "pluralName": "containerExecs", @@ -5704,19 +6943,17 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "GET", - "POST" - ], + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "containerLogs", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/containerlogs" + "self": "http://localhost:8080/v2-beta/schemas/containerlogs" }, "actions": {}, "pluralName": "containerLogses", @@ -5747,18 +6984,17 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "POST" - ], + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "containerProxy", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/containerproxy" + "self": "http://localhost:8080/v2-beta/schemas/containerproxy" }, "actions": {}, "pluralName": "containerProxys", @@ -5793,19 +7029,18 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "POST" - ], + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "credential", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/credential", - "collection": "http://localhost:8082/v1/credentials" + "self": "http://localhost:8080/v2-beta/schemas/credential", + "collection": "http://localhost:8080/v2-beta/credentials" }, "actions": {}, "pluralName": "credentials", @@ -6147,14 +7382,15 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "databasechangelog", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/databasechangelog", - "collection": "http://localhost:8082/v1/databasechangelogs" + "self": "http://localhost:8080/v2-beta/schemas/databasechangelog", + "collection": "http://localhost:8080/v2-beta/databasechangelogs" }, "actions": {}, "pluralName": "databasechangelogs", @@ -6390,14 +7626,15 @@ "resourceMethods": [ "GET", "DELETE" - ] + ], + "baseType": "schema" }, { "id": "databasechangeloglock", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/databasechangeloglock", - "collection": "http://localhost:8082/v1/databasechangeloglocks" + "self": "http://localhost:8080/v2-beta/schemas/databasechangeloglock", + "collection": "http://localhost:8080/v2-beta/databasechangeloglocks" }, "actions": {}, "pluralName": "databasechangeloglocks", @@ -6492,17 +7729,17 @@ "resourceMethods": [ "GET", "DELETE" - ] + ], + "baseType": "schema" }, { - "id": "dnsService", + "id": "defaultNetwork", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/dnsservice", - "collection": "http://localhost:8082/v1/dnsservices" + "self": "http://localhost:8080/v2-beta/schemas/defaultnetwork" }, "actions": {}, - "pluralName": "dnsServices", + "pluralName": "defaultNetworks", "resourceFields": { "accountId": { "type": "reference[account]", @@ -6513,14 +7750,6 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "assignServiceIpAddress": { - "type": "boolean", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false, - "default": false - }, "created": { "type": "date", "description": null, @@ -6539,6 +7768,18 @@ "readOnCreateOnly": false, "maxLength": 16777215 }, + "defaultPolicyAction": { + "type": "enum", + "description": null, + "create": true, + "update": true, + "readOnCreateOnly": false, + "options": [ + "allow", + "deny" + ], + "default": "allow" + }, "description": { "type": "string", "description": null, @@ -6548,40 +7789,26 @@ "readOnCreateOnly": false, "maxLength": 1024 }, - "environmentId": { - "type": "reference[environment]", + "dns": { + "type": "array[string]", "description": null, "create": true, "update": false, - "required": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "externalId": { - "type": "string", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "fqdn": { - "type": "string", + "dnsSearch": { + "type": "array[string]", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, "readOnCreateOnly": false }, - "healthState": { - "type": "string", + "hostPorts": { + "type": "boolean", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 + "readOnCreateOnly": false }, "id": { "type": "int", @@ -6594,39 +7821,35 @@ "kind": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, - "launchConfig": { - "type": "launchConfig", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, "metadata": { "type": "map[json]", "description": null, "create": true, "update": true, - "nullable": true, "readOnCreateOnly": false }, "name": { "type": "string", - "validChars": "a-zA-Z0-9-", "description": null, "create": true, "update": true, "nullable": true, - "required": true, "readOnCreateOnly": false, - "minLength": 1, - "maxLength": 63 + "maxLength": 255 + }, + "policy": { + "type": "array[networkPolicyRule]", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false }, "removeTime": { "type": "date", @@ -6646,32 +7869,6 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "retainIp": { - "type": "boolean", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "selectorLink": { - "type": "string", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 4096 - }, - "startOnCreate": { - "type": "boolean", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "default": false - }, "state": { "type": "enum", "description": null, @@ -6682,25 +7879,25 @@ "options": [ "activating", "active", - "canceled-rollback", - "canceled-upgrade", - "canceling-rollback", - "canceling-upgrade", "deactivating", - "finishing-upgrade", "inactive", + "purged", + "purging", "registering", "removed", "removing", "requested", - "restarting", - "rolling-back", "updating-active", - "updating-inactive", - "upgraded", - "upgrading" + "updating-inactive" ] }, + "subnets": { + "type": "array[subnet]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, "transitioning": { "type": "enum", "description": null, @@ -6729,14 +7926,6 @@ "nullable": true, "readOnCreateOnly": false }, - "upgrade": { - "type": "serviceUpgrade", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, "uuid": { "type": "string", "description": null, @@ -6756,18 +7945,6 @@ "notnull" ] }, - "createIndex": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, "created": { "modifiers": [ "eq", @@ -6791,15 +7968,7 @@ "notnull" ] }, - "environmentId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "externalId": { + "domain": { "modifiers": [ "eq", "ne", @@ -6810,25 +7979,22 @@ "notnull" ] }, - "healthState": { + "id": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "id": { + "isPublic": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", "null", "notnull" ] @@ -6855,19 +8021,15 @@ "notnull" ] }, - "removeTime": { + "networkDriverId": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", "null", "notnull" ] }, - "removed": { + "removeTime": { "modifiers": [ "eq", "ne", @@ -6879,24 +8041,14 @@ "notnull" ] }, - "selectorContainer": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "selectorLink": { + "removed": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] @@ -6919,156 +8071,148 @@ "null", "notnull" ] - }, - "vip": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] } }, "includeableLinks": [ - "consumedbyservices", - "environment", - "instances", - "consumedservices", - "configitemstatuses", - "serviceexposemaps", - "dynamicschemas", + "ipAddresses", + "subnets", "account" ], "resourceActions": { - "rollback": { - "input": null, - "output": "service" - }, - "upgrade": { - "input": "serviceUpgrade", - "output": "service" - }, - "restart": { - "input": "serviceRestart", - "output": "service" - }, - "update": { - "input": null, - "output": "service" - }, - "remove": { - "input": null, - "output": "service" - }, - "deactivate": { + "activate": { "input": null, - "output": "service" + "output": "network" }, - "finishupgrade": { + "create": { "input": null, - "output": "service" + "output": "network" }, - "cancelrollback": { + "update": { "input": null, - "output": "service" - }, - "removeservicelink": { - "input": "addRemoveServiceLinkInput", - "output": "service" + "output": "network" }, - "activate": { + "purge": { "input": null, - "output": "service" - }, - "addservicelink": { - "input": "addRemoveServiceLinkInput", - "output": "service" + "output": "network" }, - "create": { + "remove": { "input": null, - "output": "service" + "output": "network" }, - "cancelupgrade": { + "deactivate": { "input": null, - "output": "service" - }, - "setservicelinks": { - "input": "setServiceLinksInput", - "output": "service" + "output": "network" } }, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "GET", - "POST" - ], + "collectionMethods": [], "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { - "id": "dockerBuild", + "id": "digitaloceanConfig", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/dockerbuild", - "collection": "http://localhost:8082/v1/dockerbuilds" + "self": "http://localhost:8080/v2-beta/schemas/digitaloceanconfig" }, "actions": {}, - "pluralName": "dockerBuilds", + "pluralName": "digitaloceanConfigs", "resourceFields": { - "context": { + "accessToken": { "type": "string", - "transform": "", - "description": null, + "description": "Digital Ocean access token", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "backups": { + "type": "boolean", + "description": "enable backups for droplet", "create": true, "update": false, - "nullable": true, "readOnCreateOnly": false }, - "dockerfile": { + "image": { "type": "string", - "transform": "", - "description": null, + "description": "Digital Ocean Image", "create": true, "update": false, - "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "default": "ubuntu-16-04-x64" }, - "forcerm": { + "ipv6": { "type": "boolean", - "description": null, + "description": "enable ipv6 for droplet", "create": true, "update": false, "readOnCreateOnly": false }, - "nocache": { + "privateNetworking": { "type": "boolean", - "description": null, + "description": "enable private networking for droplet", "create": true, "update": false, "readOnCreateOnly": false }, - "remote": { + "region": { "type": "string", - "transform": "", - "description": null, + "description": "Digital Ocean region", "create": true, "update": false, - "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "default": "nyc3" }, - "rm": { - "type": "boolean", - "description": null, + "size": { + "type": "string", + "description": "Digital Ocean size", "create": true, "update": false, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "default": "512mb" + }, + "sshKeyFingerprint": { + "type": "string", + "description": "SSH key fingerprint", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "sshKeyPath": { + "type": "string", + "description": "SSH private key path ", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "sshPort": { + "type": "string", + "description": "SSH port", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "22" + }, + "sshUser": { + "type": "string", + "description": "SSH username", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "root" + }, + "userdata": { + "type": "string", + "description": "path to file with cloud-init user-data", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" } }, "collectionFilters": {}, @@ -7077,32 +8221,40 @@ "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", "POST" ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "dynamicSchema", + "id": "dnsService", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/dynamicschema", - "collection": "http://localhost:8082/v1/dynamicschemas" + "self": "http://localhost:8080/v2-beta/schemas/dnsservice", + "collection": "http://localhost:8080/v2-beta/dnsservices" }, "actions": {}, - "pluralName": "dynamicSchemas", + "pluralName": "dnsServices", "resourceFields": { "accountId": { "type": "reference[account]", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, + "assignServiceIpAddress": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": false + }, "created": { "type": "date", "description": null, @@ -7119,15 +8271,6 @@ "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 65535 - }, - "definition": { - "type": "string", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false, "maxLength": 16777215 }, "description": { @@ -7139,283 +8282,94 @@ "readOnCreateOnly": false, "maxLength": 1024 }, - "id": { - "type": "int", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "kind": { + "externalId": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, - "name": { + "fqdn": { "type": "string", "description": null, - "create": true, - "update": true, + "create": false, + "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "parent": { + "healthState": { "type": "string", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 + "maxLength": 128 }, - "removed": { - "type": "date", + "id": { + "type": "int", "description": null, "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "state": { - "type": "enum", + "instanceIds": { + "type": "array[reference[instance]]", "description": null, "create": false, "update": false, - "readOnCreateOnly": false, - "maxLength": 128, - "options": [ - "active", - "creating", - "purged", - "removing", - "requested" - ] + "nullable": true, + "readOnCreateOnly": false }, - "uuid": { + "kind": { "type": "string", "description": null, "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 128 - }, - "transitioning": { - "type": "enum", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false, - "options": [ - "yes", - "no", - "error" - ] + "maxLength": 255 }, - "transitioningMessage": { - "type": "string", + "launchConfig": { + "type": "launchConfig", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false }, - "transitioningProgress": { - "type": "int", + "linkedServices": { + "type": "map[reference[service]]", "description": null, "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "roles": { - "type": "array[string]", + "metadata": { + "type": "map[json]", "description": null, "create": true, - "update": false, + "update": true, "nullable": true, "readOnCreateOnly": false - } - }, - "collectionFilters": { - "accountId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "created": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "definition": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "description": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "id": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "kind": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] }, "name": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "parent": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "removed": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "serviceId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "state": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "uuid": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - } - }, - "includeableLinks": [ - "account" - ], - "resourceActions": { - "create": { - "input": null, - "output": "dynamicSchema" - }, - "remove": { - "input": null, - "output": "dynamicSchema" - } - }, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "GET", - "POST" - ], - "resourceMethods": [ - "GET", - "DELETE" - ] - }, - { - "id": "environment", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/environment", - "collection": "http://localhost:8082/v1/environments" - }, - "actions": {}, - "pluralName": "environments", - "resourceFields": { - "accountId": { - "type": "reference[account]", + "type": "string", + "validChars": "a-zA-Z0-9-", "description": null, - "create": false, - "update": false, + "create": true, + "update": true, "nullable": true, + "required": true, "readOnCreateOnly": false, - "maxLength": 255 + "minLength": 1, + "maxLength": 63 }, - "created": { + "removeTime": { "type": "date", "description": null, "create": false, @@ -7424,88 +8378,49 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "data": { - "type": "map[json]", + "removed": { + "type": "date", "description": null, "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 16777215 - }, - "description": { - "type": "string", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 1024 + "maxLength": 255 }, - "externalId": { - "type": "string", + "retainIp": { + "type": "boolean", "description": null, "create": true, "update": true, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 - }, - "healthState": { - "type": "string", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 - }, - "id": { - "type": "int", - "description": null, - "create": false, - "update": false, - "nullable": true, "readOnCreateOnly": false }, - "kind": { - "type": "string", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "name": { + "selectorLink": { "type": "string", - "validChars": "a-zA-Z0-9-", "description": null, "create": true, "update": true, "nullable": true, - "required": true, "readOnCreateOnly": false, - "minLength": 1, - "maxLength": 63 + "maxLength": 4096 }, - "removeTime": { - "type": "date", + "stackId": { + "type": "reference[stack]", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, - "removed": { - "type": "date", + "startOnCreate": { + "type": "boolean", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 + "default": false }, "state": { "type": "enum", @@ -7518,28 +8433,30 @@ "activating", "active", "canceled-upgrade", - "canceling-rollback", "canceling-upgrade", - "error", - "erroring", + "deactivating", "finishing-upgrade", + "inactive", + "registering", "removed", "removing", "requested", + "restarting", "rolling-back", "updating-active", + "updating-inactive", "upgraded", "upgrading" ] }, - "uuid": { - "type": "string", + "system": { + "type": "boolean", "description": null, "create": false, "update": false, - "nullable": true, "readOnCreateOnly": false, - "maxLength": 128 + "maxLength": 255, + "default": false }, "transitioning": { "type": "enum", @@ -7569,58 +8486,22 @@ "nullable": true, "readOnCreateOnly": false }, - "dockerCompose": { - "type": "string", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false - }, - "rancherCompose": { - "type": "string", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false - }, - "environment": { - "type": "map[string]", + "upgrade": { + "type": "serviceUpgrade", "description": null, - "create": true, + "create": false, "update": false, - "readOnCreateOnly": false - }, - "previousExternalId": { - "type": "string", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false - }, - "previousEnvironment": { - "type": "map[string]", - "description": null, - "create": true, - "update": true, "nullable": true, "readOnCreateOnly": false }, - "startOnCreate": { - "type": "boolean", + "uuid": { + "type": "string", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false - }, - "outputs": { - "type": "map[string]", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 128 } }, "collectionFilters": { @@ -7632,6 +8513,18 @@ "notnull" ] }, + "createIndex": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, "created": { "modifiers": [ "eq", @@ -7735,6 +8628,44 @@ "notnull" ] }, + "selectorContainer": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "selectorLink": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "skip": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "state": { "modifiers": [ "eq", @@ -7743,6 +8674,14 @@ "notnull" ] }, + "system": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "uuid": { "modifiers": [ "eq", @@ -7753,112 +8692,151 @@ "null", "notnull" ] + }, + "vip": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] } }, "includeableLinks": [ - "configitemstatuses", - "services", - "account" + "consumedbyservices", + "stack", + "instances", + "storageDrivers", + "consumedservices", + "configItemStatuses", + "serviceExposeMaps", + "networkDrivers", + "account", + "serviceLogs" ], "resourceActions": { "rollback": { "input": null, - "output": "environment" + "output": "service" }, "upgrade": { - "input": "environmentUpgrade", - "output": "environment" + "input": "serviceUpgrade", + "output": "service" }, - "addoutputs": { - "input": "addOutputsInput", - "output": "environment" + "restart": { + "input": "serviceRestart", + "output": "service" }, "update": { "input": null, - "output": "environment" + "output": "service" }, - "error": { + "remove": { "input": null, - "output": "environment" + "output": "service" }, - "remove": { + "deactivate": { "input": null, - "output": "environment" + "output": "service" }, "finishupgrade": { "input": null, - "output": "environment" + "output": "service" }, - "cancelrollback": { - "input": null, - "output": "environment" + "removeservicelink": { + "input": "addRemoveServiceLinkInput", + "output": "service" }, - "deactivateservices": { + "continueupgrade": { "input": null, - "output": "environment" + "output": "service" }, - "activateservices": { + "activate": { "input": null, - "output": "environment" + "output": "service" + }, + "addservicelink": { + "input": "addRemoveServiceLinkInput", + "output": "service" }, "create": { "input": null, - "output": "environment" - }, - "exportconfig": { - "input": "composeConfigInput", - "output": "composeConfig" + "output": "service" }, "cancelupgrade": { "input": null, - "output": "environment" + "output": "service" + }, + "setservicelinks": { + "input": "setServiceLinksInput", + "output": "service" } }, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { - "id": "environmentUpgrade", + "id": "dockerBuild", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/environmentupgrade", - "collection": "http://localhost:8082/v1/environmentupgrades" + "self": "http://localhost:8080/v2-beta/schemas/dockerbuild" }, "actions": {}, - "pluralName": "environmentUpgrades", + "pluralName": "dockerBuilds", "resourceFields": { - "dockerCompose": { + "context": { "type": "string", + "transform": "", "description": null, "create": true, "update": false, + "nullable": true, "readOnCreateOnly": false }, - "rancherCompose": { + "dockerfile": { "type": "string", + "transform": "", "description": null, "create": true, "update": false, + "nullable": true, "readOnCreateOnly": false }, - "externalId": { + "forcerm": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "nocache": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "remote": { "type": "string", + "transform": "", "description": null, "create": true, "update": false, + "nullable": true, "readOnCreateOnly": false }, - "environment": { - "type": "map[string]", + "rm": { + "type": "boolean", "description": null, "create": true, "update": false, @@ -7870,19 +8848,17 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "GET", - "POST" - ], + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "extensionImplementation", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/extensionimplementation" + "self": "http://localhost:8080/v2-beta/schemas/extensionimplementation" }, "actions": {}, "pluralName": "extensionImplementations", @@ -7917,14 +8893,15 @@ "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "extensionPoint", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/extensionpoint", - "collection": "http://localhost:8082/v1/extensionpoints" + "self": "http://localhost:8080/v2-beta/schemas/extensionpoint", + "collection": "http://localhost:8080/v2-beta/extensionpoints" }, "actions": {}, "pluralName": "extensionPoints", @@ -7975,14 +8952,15 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "externalDnsEvent", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/externaldnsevent", - "collection": "http://localhost:8082/v1/externaldnsevents" + "self": "http://localhost:8080/v2-beta/schemas/externaldnsevent", + "collection": "http://localhost:8080/v2-beta/externaldnsevents" }, "actions": {}, "pluralName": "externalDnsEvents", @@ -8227,7 +9205,7 @@ } }, "includeableLinks": [ - "reportedaccount", + "reportedAccount", "account" ], "resourceActions": { @@ -8247,14 +9225,15 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "externalEvent", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/externalevent", - "collection": "http://localhost:8082/v1/externalevents" + "self": "http://localhost:8080/v2-beta/schemas/externalevent", + "collection": "http://localhost:8080/v2-beta/externalevents" }, "actions": {}, "pluralName": "externalEvents", @@ -8478,7 +9457,7 @@ } }, "includeableLinks": [ - "reportedaccount", + "reportedAccount", "account" ], "resourceActions": { @@ -8498,14 +9477,15 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "externalHandler", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/externalhandler", - "collection": "http://localhost:8082/v1/externalhandlers" + "self": "http://localhost:8080/v2-beta/schemas/externalhandler", + "collection": "http://localhost:8080/v2-beta/externalhandlers" }, "actions": {}, "pluralName": "externalHandlers", @@ -8608,7 +9588,6 @@ "removed", "removing", "requested", - "restoring", "updating-active", "updating-inactive" ] @@ -8792,14 +9771,10 @@ } }, "includeableLinks": [ - "externalhandlerprocesses", - "externalhandlerexternalhandlerprocessmaps" + "externalHandlerProcesses", + "externalHandlerExternalHandlerProcessMaps" ], "resourceActions": { - "restore": { - "input": null, - "output": "externalHandler" - }, "activate": { "input": null, "output": "externalHandler" @@ -8834,14 +9809,15 @@ "resourceMethods": [ "GET", "PUT" - ] + ], + "baseType": "schema" }, { "id": "externalHandlerExternalHandlerProcessMap", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/externalhandlerexternalhandlerprocessmap", - "collection": "http://localhost:8082/v1/externalhandlerexternalhandlerprocessmaps" + "self": "http://localhost:8080/v2-beta/schemas/externalhandlerexternalhandlerprocessmap", + "collection": "http://localhost:8080/v2-beta/externalhandlerexternalhandlerprocessmaps" }, "actions": {}, "pluralName": "externalHandlerExternalHandlerProcessMaps", @@ -8873,6 +9849,15 @@ "readOnCreateOnly": false, "maxLength": 1024 }, + "eventName": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "externalHandlerId": { "type": "reference[externalHandler]", "description": null, @@ -8962,7 +9947,6 @@ "removed", "removing", "requested", - "restoring", "updating-active", "updating-inactive" ] @@ -9029,46 +10013,7 @@ "notnull" ] }, - "externalHandlerId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "externalHandlerProcessId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "id": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "kind": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "name": { + "eventName": { "modifiers": [ "eq", "ne", @@ -9079,42 +10024,15 @@ "notnull" ] }, - "onError": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "removeTime": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "removed": { + "externalHandlerId": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", "null", "notnull" ] }, - "state": { + "externalHandlerProcessId": { "modifiers": [ "eq", "ne", @@ -9122,205 +10040,7 @@ "notnull" ] }, - "uuid": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - } - }, - "includeableLinks": [ - "externalhandler", - "externalhandlerprocess" - ], - "resourceActions": { - "restore": { - "input": null, - "output": "externalHandlerExternalHandlerProcessMap" - }, - "activate": { - "input": null, - "output": "externalHandlerExternalHandlerProcessMap" - }, - "create": { - "input": null, - "output": "externalHandlerExternalHandlerProcessMap" - }, - "update": { - "input": null, - "output": "externalHandlerExternalHandlerProcessMap" - }, - "purge": { - "input": null, - "output": "externalHandlerExternalHandlerProcessMap" - }, - "remove": { - "input": null, - "output": "externalHandlerExternalHandlerProcessMap" - }, - "deactivate": { - "input": null, - "output": "externalHandlerExternalHandlerProcessMap" - } - }, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "GET" - ], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "externalHandlerProcess", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/externalhandlerprocess", - "collection": "http://localhost:8082/v1/externalhandlerprocesses" - }, - "actions": {}, - "pluralName": "externalHandlerProcesses", - "resourceFields": { - "created": { - "type": "date", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "data": { - "type": "map[json]", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 16777215 - }, - "description": { - "type": "string", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 1024 - }, "id": { - "type": "int", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "kind": { - "type": "string", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "name": { - "type": "string", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "removeTime": { - "type": "date", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "removed": { - "type": "date", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "state": { - "type": "enum", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false, - "maxLength": 128, - "options": [ - "activating", - "active", - "deactivating", - "inactive", - "purged", - "purging", - "registering", - "removed", - "removing", - "requested", - "restoring", - "updating-active", - "updating-inactive" - ] - }, - "uuid": { - "type": "string", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 - }, - "transitioning": { - "type": "enum", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false, - "options": [ - "yes", - "no", - "error" - ] - }, - "transitioningMessage": { - "type": "string", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "transitioningProgress": { - "type": "int", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false - } - }, - "collectionFilters": { - "created": { "modifiers": [ "eq", "ne", @@ -9332,7 +10052,7 @@ "notnull" ] }, - "description": { + "kind": { "modifiers": [ "eq", "ne", @@ -9343,19 +10063,7 @@ "notnull" ] }, - "id": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "kind": { + "name": { "modifiers": [ "eq", "ne", @@ -9366,7 +10074,7 @@ "notnull" ] }, - "name": { + "onError": { "modifiers": [ "eq", "ne", @@ -9422,14 +10130,293 @@ } }, "includeableLinks": [ - "externalhandlerexternalhandlerprocessmaps", - "externalhandlers" + "externalHandler", + "externalHandlerProcess" ], "resourceActions": { - "restore": { + "activate": { "input": null, - "output": "externalHandlerProcess" + "output": "externalHandlerExternalHandlerProcessMap" + }, + "create": { + "input": null, + "output": "externalHandlerExternalHandlerProcessMap" + }, + "update": { + "input": null, + "output": "externalHandlerExternalHandlerProcessMap" + }, + "purge": { + "input": null, + "output": "externalHandlerExternalHandlerProcessMap" + }, + "remove": { + "input": null, + "output": "externalHandlerExternalHandlerProcessMap" + }, + "deactivate": { + "input": null, + "output": "externalHandlerExternalHandlerProcessMap" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "externalHandlerProcess", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/externalhandlerprocess", + "collection": "http://localhost:8080/v2-beta/externalhandlerprocesses" + }, + "actions": {}, + "pluralName": "externalHandlerProcesses", + "resourceFields": { + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "activating", + "active", + "deactivating", + "inactive", + "purged", + "purging", + "registering", + "removed", + "removing", + "requested", + "updating-active", + "updating-inactive" + ] + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "externalHandlerExternalHandlerProcessMaps", + "externalHandlers" + ], + "resourceActions": { "activate": { "input": null, "output": "externalHandlerProcess" @@ -9462,13 +10449,14 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "externalHandlerProcessConfig", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/externalhandlerprocessconfig" + "self": "http://localhost:8080/v2-beta/schemas/externalhandlerprocessconfig" }, "actions": {}, "pluralName": "externalHandlerProcessConfigs", @@ -9498,14 +10486,15 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "externalHostEvent", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/externalhostevent", - "collection": "http://localhost:8082/v1/externalhostevents" + "self": "http://localhost:8080/v2-beta/schemas/externalhostevent", + "collection": "http://localhost:8080/v2-beta/externalhostevents" }, "actions": {}, "pluralName": "externalHostEvents", @@ -9753,7 +10742,7 @@ } }, "includeableLinks": [ - "reportedaccount", + "reportedAccount", "account" ], "resourceActions": { @@ -9769,19 +10758,19 @@ "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "externalService", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/externalservice", - "collection": "http://localhost:8082/v1/externalservices" + "self": "http://localhost:8080/v2-beta/schemas/externalservice", + "collection": "http://localhost:8080/v2-beta/externalservices" }, "actions": {}, "pluralName": "externalServices", @@ -9822,19 +10811,10 @@ "readOnCreateOnly": false, "maxLength": 1024 }, - "environmentId": { - "type": "reference[environment]", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, "externalId": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, @@ -9865,6 +10845,14 @@ "nullable": true, "readOnCreateOnly": false }, + "instanceIds": { + "type": "array[reference[instance]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "kind": { "type": "string", "description": null, @@ -9882,6 +10870,14 @@ "nullable": true, "readOnCreateOnly": false }, + "linkedServices": { + "type": "map[reference[service]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "metadata": { "type": "map[json]", "description": null, @@ -9920,6 +10916,15 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "stackId": { + "type": "reference[stack]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "startOnCreate": { "type": "boolean", "description": null, @@ -9939,9 +10944,7 @@ "options": [ "activating", "active", - "canceled-rollback", "canceled-upgrade", - "canceling-rollback", "canceling-upgrade", "deactivating", "finishing-upgrade", @@ -9958,6 +10961,15 @@ "upgrading" ] }, + "system": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255, + "default": false + }, "transitioning": { "type": "enum", "description": null, @@ -10072,14 +11084,6 @@ "notnull" ] }, - "environmentId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, "externalId": { "modifiers": [ "eq", @@ -10182,6 +11186,22 @@ "notnull" ] }, + "skip": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "state": { "modifiers": [ "eq", @@ -10190,6 +11210,14 @@ "notnull" ] }, + "system": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "uuid": { "modifiers": [ "eq", @@ -10215,13 +11243,15 @@ }, "includeableLinks": [ "consumedbyservices", - "environment", + "stack", "instances", + "storageDrivers", "consumedservices", - "configitemstatuses", - "serviceexposemaps", - "dynamicschemas", - "account" + "configItemStatuses", + "serviceExposeMaps", + "networkDrivers", + "account", + "serviceLogs" ], "resourceActions": { "rollback": { @@ -10252,7 +11282,7 @@ "input": null, "output": "service" }, - "cancelrollback": { + "continueupgrade": { "input": null, "output": "service" }, @@ -10272,21 +11302,19 @@ "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { "id": "externalServiceEvent", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/externalserviceevent", - "collection": "http://localhost:8082/v1/externalserviceevents" + "self": "http://localhost:8080/v2-beta/schemas/externalserviceevent", + "collection": "http://localhost:8080/v2-beta/externalserviceevents" }, "actions": {}, "pluralName": "externalServiceEvents", @@ -10525,7 +11553,7 @@ } }, "includeableLinks": [ - "reportedaccount", + "reportedAccount", "account" ], "resourceActions": { @@ -10545,14 +11573,15 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "externalStoragePoolEvent", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/externalstoragepoolevent", - "collection": "http://localhost:8082/v1/externalstoragepoolevents" + "self": "http://localhost:8080/v2-beta/schemas/externalstoragepoolevent", + "collection": "http://localhost:8080/v2-beta/externalstoragepoolevents" }, "actions": {}, "pluralName": "externalStoragePoolEvents", @@ -10791,7 +11820,7 @@ } }, "includeableLinks": [ - "reportedaccount", + "reportedAccount", "account" ], "resourceActions": { @@ -10811,14 +11840,15 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "externalVolumeEvent", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/externalvolumeevent", - "collection": "http://localhost:8082/v1/externalvolumeevents" + "self": "http://localhost:8080/v2-beta/schemas/externalvolumeevent", + "collection": "http://localhost:8080/v2-beta/externalvolumeevents" }, "actions": {}, "pluralName": "externalVolumeEvents", @@ -11050,7 +12080,7 @@ } }, "includeableLinks": [ - "reportedaccount", + "reportedAccount", "account" ], "resourceActions": { @@ -11070,13 +12100,14 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "fieldDocumentation", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/fielddocumentation" + "self": "http://localhost:8080/v2-beta/schemas/fielddocumentation" }, "actions": {}, "pluralName": "fieldDocumentations", @@ -11097,98 +12128,302 @@ "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "githubconfig", + "id": "genericObject", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/githubconfig", - "collection": "http://localhost:8082/v1/githubconfigs" + "self": "http://localhost:8080/v2-beta/schemas/genericobject", + "collection": "http://localhost:8080/v2-beta/genericobjects" }, "actions": {}, - "pluralName": "githubconfigs", + "pluralName": "genericObjects", "resourceFields": { - "accessMode": { - "type": "enum", - "transform": "", + "accountId": { + "type": "reference[account]", "description": null, - "create": true, + "create": false, "update": false, - "required": true, + "nullable": true, "readOnCreateOnly": false, - "options": [ - "restricted", - "unrestricted", - "required" - ], - "default": "unrestricted" + "maxLength": 255 }, - "allowedIdentities": { - "type": "array[identity]", - "transform": "", + "created": { + "type": "date", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 255 }, - "clientId": { + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "description": { "type": "string", - "transform": "", "description": null, "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "id": { + "type": "int", + "description": null, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "clientSecret": { + "key": { "type": "string", - "transform": "", "description": null, "create": true, "update": false, "nullable": true, - "readOnCreateOnly": true + "readOnCreateOnly": false, + "maxLength": 255 }, - "enabled": { - "type": "boolean", - "transform": "", + "kind": { + "type": "string", "description": null, "create": true, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 255 }, - "hostname": { + "name": { "type": "string", - "transform": "", "description": null, "create": true, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 255 }, - "name": { + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "activating", + "active", + "removed", + "removing", + "requested" + ] + }, + "uuid": { "type": "string", "description": null, - "create": true, - "update": true, - "readOnCreateOnly": false + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 }, - "scheme": { + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { "type": "string", - "transform": "", "description": null, - "create": true, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false + }, + "resourceData": { + "type": "map[json]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "key": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "account" + ], + "resourceActions": { + "create": { + "input": null, + "output": "genericObject" + }, + "remove": { + "input": null, + "output": "genericObject" } }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ @@ -11197,15 +12432,16 @@ ], "resourceMethods": [ "GET", - "PUT" - ] + "DELETE" + ], + "baseType": "schema" }, { "id": "haConfig", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/haconfig", - "collection": "http://localhost:8082/v1/haconfigs" + "self": "http://localhost:8080/v2-beta/schemas/haconfig", + "collection": "http://localhost:8080/v2-beta/haconfigs" }, "actions": {}, "pluralName": "haConfigs", @@ -11258,14 +12494,15 @@ "resourceMethods": [ "GET", "PUT" - ] + ], + "baseType": "schema" }, { "id": "haConfigInput", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/haconfiginput", - "collection": "http://localhost:8082/v1/haconfiginputs" + "self": "http://localhost:8080/v2-beta/schemas/haconfiginput", + "collection": "http://localhost:8080/v2-beta/haconfiginputs" }, "actions": {}, "pluralName": "haConfigInputs", @@ -11449,55 +12686,15 @@ ], "resourceMethods": [ "GET" - ] - }, - { - "id": "haproxyConfig", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/haproxyconfig" - }, - "actions": {}, - "pluralName": "haproxyConfigs", - "resourceFields": { - "defaults": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false - }, - "global": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "POST" ], - "resourceMethods": [ - "GET", - "PUT" - ] + "baseType": "schema" }, { "id": "healthcheckInstanceHostMap", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/healthcheckinstancehostmap", - "collection": "http://localhost:8082/v1/healthcheckinstancehostmaps" + "self": "http://localhost:8080/v2-beta/schemas/healthcheckinstancehostmap", + "collection": "http://localhost:8080/v2-beta/healthcheckinstancehostmaps" }, "actions": {}, "pluralName": "healthcheckInstanceHostMaps", @@ -11841,14 +13038,15 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "host", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/host", - "collection": "http://localhost:8082/v1/hosts" + "self": "http://localhost:8080/v2-beta/schemas/host", + "collection": "http://localhost:8080/v2-beta/hosts" }, "actions": {}, "pluralName": "hosts", @@ -11916,6 +13114,14 @@ "readOnCreateOnly": false, "maxLength": 1024 }, + "hostTemplateId": { + "type": "reference[hostTemplate]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "id": { "type": "int", "description": null, @@ -11933,8 +13139,26 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "name": { - "type": "string", + "localStorageMb": { + "type": "int", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "memory": { + "type": "long", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "milliCpu": { + "type": "int", "description": null, "create": true, "update": true, @@ -11942,6 +13166,14 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, "physicalHostId": { "type": "reference[physicalHost]", "description": null, @@ -11969,6 +13201,15 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "stackId": { + "type": "reference[stack]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "state": { "type": "enum", "description": null, @@ -11980,14 +13221,17 @@ "activating", "active", "deactivating", + "error", + "erroring", "inactive", + "provisioned", + "provisioning", "purged", "purging", "registering", "removed", "removing", "requested", - "restoring", "updating-active", "updating-inactive" ] @@ -12039,8 +13283,9 @@ "hostname": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, + "required": true, "readOnCreateOnly": false }, "apiProxy": { @@ -12051,11 +13296,27 @@ "nullable": true, "readOnCreateOnly": false }, + "agentIpAddress": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "instanceIds": { + "type": "array[reference[instance]]", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, "labels": { "type": "map[string]", "description": null, "create": false, - "update": true, + "update": false, + "nullable": true, "readOnCreateOnly": false }, "publicEndpoints": { @@ -12065,6 +13326,126 @@ "update": false, "nullable": true, "readOnCreateOnly": false + }, + "amazonec2Config": { + "type": "amazonec2Config", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "authCertificateAuthority": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "authKey": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "azureConfig": { + "type": "azureConfig", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "digitaloceanConfig": { + "type": "digitaloceanConfig", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "dockerVersion": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "driver": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "engineEnv": { + "type": "map[string]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "engineInsecureRegistry": { + "type": "array[string]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "engineInstallUrl": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "engineLabel": { + "type": "map[string]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "engineOpt": { + "type": "map[string]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "engineRegistryMirror": { + "type": "array[string]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "engineStorageDriver": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "packetConfig": { + "type": "packetConfig", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false } }, "collectionFilters": { @@ -12142,6 +13523,14 @@ "notnull" ] }, + "hostTemplateId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "id": { "modifiers": [ "eq", @@ -12173,6 +13562,42 @@ "notnull" ] }, + "localStorageMb": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "memory": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "milliCpu": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, "name": { "modifiers": [ "eq", @@ -12192,6 +13617,18 @@ "notnull" ] }, + "removeAfter": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, "removeTime": { "modifiers": [ "eq", @@ -12216,6 +13653,14 @@ "notnull" ] }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "state": { "modifiers": [ "eq", @@ -12249,21 +13694,32 @@ }, "includeableLinks": [ "agent", + "stack", "instances", "hosts", "volumes", - "serviceevents", - "hostlabels", - "healthcheckinstancehostmaps", - "ipaddresses", - "storagepools", - "physicalhost", + "serviceEvents", + "hostLabels", + "hostTemplate", + "healthcheckInstanceHostMaps", + "ipAddresses", + "storagePools", + "configItemStatuses", + "physicalHost", "account", "clusters", - "containerevents" + "containerEvents" ], "resourceActions": { - "restore": { + "upgrade": { + "input": null, + "output": null + }, + "evacuate": { + "input": null, + "output": "host" + }, + "provision": { "input": null, "output": "host" }, @@ -12287,6 +13743,14 @@ "input": null, "output": "host" }, + "error": { + "input": null, + "output": "host" + }, + "delete": { + "input": null, + "output": null + }, "remove": { "input": null, "output": "host" @@ -12302,17 +13766,15 @@ "GET" ], "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { "id": "hostAccess", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/hostaccess", - "collection": "http://localhost:8082/v1/hostaccesses" + "self": "http://localhost:8080/v2-beta/schemas/hostaccess" }, "actions": {}, "pluralName": "hostAccesses", @@ -12337,19 +13799,18 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "GET" - ], + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "hostApiProxyToken", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/hostapiproxytoken", - "collection": "http://localhost:8082/v1/hostapiproxytokens" + "self": "http://localhost:8080/v2-beta/schemas/hostapiproxytoken", + "collection": "http://localhost:8080/v2-beta/hostapiproxytokens" }, "actions": {}, "pluralName": "hostApiProxyTokens", @@ -12386,14 +13847,346 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" + }, + { + "id": "hostTemplate", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/hosttemplate", + "collection": "http://localhost:8080/v2-beta/hosttemplates" + }, + "actions": {}, + "pluralName": "hostTemplates", + "resourceFields": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "driver": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "flavorPrefix": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "activating", + "active", + "removed", + "removing", + "requested" + ] + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "secretValues": { + "type": "map[json]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": true + }, + "publicValues": { + "type": "map[json]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "driver": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "flavorPrefix": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "hosts", + "account" + ], + "resourceActions": { + "create": { + "input": null, + "output": "hostTemplate" + }, + "remove": { + "input": null, + "output": "hostTemplate" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" }, { "id": "identity", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/identity", - "collection": "http://localhost:8082/v1/identities" + "self": "http://localhost:8080/v2-beta/schemas/identity", + "collection": "http://localhost:8080/v2-beta/identities" }, "actions": {}, "pluralName": "identities", @@ -12487,6 +14280,15 @@ "update": false, "nullable": true, "readOnCreateOnly": false + }, + "user": { + "type": "boolean", + "transform": "", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false } }, "collectionFilters": { @@ -12510,14 +14312,15 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "image", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/image", - "collection": "http://localhost:8082/v1/images" + "self": "http://localhost:8080/v2-beta/schemas/image", + "collection": "http://localhost:8080/v2-beta/images" }, "actions": {}, "pluralName": "images", @@ -12620,7 +14423,6 @@ "removed", "removing", "requested", - "restoring", "updating-active", "updating-inactive" ] @@ -12859,15 +14661,11 @@ }, "includeableLinks": [ "instances", - "storagepools", + "storagePools", "volumes", "account" ], "resourceActions": { - "restore": { - "input": null, - "output": "image" - }, "activate": { "input": null, "output": "image" @@ -12900,13 +14698,14 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "inServiceUpgradeStrategy", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/inserviceupgradestrategy" + "self": "http://localhost:8080/v2-beta/schemas/inserviceupgradestrategy" }, "actions": {}, "pluralName": "inServiceUpgradeStrategys", @@ -12978,19 +14777,18 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "POST" - ], + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "instance", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/instance", - "collection": "http://localhost:8082/v1/instances" + "self": "http://localhost:8080/v2-beta/schemas/instance", + "collection": "http://localhost:8080/v2-beta/instances" }, "actions": {}, "pluralName": "instances", @@ -13102,7 +14900,6 @@ "removing", "requested", "restarting", - "restoring", "running", "starting", "stopped", @@ -13387,34 +15184,50 @@ "notnull" ] }, - "name": { + "memoryReservation": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "nativeContainer": { + "milliCpuReservation": { "modifiers": [ "eq", "ne", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "networkContainerId": { + "name": { "modifiers": [ "eq", "ne", + "prefix", + "like", + "notlike", "null", "notnull" ] }, - "offeringId": { + "nativeContainer": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "networkContainerId": { "modifiers": [ "eq", "ne", @@ -13454,6 +15267,14 @@ "notnull" ] }, + "serviceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "serviceIndexId": { "modifiers": [ "eq", @@ -13462,6 +15283,14 @@ "notnull" ] }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "startCount": { "modifiers": [ "eq", @@ -13482,13 +15311,10 @@ "notnull" ] }, - "systemContainer": { + "system": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", "null", "notnull" ] @@ -13552,15 +15378,16 @@ "hosts", "volumes", "mounts", - "serviceevents", - "serviceexposemaps", + "serviceEvents", + "serviceExposeMaps", "services", "ports", - "instancelinks", - "healthcheckinstancehostmaps", - "targetinstancelinks", - "instancelabels", - "account" + "instanceLinks", + "healthcheckInstanceHostMaps", + "targetInstanceLinks", + "instanceLabels", + "account", + "serviceLogs" ], "resourceActions": { "updateunhealthy": { @@ -13571,10 +15398,6 @@ "input": "instanceConsoleInput", "output": "instanceConsole" }, - "restore": { - "input": null, - "output": "instance" - }, "restart": { "input": null, "output": "instance" @@ -13607,14 +15430,14 @@ "input": null, "output": "instance" }, - "allocate": { - "input": null, - "output": "instance" - }, "stop": { "input": "instanceStop", "output": "instance" }, + "allocate": { + "input": null, + "output": "instance" + }, "create": { "input": null, "output": "instance" @@ -13635,13 +15458,14 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "instanceConsole", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/instanceconsole" + "self": "http://localhost:8080/v2-beta/schemas/instanceconsole" }, "actions": {}, "pluralName": "instanceConsoles", @@ -13676,13 +15500,14 @@ "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "instanceConsoleInput", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/instanceconsoleinput" + "self": "http://localhost:8080/v2-beta/schemas/instanceconsoleinput" }, "actions": {}, "pluralName": "instanceConsoleInputs", @@ -13695,13 +15520,14 @@ "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "instanceHealthCheck", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/instancehealthcheck" + "self": "http://localhost:8080/v2-beta/schemas/instancehealthcheck" }, "actions": {}, "pluralName": "instanceHealthChecks", @@ -13819,14 +15645,15 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "instanceLink", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/instancelink", - "collection": "http://localhost:8082/v1/instancelinks" + "self": "http://localhost:8080/v2-beta/schemas/instancelink", + "collection": "http://localhost:8080/v2-beta/instancelinks" }, "actions": {}, "pluralName": "instanceLinks", @@ -13947,7 +15774,6 @@ "removed", "removing", "requested", - "restoring", "updating-active", "updating-inactive" ] @@ -14152,15 +15978,11 @@ } }, "includeableLinks": [ - "targetinstance", + "targetInstance", "instance", "account" ], "resourceActions": { - "restore": { - "input": null, - "output": "instanceLink" - }, "activate": { "input": null, "output": "instanceLink" @@ -14192,15 +16014,15 @@ "GET" ], "resourceMethods": [ - "GET", - "PUT" - ] + "GET" + ], + "baseType": "schema" }, { "id": "instanceStop", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/instancestop" + "self": "http://localhost:8080/v2-beta/schemas/instancestop" }, "actions": {}, "pluralName": "instanceStops", @@ -14225,19 +16047,18 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "POST" - ], + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "ipAddress", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/ipaddress", - "collection": "http://localhost:8082/v1/ipaddresses" + "self": "http://localhost:8080/v2-beta/schemas/ipaddress", + "collection": "http://localhost:8080/v2-beta/ipaddresses" }, "actions": {}, "pluralName": "ipAddresses", @@ -14361,7 +16182,6 @@ "removed", "removing", "requested", - "restoring", "updating-active", "updating-inactive" ] @@ -14470,14 +16290,6 @@ "notnull" ] }, - "ipPoolId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, "isPublic": { "modifiers": [ "eq", @@ -14580,17 +16392,13 @@ } }, "includeableLinks": [ - "publicports", + "publicPorts", "hosts", - "privateports", + "privatePorts", "account", "network" ], "resourceActions": { - "restore": { - "input": null, - "output": "ipAddress" - }, "activate": { "input": null, "output": "ipAddress" @@ -14607,14 +16415,14 @@ "input": null, "output": "ipAddress" }, - "associate": { - "input": "ipAddressAssociateInput", - "output": "ipPool" - }, "remove": { "input": null, "output": "ipAddress" }, + "associate": { + "input": null, + "output": "ipAddress" + }, "deactivate": { "input": null, "output": "ipAddress" @@ -14631,43 +16439,15 @@ ], "resourceMethods": [ "GET" - ] - }, - { - "id": "ipAddressAssociateInput", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/ipaddressassociateinput" - }, - "actions": {}, - "pluralName": "ipAddressAssociateInputs", - "resourceFields": { - "ipAddressId": { - "type": "reference[ipAddress]", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "POST" ], - "resourceMethods": [ - "GET" - ] + "baseType": "schema" }, { "id": "kubernetesService", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/kubernetesservice", - "collection": "http://localhost:8082/v1/kubernetesservices" + "self": "http://localhost:8080/v2-beta/schemas/kubernetesservice", + "collection": "http://localhost:8080/v2-beta/kubernetesservices" }, "actions": {}, "pluralName": "kubernetesServices", @@ -14708,19 +16488,10 @@ "readOnCreateOnly": false, "maxLength": 1024 }, - "environmentId": { - "type": "reference[environment]", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, "externalId": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, @@ -14743,6 +16514,14 @@ "nullable": true, "readOnCreateOnly": false }, + "instanceIds": { + "type": "array[reference[instance]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "kind": { "type": "string", "description": null, @@ -14752,6 +16531,14 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "linkedServices": { + "type": "map[reference[service]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "name": { "type": "string", "validChars": "a-zA-Z0-9-", @@ -14791,6 +16578,15 @@ "readOnCreateOnly": false, "maxLength": 4096 }, + "stackId": { + "type": "reference[stack]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "state": { "type": "enum", "description": null, @@ -14801,9 +16597,7 @@ "options": [ "activating", "active", - "canceled-rollback", "canceled-upgrade", - "canceling-rollback", "canceling-upgrade", "deactivating", "finishing-upgrade", @@ -14820,6 +16614,15 @@ "upgrading" ] }, + "system": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255, + "default": false + }, "transitioning": { "type": "enum", "description": null, @@ -14918,14 +16721,6 @@ "notnull" ] }, - "environmentId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, "externalId": { "modifiers": [ "eq", @@ -15028,6 +16823,22 @@ "notnull" ] }, + "skip": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "state": { "modifiers": [ "eq", @@ -15036,6 +16847,14 @@ "notnull" ] }, + "system": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "uuid": { "modifiers": [ "eq", @@ -15061,13 +16880,15 @@ }, "includeableLinks": [ "consumedbyservices", - "environment", + "stack", "instances", + "storageDrivers", "consumedservices", - "configitemstatuses", - "serviceexposemaps", - "dynamicschemas", - "account" + "configItemStatuses", + "serviceExposeMaps", + "networkDrivers", + "account", + "serviceLogs" ], "resourceActions": { "rollback": { @@ -15098,14 +16919,14 @@ "input": null, "output": "service" }, - "cancelrollback": { - "input": null, - "output": "service" - }, "removeservicelink": { "input": "addRemoveServiceLinkInput", "output": "service" }, + "continueupgrade": { + "input": null, + "output": "service" + }, "activate": { "input": null, "output": "service" @@ -15134,17 +16955,18 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "label", + "id": "kubernetesStack", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/label", - "collection": "http://localhost:8082/v1/labels" + "self": "http://localhost:8080/v2-beta/schemas/kubernetesstack", + "collection": "http://localhost:8080/v2-beta/kubernetesstacks" }, "actions": {}, - "pluralName": "labels", + "pluralName": "kubernetesStacks", "resourceFields": { "accountId": { "type": "reference[account]", @@ -15155,6 +16977,21 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "answers": { + "type": "map[json]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "binding": { + "type": "binding", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, "created": { "type": "date", "description": null, @@ -15182,22 +17019,47 @@ "readOnCreateOnly": false, "maxLength": 1024 }, - "id": { - "type": "int", + "environment": { + "type": "map[string]", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, "readOnCreateOnly": false }, - "key": { + "externalId": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "group": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "healthState": { "type": "string", "description": null, "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 1024 + "maxLength": 128 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false }, "kind": { "type": "string", @@ -15210,12 +17072,31 @@ }, "name": { "type": "string", + "validChars": "a-zA-Z0-9-", "description": null, "create": true, - "update": true, + "update": false, "nullable": true, + "required": true, "readOnCreateOnly": false, - "maxLength": 255 + "minLength": 1, + "maxLength": 63 + }, + "previousEnvironment": { + "type": "map[string]", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "previousExternalId": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false }, "removeTime": { "type": "date", @@ -15235,6 +17116,14 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "serviceIds": { + "type": "array[reference[service]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "state": { "type": "enum", "description": null, @@ -15243,30 +17132,467 @@ "readOnCreateOnly": false, "maxLength": 128, "options": [ - "created", - "creating", + "activating", + "active", + "canceled-upgrade", + "canceling-upgrade", + "error", + "erroring", + "finishing-upgrade", "removed", "removing", - "requested" + "requested", + "rolling-back", + "updating-active", + "upgraded", + "upgrading" ] }, - "uuid": { - "type": "string", + "system": { + "type": "boolean", "description": null, "create": false, "update": false, - "nullable": true, "readOnCreateOnly": false, - "maxLength": 128 + "maxLength": 255, + "default": false }, - "value": { - "type": "string", + "templates": { + "type": "map[string]", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 4096 + "readOnCreateOnly": false + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "namespace": { + "type": "string", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "externalId": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "group": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "healthState": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "system": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "scheduledUpgrades", + "volumeTemplates", + "instances", + "hosts", + "volumes", + "configItemStatuses", + "services", + "secrets", + "account" + ], + "resourceActions": { + "rollback": { + "input": null, + "output": "stack" + }, + "upgrade": { + "input": "kubernetesStackUpgrade", + "output": "kubernetesStack" + }, + "create": { + "input": null, + "output": "stack" + }, + "error": { + "input": null, + "output": "stack" + }, + "cancelupgrade": { + "input": null, + "output": "stack" + }, + "remove": { + "input": null, + "output": "stack" + }, + "finishupgrade": { + "input": null, + "output": "stack" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "kubernetesStackUpgrade", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/kubernetesstackupgrade" + }, + "actions": {}, + "pluralName": "kubernetesStackUpgrades", + "resourceFields": { + "templates": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "externalId": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "environment": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "answers": { + "type": "map[json]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "label", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/label", + "collection": "http://localhost:8080/v2-beta/labels" + }, + "actions": {}, + "pluralName": "labels", + "resourceFields": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "key": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "created", + "creating", + "removed", + "removing", + "requested" + ] + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "value": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 4096 }, "transitioning": { "type": "enum", @@ -15462,13 +17788,14 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "launchConfig", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/launchconfig" + "self": "http://localhost:8080/v2-beta/schemas/launchconfig" }, "actions": {}, "pluralName": "launchConfigs", @@ -15508,6 +17835,14 @@ "nullable": true, "readOnCreateOnly": false }, + "blkioWeight": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "build": { "type": "dockerBuild", "description": null, @@ -15612,6 +17947,14 @@ "WAKE_ALARM" ] }, + "cgroupParent": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "command": { "type": "array[string]", "description": null, @@ -15628,6 +17971,38 @@ "nullable": true, "readOnCreateOnly": false }, + "cpuCount": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "cpuPercent": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "cpuPeriod": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "cpuQuota": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "cpuSet": { "type": "string", "description": null, @@ -15636,6 +18011,14 @@ "nullable": true, "readOnCreateOnly": false }, + "cpuSetMems": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "cpuShares": { "type": "int", "description": null, @@ -15721,6 +18104,14 @@ "nullable": true, "readOnCreateOnly": false }, + "diskQuota": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "dns": { "type": "array[string]", "description": null, @@ -15729,6 +18120,14 @@ "nullable": true, "readOnCreateOnly": false }, + "dnsOpt": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "dnsSearch": { "type": "array[string]", "description": null, @@ -15794,6 +18193,14 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "groupAdd": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "healthCheck": { "type": "instanceHealthCheck", "description": null, @@ -15802,6 +18209,30 @@ "nullable": true, "readOnCreateOnly": false }, + "healthCmd": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthInterval": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthRetries": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "healthState": { "type": "enum", "description": null, @@ -15818,6 +18249,14 @@ "initializing" ] }, + "healthTimeout": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "hostId": { "type": "reference[host]", "description": null, @@ -15860,19 +18299,89 @@ "nullable": true, "readOnCreateOnly": false }, - "kind": { + "instanceTriggeredStop": { "type": "enum", "description": null, "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255, + "maxLength": 128, "options": [ - "container", - "virtualMachine" + "stop", + "remove" ], - "default": "container" + "default": "stop" + }, + "ioMaximumBandwidth": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ioMaximumIOps": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ip": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ip6": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ipcMode": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "isolation": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kernelMemory": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kind": { + "type": "enum", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255, + "options": [ + "container", + "virtualMachine" + ], + "default": "container" }, "labels": { "type": "map[string]", @@ -15914,6 +18423,15 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "memoryReservation": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "memorySwap": { "type": "int", "description": null, @@ -15922,6 +18440,30 @@ "nullable": true, "readOnCreateOnly": false }, + "memorySwappiness": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "milliCpuReservation": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "mounts": { + "type": "array[mountEntry]", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, "nativeContainer": { "type": "boolean", "description": null, @@ -15930,6 +18472,14 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "netAlias": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "networkContainerId": { "type": "reference[container]", "description": null, @@ -15948,21 +18498,30 @@ "readOnCreateOnly": false }, "networkMode": { - "type": "enum", + "type": "string", "description": null, "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, - "options": [ - "none", - "bridge", - "host", - "managed", - "container" - ], "default": "managed" }, + "oomKillDisable": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "oomScoreAdj": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "pidMode": { "type": "enum", "description": null, @@ -15974,11 +18533,19 @@ "host" ] }, + "pidsLimit": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "ports": { "type": "array[string]", "description": null, "create": true, - "update": false, + "update": true, "nullable": true, "readOnCreateOnly": false }, @@ -15989,6 +18556,13 @@ "update": false, "readOnCreateOnly": false }, + "primaryNetworkId": { + "type": "reference[network]", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, "privileged": { "type": "boolean", "description": null, @@ -16056,6 +18630,21 @@ "nullable": true, "readOnCreateOnly": false }, + "runInit": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": false + }, + "secrets": { + "type": "array[secretReference]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, "securityOpt": { "type": "array[string]", "description": null, @@ -16064,6 +18653,40 @@ "nullable": true, "readOnCreateOnly": false }, + "serviceId": { + "type": "reference[service]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "serviceIds": { + "type": "array[reference[service]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "shmSize": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "stackId": { + "type": "reference[stack]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "startCount": { "type": "int", "description": null, @@ -16099,7 +18722,6 @@ "removing", "requested", "restarting", - "restoring", "running", "starting", "stopped", @@ -16116,18 +18738,46 @@ "readOnCreateOnly": false, "default": false }, - "systemContainer": { - "type": "enum", + "stopSignal": { + "type": "string", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, + "readOnCreateOnly": false + }, + "storageOpt": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "sysctls": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "system": { + "type": "boolean", + "description": null, + "create": false, + "update": false, "readOnCreateOnly": false, - "maxLength": 128, - "options": [ - "NetworkAgent", - "LoadBalancerAgent" - ] + "maxLength": 255, + "default": false + }, + "tmpfs": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false }, "token": { "type": "string", @@ -16174,6 +18824,14 @@ "readOnCreateOnly": false, "default": false }, + "ulimits": { + "type": "array[ulimit]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "user": { "type": "string", "description": null, @@ -16183,6 +18841,14 @@ "readOnCreateOnly": false, "minLength": 1 }, + "userPorts": { + "type": "array[string]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "userdata": { "type": "string", "description": null, @@ -16192,6 +18858,22 @@ "readOnCreateOnly": false, "maxLength": 65535 }, + "usernsMode": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "uts": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "uuid": { "type": "string", "description": null, @@ -16491,6 +19173,30 @@ "notnull" ] }, + "memoryReservation": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "milliCpuReservation": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, "name": { "modifiers": [ "eq", @@ -16518,14 +19224,6 @@ "notnull" ] }, - "offeringId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, "registryCredentialId": { "modifiers": [ "eq", @@ -16558,6 +19256,14 @@ "notnull" ] }, + "serviceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "serviceIndexId": { "modifiers": [ "eq", @@ -16566,6 +19272,14 @@ "notnull" ] }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "startCount": { "modifiers": [ "eq", @@ -16586,13 +19300,10 @@ "notnull" ] }, - "systemContainer": { + "system": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", "null", "notnull" ] @@ -16652,22 +19363,25 @@ }, "includeableLinks": [ "agent", - "networkcontainer", + "stack", + "networkContainer", "credentials", "instances", "hosts", "volumes", "mounts", - "serviceevents", - "serviceexposemaps", + "serviceEvents", + "serviceExposeMaps", "services", "ports", - "instancelinks", - "healthcheckinstancehostmaps", - "registrycredential", - "targetinstancelinks", - "instancelabels", - "account" + "instanceLinks", + "healthcheckInstanceHostMaps", + "registryCredential", + "service", + "targetInstanceLinks", + "instanceLabels", + "account", + "serviceLogs" ], "resourceActions": { "updateunhealthy": { @@ -16678,10 +19392,6 @@ "input": "instanceConsoleInput", "output": "instanceConsole" }, - "restore": { - "input": null, - "output": "instance" - }, "restart": { "input": null, "output": "instance" @@ -16714,14 +19424,14 @@ "input": null, "output": "instance" }, - "allocate": { - "input": null, - "output": "instance" - }, "stop": { "input": "instanceStop", "output": "instance" }, + "allocate": { + "input": null, + "output": "instance" + }, "create": { "input": null, "output": "instance" @@ -16734,10 +19444,6 @@ "input": null, "output": "instance" }, - "setlabels": { - "input": "setLabelsInput", - "output": "container" - }, "execute": { "input": "containerExec", "output": "hostAccess" @@ -16755,14 +19461,103 @@ "resourceMethods": [ "GET", "PUT" - ] + ], + "baseType": "schema" + }, + { + "id": "lbConfig", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/lbconfig" + }, + "actions": {}, + "pluralName": "lbConfigs", + "resourceFields": { + "config": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "portRules": { + "type": "array[portRule]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "certificateIds": { + "type": "array[reference[certificate]]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "defaultCertificateId": { + "type": "reference[certificate]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "stickinessPolicy": { + "type": "loadBalancerCookieStickinessPolicy", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "lbTargetConfig", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/lbtargetconfig" + }, + "actions": {}, + "pluralName": "lbTargetConfigs", + "resourceFields": { + "portRules": { + "type": "array[targetPortRule]", + "description": null, + "create": true, + "update": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" }, { "id": "ldapconfig", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/ldapconfig", - "collection": "http://localhost:8082/v1/ldapconfigs" + "self": "http://localhost:8080/v2-beta/schemas/ldapconfig", + "collection": "http://localhost:8080/v2-beta/ldapconfigs" }, "actions": {}, "pluralName": "ldapconfigs", @@ -16850,6 +19645,15 @@ "readOnCreateOnly": false, "default": "group" }, + "groupSearchDomain": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "groupSearchField": { "type": "string", "transform": "", @@ -17010,138 +19814,14 @@ "resourceMethods": [ "GET", "PUT" - ] - }, - { - "id": "loadBalancerAppCookieStickinessPolicy", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/loadbalancerappcookiestickinesspolicy" - }, - "actions": {}, - "pluralName": "loadBalancerAppCookieStickinessPolicys", - "resourceFields": { - "cookie": { - "type": "string", - "description": null, - "create": true, - "update": true, - "required": true, - "readOnCreateOnly": false - }, - "maxLength": { - "type": "int", - "description": null, - "create": true, - "update": true, - "nullable": true, - "required": true, - "readOnCreateOnly": false - }, - "mode": { - "type": "enum", - "description": null, - "create": true, - "update": true, - "readOnCreateOnly": false, - "options": [ - "path_parameters", - "query_string" - ] - }, - "name": { - "type": "string", - "description": null, - "create": true, - "update": true, - "readOnCreateOnly": false - }, - "prefix": { - "type": "boolean", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false - }, - "requestLearn": { - "type": "boolean", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false - }, - "timeout": { - "type": "int", - "description": null, - "create": true, - "update": true, - "nullable": true, - "required": true, - "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "POST" - ], - "resourceMethods": [ - "GET", - "PUT" - ] - }, - { - "id": "loadBalancerConfig", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/loadbalancerconfig", - "collection": "http://localhost:8082/v1/loadbalancerconfigs" - }, - "actions": {}, - "pluralName": "loadBalancerConfigs", - "resourceFields": { - "lbCookieStickinessPolicy": { - "type": "loadBalancerCookieStickinessPolicy", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false - }, - "haproxyConfig": { - "type": "haproxyConfig", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "GET", - "POST" ], - "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] + "baseType": "schema" }, { "id": "loadBalancerCookieStickinessPolicy", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/loadbalancercookiestickinesspolicy" + "self": "http://localhost:8080/v2-beta/schemas/loadbalancercookiestickinesspolicy" }, "actions": {}, "pluralName": "loadBalancerCookieStickinessPolicys", @@ -17170,21 +19850,26 @@ }, "mode": { "type": "enum", + "transform": "", "description": null, "create": true, "update": true, + "nullable": true, "readOnCreateOnly": false, "options": [ "rewrite", "insert", "prefix" - ] + ], + "default": "insert" }, "name": { "type": "string", + "transform": "", "description": null, "create": true, "update": true, + "nullable": true, "readOnCreateOnly": false }, "nocache": { @@ -17209,20 +19894,18 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "POST" - ], + "collectionMethods": [], "resourceMethods": [ - "GET", - "PUT" - ] + "GET" + ], + "baseType": "schema" }, { "id": "loadBalancerService", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/loadbalancerservice", - "collection": "http://localhost:8082/v1/loadbalancerservices" + "self": "http://localhost:8080/v2-beta/schemas/loadbalancerservice", + "collection": "http://localhost:8080/v2-beta/loadbalancerservices" }, "actions": {}, "pluralName": "loadBalancerServices", @@ -17278,19 +19961,10 @@ "readOnCreateOnly": false, "maxLength": 1024 }, - "environmentId": { - "type": "reference[environment]", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, "externalId": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, @@ -17321,6 +19995,14 @@ "nullable": true, "readOnCreateOnly": false }, + "instanceIds": { + "type": "array[reference[instance]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "kind": { "type": "string", "description": null, @@ -17334,6 +20016,24 @@ "type": "launchConfig", "description": null, "create": true, + "update": true, + "nullable": true, + "required": true, + "readOnCreateOnly": false + }, + "lbConfig": { + "type": "lbConfig", + "description": null, + "create": true, + "update": true, + "nullable": true, + "required": true, + "readOnCreateOnly": false + }, + "linkedServices": { + "type": "map[reference[service]]", + "description": null, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false @@ -17361,8 +20061,8 @@ "publicEndpoints": { "type": "array[publicEndpoint]", "description": null, - "create": false, - "update": false, + "create": true, + "update": true, "nullable": true, "readOnCreateOnly": false }, @@ -17388,7 +20088,7 @@ "type": "boolean", "description": null, "create": true, - "update": false, + "update": true, "nullable": true, "readOnCreateOnly": false }, @@ -17398,6 +20098,7 @@ "create": true, "update": true, "readOnCreateOnly": false, + "min": 0, "default": 1 }, "scalePolicy": { @@ -17417,6 +20118,15 @@ "readOnCreateOnly": false, "maxLength": 4096 }, + "stackId": { + "type": "reference[stack]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "startOnCreate": { "type": "boolean", "description": null, @@ -17436,9 +20146,7 @@ "options": [ "activating", "active", - "canceled-rollback", "canceled-upgrade", - "canceling-rollback", "canceling-upgrade", "deactivating", "finishing-upgrade", @@ -17455,6 +20163,15 @@ "upgrading" ] }, + "system": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255, + "default": false + }, "transitioning": { "type": "enum", "description": null, @@ -17508,30 +20225,6 @@ "nullable": true, "readOnCreateOnly": false, "maxLength": 255 - }, - "loadBalancerConfig": { - "type": "loadBalancerConfig", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false - }, - "certificateIds": { - "type": "array[reference[certificate]]", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false - }, - "defaultCertificateId": { - "type": "reference[certificate]", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false } }, "collectionFilters": { @@ -17578,14 +20271,6 @@ "notnull" ] }, - "environmentId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, "externalId": { "modifiers": [ "eq", @@ -17688,6 +20373,22 @@ "notnull" ] }, + "skip": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "state": { "modifiers": [ "eq", @@ -17696,6 +20397,14 @@ "notnull" ] }, + "system": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "uuid": { "modifiers": [ "eq", @@ -17721,13 +20430,15 @@ }, "includeableLinks": [ "consumedbyservices", - "environment", + "stack", "instances", + "storageDrivers", "consumedservices", - "configitemstatuses", - "serviceexposemaps", - "dynamicschemas", - "account" + "configItemStatuses", + "serviceExposeMaps", + "networkDrivers", + "account", + "serviceLogs" ], "resourceActions": { "rollback": { @@ -17758,12 +20469,12 @@ "input": null, "output": "service" }, - "cancelrollback": { - "input": null, + "removeservicelink": { + "input": "addRemoveServiceLinkInput", "output": "service" }, - "removeservicelink": { - "input": "addRemoveLoadBalancerServiceLinkInput", + "continueupgrade": { + "input": null, "output": "service" }, "activate": { @@ -17771,7 +20482,7 @@ "output": "service" }, "addservicelink": { - "input": "addRemoveLoadBalancerServiceLinkInput", + "input": "addRemoveServiceLinkInput", "output": "service" }, "create": { @@ -17783,73 +20494,26 @@ "output": "service" }, "setservicelinks": { - "input": "setLoadBalancerServiceLinksInput", + "input": "setServiceLinksInput", "output": "service" } }, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" - ], - "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] - }, - { - "id": "loadBalancerServiceLink", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/loadbalancerservicelink" - }, - "actions": {}, - "pluralName": "loadBalancerServiceLinks", - "resourceFields": { - "serviceId": { - "type": "reference[service]", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false - }, - "uuid": { - "type": "string", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false - }, - "ports": { - "type": "array[string]", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "POST" + "GET" ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "localAuthConfig", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/localauthconfig", - "collection": "http://localhost:8082/v1/localauthconfigs" + "self": "http://localhost:8080/v2-beta/schemas/localauthconfig", + "collection": "http://localhost:8080/v2-beta/localauthconfigs" }, "actions": {}, "pluralName": "localAuthConfigs", @@ -17913,13 +20577,14 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "logConfig", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/logconfig" + "self": "http://localhost:8080/v2-beta/schemas/logconfig" }, "actions": {}, "pluralName": "logConfigs", @@ -17948,19 +20613,18 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "POST" - ], + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "machine", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/machine", - "collection": "http://localhost:8082/v1/machines" + "self": "http://localhost:8080/v2-beta/schemas/machine", + "collection": "http://localhost:8080/v2-beta/machines" }, "actions": {}, "pluralName": "machines", @@ -18007,8 +20671,7 @@ "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 + "readOnCreateOnly": false }, "externalId": { "type": "string", @@ -18040,11 +20703,9 @@ "type": "string", "description": null, "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "minLength": 1, - "maxLength": 255 + "update": true, + "nullable": true, + "readOnCreateOnly": false }, "removeTime": { "type": "date", @@ -18084,6 +20745,15 @@ "updating" ] }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, "transitioning": { "type": "enum", "description": null, @@ -18112,19 +20782,18 @@ "nullable": true, "readOnCreateOnly": false }, - "uuid": { - "type": "string", + "amazonec2Config": { + "type": "amazonec2Config", "description": null, "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 + "readOnCreateOnly": false }, "authCertificateAuthority": { "type": "string", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false @@ -18132,55 +20801,71 @@ "authKey": { "type": "string", "description": null, - "create": true, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "azureConfig": { + "type": "azureConfig", + "description": null, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "extractedConfig": { + "digitaloceanConfig": { + "type": "digitaloceanConfig", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "dockerVersion": { "type": "string", "description": null, "create": false, - "update": true, + "update": false, "nullable": true, "readOnCreateOnly": false }, - "labels": { + "engineEnv": { "type": "map[string]", "description": null, - "create": true, - "update": true, + "create": false, + "update": false, "nullable": true, "readOnCreateOnly": false }, - "engineInstallUrl": { - "type": "string", + "engineInsecureRegistry": { + "type": "array[string]", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "dockerVersion": { + "engineInstallUrl": { "type": "string", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "engineOpt": { + "engineLabel": { "type": "map[string]", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "engineInsecureRegistry": { - "type": "array[string]", + "engineOpt": { + "type": "map[string]", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false @@ -18188,31 +20873,39 @@ "engineRegistryMirror": { "type": "array[string]", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "engineLabel": { - "type": "map[string]", + "engineStorageDriver": { + "type": "string", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "engineStorageDriver": { - "type": "string", + "hostTemplateId": { + "type": "reference[hostTemplate]", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "engineEnv": { + "labels": { "type": "map[string]", "description": null, - "create": true, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "packetConfig": { + "type": "packetConfig", + "description": null, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false @@ -18387,21 +21080,19 @@ "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { "id": "machineDriver", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/machinedriver", - "collection": "http://localhost:8082/v1/machinedrivers" + "self": "http://localhost:8080/v2-beta/schemas/machinedriver", + "collection": "http://localhost:8080/v2-beta/machinedrivers" }, "actions": {}, "pluralName": "machineDrivers", @@ -18453,8 +21144,8 @@ "name": { "type": "string", "description": null, - "create": true, - "update": true, + "create": false, + "update": false, "nullable": true, "readOnCreateOnly": false, "maxLength": 255 @@ -18548,7 +21239,8 @@ "type": "string", "description": null, "create": true, - "update": false, + "update": true, + "nullable": true, "readOnCreateOnly": false }, "builtin": { @@ -18723,6 +21415,10 @@ "input": null, "output": "machineDriver" }, + "create": { + "input": null, + "output": "machineDriver" + }, "update": { "input": null, "output": "machineDriver" @@ -18750,14 +21446,15 @@ "GET", "PUT", "DELETE" - ] + ], + "baseType": "schema" }, { "id": "mount", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/mount", - "collection": "http://localhost:8082/v1/mounts" + "self": "http://localhost:8080/v2-beta/schemas/mount", + "collection": "http://localhost:8080/v2-beta/mounts" }, "actions": {}, "pluralName": "mounts", @@ -19107,14 +21804,73 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" + }, + { + "id": "mountEntry", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/mountentry" + }, + "actions": {}, + "pluralName": "mountEntrys", + "resourceFields": { + "instanceId": { + "type": "reference[instance]", + "transform": "", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, + "instanceName": { + "type": "string", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, + "path": { + "type": "string", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, + "volumeId": { + "type": "reference[volume]", + "transform": "", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, + "volumeName": { + "type": "string", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" }, { "id": "network", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/network", - "collection": "http://localhost:8082/v1/networks" + "self": "http://localhost:8080/v2-beta/schemas/network", + "collection": "http://localhost:8080/v2-beta/networks" }, "actions": {}, "pluralName": "networks", @@ -19181,6 +21937,15 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "networkDriverId": { + "type": "reference[networkDriver]", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "removeTime": { "type": "date", "description": null, @@ -19217,7 +21982,6 @@ "removed", "removing", "requested", - "restoring", "updating-active", "updating-inactive" ] @@ -19258,6 +22022,61 @@ "update": false, "nullable": true, "readOnCreateOnly": false + }, + "dns": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "dnsSearch": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "metadata": { + "type": "map[json]", + "description": null, + "create": true, + "update": true, + "readOnCreateOnly": false + }, + "subnets": { + "type": "array[subnet]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "hostPorts": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "defaultPolicyAction": { + "type": "enum", + "description": null, + "create": true, + "update": true, + "readOnCreateOnly": false, + "options": [ + "allow", + "deny" + ], + "default": "allow" + }, + "policy": { + "type": "array[networkPolicyRule]", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false } }, "collectionFilters": { @@ -19345,6 +22164,14 @@ "notnull" ] }, + "networkDriverId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "removeTime": { "modifiers": [ "eq", @@ -19390,14 +22217,12 @@ } }, "includeableLinks": [ - "ipaddresses", + "ipAddresses", + "networkDriver", + "subnets", "account" ], "resourceActions": { - "restore": { - "input": null, - "output": "network" - }, "activate": { "input": null, "output": "network" @@ -19430,307 +22255,23 @@ ], "resourceMethods": [ "GET" - ] - }, - { - "id": "nfsConfig", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/nfsconfig" - }, - "actions": {}, - "pluralName": "nfsConfigs", - "resourceFields": { - "server": { - "type": "string", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false - }, - "share": { - "type": "string", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false - }, - "mountOptions": { - "type": "string", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "openldapconfig", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/openldapconfig", - "collection": "http://localhost:8082/v1/openldapconfigs" - }, - "actions": {}, - "pluralName": "openldapconfigs", - "resourceFields": { - "accessMode": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "default": "unrestricted" - }, - "connectionTimeout": { - "type": "int", - "transform": "", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "default": 1000 - }, - "domain": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "minLength": 1 - }, - "enabled": { - "type": "boolean", - "transform": "", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "groupMemberMappingAttribute": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "default": "memberUid" - }, - "groupNameField": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "default": "cn" - }, - "groupObjectClass": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "default": "posixGroup" - }, - "groupSearchField": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "default": "cn" - }, - "loginDomain": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "name": { - "type": "string", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false - }, - "port": { - "type": "int", - "transform": "", - "description": null, - "create": true, - "update": false, - "nullable": true, - "required": true, - "readOnCreateOnly": false, - "default": 389 - }, - "server": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "minLength": 1 - }, - "serviceAccountPassword": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "nullable": true, - "required": true, - "readOnCreateOnly": true, - "minLength": 1 - }, - "serviceAccountUsername": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "nullable": true, - "required": true, - "readOnCreateOnly": false, - "minLength": 1 - }, - "tls": { - "type": "boolean", - "transform": "", - "description": null, - "create": true, - "update": false, - "nullable": true, - "required": true, - "readOnCreateOnly": false - }, - "userDisabledBitMask": { - "type": "int", - "transform": "", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "userEnabledAttribute": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "userLoginField": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "default": "uid" - }, - "userMemberAttribute": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "default": "gidNumber" - }, - "userNameField": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "default": "givenName" - }, - "userObjectClass": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "default": "inetOrgPerson" - }, - "userSearchField": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "default": "uid" - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "GET", - "POST" ], - "resourceMethods": [ - "GET", - "PUT" - ] + "baseType": "schema" }, { - "id": "password", + "id": "networkDriver", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/password", - "collection": "http://localhost:8082/v1/passwords" + "self": "http://localhost:8080/v2-beta/schemas/networkdriver", + "collection": "http://localhost:8080/v2-beta/networkdrivers" }, "actions": {}, - "pluralName": "passwords", + "pluralName": "networkDrivers", "resourceFields": { "accountId": { "type": "reference[account]", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, @@ -19789,15 +22330,6 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "publicValue": { - "type": "string", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 4096 - }, "removeTime": { "type": "date", "description": null, @@ -19816,15 +22348,14 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "secretValue": { - "type": "password", - "transform": "hash", + "serviceId": { + "type": "reference[service]", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, - "readOnCreateOnly": true, - "maxLength": 4096 + "readOnCreateOnly": false, + "maxLength": 255 }, "state": { "type": "enum", @@ -19836,18 +22367,24 @@ "options": [ "activating", "active", + "creating", "deactivating", "inactive", - "purged", - "purging", - "registering", "removed", "removing", "requested", - "updating-active", - "updating-inactive" + "updating" ] }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, "transitioning": { "type": "enum", "description": null, @@ -19876,14 +22413,26 @@ "nullable": true, "readOnCreateOnly": false }, - "uuid": { - "type": "string", + "defaultNetwork": { + "type": "defaultNetwork", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 + "readOnCreateOnly": false + }, + "cniConfig": { + "type": "map[json]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "networkMetadata": { + "type": "map[json]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false } }, "collectionFilters": { @@ -19952,25 +22501,6 @@ "notnull" ] }, - "publicValue": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "registryId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, "removeTime": { "modifiers": [ "eq", @@ -19995,13 +22525,10 @@ "notnull" ] }, - "secretValue": { + "serviceId": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", "null", "notnull" ] @@ -20027,61 +22554,51 @@ } }, "includeableLinks": [ - "images", - "instances", + "service", + "networks", "account" ], "resourceActions": { "activate": { "input": null, - "output": "credential" + "output": "networkDriver" }, "create": { "input": null, - "output": "credential" + "output": "networkDriver" }, "update": { "input": null, - "output": "credential" - }, - "purge": { - "input": null, - "output": "credential" + "output": "networkDriver" }, "remove": { "input": null, - "output": "credential" + "output": "networkDriver" }, "deactivate": { "input": null, - "output": "credential" - }, - "changesecret": { - "input": "changeSecretInput", - "output": "changeSecretInput" + "output": "networkDriver" } }, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { - "id": "physicalHost", + "id": "networkDriverService", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/physicalhost", - "collection": "http://localhost:8082/v1/physicalhosts" + "self": "http://localhost:8080/v2-beta/schemas/networkdriverservice", + "collection": "http://localhost:8080/v2-beta/networkdriverservices" }, "actions": {}, - "pluralName": "physicalHosts", + "pluralName": "networkDriverServices", "resourceFields": { "accountId": { "type": "reference[account]", @@ -20092,6 +22609,23 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "assignServiceIpAddress": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": false + }, + "createIndex": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "created": { "type": "date", "description": null, @@ -20101,6 +22635,13 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "currentScale": { + "type": "int", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, "data": { "type": "map[json]", "description": null, @@ -20119,16 +22660,24 @@ "readOnCreateOnly": false, "maxLength": 1024 }, - "driver": { + "externalId": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 128 + "maxLength": 255 }, - "externalId": { + "fqdn": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthState": { "type": "string", "description": null, "create": false, @@ -20145,6 +22694,14 @@ "nullable": true, "readOnCreateOnly": false }, + "instanceIds": { + "type": "array[reference[instance]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "kind": { "type": "string", "description": null, @@ -20154,278 +22711,60 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "name": { - "type": "string", + "launchConfig": { + "type": "launchConfig", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "lbConfig": { + "type": "lbTargetConfig", "description": null, "create": true, "update": true, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "removeTime": { - "type": "date", + "linkedServices": { + "type": "map[reference[service]]", "description": null, "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "removed": { - "type": "date", + "metadata": { + "type": "map[json]", "description": null, - "create": false, - "update": false, + "create": true, + "update": true, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "state": { - "type": "enum", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false, - "maxLength": 128, - "options": [ - "active", - "bootstrapping", - "created", - "creating", - "error", - "erroring", - "removed", - "removing", - "requested", - "updating" - ] + "readOnCreateOnly": false }, - "uuid": { + "name": { "type": "string", + "validChars": "a-zA-Z0-9-", "description": null, - "create": false, - "update": false, + "create": true, + "update": true, "nullable": true, + "required": true, "readOnCreateOnly": false, - "maxLength": 128 - }, - "transitioning": { - "type": "enum", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false, - "options": [ - "yes", - "no", - "error" - ] - }, - "transitioningMessage": { - "type": "string", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false + "minLength": 1, + "maxLength": 63 }, - "transitioningProgress": { - "type": "int", + "publicEndpoints": { + "type": "array[publicEndpoint]", "description": null, - "create": false, - "update": false, + "create": true, + "update": true, "nullable": true, "readOnCreateOnly": false - } - }, - "collectionFilters": { - "accountId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "agentId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "created": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "description": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "driver": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "externalId": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "id": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "kind": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "name": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] }, "removeTime": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "removed": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "state": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "uuid": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - } - }, - "includeableLinks": [ - "hosts", - "account" - ], - "resourceActions": { - "create": { - "input": null, - "output": "physicalHost" - }, - "update": { - "input": null, - "output": "physicalHost" - }, - "bootstrap": { - "input": null, - "output": "physicalHost" - }, - "error": { - "input": null, - "output": "physicalHost" - }, - "remove": { - "input": null, - "output": "physicalHost" - } - }, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "GET" - ], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "port", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/port", - "collection": "http://localhost:8082/v1/ports" - }, - "actions": {}, - "pluralName": "ports", - "resourceFields": { - "accountId": { - "type": "reference[account]", + "type": "date", "description": null, "create": false, "update": false, @@ -20433,7 +22772,7 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "created": { + "removed": { "type": "date", "description": null, "create": false, @@ -20442,121 +22781,73 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "data": { - "type": "map[json]", + "retainIp": { + "type": "boolean", "description": null, - "create": false, - "update": false, + "create": true, + "update": true, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 16777215 + "readOnCreateOnly": false }, - "description": { - "type": "string", + "scale": { + "type": "int", "description": null, "create": true, "update": true, - "nullable": true, "readOnCreateOnly": false, - "maxLength": 1024 + "min": 0, + "default": 1 }, - "id": { - "type": "int", + "scalePolicy": { + "type": "scalePolicy", "description": null, - "create": false, - "update": false, + "create": true, + "update": true, "nullable": true, "readOnCreateOnly": false }, - "instanceId": { - "type": "reference[instance]", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "kind": { - "type": "string", + "secondaryLaunchConfigs": { + "type": "array[secondaryLaunchConfig]", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "name": { + "selectorContainer": { "type": "string", "description": null, "create": true, "update": true, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 - }, - "privateIpAddressId": { - "type": "reference[ipAddress]", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "privatePort": { - "type": "int", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "maxLength": 4096 }, - "protocol": { + "selectorLink": { "type": "string", "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 - }, - "publicIpAddressId": { - "type": "reference[ipAddress]", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "publicPort": { - "type": "int", - "description": null, - "create": false, + "create": true, "update": true, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 + "maxLength": 4096 }, - "removeTime": { - "type": "date", + "stackId": { + "type": "reference[stack]", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, - "removed": { - "type": "date", + "startOnCreate": { + "type": "boolean", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 + "default": false }, "state": { "type": "enum", @@ -20568,27 +22859,31 @@ "options": [ "activating", "active", + "canceled-upgrade", + "canceling-upgrade", "deactivating", + "finishing-upgrade", "inactive", - "purged", - "purging", "registering", "removed", "removing", "requested", - "restoring", + "restarting", + "rolling-back", "updating-active", - "updating-inactive" + "updating-inactive", + "upgraded", + "upgrading" ] }, - "uuid": { - "type": "string", + "system": { + "type": "boolean", "description": null, "create": false, "update": false, - "nullable": true, "readOnCreateOnly": false, - "maxLength": 128 + "maxLength": 255, + "default": false }, "transitioning": { "type": "enum", @@ -20618,12 +22913,38 @@ "nullable": true, "readOnCreateOnly": false }, - "bindAddress": { + "upgrade": { + "type": "serviceUpgrade", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "uuid": { "type": "string", "description": null, "create": false, "update": false, "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "vip": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "networkDriver": { + "type": "networkDriver", + "description": null, + "create": true, + "update": true, + "required": true, "readOnCreateOnly": false } }, @@ -20636,6 +22957,18 @@ "notnull" ] }, + "createIndex": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, "created": { "modifiers": [ "eq", @@ -20659,22 +22992,36 @@ "notnull" ] }, - "id": { + "externalId": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", + "prefix", + "like", + "notlike", "null", "notnull" ] }, - "instanceId": { + "healthState": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { "modifiers": [ "eq", "ne", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] @@ -20701,15 +23048,19 @@ "notnull" ] }, - "privateIpAddressId": { + "removeTime": { "modifiers": [ "eq", "ne", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "privatePort": { + "removed": { "modifiers": [ "eq", "ne", @@ -20721,7 +23072,7 @@ "notnull" ] }, - "protocol": { + "selectorContainer": { "modifiers": [ "eq", "ne", @@ -20732,51 +23083,42 @@ "notnull" ] }, - "publicIpAddressId": { + "selectorLink": { "modifiers": [ "eq", "ne", + "prefix", + "like", + "notlike", "null", "notnull" ] }, - "publicPort": { + "skip": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", "null", "notnull" ] }, - "removeTime": { + "stackId": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", "null", "notnull" ] }, - "removed": { + "state": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", "null", "notnull" ] }, - "state": { + "system": { "modifiers": [ "eq", "ne", @@ -20794,42 +23136,87 @@ "null", "notnull" ] + }, + "vip": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] } }, "includeableLinks": [ - "privateipaddress", - "publicipaddress", - "instance", - "account" + "consumedbyservices", + "stack", + "instances", + "storageDrivers", + "consumedservices", + "configItemStatuses", + "serviceExposeMaps", + "networkDrivers", + "account", + "serviceLogs" ], "resourceActions": { - "restore": { + "rollback": { "input": null, - "output": "port" + "output": "service" }, - "activate": { - "input": null, - "output": "port" + "upgrade": { + "input": "serviceUpgrade", + "output": "service" }, - "create": { - "input": null, - "output": "port" + "restart": { + "input": "serviceRestart", + "output": "service" }, "update": { "input": null, - "output": "port" - }, - "purge": { - "input": null, - "output": "port" + "output": "service" }, "remove": { "input": null, - "output": "port" + "output": "service" }, "deactivate": { "input": null, - "output": "port" + "output": "service" + }, + "finishupgrade": { + "input": null, + "output": "service" + }, + "removeservicelink": { + "input": "addRemoveServiceLinkInput", + "output": "service" + }, + "continueupgrade": { + "input": null, + "output": "service" + }, + "activate": { + "input": null, + "output": "service" + }, + "addservicelink": { + "input": "addRemoveServiceLinkInput", + "output": "service" + }, + "create": { + "input": null, + "output": "service" + }, + "cancelupgrade": { + "input": null, + "output": "service" + }, + "setservicelinks": { + "input": "setServiceLinksInput", + "output": "service" } }, "collectionActions": {}, @@ -20838,73 +23225,104 @@ "GET" ], "resourceMethods": [ - "GET", - "PUT" - ] + "GET" + ], + "baseType": "schema" }, { - "id": "processDefinition", + "id": "networkPolicyRule", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/processdefinition", - "collection": "http://localhost:8082/v1/processdefinitions" + "self": "http://localhost:8080/v2-beta/schemas/networkpolicyrule" }, "actions": {}, - "pluralName": "processDefinitions", + "pluralName": "networkPolicyRules", "resourceFields": { - "extensionBased": { - "type": "boolean", + "action": { + "type": "enum", "description": null, - "create": false, + "create": true, "update": false, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "options": [ + "allow", + "deny" + ] }, - "id": { - "type": "string", + "between": { + "type": "networkPolicyRuleBetween", "description": null, - "create": false, + "create": true, "update": false, "readOnCreateOnly": false }, - "name": { - "type": "string", + "from": { + "type": "networkPolicyRuleMember", "description": null, "create": true, - "update": true, + "update": false, "readOnCreateOnly": false }, - "postProcessListeners": { - "type": "extensionPoint", + "ports": { + "type": "array[string]", "description": null, - "create": false, + "create": true, "update": false, "readOnCreateOnly": false }, - "preProcessListeners": { - "type": "extensionPoint", + "to": { + "type": "networkPolicyRuleMember", "description": null, - "create": false, + "create": true, "update": false, "readOnCreateOnly": false }, - "processHandlers": { - "type": "extensionPoint", + "within": { + "type": "enum", "description": null, - "create": false, + "create": true, "update": false, - "readOnCreateOnly": false - }, - "resourceType": { + "readOnCreateOnly": false, + "options": [ + "stack", + "service", + "linked" + ] + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "POST" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "networkPolicyRuleBetween", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/networkpolicyrulebetween" + }, + "actions": {}, + "pluralName": "networkPolicyRuleBetweens", + "resourceFields": { + "groupBy": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, "readOnCreateOnly": false }, - "stateTransitions": { - "type": "array[stateTransition]", + "selector": { + "type": "string", "description": null, - "create": false, + "create": true, "update": false, "readOnCreateOnly": false } @@ -20915,412 +23333,478 @@ "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET" + "POST" ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "processExecution", + "id": "networkPolicyRuleMember", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/processexecution", - "collection": "http://localhost:8082/v1/processexecutions" + "self": "http://localhost:8080/v2-beta/schemas/networkpolicyrulemember" }, "actions": {}, - "pluralName": "processExecutions", + "pluralName": "networkPolicyRuleMembers", "resourceFields": { - "created": { - "type": "date", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "id": { - "type": "int", + "selector": { + "type": "string", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, "readOnCreateOnly": false - }, - "log": { - "type": "map[json]", + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "POST" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "networkPolicyRuleWithin", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/networkpolicyrulewithin", + "collection": "http://localhost:8080/v2-beta/networkpolicyrulewithins" + }, + "actions": {}, + "pluralName": "networkPolicyRuleWithins", + "resourceFields": {}, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET", + "POST" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "nfsConfig", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/nfsconfig" + }, + "actions": {}, + "pluralName": "nfsConfigs", + "resourceFields": { + "server": { + "type": "string", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 16777215 + "required": true, + "readOnCreateOnly": false }, - "processInstanceId": { - "type": "reference[processInstance]", + "share": { + "type": "string", "description": null, - "create": false, + "create": true, "update": false, - "readOnCreateOnly": false, - "maxLength": 255 + "required": true, + "readOnCreateOnly": false }, - "uuid": { + "mountOptions": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 - } - }, - "collectionFilters": { - "created": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "id": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "processInstanceId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "uuid": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] + "readOnCreateOnly": false } }, - "includeableLinks": [ - "processinstance" - ], + "collectionFilters": {}, + "includeableLinks": [], "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "GET" - ], + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "processInstance", + "id": "openldapconfig", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/processinstance", - "collection": "http://localhost:8082/v1/processinstances" + "self": "http://localhost:8080/v2-beta/schemas/openldapconfig", + "collection": "http://localhost:8080/v2-beta/openldapconfigs" }, "actions": {}, - "pluralName": "processInstances", + "pluralName": "openldapconfigs", "resourceFields": { - "data": { - "type": "map[json]", + "accessMode": { + "type": "string", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, + "required": true, "readOnCreateOnly": false, - "maxLength": 16777215 + "default": "unrestricted" }, - "endTime": { - "type": "date", + "allowedIdentities": { + "type": "array[identity]", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, + "readOnCreateOnly": false + }, + "connectionTimeout": { + "type": "int", + "transform": "", + "description": null, + "create": true, + "update": false, + "required": true, "readOnCreateOnly": false, - "maxLength": 255 + "default": 1000 }, - "exitReason": { + "domain": { "type": "string", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, + "required": true, "readOnCreateOnly": false, - "maxLength": 128 + "minLength": 1 }, - "id": { - "type": "int", + "enabled": { + "type": "boolean", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false }, - "phase": { + "groupDNField": { "type": "string", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, "readOnCreateOnly": false, - "maxLength": 128 + "default": "entryDN" }, - "priority": { - "type": "int", + "groupMemberMappingAttribute": { + "type": "string", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, + "required": true, "readOnCreateOnly": false, - "maxLength": 255 + "default": "memberUid" }, - "processName": { + "groupMemberUserAttribute": { "type": "string", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, "readOnCreateOnly": false, - "maxLength": 128 + "default": "entryDN" }, - "resourceId": { + "groupNameField": { "type": "string", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, + "required": true, "readOnCreateOnly": false, - "maxLength": 128 + "default": "cn" }, - "resourceType": { + "groupObjectClass": { "type": "string", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, + "required": true, "readOnCreateOnly": false, - "maxLength": 128 + "default": "posixGroup" }, - "result": { + "groupSearchDomain": { "type": "string", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, + "readOnCreateOnly": false + }, + "groupSearchField": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "required": true, "readOnCreateOnly": false, - "maxLength": 128 + "default": "cn" }, - "runningProcessServerId": { + "loginDomain": { "type": "string", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 + "readOnCreateOnly": false }, - "startProcessServerId": { + "name": { "type": "string", "description": null, "create": false, "update": false, + "readOnCreateOnly": false + }, + "port": { + "type": "int", + "transform": "", + "description": null, + "create": true, + "update": false, "nullable": true, + "required": true, "readOnCreateOnly": false, - "maxLength": 128 + "default": 389 }, - "startTime": { - "type": "date", + "server": { + "type": "string", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, + "required": true, "readOnCreateOnly": false, - "maxLength": 255 - } - }, - "collectionFilters": { - "endTime": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] + "minLength": 1 }, - "exitReason": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] + "serviceAccountPassword": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "required": true, + "readOnCreateOnly": true, + "minLength": 1 }, - "id": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] + "serviceAccountUsername": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "required": true, + "readOnCreateOnly": false, + "minLength": 1 }, - "phase": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] + "tls": { + "type": "boolean", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "required": true, + "readOnCreateOnly": false }, - "priority": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] + "userDisabledBitMask": { + "type": "int", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false }, - "processName": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] + "userEnabledAttribute": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false }, - "resourceId": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "resourceType": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] + "userLoginField": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false, + "default": "uid" }, - "result": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] + "userMemberAttribute": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false, + "default": "memberOf" }, - "runningProcessServerId": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] + "userNameField": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false, + "default": "givenName" }, - "startProcessServerId": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] + "userObjectClass": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false, + "default": "inetOrgPerson" }, - "startTime": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] + "userSearchField": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false, + "default": "uid" } }, - "includeableLinks": [ - "processexecutions" + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET", + "POST" + ], + "resourceMethods": [ + "GET", + "PUT" ], + "baseType": "schema" + }, + { + "id": "packetConfig", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/packetconfig" + }, + "actions": {}, + "pluralName": "packetConfigs", + "resourceFields": { + "apiKey": { + "type": "string", + "description": "Packet api key", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + }, + "billingCycle": { + "type": "string", + "description": "Packet billing cycle, hourly or monthly", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "hourly" + }, + "facilityCode": { + "type": "string", + "description": "Packet facility code", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "ewr1" + }, + "os": { + "type": "string", + "description": "Packet OS, possible values are: ubuntu_14_04", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "ubuntu_14_04" + }, + "plan": { + "type": "string", + "description": "Packet Server Plan", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "baremetal_1" + }, + "projectId": { + "type": "string", + "description": "Packet Project Id", + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": "" + } + }, + "collectionFilters": {}, + "includeableLinks": [], "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET" + "POST" ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "project", + "id": "password", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/project", - "collection": "http://localhost:8082/v1/projects" + "self": "http://localhost:8080/v2-beta/schemas/password", + "collection": "http://localhost:8080/v2-beta/passwords" }, "actions": {}, - "pluralName": "projects", + "pluralName": "passwords", "resourceFields": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "created": { "type": "date", "description": null, @@ -21343,7 +23827,7 @@ "type": "string", "description": null, "create": true, - "update": false, + "update": true, "nullable": true, "readOnCreateOnly": false, "maxLength": 1024 @@ -21363,18 +23847,26 @@ "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255, - "default": "user" + "maxLength": 255 }, "name": { "type": "string", "description": null, "create": true, - "update": false, + "update": true, "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, + "publicValue": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 4096 + }, "removeTime": { "type": "date", "description": null, @@ -21393,6 +23885,15 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "secretValue": { + "type": "password", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": true, + "maxLength": 4096 + }, "state": { "type": "enum", "description": null, @@ -21411,7 +23912,6 @@ "removed", "removing", "requested", - "restoring", "updating-active", "updating-inactive" ] @@ -21447,78 +23947,22 @@ "uuid": { "type": "string", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, "maxLength": 128 - }, - "allowSystemRole": { - "type": "boolean", - "description": null, - "create": true, - "update": true, - "readOnCreateOnly": false, - "default": false - }, - "members": { - "type": "array[projectMember]", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "swarm": { - "type": "boolean", - "description": null, - "create": true, - "update": true, - "readOnCreateOnly": false, - "default": false - }, - "kubernetes": { - "type": "boolean", - "description": null, - "create": true, - "update": true, - "readOnCreateOnly": false, - "default": false - }, - "mesos": { - "type": "boolean", - "description": null, - "create": true, - "update": true, - "readOnCreateOnly": false, - "default": false - }, - "virtualMachine": { - "type": "boolean", - "description": null, - "create": true, - "update": true, - "readOnCreateOnly": false, - "default": false - }, - "publicDns": { - "type": "boolean", - "description": null, - "create": true, - "update": true, - "readOnCreateOnly": false, - "default": false - }, - "servicesPortRange": { - "type": "servicesPortRange", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false } }, "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "created": { "modifiers": [ "eq", @@ -21542,18 +23986,19 @@ "notnull" ] }, - "externalId": { + "id": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "externalIdType": { + "kind": { "modifiers": [ "eq", "ne", @@ -21564,19 +24009,18 @@ "notnull" ] }, - "id": { + "name": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", + "prefix", + "like", + "notlike", "null", "notnull" ] }, - "kind": { + "publicValue": { "modifiers": [ "eq", "ne", @@ -21587,13 +24031,10 @@ "notnull" ] }, - "name": { + "registryId": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", "null", "notnull" ] @@ -21622,6 +24063,17 @@ "notnull" ] }, + "secretValue": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, "state": { "modifiers": [ "eq", @@ -21643,73 +24095,38 @@ } }, "includeableLinks": [ - "projectmembers", - "auditlogs", - "credentials", - "environments", - "instances", - "serviceexposemaps", - "networks", - "ports", - "serviceconsumemaps", - "instancelinks", - "ipaddresses", - "storagepools", - "externalevents", "images", - "hosts", - "volumes", - "mounts", - "serviceevents", - "services", - "dynamicschemas", - "agents", - "labels", - "healthcheckinstancehostmaps", - "snapshots", - "certificates", - "backuptargets", - "configitemstatuses", - "physicalhosts", - "containerevents", - "backups" + "instances", + "account" ], "resourceActions": { - "restore": { - "input": null, - "output": "account" - }, "activate": { "input": null, - "output": "account" + "output": "credential" }, "create": { "input": null, - "output": "account" + "output": "credential" }, "update": { "input": null, - "output": "account" + "output": "credential" }, "purge": { "input": null, - "output": "account" + "output": "credential" }, "remove": { "input": null, - "output": "account" + "output": "credential" }, "deactivate": { "input": null, - "output": "account" - }, - "setmembers": { - "input": "setProjectMembersInput", - "output": "setProjectMembersInput" + "output": "credential" }, - "delete": { - "input": null, - "output": null + "changesecret": { + "input": "changeSecretInput", + "output": "changeSecretInput" } }, "collectionActions": {}, @@ -21719,19 +24136,31 @@ "POST" ], "resourceMethods": [ - "GET" - ] + "GET", + "PUT", + "DELETE" + ], + "baseType": "schema" }, { - "id": "projectMember", + "id": "physicalHost", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/projectmember", - "collection": "http://localhost:8082/v1/projectmembers" + "self": "http://localhost:8080/v2-beta/schemas/physicalhost", + "collection": "http://localhost:8080/v2-beta/physicalhosts" }, "actions": {}, - "pluralName": "projectMembers", + "pluralName": "physicalHosts", "resourceFields": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "created": { "type": "date", "description": null, @@ -21759,36 +24188,23 @@ "readOnCreateOnly": false, "maxLength": 1024 }, - "externalId": { + "driver": { "type": "string", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 + "maxLength": 128 }, - "externalIdType": { - "type": "enum", + "externalId": { + "type": "string", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255, - "options": [ - "github_user", - "github_org", - "github_team", - "rancher_id", - "ldap_user", - "ldap_group", - "openldap_user", - "openldap_group", - "azuread_user", - "azuread_group" - ], - "default": "rancher_id" + "maxLength": 128 }, "id": { "type": "int", @@ -21810,20 +24226,12 @@ "name": { "type": "string", "description": null, - "create": false, - "update": false, + "create": true, + "update": true, "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, - "projectId": { - "type": "reference[project]", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false, - "maxLength": 255 - }, "removeTime": { "type": "date", "description": null, @@ -21842,22 +24250,6 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "role": { - "type": "enum", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255, - "options": [ - "member", - "owner", - "readonly", - "restricted" - ], - "default": "member" - }, "state": { "type": "enum", "description": null, @@ -21866,19 +24258,16 @@ "readOnCreateOnly": false, "maxLength": 128, "options": [ - "activating", "active", - "deactivating", - "inactive", - "purged", - "purging", - "registering", + "bootstrapping", + "created", + "creating", + "error", + "erroring", "removed", "removing", "requested", - "restoring", - "updating-active", - "updating-inactive" + "updating" ] }, "uuid": { @@ -21928,6 +24317,14 @@ "notnull" ] }, + "agentId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "created": { "modifiers": [ "eq", @@ -21951,7 +24348,7 @@ "notnull" ] }, - "externalId": { + "driver": { "modifiers": [ "eq", "ne", @@ -21962,7 +24359,7 @@ "notnull" ] }, - "externalIdType": { + "externalId": { "modifiers": [ "eq", "ne", @@ -22007,14 +24404,6 @@ "notnull" ] }, - "projectId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, "removeTime": { "modifiers": [ "eq", @@ -22039,17 +24428,6 @@ "notnull" ] }, - "role": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, "state": { "modifiers": [ "eq", @@ -22071,36 +24449,29 @@ } }, "includeableLinks": [ - "project" + "hosts", + "account" ], "resourceActions": { - "restore": { - "input": null, - "output": "projectMember" - }, - "activate": { - "input": null, - "output": "projectMember" - }, "create": { "input": null, - "output": "projectMember" + "output": "physicalHost" }, "update": { "input": null, - "output": "projectMember" + "output": "physicalHost" }, - "purge": { + "bootstrap": { "input": null, - "output": "projectMember" + "output": "physicalHost" }, - "remove": { + "error": { "input": null, - "output": "projectMember" + "output": "physicalHost" }, - "deactivate": { + "remove": { "input": null, - "output": "projectMember" + "output": "physicalHost" } }, "collectionActions": {}, @@ -22110,212 +24481,92 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "publicEndpoint", + "id": "port", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/publicendpoint" + "self": "http://localhost:8080/v2-beta/schemas/port", + "collection": "http://localhost:8080/v2-beta/ports" }, "actions": {}, - "pluralName": "publicEndpoints", + "pluralName": "ports", "resourceFields": { - "hostId": { - "type": "reference[host]", - "transform": "", + "accountId": { + "type": "reference[account]", "description": null, "create": false, "update": false, - "readOnCreateOnly": false + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 }, - "instanceId": { - "type": "reference[instance]", - "transform": "", + "created": { + "type": "date", "description": null, "create": false, "update": false, - "readOnCreateOnly": false + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 }, - "ipAddress": { - "type": "string", + "data": { + "type": "map[json]", "description": null, "create": false, "update": false, - "readOnCreateOnly": false - }, - "port": { - "type": "int", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "serviceId": { - "type": "reference[service]", - "transform": "", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "publish", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/publish" - }, - "actions": {}, - "pluralName": "publish", - "resourceFields": { - "data": { - "type": "map[json]", - "transform": "", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "id": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false - }, - "name": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false - }, - "previousIds": { - "type": "array[string]", - "transform": "", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false - }, - "publisher": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false - }, - "resourceId": { - "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 16777215 }, - "resourceType": { + "description": { "type": "string", - "transform": "", "description": null, "create": true, - "update": false, + "update": true, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 1024 }, - "time": { + "id": { "type": "int", - "transform": "", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "transitioning": { - "type": "string", - "transform": "", + "instanceId": { + "type": "reference[instance]", "description": null, - "create": true, + "create": false, "update": false, - "readOnCreateOnly": false + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 }, - "transitioningInternalMessage": { + "kind": { "type": "string", - "transform": "", "description": null, - "create": true, + "create": false, "update": false, - "readOnCreateOnly": false + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 }, - "transitioningMessage": { + "name": { "type": "string", - "transform": "", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false - }, - "transitioningProgress": { - "type": "int", - "transform": "", "description": null, "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "POST" - ], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "pullTask", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/pulltask", - "collection": "http://localhost:8082/v1/pulltasks" - }, - "actions": {}, - "pluralName": "pullTasks", - "resourceFields": { - "accountId": { - "type": "reference[account]", - "description": null, - "create": false, - "update": false, + "update": true, "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, - "created": { - "type": "date", + "privateIpAddressId": { + "type": "reference[ipAddress]", "description": null, "create": false, "update": false, @@ -22323,34 +24574,26 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "data": { - "type": "map[json]", + "privatePort": { + "type": "int", "description": null, "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 16777215 + "maxLength": 255 }, - "description": { + "protocol": { "type": "string", "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 1024 - }, - "id": { - "type": "int", - "description": null, "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 128 }, - "kind": { - "type": "string", + "publicIpAddressId": { + "type": "reference[ipAddress]", "description": null, "create": false, "update": false, @@ -22358,10 +24601,10 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "name": { - "type": "string", + "publicPort": { + "type": "int", "description": null, - "create": true, + "create": false, "update": true, "nullable": true, "readOnCreateOnly": false, @@ -22403,11 +24646,19 @@ "removed", "removing", "requested", - "restoring", "updating-active", "updating-inactive" ] }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, "transitioning": { "type": "enum", "description": null, @@ -22436,48 +24687,12 @@ "nullable": true, "readOnCreateOnly": false }, - "uuid": { + "bindAddress": { "type": "string", "description": null, "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 - }, - "image": { - "type": "string", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false - }, - "labels": { - "type": "map[string]", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false - }, - "mode": { - "type": "enum", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "options": [ - "all", - "cached" - ], - "default": "all" - }, - "status": { - "type": "map[string]", - "description": null, - "create": false, - "update": false, "readOnCreateOnly": false } }, @@ -22525,7 +24740,15 @@ "notnull" ] }, - "key": { + "instanceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "kind": { "modifiers": [ "eq", "ne", @@ -22536,7 +24759,7 @@ "notnull" ] }, - "kind": { + "name": { "modifiers": [ "eq", "ne", @@ -22547,7 +24770,27 @@ "notnull" ] }, - "name": { + "privateIpAddressId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "privatePort": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "protocol": { "modifiers": [ "eq", "ne", @@ -22558,6 +24801,26 @@ "notnull" ] }, + "publicIpAddressId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "publicPort": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, "removeTime": { "modifiers": [ "eq", @@ -22603,333 +24866,299 @@ } }, "includeableLinks": [ + "privateIpAddress", + "publicIpAddress", + "instance", "account" ], "resourceActions": { - "restore": { - "input": null, - "output": "genericObject" - }, "activate": { "input": null, - "output": "genericObject" + "output": "port" }, "create": { "input": null, - "output": "genericObject" + "output": "port" }, "update": { "input": null, - "output": "genericObject" + "output": "port" }, "purge": { "input": null, - "output": "genericObject" + "output": "port" }, "remove": { "input": null, - "output": "genericObject" + "output": "port" }, "deactivate": { "input": null, - "output": "genericObject" + "output": "port" } }, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "recreateOnQuorumStrategyConfig", + "id": "portRule", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/recreateonquorumstrategyconfig" + "self": "http://localhost:8080/v2-beta/schemas/portrule" }, "actions": {}, - "pluralName": "recreateOnQuorumStrategyConfigs", + "pluralName": "portRules", "resourceFields": { - "quorum": { - "type": "int", + "backendName": { + "type": "string", "transform": "", "description": null, "create": true, "update": false, "nullable": true, - "required": true, "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "POST" - ], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "register", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/register", - "collection": "http://localhost:8082/v1/register" - }, - "actions": {}, - "pluralName": "register", - "resourceFields": { - "accountId": { - "type": "reference[account]", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "created": { - "type": "date", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 }, - "data": { - "type": "map[json]", + "hostname": { + "type": "string", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 16777215 + "readOnCreateOnly": false }, - "description": { + "path": { "type": "string", + "transform": "", "description": null, "create": true, - "update": true, + "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 1024 + "readOnCreateOnly": false }, - "id": { + "priority": { "type": "int", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "min": 1 }, - "key": { - "type": "string", + "protocol": { + "type": "enum", + "transform": "", "description": null, "create": true, "update": false, - "nullable": true, - "required": true, "readOnCreateOnly": false, - "maxLength": 255 + "options": [ + "http", + "tcp", + "https", + "tls", + "sni", + "udp" + ], + "default": "http" }, - "kind": { + "selector": { "type": "string", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "name": { - "type": "string", + "serviceId": { + "type": "reference[service]", + "transform": "", "description": null, "create": true, - "update": true, + "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "removeTime": { - "type": "date", + "sourcePort": { + "type": "int", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, + "required": true, "readOnCreateOnly": false, - "maxLength": 255 + "min": 1, + "max": 65535 }, - "removed": { - "type": "date", + "targetPort": { + "type": "int", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 - }, - "state": { - "type": "enum", + "min": 1, + "max": 65535 + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "processDefinition", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/processdefinition", + "collection": "http://localhost:8080/v2-beta/processdefinitions" + }, + "actions": {}, + "pluralName": "processDefinitions", + "resourceFields": { + "extensionBased": { + "type": "boolean", "description": null, "create": false, "update": false, - "readOnCreateOnly": false, - "maxLength": 128, - "options": [ - "activating", - "active", - "deactivating", - "inactive", - "purged", - "purging", - "registering", - "removed", - "removing", - "requested", - "restoring", - "updating-active", - "updating-inactive" - ] + "readOnCreateOnly": false }, - "transitioning": { - "type": "enum", + "id": { + "type": "string", "description": null, "create": false, "update": false, - "readOnCreateOnly": false, - "options": [ - "yes", - "no", - "error" - ] + "readOnCreateOnly": false }, - "transitioningMessage": { + "name": { "type": "string", "description": null, - "create": false, - "update": false, - "nullable": true, + "create": true, + "update": true, "readOnCreateOnly": false }, - "transitioningProgress": { - "type": "int", + "postProcessListeners": { + "type": "extensionPoint", "description": null, "create": false, "update": false, - "nullable": true, "readOnCreateOnly": false }, - "uuid": { - "type": "string", + "preProcessListeners": { + "type": "extensionPoint", "description": null, "create": false, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 + "readOnCreateOnly": false }, - "accessKey": { - "type": "string", + "processHandlers": { + "type": "extensionPoint", "description": null, "create": false, "update": false, "readOnCreateOnly": false }, - "secretKey": { + "resourceType": { "type": "string", "description": null, "create": false, "update": false, "readOnCreateOnly": false - } - }, - "collectionFilters": { - "accountId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] }, + "stateTransitions": { + "type": "array[stateTransition]", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "processExecution", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/processexecution", + "collection": "http://localhost:8080/v2-beta/processexecutions" + }, + "actions": {}, + "pluralName": "processExecutions", + "resourceFields": { "created": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "description": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 }, "id": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "key": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false }, - "kind": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] + "log": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 }, - "name": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] + "processInstanceId": { + "type": "reference[processInstance]", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255 }, - "removeTime": { + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + } + }, + "collectionFilters": { + "created": { "modifiers": [ "eq", "ne", @@ -22941,7 +25170,7 @@ "notnull" ] }, - "removed": { + "id": { "modifiers": [ "eq", "ne", @@ -22953,7 +25182,7 @@ "notnull" ] }, - "state": { + "processInstanceId": { "modifiers": [ "eq", "ne", @@ -22971,82 +25200,35 @@ "null", "notnull" ] - }, - "token": { - "modifiers": [ - "eq" - ] } }, "includeableLinks": [ - "account" + "processInstance" ], - "resourceActions": { - "restore": { - "input": null, - "output": "genericObject" - }, - "activate": { - "input": null, - "output": "genericObject" - }, - "create": { - "input": null, - "output": "genericObject" - }, - "update": { - "input": null, - "output": "genericObject" - }, - "purge": { - "input": null, - "output": "genericObject" - }, - "remove": { - "input": null, - "output": "genericObject" - }, - "deactivate": { - "input": null, - "output": "genericObject" - }, - "stop": { - "input": "instanceStop", - "output": "instance" - } - }, + "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "registrationToken", + "id": "processInstance", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/registrationtoken", - "collection": "http://localhost:8082/v1/registrationtokens" + "self": "http://localhost:8080/v2-beta/schemas/processinstance", + "collection": "http://localhost:8080/v2-beta/processinstances" }, "actions": {}, - "pluralName": "registrationTokens", + "pluralName": "processInstances", "resourceFields": { "accountId": { "type": "reference[account]", "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "created": { - "type": "date", - "description": null, "create": false, "update": false, "nullable": true, @@ -23062,110 +25244,86 @@ "readOnCreateOnly": false, "maxLength": 16777215 }, - "description": { - "type": "string", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 1024 - }, - "id": { - "type": "int", + "endTime": { + "type": "date", "description": null, "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 255 }, - "kind": { - "type": "string", + "executionCount": { + "type": "int", "description": null, "create": false, "update": false, - "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, - "name": { + "exitReason": { "type": "string", "description": null, - "create": true, - "update": true, + "create": false, + "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 + "maxLength": 128 }, - "removeTime": { - "type": "date", + "id": { + "type": "int", "description": null, "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "removed": { - "type": "date", + "phase": { + "type": "string", "description": null, "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 + "maxLength": 128 }, - "state": { - "type": "enum", + "priority": { + "type": "int", "description": null, "create": false, "update": false, + "nullable": true, "readOnCreateOnly": false, - "maxLength": 128, - "options": [ - "activating", - "active", - "deactivating", - "inactive", - "purged", - "purging", - "registering", - "removed", - "removing", - "requested", - "updating-active", - "updating-inactive" - ] + "maxLength": 255 }, - "transitioning": { - "type": "enum", + "processName": { + "type": "string", "description": null, "create": false, "update": false, + "nullable": true, "readOnCreateOnly": false, - "options": [ - "yes", - "no", - "error" - ] + "maxLength": 128 }, - "transitioningMessage": { + "resourceId": { "type": "string", "description": null, "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 128 }, - "transitioningProgress": { - "type": "int", + "resourceType": { + "type": "string", "description": null, "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 128 }, - "uuid": { + "result": { "type": "string", "description": null, "create": false, @@ -23174,33 +25332,41 @@ "readOnCreateOnly": false, "maxLength": 128 }, - "command": { - "type": "string", + "runAfter": { + "type": "date", "description": null, "create": false, "update": false, - "readOnCreateOnly": false + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 }, - "image": { + "runningProcessServerId": { "type": "string", "description": null, "create": false, "update": false, - "readOnCreateOnly": false + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 }, - "token": { + "startProcessServerId": { "type": "string", "description": null, "create": false, "update": false, - "readOnCreateOnly": false + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 }, - "registrationUrl": { - "type": "string", + "startTime": { + "type": "date", "description": null, "create": false, "update": false, - "readOnCreateOnly": false + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 } }, "collectionFilters": { @@ -23212,7 +25378,7 @@ "notnull" ] }, - "created": { + "endTime": { "modifiers": [ "eq", "ne", @@ -23224,7 +25390,19 @@ "notnull" ] }, - "description": { + "executionCount": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "exitReason": { "modifiers": [ "eq", "ne", @@ -23247,7 +25425,7 @@ "notnull" ] }, - "kind": { + "phase": { "modifiers": [ "eq", "ne", @@ -23258,7 +25436,19 @@ "notnull" ] }, - "name": { + "priority": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "processName": { "modifiers": [ "eq", "ne", @@ -23269,7 +25459,7 @@ "notnull" ] }, - "publicValue": { + "resourceId": { "modifiers": [ "eq", "ne", @@ -23280,27 +25470,29 @@ "notnull" ] }, - "registryId": { + "resourceType": { "modifiers": [ "eq", "ne", + "prefix", + "like", + "notlike", "null", "notnull" ] }, - "removeTime": { + "result": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", + "prefix", + "like", + "notlike", "null", "notnull" ] }, - "removed": { + "runAfter": { "modifiers": [ "eq", "ne", @@ -23312,7 +25504,7 @@ "notnull" ] }, - "secretValue": { + "runningProcessServerId": { "modifiers": [ "eq", "ne", @@ -23323,176 +25515,291 @@ "notnull" ] }, - "state": { + "startProcessServerId": { "modifiers": [ "eq", "ne", + "prefix", + "like", + "notlike", "null", "notnull" ] }, - "uuid": { + "startTime": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] } }, "includeableLinks": [ - "images", - "instances", + "processExecutions", "account" ], "resourceActions": { - "activate": { - "input": null, - "output": "credential" - }, - "create": { - "input": null, - "output": "credential" - }, - "update": { - "input": null, - "output": "credential" - }, - "purge": { - "input": null, - "output": "credential" - }, - "remove": { - "input": null, - "output": "credential" - }, - "deactivate": { + "replay": { "input": null, - "output": "credential" + "output": "processInstance" } }, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "registry", + "id": "processPool", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/registry", - "collection": "http://localhost:8082/v1/registries" + "self": "http://localhost:8080/v2-beta/schemas/processpool", + "collection": "http://localhost:8080/v2-beta/processpools" }, "actions": {}, - "pluralName": "registries", + "pluralName": "processPools", "resourceFields": { - "accountId": { - "type": "reference[account]", + "activeTasks": { + "type": "int", "description": null, "create": false, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "blockDevicePath": { - "type": "string", + "completedTasks": { + "type": "int", "description": null, "create": false, "update": false, - "nullable": true, "readOnCreateOnly": false }, - "created": { - "type": "date", + "maxPoolSize": { + "type": "int", "description": null, "create": false, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "data": { - "type": "map[json]", + "minPoolSize": { + "type": "int", "description": null, "create": false, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 16777215 + "readOnCreateOnly": false }, - "description": { + "name": { "type": "string", "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 1024 + "create": false, + "update": false, + "readOnCreateOnly": false }, - "driverName": { - "type": "string", + "poolSize": { + "type": "int", "description": null, "create": false, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "externalId": { - "type": "string", + "queueRemainingCapacity": { + "type": "int", "description": null, "create": false, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 + "readOnCreateOnly": false }, - "id": { + "queueSize": { "type": "int", "description": null, "create": false, "update": false, - "nullable": true, "readOnCreateOnly": false }, - "kind": { - "type": "string", + "rejectedTasks": { + "type": "int", "description": null, "create": false, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "processSummary", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/processsummary", + "collection": "http://localhost:8080/v2-beta/processsummary" + }, + "actions": {}, + "pluralName": "processSummary", + "resourceFields": { + "delay": { + "type": "int", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false }, - "name": { + "processName": { "type": "string", "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "create": false, + "update": false, + "readOnCreateOnly": false }, - "removeTime": { - "type": "date", + "ready": { + "type": "int", "description": null, "create": false, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "removed": { - "type": "date", + "running": { + "type": "int", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "project", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/project", + "collection": "http://localhost:8080/v2-beta/projects" + }, + "actions": {}, + "pluralName": "projects", + "resourceFields": { + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "defaultNetworkId": { + "type": "reference[network]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "healthState": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255, + "default": "user" + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "projectTemplateId": { + "type": "reference[projectTemplate]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", "description": null, "create": false, "update": false, @@ -23518,9 +25825,9 @@ "removed", "removing", "requested", - "restoring", "updating-active", - "updating-inactive" + "updating-inactive", + "upgrading" ] }, "transitioning": { @@ -23554,57 +25861,92 @@ "uuid": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, "maxLength": 128 }, - "volumeAccessMode": { + "version": { "type": "string", "description": null, "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 + "maxLength": 128 }, - "volumeCapabilities": { - "type": "array[string]", + "hostRemoveDelaySeconds": { + "type": "int", "description": null, - "create": false, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "allowSystemRole": { + "type": "boolean", + "description": null, + "create": true, + "update": true, + "readOnCreateOnly": false, + "default": false + }, + "members": { + "type": "array[projectMember]", + "description": null, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false }, - "serverAddress": { + "orchestration": { "type": "string", "description": null, - "create": true, + "create": false, "update": false, - "required": true, "readOnCreateOnly": false, - "minLength": 1 + "default": "cattle" + }, + "virtualMachine": { + "type": "boolean", + "description": null, + "create": true, + "update": true, + "readOnCreateOnly": false, + "default": false + }, + "servicesPortRange": { + "type": "servicesPortRange", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "projectLinks": { + "type": "array[reference[project]]", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false } }, "collectionFilters": { - "accountId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "agentId": { + "created": { "modifiers": [ "eq", "ne", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "created": { + "defaultNetworkId": { "modifiers": [ "eq", "ne", @@ -23627,7 +25969,7 @@ "notnull" ] }, - "driverName": { + "externalId": { "modifiers": [ "eq", "ne", @@ -23638,15 +25980,18 @@ "notnull" ] }, - "external": { + "externalIdType": { "modifiers": [ "eq", "ne", + "prefix", + "like", + "notlike", "null", "notnull" ] }, - "externalId": { + "healthState": { "modifiers": [ "eq", "ne", @@ -23691,14 +26036,10 @@ "notnull" ] }, - "physicalTotalSizeMb": { + "projectTemplateId": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", "null", "notnull" ] @@ -23727,38 +26068,27 @@ "notnull" ] }, - "state": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "uuid": { + "revision": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "virtualTotalSizeMb": { + "state": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", "null", "notnull" ] }, - "volumeAccessMode": { + "uuid": { "modifiers": [ "eq", "ne", @@ -23769,50 +26099,102 @@ "notnull" ] }, - "zoneId": { + "version": { "modifiers": [ "eq", "ne", + "prefix", + "like", + "notlike", "null", "notnull" ] } }, "includeableLinks": [ - "images", + "projectMembers", + "scheduledUpgrades", + "auditLogs", "credentials", + "instances", + "processInstances", + "serviceExposeMaps", + "networks", + "ports", + "serviceConsumeMaps", + "instanceLinks", + "ipAddresses", + "storagePools", + "externalEvents", + "subnets", + "userPreferences", + "projectTemplates", + "images", + "volumeTemplates", "hosts", + "stacks", "volumes", - "account" + "mounts", + "serviceEvents", + "services", + "networkDrivers", + "projectTemplate", + "secrets", + "agents", + "labels", + "healthcheckInstanceHostMaps", + "snapshots", + "hostTemplates", + "certificates", + "backupTargets", + "genericObjects", + "storageDrivers", + "configItemStatuses", + "physicalHosts", + "containerEvents", + "serviceLogs", + "backups" ], "resourceActions": { - "restore": { + "upgrade": { "input": null, - "output": "storagePool" + "output": "account" }, "activate": { "input": null, - "output": "storagePool" + "output": "account" }, "create": { "input": null, - "output": "storagePool" + "output": "account" }, "update": { "input": null, - "output": "storagePool" + "output": "account" }, "purge": { "input": null, - "output": "storagePool" + "output": "account" }, "remove": { "input": null, - "output": "storagePool" + "output": "account" }, "deactivate": { "input": null, - "output": "storagePool" + "output": "account" + }, + "setmembers": { + "input": "setProjectMembersInput", + "output": "setProjectMembersInput" + }, + "delete": { + "input": null, + "output": null + }, + "defaultNetworkId": { + "input": null, + "output": null } }, "collectionActions": {}, @@ -23825,27 +26207,19 @@ "GET", "PUT", "DELETE" - ] + ], + "baseType": "schema" }, { - "id": "registryCredential", + "id": "projectMember", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/registrycredential", - "collection": "http://localhost:8082/v1/registrycredentials" + "self": "http://localhost:8080/v2-beta/schemas/projectmember", + "collection": "http://localhost:8080/v2-beta/projectmembers" }, "actions": {}, - "pluralName": "registryCredentials", + "pluralName": "projectMembers", "resourceFields": { - "accountId": { - "type": "reference[account]", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, "created": { "type": "date", "description": null, @@ -23873,6 +26247,39 @@ "readOnCreateOnly": false, "maxLength": 1024 }, + "externalId": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "externalIdType": { + "type": "enum", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255, + "options": [ + "rancher_id", + "ldap_user", + "ldap_group", + "openldap_user", + "openldap_group", + "azuread_user", + "azuread_group", + "github_user", + "github_org", + "github_team", + "shibboleth_user", + "shibboleth_group" + ], + "default": "rancher_id" + }, "id": { "type": "int", "description": null, @@ -23893,27 +26300,17 @@ "name": { "type": "string", "description": null, - "create": true, - "update": true, + "create": false, + "update": false, "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, - "publicValue": { - "type": "string", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 4096 - }, - "registryId": { - "type": "reference[registry]", + "projectId": { + "type": "reference[project]", "description": null, - "create": true, + "create": false, "update": false, - "required": true, "readOnCreateOnly": false, "maxLength": 255 }, @@ -23935,14 +26332,21 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "secretValue": { - "type": "password", + "role": { + "type": "enum", "description": null, "create": true, - "update": true, + "update": false, "nullable": true, - "readOnCreateOnly": true, - "maxLength": 4096 + "readOnCreateOnly": false, + "maxLength": 255, + "options": [ + "member", + "owner", + "readonly", + "restricted" + ], + "default": "member" }, "state": { "type": "enum", @@ -23966,6 +26370,15 @@ "updating-inactive" ] }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, "transitioning": { "type": "enum", "description": null, @@ -23993,24 +26406,6 @@ "update": false, "nullable": true, "readOnCreateOnly": false - }, - "uuid": { - "type": "string", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 - }, - "email": { - "type": "string", - "description": null, - "create": true, - "update": true, - "required": true, - "readOnCreateOnly": false, - "minLength": 1 } }, "collectionFilters": { @@ -24045,19 +26440,18 @@ "notnull" ] }, - "id": { + "externalId": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", + "prefix", + "like", + "notlike", "null", "notnull" ] }, - "kind": { + "externalIdType": { "modifiers": [ "eq", "ne", @@ -24068,7 +26462,19 @@ "notnull" ] }, - "name": { + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "kind": { "modifiers": [ "eq", "ne", @@ -24079,7 +26485,7 @@ "notnull" ] }, - "publicValue": { + "name": { "modifiers": [ "eq", "ne", @@ -24090,7 +26496,7 @@ "notnull" ] }, - "registryId": { + "projectId": { "modifiers": [ "eq", "ne", @@ -24122,7 +26528,7 @@ "notnull" ] }, - "secretValue": { + "role": { "modifiers": [ "eq", "ne", @@ -24154,35 +26560,32 @@ } }, "includeableLinks": [ - "registry", - "images", - "instances", - "account" + "project" ], "resourceActions": { "activate": { "input": null, - "output": "credential" + "output": "projectMember" }, "create": { "input": null, - "output": "credential" + "output": "projectMember" }, "update": { "input": null, - "output": "credential" + "output": "projectMember" }, "purge": { "input": null, - "output": "credential" + "output": "projectMember" }, "remove": { "input": null, - "output": "credential" + "output": "projectMember" }, "deactivate": { "input": null, - "output": "credential" + "output": "projectMember" } }, "collectionActions": {}, @@ -24192,227 +26595,381 @@ "POST" ], "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { - "id": "resourceDefinition", + "id": "projectTemplate", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/resourcedefinition", - "collection": "http://localhost:8082/v1/resourcedefinitions" + "self": "http://localhost:8080/v2-beta/schemas/projecttemplate", + "collection": "http://localhost:8080/v2-beta/projecttemplates" }, "actions": {}, - "pluralName": "resourceDefinitions", + "pluralName": "projectTemplates", "resourceFields": { - "id": { - "type": "string", + "accountId": { + "type": "reference[account]", "description": null, "create": false, "update": false, - "readOnCreateOnly": false + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 }, - "name": { - "type": "string", + "created": { + "type": "date", "description": null, "create": false, "update": false, - "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "GET" - ], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "restartPolicy", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/restartpolicy" - }, - "actions": {}, - "pluralName": "restartPolicys", - "resourceFields": { - "maximumRetryCount": { - "type": "int", + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", "description": null, - "create": true, + "create": false, "update": false, - "readOnCreateOnly": false + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 }, - "name": { + "description": { "type": "string", "description": null, "create": true, "update": true, - "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "POST" - ], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "restoreFromBackupInput", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/restorefrombackupinput" - }, - "actions": {}, - "pluralName": "restoreFromBackupInputs", - "resourceFields": { - "backupId": { - "type": "reference[backup]", + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "externalId": { + "type": "string", "description": null, "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "revertToSnapshotInput", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/reverttosnapshotinput" - }, - "actions": {}, - "pluralName": "revertToSnapshotInputs", - "resourceFields": { - "snapshotId": { - "type": "reference[snapshot]", + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "id": { + "type": "int", "description": null, - "create": true, + "create": false, "update": false, - "required": true, + "nullable": true, "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "rollingRestartStrategy", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/rollingrestartstrategy" - }, - "actions": {}, - "pluralName": "rollingRestartStrategys", - "resourceFields": { - "batchSize": { - "type": "int", - "transform": "", + }, + "isPublic": { + "type": "boolean", "description": null, "create": true, + "update": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "kind": { + "type": "string", + "description": null, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "min": 1, - "default": 1 + "maxLength": 255 }, - "intervalMillis": { - "type": "int", - "transform": "", + "name": { + "type": "string", "description": null, "create": true, + "update": true, + "nullable": true, + "unique": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "min": 100, - "default": 2000 + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "activating", + "active", + "removed", + "removing", + "requested" + ] + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "stacks": { + "type": "array[catalogTemplate]", + "description": null, + "create": true, + "update": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "externalId": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "isPublic": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "accounts", + "account" + ], + "resourceActions": { + "create": { + "input": null, + "output": "projectTemplate" + }, + "remove": { + "input": null, + "output": "projectTemplate" } }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ + "GET", "POST" ], "resourceMethods": [ - "GET" - ] + "GET", + "PUT", + "DELETE" + ], + "baseType": "schema" }, { - "id": "scalePolicy", + "id": "publicEndpoint", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/scalepolicy", - "collection": "http://localhost:8082/v1/scalepolicys" + "self": "http://localhost:8080/v2-beta/schemas/publicendpoint" }, "actions": {}, - "pluralName": "scalePolicys", + "pluralName": "publicEndpoints", "resourceFields": { - "increment": { - "type": "int", + "hostId": { + "type": "reference[host]", "transform": "", "description": null, "create": true, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "min": 1, - "default": 1 + "readOnCreateOnly": false }, - "max": { - "type": "int", + "instanceId": { + "type": "reference[instance]", "transform": "", "description": null, "create": true, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "min": 1, - "default": 1 + "readOnCreateOnly": false }, - "min": { + "ipAddress": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "port": { "type": "int", - "transform": "", "description": null, "create": true, "update": false, "nullable": true, - "required": true, - "readOnCreateOnly": false, - "min": 1, - "default": 1 + "readOnCreateOnly": false + }, + "serviceId": { + "type": "reference[service]", + "transform": "", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false } }, "collectionFilters": {}, @@ -24421,83 +26978,122 @@ "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET" + "POST" ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "schema", + "id": "publish", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/schema", - "collection": "http://localhost:8082/v1/schemas" + "self": "http://localhost:8080/v2-beta/schemas/publish" }, "actions": {}, - "pluralName": "schemas", + "pluralName": "publish", "resourceFields": { - "collectionActions": { + "data": { "type": "map[json]", + "transform": "", "description": null, "create": true, "update": false, + "nullable": true, "readOnCreateOnly": false }, - "collectionFields": { - "type": "map[json]", + "id": { + "type": "string", + "transform": "", "description": null, "create": true, "update": false, "readOnCreateOnly": false }, - "collectionFilters": { - "type": "map[json]", + "name": { + "type": "string", + "transform": "", "description": null, "create": true, "update": false, + "required": true, "readOnCreateOnly": false }, - "collectionMethods": { + "previousIds": { "type": "array[string]", + "transform": "", "description": null, "create": true, "update": false, "readOnCreateOnly": false }, - "includeableLinks": { - "type": "array[string]", + "publisher": { + "type": "string", + "transform": "", "description": null, "create": true, "update": false, "readOnCreateOnly": false }, - "pluralName": { + "resourceId": { "type": "string", + "transform": "", "description": null, "create": true, "update": false, + "nullable": true, "readOnCreateOnly": false }, - "resourceActions": { - "type": "map[json]", + "resourceType": { + "type": "string", + "transform": "", "description": null, "create": true, "update": false, + "nullable": true, "readOnCreateOnly": false }, - "resourceFields": { - "type": "map[json]", + "time": { + "type": "int", + "transform": "", "description": null, "create": true, "update": false, + "nullable": true, "readOnCreateOnly": false }, - "resourceMethods": { - "type": "array[string]", + "transitioning": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "transitioningInternalMessage": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "transitioningMessage": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "transform": "", "description": null, "create": true, "update": false, + "nullable": true, "readOnCreateOnly": false } }, @@ -24507,20 +27103,22 @@ "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET" + "POST" ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "secondaryLaunchConfig", + "id": "pullTask", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/secondarylaunchconfig" + "self": "http://localhost:8080/v2-beta/schemas/pulltask", + "collection": "http://localhost:8080/v2-beta/pulltasks" }, "actions": {}, - "pluralName": "secondaryLaunchConfigs", + "pluralName": "pullTasks", "resourceFields": { "accountId": { "type": "reference[account]", @@ -24531,8 +27129,8 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "agentId": { - "type": "reference[agent]", + "created": { + "type": "date", "description": null, "create": false, "update": false, @@ -24540,161 +27138,52 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "allocationState": { - "type": "string", + "data": { + "type": "map[json]", "description": null, "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 + "maxLength": 16777215 }, - "blkioDeviceOptions": { - "type": "map[blkioDeviceOption]", + "description": { + "type": "string", "description": null, "create": true, - "update": false, + "update": true, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 1024 }, - "build": { - "type": "dockerBuild", + "id": { + "type": "int", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "capAdd": { - "type": "array[enum]", + "kind": { + "type": "string", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "options": [ - "ALL", - "AUDIT_CONTROL", - "AUDIT_WRITE", - "BLOCK_SUSPEND", - "CHOWN", - "DAC_OVERRIDE", - "DAC_READ_SEARCH", - "FOWNER", - "FSETID", - "IPC_LOCK", - "IPC_OWNER", - "KILL", - "LEASE", - "LINUX_IMMUTABLE", - "MAC_ADMIN", - "MAC_OVERRIDE", - "MKNOD", - "NET_ADMIN", - "NET_BIND_SERVICE", - "NET_BROADCAST", - "NET_RAW", - "SETFCAP", - "SETGID", - "SETPCAP", - "SETUID", - "SYSLOG", - "SYS_ADMIN", - "SYS_BOOT", - "SYS_CHROOT", - "SYS_MODULE", - "SYS_NICE", - "SYS_PACCT", - "SYS_PTRACE", - "SYS_RAWIO", - "SYS_RESOURCE", - "SYS_TIME", - "SYS_TTY_CONFIG", - "WAKE_ALARM" - ] + "maxLength": 255 }, - "capDrop": { - "type": "array[enum]", + "name": { + "type": "string", "description": null, "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, - "options": [ - "ALL", - "AUDIT_CONTROL", - "AUDIT_WRITE", - "BLOCK_SUSPEND", - "CHOWN", - "DAC_OVERRIDE", - "DAC_READ_SEARCH", - "FOWNER", - "FSETID", - "IPC_LOCK", - "IPC_OWNER", - "KILL", - "LEASE", - "LINUX_IMMUTABLE", - "MAC_ADMIN", - "MAC_OVERRIDE", - "MKNOD", - "NET_ADMIN", - "NET_BIND_SERVICE", - "NET_BROADCAST", - "NET_RAW", - "SETFCAP", - "SETGID", - "SETPCAP", - "SETUID", - "SYSLOG", - "SYS_ADMIN", - "SYS_BOOT", - "SYS_CHROOT", - "SYS_MODULE", - "SYS_NICE", - "SYS_PACCT", - "SYS_PTRACE", - "SYS_RAWIO", - "SYS_RESOURCE", - "SYS_TIME", - "SYS_TTY_CONFIG", - "WAKE_ALARM" - ] - }, - "command": { - "type": "array[string]", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "count": { - "type": "int", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "cpuSet": { - "type": "string", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "cpuShares": { - "type": "int", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false + "maxLength": 255 }, - "createIndex": { - "type": "int", + "removeTime": { + "type": "date", "description": null, "create": false, "update": false, @@ -24702,7 +27191,7 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "created": { + "removed": { "type": "date", "description": null, "create": false, @@ -24711,48 +27200,50 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "data": { - "type": "map[json]", + "state": { + "type": "enum", "description": null, "create": false, "update": false, - "nullable": true, "readOnCreateOnly": false, - "maxLength": 16777215 - }, - "dataVolumeMounts": { - "type": "map[reference[volume]]", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false + "maxLength": 128, + "options": [ + "activating", + "active", + "removed", + "removing", + "requested" + ] }, - "dataVolumes": { - "type": "array[string]", + "transitioning": { + "type": "enum", "description": null, - "create": true, + "create": false, "update": false, - "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] }, - "dataVolumesFrom": { - "type": "array[reference[container]]", + "transitioningMessage": { + "type": "string", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "dataVolumesFromLaunchConfigs": { - "type": "array[string]", + "transitioningProgress": { + "type": "int", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "deploymentUnitUuid": { + "uuid": { "type": "string", "description": null, "create": false, @@ -24761,96 +27252,237 @@ "readOnCreateOnly": false, "maxLength": 128 }, - "description": { + "image": { "type": "string", "description": null, "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 1024 - }, - "devices": { - "type": "array[string]", - "description": null, - "create": true, "update": false, - "nullable": true, + "required": true, "readOnCreateOnly": false }, - "disks": { - "type": "array[virtualMachineDisk]", + "labels": { + "type": "map[string]", "description": null, "create": true, "update": false, - "nullable": true, "readOnCreateOnly": false }, - "dns": { - "type": "array[string]", + "mode": { + "type": "enum", "description": null, "create": true, "update": false, - "nullable": true, - "readOnCreateOnly": false + "required": true, + "readOnCreateOnly": false, + "options": [ + "all", + "cached" + ], + "default": "all" }, - "dnsSearch": { - "type": "array[string]", + "status": { + "type": "map[string]", "description": null, - "create": true, + "create": false, "update": false, - "nullable": true, "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] }, - "domainName": { - "type": "string", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] }, - "entryPoint": { - "type": "array[string]", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] }, - "environment": { - "type": "map[string]", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] }, - "expose": { - "type": "array[string]", + "key": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "account" + ], + "resourceActions": { + "create": { + "input": null, + "output": "genericObject" + }, + "remove": { + "input": null, + "output": "genericObject" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "recreateOnQuorumStrategyConfig", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/recreateonquorumstrategyconfig" + }, + "actions": {}, + "pluralName": "recreateOnQuorumStrategyConfigs", + "resourceFields": { + "quorum": { + "type": "int", + "transform": "", "description": null, "create": true, "update": false, "nullable": true, + "required": true, "readOnCreateOnly": false - }, - "externalId": { - "type": "string", + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "register", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/register", + "collection": "http://localhost:8080/v2-beta/register" + }, + "actions": {}, + "pluralName": "register", + "resourceFields": { + "accountId": { + "type": "reference[account]", "description": null, "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 128 - }, - "extraHosts": { - "type": "array[string]", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false + "maxLength": 255 }, - "firstRunning": { + "created": { "type": "date", "description": null, "create": false, @@ -24859,254 +27491,325 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "healthCheck": { - "type": "instanceHealthCheck", + "data": { + "type": "map[json]", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 16777215 }, - "healthState": { - "type": "enum", + "description": { + "type": "string", "description": null, - "create": false, - "update": false, + "create": true, + "update": true, "nullable": true, "readOnCreateOnly": false, - "maxLength": 128, - "options": [ - "healthy", - "unhealthy", - "updating-healthy", - "updating-unhealthy", - "initializing" - ] + "maxLength": 1024 }, - "hostId": { - "type": "reference[host]", + "id": { + "type": "int", "description": null, "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "hostname": { + "key": { "type": "string", "description": null, "create": true, "update": false, "nullable": true, + "required": true, "readOnCreateOnly": false, - "minLength": 1, "maxLength": 255 }, - "id": { - "type": "int", + "kind": { + "type": "string", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 255 }, - "imageUuid": { + "name": { "type": "string", "description": null, "create": true, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 255 }, - "instanceLinks": { - "type": "map[reference[instance]]", + "removeTime": { + "type": "date", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 255 }, - "kind": { - "type": "enum", + "removed": { + "type": "date", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255, - "options": [ - "container", - "virtualMachine" - ], - "default": "container" + "maxLength": 255 }, - "labels": { - "type": "map[string]", + "resourceData": { + "type": "map[json]", "description": null, "create": true, "update": false, "readOnCreateOnly": false }, - "logConfig": { - "type": "logConfig", + "state": { + "type": "enum", "description": null, - "create": true, + "create": false, "update": false, - "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "activating", + "active", + "removed", + "removing", + "requested" + ] }, - "lxcConf": { - "type": "map[string]", + "transitioning": { + "type": "enum", "description": null, - "create": true, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "memory": { + "transitioningProgress": { "type": "int", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "memoryMb": { - "type": "int", + "uuid": { + "type": "string", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 + "maxLength": 128 }, - "memorySwap": { - "type": "int", + "accessKey": { + "type": "string", "description": null, - "create": true, + "create": false, "update": false, - "nullable": true, "readOnCreateOnly": false }, - "name": { + "secretKey": { "type": "string", - "validChars": "a-zA-Z0-9-", "description": null, - "create": true, + "create": false, "update": false, - "required": true, - "readOnCreateOnly": false, - "minLength": 1, - "maxLength": 63 - }, - "nativeContainer": { - "type": "boolean", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] }, - "networkContainerId": { - "type": "reference[container]", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] }, - "networkIds": { - "type": "array[reference[network]]", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] }, - "networkLaunchConfig": { - "type": "string", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] }, - "networkMode": { - "type": "enum", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "options": [ - "none", - "bridge", - "host", - "managed", - "container" - ], - "default": "managed" + "key": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] }, - "pidMode": { - "type": "enum", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "options": [ - "host" + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" ] }, - "ports": { - "type": "array[string]", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] }, - "primaryIpAddress": { - "type": "string", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] }, - "privileged": { - "type": "boolean", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false, - "default": false + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] }, - "publishAllPorts": { - "type": "boolean", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false, - "default": false + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] }, - "readOnly": { - "type": "boolean", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false, - "default": false + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] }, - "registryCredentialId": { - "type": "reference[registryCredential]", + "token": { + "modifiers": [ + "eq" + ] + } + }, + "includeableLinks": [ + "account" + ], + "resourceActions": { + "create": { + "input": null, + "output": "genericObject" + }, + "remove": { + "input": null, + "output": "genericObject" + }, + "stop": { + "input": "instanceStop", + "output": "instance" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "registrationToken", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/registrationtoken", + "collection": "http://localhost:8080/v2-beta/registrationtokens" + }, + "actions": {}, + "pluralName": "registrationTokens", + "resourceFields": { + "accountId": { + "type": "reference[account]", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, - "removeTime": { + "created": { "type": "date", "description": null, "create": false, @@ -25115,41 +27818,52 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "removed": { - "type": "date", + "data": { + "type": "map[json]", "description": null, "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 + "maxLength": 16777215 }, - "requestedHostId": { - "type": "reference[host]", + "description": { + "type": "string", "description": null, "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "id": { + "type": "int", + "description": null, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "requestedIpAddress": { + "kind": { "type": "string", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 255 }, - "securityOpt": { - "type": "array[string]", + "name": { + "type": "string", "description": null, "create": true, - "update": false, + "update": true, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 255 }, - "startCount": { - "type": "int", + "removeTime": { + "type": "date", "description": null, "create": false, "update": false, @@ -25157,13 +27871,14 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "startOnCreate": { - "type": "boolean", + "removed": { + "type": "date", "description": null, - "create": true, + "create": false, "update": false, + "nullable": true, "readOnCreateOnly": false, - "default": true + "maxLength": 255 }, "state": { "type": "enum", @@ -25173,55 +27888,20 @@ "readOnCreateOnly": false, "maxLength": 128, "options": [ - "creating", - "error", - "erroring", - "migrating", + "activating", + "active", + "deactivating", + "inactive", "purged", "purging", + "registering", "removed", "removing", "requested", - "restarting", - "restoring", - "running", - "starting", - "stopped", - "stopping", - "updating-running", - "updating-stopped" - ] - }, - "stdinOpen": { - "type": "boolean", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false, - "default": false - }, - "systemContainer": { - "type": "enum", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128, - "options": [ - "NetworkAgent", - "LoadBalancerAgent" + "updating-active", + "updating-inactive" ] }, - "token": { - "type": "string", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, "transitioning": { "type": "enum", "description": null, @@ -25250,32 +27930,6 @@ "nullable": true, "readOnCreateOnly": false }, - "tty": { - "type": "boolean", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false, - "default": false - }, - "user": { - "type": "string", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "minLength": 1 - }, - "userdata": { - "type": "string", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 65535 - }, "uuid": { "type": "string", "description": null, @@ -25285,40 +27939,33 @@ "readOnCreateOnly": false, "maxLength": 128 }, - "vcpu": { - "type": "int", + "command": { + "type": "string", "description": null, - "create": true, + "create": false, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "default": 1 + "readOnCreateOnly": false }, - "version": { + "image": { "type": "string", "description": null, "create": false, "update": false, - "readOnCreateOnly": false, - "maxLength": 255, - "default": "0" + "readOnCreateOnly": false }, - "volumeDriver": { + "token": { "type": "string", "description": null, - "create": true, + "create": false, "update": false, - "nullable": true, "readOnCreateOnly": false }, - "workingDir": { + "registrationUrl": { "type": "string", "description": null, - "create": true, + "create": false, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "minLength": 1 + "readOnCreateOnly": false } }, "collectionFilters": { @@ -25330,49 +27977,6 @@ "notnull" ] }, - "agentId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "allocationState": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "compute": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "createIndex": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, "created": { "modifiers": [ "eq", @@ -25385,7 +27989,7 @@ "notnull" ] }, - "deploymentUnitUuid": { + "description": { "modifiers": [ "eq", "ne", @@ -25396,18 +28000,19 @@ "notnull" ] }, - "description": { + "id": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "dnsInternal": { + "kind": { "modifiers": [ "eq", "ne", @@ -25418,7 +28023,7 @@ "notnull" ] }, - "dnsSearchInternal": { + "name": { "modifiers": [ "eq", "ne", @@ -25429,7 +28034,7 @@ "notnull" ] }, - "domain": { + "publicValue": { "modifiers": [ "eq", "ne", @@ -25440,18 +28045,15 @@ "notnull" ] }, - "externalId": { + "registryId": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", "null", "notnull" ] }, - "firstRunning": { + "removeTime": { "modifiers": [ "eq", "ne", @@ -25463,18 +28065,7 @@ "notnull" ] }, - "healthState": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "healthUpdated": { + "removed": { "modifiers": [ "eq", "ne", @@ -25486,7 +28077,7 @@ "notnull" ] }, - "hostname": { + "secretValue": { "modifiers": [ "eq", "ne", @@ -25497,19 +28088,7 @@ "notnull" ] }, - "id": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "imageId": { + "state": { "modifiers": [ "eq", "ne", @@ -25517,7 +28096,7 @@ "notnull" ] }, - "instanceTriggeredStop": { + "uuid": { "modifiers": [ "eq", "ne", @@ -25527,305 +28106,58 @@ "null", "notnull" ] + } + }, + "includeableLinks": [ + "images", + "instances", + "account" + ], + "resourceActions": { + "activate": { + "input": null, + "output": "credential" }, - "kind": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "memoryMb": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "name": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "nativeContainer": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "networkContainerId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "offeringId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "registryCredentialId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "removeTime": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "removed": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "serviceIndexId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "startCount": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "state": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "systemContainer": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "token": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "userdata": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "uuid": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "version": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "zoneId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - } - }, - "includeableLinks": [ - "agent", - "networkcontainer", - "credentials", - "instances", - "hosts", - "volumes", - "mounts", - "serviceevents", - "serviceexposemaps", - "services", - "ports", - "instancelinks", - "healthcheckinstancehostmaps", - "registrycredential", - "targetinstancelinks", - "instancelabels", - "account" - ], - "resourceActions": { - "updateunhealthy": { - "input": null, - "output": "instance" - }, - "console": { - "input": "instanceConsoleInput", - "output": "instanceConsole" - }, - "restore": { - "input": null, - "output": "instance" - }, - "restart": { - "input": null, - "output": "instance" - }, - "deallocate": { - "input": null, - "output": "instance" - }, - "start": { - "input": null, - "output": "instance" - }, - "updatereinitializing": { - "input": null, - "output": "instance" + "create": { + "input": null, + "output": "credential" }, "update": { "input": null, - "output": "instance" + "output": "credential" }, "purge": { "input": null, - "output": "instance" - }, - "error": { - "input": null, - "output": "instance" + "output": "credential" }, "remove": { "input": null, - "output": "instance" - }, - "allocate": { - "input": null, - "output": "instance" - }, - "stop": { - "input": "instanceStop", - "output": "instance" - }, - "create": { - "input": null, - "output": "instance" - }, - "updatehealthy": { - "input": null, - "output": "instance" + "output": "credential" }, - "migrate": { + "deactivate": { "input": null, - "output": "instance" - }, - "setlabels": { - "input": "setLabelsInput", - "output": "container" - }, - "execute": { - "input": "containerExec", - "output": "hostAccess" - }, - "proxy": { - "input": "containerProxy", - "output": "hostAccess" + "output": "credential" } }, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "POST" + "GET" ], "resourceMethods": [ - "GET", - "PUT" - ] + "GET" + ], + "baseType": "schema" }, { - "id": "service", + "id": "registry", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/service", - "collection": "http://localhost:8082/v1/services" + "self": "http://localhost:8080/v2-beta/schemas/registry", + "collection": "http://localhost:8080/v2-beta/registries" }, "actions": {}, - "pluralName": "services", + "pluralName": "registries", "resourceFields": { "accountId": { "type": "reference[account]", @@ -25836,14 +28168,13 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "createIndex": { - "type": "int", + "blockDevicePath": { + "type": "string", "description": null, "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, "created": { "type": "date", @@ -25872,16 +28203,7 @@ "readOnCreateOnly": false, "maxLength": 1024 }, - "environmentId": { - "type": "reference[environment]", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "externalId": { + "driverName": { "type": "string", "description": null, "create": false, @@ -25890,7 +28212,7 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "healthState": { + "externalId": { "type": "string", "description": null, "create": false, @@ -25918,15 +28240,12 @@ }, "name": { "type": "string", - "validChars": "a-zA-Z0-9-", "description": null, "create": true, "update": true, "nullable": true, - "required": true, "readOnCreateOnly": false, - "minLength": 1, - "maxLength": 63 + "maxLength": 255 }, "removeTime": { "type": "date", @@ -25946,24 +28265,6 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "selectorContainer": { - "type": "string", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 4096 - }, - "selectorLink": { - "type": "string", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 4096 - }, "state": { "type": "enum", "description": null, @@ -25974,43 +28275,18 @@ "options": [ "activating", "active", - "canceled-rollback", - "canceled-upgrade", - "canceling-rollback", - "canceling-upgrade", "deactivating", - "finishing-upgrade", "inactive", + "purged", + "purging", "registering", "removed", "removing", "requested", - "restarting", - "rolling-back", "updating-active", - "updating-inactive", - "upgraded", - "upgrading" + "updating-inactive" ] }, - "uuid": { - "type": "string", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 - }, - "vip": { - "type": "string", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, "transitioning": { "type": "enum", "description": null, @@ -26039,100 +28315,40 @@ "nullable": true, "readOnCreateOnly": false }, - "scale": { - "type": "int", - "description": null, - "create": true, - "update": true, - "readOnCreateOnly": false, - "default": 1 - }, - "currentScale": { - "type": "int", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false - }, - "scalePolicy": { - "type": "scalePolicy", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false - }, - "launchConfig": { - "type": "launchConfig", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "upgrade": { - "type": "serviceUpgrade", + "uuid": { + "type": "string", "description": null, "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false - }, - "secondaryLaunchConfigs": { - "type": "array[secondaryLaunchConfig]", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false - }, - "metadata": { - "type": "map[json]", - "description": null, - "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 128 }, - "fqdn": { + "volumeAccessMode": { "type": "string", "description": null, "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 255 }, - "publicEndpoints": { - "type": "array[publicEndpoint]", + "volumeCapabilities": { + "type": "array[string]", "description": null, "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "retainIp": { - "type": "boolean", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "assignServiceIpAddress": { - "type": "boolean", - "description": null, - "create": true, - "update": false, - "readOnCreateOnly": false, - "default": false - }, - "startOnCreate": { - "type": "boolean", + "serverAddress": { + "type": "string", "description": null, "create": true, "update": false, - "nullable": true, + "required": true, "readOnCreateOnly": false, - "default": false + "minLength": 1 } }, "collectionFilters": { @@ -26144,14 +28360,10 @@ "notnull" ] }, - "createIndex": { + "agentId": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", "null", "notnull" ] @@ -26179,26 +28391,26 @@ "notnull" ] }, - "environmentId": { + "driverName": { "modifiers": [ "eq", "ne", + "prefix", + "like", + "notlike", "null", "notnull" ] }, - "externalId": { + "external": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", "null", "notnull" ] }, - "healthState": { + "externalId": { "modifiers": [ "eq", "ne", @@ -26243,6 +28455,18 @@ "notnull" ] }, + "physicalTotalSizeMb": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, "removeTime": { "modifiers": [ "eq", @@ -26267,18 +28491,23 @@ "notnull" ] }, - "selectorContainer": { + "state": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", "null", "notnull" ] }, - "selectorLink": { + "storageDriverId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { "modifiers": [ "eq", "ne", @@ -26289,15 +28518,19 @@ "notnull" ] }, - "state": { + "virtualTotalSizeMb": { "modifiers": [ "eq", "ne", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "uuid": { + "volumeAccessMode": { "modifiers": [ "eq", "ne", @@ -26308,107 +28541,67 @@ "notnull" ] }, - "vip": { + "zoneId": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", "null", "notnull" ] } }, "includeableLinks": [ - "consumedbyservices", - "environment", - "instances", - "consumedservices", - "configitemstatuses", - "serviceexposemaps", - "dynamicschemas", + "images", + "credentials", + "hosts", + "volumes", "account" ], "resourceActions": { - "rollback": { - "input": null, - "output": "service" - }, - "upgrade": { - "input": "serviceUpgrade", - "output": "service" - }, - "restart": { - "input": "serviceRestart", - "output": "service" - }, - "update": { + "activate": { "input": null, - "output": "service" + "output": "storagePool" }, - "remove": { + "create": { "input": null, - "output": "service" + "output": "storagePool" }, - "deactivate": { + "update": { "input": null, - "output": "service" + "output": "storagePool" }, - "finishupgrade": { + "purge": { "input": null, - "output": "service" + "output": "storagePool" }, - "cancelrollback": { + "remove": { "input": null, - "output": "service" - }, - "removeservicelink": { - "input": "addRemoveServiceLinkInput", - "output": "service" + "output": "storagePool" }, - "activate": { + "deactivate": { "input": null, - "output": "service" - }, - "addservicelink": { - "input": "addRemoveServiceLinkInput", - "output": "service" - }, - "create": { - "input": null, - "output": "service" - }, - "cancelupgrade": { - "input": null, - "output": "service" - }, - "setservicelinks": { - "input": "setServiceLinksInput", - "output": "service" + "output": "storagePool" } }, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { - "id": "serviceConsumeMap", + "id": "registryCredential", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/serviceconsumemap", - "collection": "http://localhost:8082/v1/serviceconsumemaps" + "self": "http://localhost:8080/v2-beta/schemas/registrycredential", + "collection": "http://localhost:8080/v2-beta/registrycredentials" }, "actions": {}, - "pluralName": "serviceConsumeMaps", + "pluralName": "registryCredentials", "resourceFields": { "accountId": { "type": "reference[account]", @@ -26419,15 +28612,6 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "consumedServiceId": { - "type": "reference[service]", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, "created": { "type": "date", "description": null, @@ -26475,10 +28659,28 @@ "name": { "type": "string", "description": null, - "create": false, - "update": false, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "publicValue": { + "type": "string", + "description": null, + "create": true, + "update": true, "nullable": true, "readOnCreateOnly": false, + "maxLength": 4096 + }, + "registryId": { + "type": "reference[registry]", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false, "maxLength": 255 }, "removeTime": { @@ -26499,14 +28701,14 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "serviceId": { - "type": "reference[service]", + "secretValue": { + "type": "password", "description": null, - "create": false, - "update": false, + "create": true, + "update": true, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": true, + "maxLength": 4096 }, "state": { "type": "enum", @@ -26518,21 +28720,18 @@ "options": [ "activating", "active", + "deactivating", + "inactive", + "purged", + "purging", + "registering", "removed", "removing", "requested", - "updating-active" + "updating-active", + "updating-inactive" ] }, - "uuid": { - "type": "string", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 128 - }, "transitioning": { "type": "enum", "description": null, @@ -26561,14 +28760,14 @@ "nullable": true, "readOnCreateOnly": false }, - "ports": { - "type": "array[string]", + "uuid": { + "type": "string", "description": null, "create": false, "update": false, "nullable": true, - "required": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 128 } }, "collectionFilters": { @@ -26580,14 +28779,6 @@ "notnull" ] }, - "consumedServiceId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, "created": { "modifiers": [ "eq", @@ -26645,6 +28836,25 @@ "notnull" ] }, + "publicValue": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "registryId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "removeTime": { "modifiers": [ "eq", @@ -26669,10 +28879,13 @@ "notnull" ] }, - "serviceId": { + "secretValue": { "modifiers": [ "eq", "ne", + "prefix", + "like", + "notlike", "null", "notnull" ] @@ -26698,23 +28911,35 @@ } }, "includeableLinks": [ - "service", - "account", - "consumedservice", - "instancelinks" + "registry", + "images", + "instances", + "account" ], "resourceActions": { + "activate": { + "input": null, + "output": "credential" + }, "create": { "input": null, - "output": "serviceConsumeMap" + "output": "credential" }, "update": { "input": null, - "output": "serviceConsumeMap" + "output": "credential" + }, + "purge": { + "input": null, + "output": "credential" }, "remove": { "input": null, - "output": "serviceConsumeMap" + "output": "credential" + }, + "deactivate": { + "input": null, + "output": "credential" } }, "collectionActions": {}, @@ -26724,65 +28949,250 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "serviceEvent", + "id": "resourceDefinition", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/serviceevent", - "collection": "http://localhost:8082/v1/serviceevents" + "self": "http://localhost:8080/v2-beta/schemas/resourcedefinition", + "collection": "http://localhost:8080/v2-beta/resourcedefinitions" }, "actions": {}, - "pluralName": "serviceEvents", + "pluralName": "resourceDefinitions", "resourceFields": { - "accountId": { - "type": "reference[account]", + "id": { + "type": "string", "description": null, "create": false, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "created": { - "type": "date", + "name": { + "type": "string", "description": null, "create": false, "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "restartPolicy", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/restartpolicy" + }, + "actions": {}, + "pluralName": "restartPolicys", + "resourceFields": { + "maximumRetryCount": { + "type": "int", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "restoreFromBackupInput", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/restorefrombackupinput" + }, + "actions": {}, + "pluralName": "restoreFromBackupInputs", + "resourceFields": { + "backupId": { + "type": "reference[backup]", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "revertToSnapshotInput", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/reverttosnapshotinput" + }, + "actions": {}, + "pluralName": "revertToSnapshotInputs", + "resourceFields": { + "snapshotId": { + "type": "reference[snapshot]", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "rollingRestartStrategy", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/rollingrestartstrategy" + }, + "actions": {}, + "pluralName": "rollingRestartStrategys", + "resourceFields": { + "batchSize": { + "type": "int", + "transform": "", + "description": null, + "create": true, + "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 + "min": 1, + "default": 1 }, - "data": { - "type": "map[json]", + "intervalMillis": { + "type": "int", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 16777215 - }, - "description": { - "type": "string", + "min": 100, + "default": 2000 + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "scalePolicy", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/scalepolicy" + }, + "actions": {}, + "pluralName": "scalePolicys", + "resourceFields": { + "increment": { + "type": "int", + "transform": "", "description": null, "create": true, - "update": true, + "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 1024 + "min": 1, + "default": 1 }, - "externalTimestamp": { + "max": { "type": "int", + "transform": "", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 255 + "min": 1, + "default": 1 }, - "healthcheckUuid": { - "type": "string", + "min": { + "type": "int", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "required": true, + "readOnCreateOnly": false, + "min": 1, + "default": 1 + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "scheduledUpgrade", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/scheduledupgrade", + "collection": "http://localhost:8080/v2-beta/scheduledupgrades" + }, + "actions": {}, + "pluralName": "scheduledUpgrades", + "resourceFields": { + "accountId": { + "type": "reference[account]", "description": null, "create": false, "update": false, @@ -26790,8 +29200,8 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "hostId": { - "type": "reference[host]", + "created": { + "type": "date", "description": null, "create": false, "update": false, @@ -26799,22 +29209,22 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "id": { - "type": "int", + "data": { + "type": "map[json]", "description": null, "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 16777215 }, - "instanceId": { - "type": "reference[instance]", + "id": { + "type": "int", "description": null, "create": false, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, "kind": { "type": "string", @@ -26825,16 +29235,16 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "name": { - "type": "string", + "removeTime": { + "type": "date", "description": null, - "create": true, - "update": true, + "create": false, + "update": false, "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, - "removeTime": { + "removed": { "type": "date", "description": null, "create": false, @@ -26843,8 +29253,8 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "removed": { - "type": "date", + "stackId": { + "type": "reference[stack]", "description": null, "create": false, "update": false, @@ -26852,8 +29262,8 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "reportedHealth": { - "type": "string", + "started": { + "type": "date", "description": null, "create": false, "update": false, @@ -26869,11 +29279,13 @@ "readOnCreateOnly": false, "maxLength": 128, "options": [ - "created", - "creating", + "done", "removed", "removing", - "requested" + "requested", + "running", + "scheduled", + "scheduling" ] }, "uuid": { @@ -26935,18 +29347,7 @@ "notnull" ] }, - "description": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "externalTimestamp": { + "finished": { "modifiers": [ "eq", "ne", @@ -26958,15 +29359,19 @@ "notnull" ] }, - "healthcheckInstanceId": { + "id": { "modifiers": [ "eq", "ne", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "healthcheckUuid": { + "kind": { "modifiers": [ "eq", "ne", @@ -26977,15 +29382,7 @@ "notnull" ] }, - "hostId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "id": { + "priority": { "modifiers": [ "eq", "ne", @@ -26997,37 +29394,31 @@ "notnull" ] }, - "instanceId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "kind": { + "removeTime": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "name": { + "removed": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "removeTime": { + "runAfter": { "modifiers": [ "eq", "ne", @@ -27039,25 +29430,22 @@ "notnull" ] }, - "removed": { + "stackId": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", "null", "notnull" ] }, - "reportedHealth": { + "started": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] @@ -27083,18 +29471,21 @@ } }, "includeableLinks": [ - "instance", - "host", + "stack", "account" ], "resourceActions": { + "start": { + "input": null, + "output": "scheduledUpgrade" + }, "create": { "input": null, - "output": "serviceEvent" + "output": "scheduledUpgrade" }, "remove": { "input": null, - "output": "serviceEvent" + "output": "scheduledUpgrade" } }, "collectionActions": {}, @@ -27104,82 +29495,107 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "serviceExposeMap", + "id": "schema", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/serviceexposemap", - "collection": "http://localhost:8082/v1/serviceexposemaps" + "self": "http://localhost:8080/v2-beta/schemas/schema", + "collection": "http://localhost:8080/v2-beta/schemas" }, "actions": {}, - "pluralName": "serviceExposeMaps", + "pluralName": "schemas", "resourceFields": { - "accountId": { - "type": "reference[account]", + "collectionActions": { + "type": "map[json]", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "created": { - "type": "date", + "collectionFields": { + "type": "map[json]", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "data": { + "collectionFilters": { "type": "map[json]", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 16777215 + "readOnCreateOnly": false }, - "description": { - "type": "string", + "collectionMethods": { + "type": "array[string]", "description": null, "create": true, - "update": true, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 1024 + "update": false, + "readOnCreateOnly": false }, - "id": { - "type": "int", + "includeableLinks": { + "type": "array[string]", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, "readOnCreateOnly": false }, - "instanceId": { - "type": "reference[instance]", + "pluralName": { + "type": "string", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "ipAddress": { - "type": "string", + "resourceActions": { + "type": "map[json]", "description": null, - "create": false, + "create": true, "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "kind": { - "type": "string", + "resourceFields": { + "type": "map[json]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "resourceMethods": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "secondaryLaunchConfig", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/secondarylaunchconfig" + }, + "actions": {}, + "pluralName": "secondaryLaunchConfigs", + "resourceFields": { + "accountId": { + "type": "reference[account]", "description": null, "create": false, "update": false, @@ -27187,404 +29603,5560 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "managed": { - "type": "boolean", + "agentId": { + "type": "reference[agent]", "description": null, "create": false, "update": false, + "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, - "name": { + "allocationState": { "type": "string", "description": null, - "create": true, - "update": true, + "create": false, + "update": false, "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, - "removeTime": { - "type": "date", + "blkioDeviceOptions": { + "type": "map[blkioDeviceOption]", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "removed": { - "type": "date", + "blkioWeight": { + "type": "int", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "serviceId": { - "type": "reference[service]", + "build": { + "type": "dockerBuild", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 + "readOnCreateOnly": false }, - "state": { - "type": "enum", + "capAdd": { + "type": "array[enum]", "description": null, - "create": false, + "create": true, "update": false, + "nullable": true, "readOnCreateOnly": false, - "maxLength": 128, "options": [ - "activating", - "active", - "removed", - "removing", - "requested" + "ALL", + "AUDIT_CONTROL", + "AUDIT_WRITE", + "BLOCK_SUSPEND", + "CHOWN", + "DAC_OVERRIDE", + "DAC_READ_SEARCH", + "FOWNER", + "FSETID", + "IPC_LOCK", + "IPC_OWNER", + "KILL", + "LEASE", + "LINUX_IMMUTABLE", + "MAC_ADMIN", + "MAC_OVERRIDE", + "MKNOD", + "NET_ADMIN", + "NET_BIND_SERVICE", + "NET_BROADCAST", + "NET_RAW", + "SETFCAP", + "SETGID", + "SETPCAP", + "SETUID", + "SYSLOG", + "SYS_ADMIN", + "SYS_BOOT", + "SYS_CHROOT", + "SYS_MODULE", + "SYS_NICE", + "SYS_PACCT", + "SYS_PTRACE", + "SYS_RAWIO", + "SYS_RESOURCE", + "SYS_TIME", + "SYS_TTY_CONFIG", + "WAKE_ALARM" ] }, - "uuid": { - "type": "string", + "capDrop": { + "type": "array[enum]", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 128 - }, - "transitioning": { - "type": "enum", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false, "options": [ - "yes", - "no", - "error" + "ALL", + "AUDIT_CONTROL", + "AUDIT_WRITE", + "BLOCK_SUSPEND", + "CHOWN", + "DAC_OVERRIDE", + "DAC_READ_SEARCH", + "FOWNER", + "FSETID", + "IPC_LOCK", + "IPC_OWNER", + "KILL", + "LEASE", + "LINUX_IMMUTABLE", + "MAC_ADMIN", + "MAC_OVERRIDE", + "MKNOD", + "NET_ADMIN", + "NET_BIND_SERVICE", + "NET_BROADCAST", + "NET_RAW", + "SETFCAP", + "SETGID", + "SETPCAP", + "SETUID", + "SYSLOG", + "SYS_ADMIN", + "SYS_BOOT", + "SYS_CHROOT", + "SYS_MODULE", + "SYS_NICE", + "SYS_PACCT", + "SYS_PTRACE", + "SYS_RAWIO", + "SYS_RESOURCE", + "SYS_TIME", + "SYS_TTY_CONFIG", + "WAKE_ALARM" ] }, - "transitioningMessage": { + "cgroupParent": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false }, - "transitioningProgress": { - "type": "int", + "command": { + "type": "array[string]", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false - } - }, - "collectionFilters": { - "accountId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "created": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "description": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "dnsPrefix": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "hostName": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "id": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "instanceId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "ipAddress": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "kind": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "managed": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "name": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - }, - "removeTime": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "removed": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "serviceId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] }, - "state": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "upgrade": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "uuid": { - "modifiers": [ - "eq", - "ne", - "prefix", - "like", - "notlike", - "null", - "notnull" - ] - } - }, - "includeableLinks": [ - "instance", - "service", - "account" - ], - "resourceActions": { - "create": { - "input": null, - "output": "serviceExposeMap" - }, - "remove": { - "input": null, - "output": "serviceExposeMap" - } - }, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "GET" - ], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "serviceLink", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/servicelink" - }, - "actions": {}, - "pluralName": "serviceLinks", - "resourceFields": { - "name": { - "type": "string", - "validChars": "a-zA-Z0-9-._", + "count": { + "type": "int", "description": null, "create": true, "update": false, "nullable": true, "readOnCreateOnly": false }, - "serviceId": { - "type": "reference[service]", + "cpuCount": { + "type": "int", "description": null, "create": true, "update": false, - "required": true, + "nullable": true, "readOnCreateOnly": false }, - "uuid": { - "type": "string", + "cpuPercent": { + "type": "int", "description": null, - "create": false, + "create": true, "update": false, + "nullable": true, "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "POST" - ], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "serviceProxy", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/serviceproxy", - "collection": "http://localhost:8082/v1/serviceproxies" - }, - "actions": {}, - "pluralName": "serviceProxies", - "resourceFields": { - "port": { + }, + "cpuPeriod": { "type": "int", - "transform": "", "description": null, "create": true, "update": false, "nullable": true, - "readOnCreateOnly": false, - "min": 0, - "default": 80 + "readOnCreateOnly": false }, - "scheme": { - "type": "enum", - "transform": "", + "cpuQuota": { + "type": "int", "description": null, "create": true, "update": false, - "readOnCreateOnly": false, - "options": [ - "http", - "https" - ], - "default": "http" + "nullable": true, + "readOnCreateOnly": false }, - "service": { + "cpuSet": { "type": "string", - "transform": "", "description": null, "create": true, "update": false, - "required": true, - "readOnCreateOnly": false, - "minLength": 1 + "nullable": true, + "readOnCreateOnly": false }, - "token": { + "cpuSetMems": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, + "nullable": true, "readOnCreateOnly": false }, - "url": { + "cpuShares": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "createIndex": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "dataVolumeMounts": { + "type": "map[reference[volume]]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "dataVolumes": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "dataVolumesFrom": { + "type": "array[reference[container]]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "dataVolumesFromLaunchConfigs": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "deploymentUnitUuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "devices": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "diskQuota": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "disks": { + "type": "array[virtualMachineDisk]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "dns": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "dnsOpt": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "dnsSearch": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "domainName": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "entryPoint": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "environment": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "expose": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "externalId": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "extraHosts": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "firstRunning": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "groupAdd": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthCheck": { + "type": "instanceHealthCheck", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthCmd": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthInterval": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthRetries": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthState": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "healthy", + "unhealthy", + "updating-healthy", + "updating-unhealthy", + "initializing" + ] + }, + "healthTimeout": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "hostId": { + "type": "reference[host]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "hostname": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "minLength": 1, + "maxLength": 255 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "imageUuid": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "instanceLinks": { + "type": "map[reference[instance]]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "instanceTriggeredStop": { + "type": "enum", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "stop", + "remove" + ], + "default": "stop" + }, + "ioMaximumBandwidth": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ioMaximumIOps": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ip": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ip6": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ipcMode": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "isolation": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kernelMemory": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kind": { + "type": "enum", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255, + "options": [ + "container", + "virtualMachine" + ], + "default": "container" + }, + "labels": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "logConfig": { + "type": "logConfig", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "lxcConf": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "memory": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "memoryMb": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "memoryReservation": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "memorySwap": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "memorySwappiness": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "milliCpuReservation": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "mounts": { + "type": "array[mountEntry]", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, + "name": { + "type": "string", + "validChars": "a-zA-Z0-9-", + "description": null, + "create": true, + "update": false, + "unique": true, + "required": true, + "readOnCreateOnly": false, + "minLength": 1, + "maxLength": 63 + }, + "nativeContainer": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "netAlias": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "networkContainerId": { + "type": "reference[container]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "networkIds": { + "type": "array[reference[network]]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "networkLaunchConfig": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "networkMode": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "default": "managed" + }, + "oomKillDisable": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "oomScoreAdj": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "pidMode": { + "type": "enum", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "options": [ + "host" + ] + }, + "pidsLimit": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ports": { + "type": "array[string]", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "primaryIpAddress": { + "type": "string", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, + "primaryNetworkId": { + "type": "reference[network]", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, + "privileged": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": false + }, + "publishAllPorts": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": false + }, + "readOnly": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": false + }, + "registryCredentialId": { + "type": "reference[registryCredential]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "requestedHostId": { + "type": "reference[host]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "requestedIpAddress": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "runInit": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": false + }, + "secrets": { + "type": "array[secretReference]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "securityOpt": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "serviceId": { + "type": "reference[service]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "serviceIds": { + "type": "array[reference[service]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "shmSize": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "stackId": { + "type": "reference[stack]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "startCount": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "startOnCreate": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": true + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "creating", + "error", + "erroring", + "migrating", + "purged", + "purging", + "removed", + "removing", + "requested", + "restarting", + "running", + "starting", + "stopped", + "stopping", + "updating-running", + "updating-stopped" + ] + }, + "stdinOpen": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": false + }, + "stopSignal": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "storageOpt": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "sysctls": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "system": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255, + "default": false + }, + "tmpfs": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "token": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "tty": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": false + }, + "ulimits": { + "type": "array[ulimit]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "user": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "minLength": 1 + }, + "userPorts": { + "type": "array[string]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "userdata": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 65535 + }, + "usernsMode": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "uts": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "vcpu": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "default": 1 + }, + "version": { + "type": "string", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255, + "default": "0" + }, + "volumeDriver": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "workingDir": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "minLength": 1 + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "agentId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "allocationState": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "compute": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "createIndex": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "deploymentUnitUuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "dnsInternal": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "dnsSearchInternal": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "domain": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "externalId": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "firstRunning": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "healthState": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "healthUpdated": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "hostname": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "imageId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "instanceTriggeredStop": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "memoryMb": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "memoryReservation": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "milliCpuReservation": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "nativeContainer": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "networkContainerId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "registryCredentialId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "serviceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "serviceIndexId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "startCount": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "system": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "token": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "userdata": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "version": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "zoneId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "agent", + "stack", + "networkContainer", + "credentials", + "instances", + "hosts", + "volumes", + "mounts", + "serviceEvents", + "serviceExposeMaps", + "services", + "ports", + "instanceLinks", + "healthcheckInstanceHostMaps", + "registryCredential", + "service", + "targetInstanceLinks", + "instanceLabels", + "account", + "serviceLogs" + ], + "resourceActions": { + "updateunhealthy": { + "input": null, + "output": "instance" + }, + "console": { + "input": "instanceConsoleInput", + "output": "instanceConsole" + }, + "restart": { + "input": null, + "output": "instance" + }, + "deallocate": { + "input": null, + "output": "instance" + }, + "start": { + "input": null, + "output": "instance" + }, + "updatereinitializing": { + "input": null, + "output": "instance" + }, + "update": { + "input": null, + "output": "instance" + }, + "purge": { + "input": null, + "output": "instance" + }, + "error": { + "input": null, + "output": "instance" + }, + "remove": { + "input": null, + "output": "instance" + }, + "stop": { + "input": "instanceStop", + "output": "instance" + }, + "allocate": { + "input": null, + "output": "instance" + }, + "create": { + "input": null, + "output": "instance" + }, + "updatehealthy": { + "input": null, + "output": "instance" + }, + "migrate": { + "input": null, + "output": "instance" + }, + "execute": { + "input": "containerExec", + "output": "hostAccess" + }, + "proxy": { + "input": "containerProxy", + "output": "hostAccess" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "POST" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "secret", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/secret", + "collection": "http://localhost:8080/v2-beta/secrets" + }, + "actions": {}, + "pluralName": "secrets", + "resourceFields": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "unique": true, + "required": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "active", + "creating", + "removed", + "removing", + "requested" + ] + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "value": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": true, + "maxLength": 16777215 + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "value": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "account" + ], + "resourceActions": { + "create": { + "input": null, + "output": "secret" + }, + "remove": { + "input": null, + "output": "secret" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "secretReference", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/secretreference" + }, + "actions": {}, + "pluralName": "secretReferences", + "resourceFields": { + "gid": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "mode": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "secretId": { + "type": "reference[secret]", + "transform": "", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "uid": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "POST" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "service", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/service", + "collection": "http://localhost:8080/v2-beta/services" + }, + "actions": {}, + "pluralName": "services", + "resourceFields": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "createIndex": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "externalId": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "healthState": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "name": { + "type": "string", + "validChars": "a-zA-Z0-9-", + "description": null, + "create": true, + "update": true, + "nullable": true, + "required": true, + "readOnCreateOnly": false, + "minLength": 1, + "maxLength": 63 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "selectorContainer": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 4096 + }, + "selectorLink": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 4096 + }, + "stackId": { + "type": "reference[stack]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "activating", + "active", + "canceled-upgrade", + "canceling-upgrade", + "deactivating", + "finishing-upgrade", + "inactive", + "registering", + "removed", + "removing", + "requested", + "restarting", + "rolling-back", + "updating-active", + "updating-inactive", + "upgraded", + "upgrading" + ] + }, + "system": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255, + "default": false + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "vip": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "scale": { + "type": "int", + "description": null, + "create": true, + "update": true, + "readOnCreateOnly": false, + "min": 0, + "default": 1 + }, + "currentScale": { + "type": "int", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, + "scalePolicy": { + "type": "scalePolicy", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "launchConfig": { + "type": "launchConfig", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "upgrade": { + "type": "serviceUpgrade", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "secondaryLaunchConfigs": { + "type": "array[secondaryLaunchConfig]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "metadata": { + "type": "map[json]", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "fqdn": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "publicEndpoints": { + "type": "array[publicEndpoint]", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "retainIp": { + "type": "boolean", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "assignServiceIpAddress": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": false + }, + "startOnCreate": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "default": false + }, + "linkedServices": { + "type": "map[reference[service]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "instanceIds": { + "type": "array[reference[instance]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "lbConfig": { + "type": "lbTargetConfig", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "createIndex": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "externalId": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "healthState": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "selectorContainer": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "selectorLink": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "skip": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "system": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "vip": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "consumedbyservices", + "stack", + "instances", + "storageDrivers", + "consumedservices", + "configItemStatuses", + "serviceExposeMaps", + "networkDrivers", + "account", + "serviceLogs" + ], + "resourceActions": { + "rollback": { + "input": null, + "output": "service" + }, + "upgrade": { + "input": "serviceUpgrade", + "output": "service" + }, + "restart": { + "input": "serviceRestart", + "output": "service" + }, + "update": { + "input": null, + "output": "service" + }, + "remove": { + "input": null, + "output": "service" + }, + "deactivate": { + "input": null, + "output": "service" + }, + "finishupgrade": { + "input": null, + "output": "service" + }, + "removeservicelink": { + "input": "addRemoveServiceLinkInput", + "output": "service" + }, + "continueupgrade": { + "input": null, + "output": "service" + }, + "activate": { + "input": null, + "output": "service" + }, + "addservicelink": { + "input": "addRemoveServiceLinkInput", + "output": "service" + }, + "create": { + "input": null, + "output": "service" + }, + "cancelupgrade": { + "input": null, + "output": "service" + }, + "setservicelinks": { + "input": "setServiceLinksInput", + "output": "service" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "serviceBinding", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/servicebinding" + }, + "actions": {}, + "pluralName": "serviceBindings", + "resourceFields": { + "labels": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "ports": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "serviceConsumeMap", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/serviceconsumemap", + "collection": "http://localhost:8080/v2-beta/serviceconsumemaps" + }, + "actions": {}, + "pluralName": "serviceConsumeMaps", + "resourceFields": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "consumedServiceId": { + "type": "reference[service]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "name": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "serviceId": { + "type": "reference[service]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "activating", + "active", + "removed", + "removing", + "requested", + "updating-active" + ] + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ports": { + "type": "array[string]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "required": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "consumedServiceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "serviceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "service", + "account", + "consumedService", + "instanceLinks" + ], + "resourceActions": { + "create": { + "input": null, + "output": "serviceConsumeMap" + }, + "update": { + "input": null, + "output": "serviceConsumeMap" + }, + "remove": { + "input": null, + "output": "serviceConsumeMap" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "serviceEvent", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/serviceevent", + "collection": "http://localhost:8080/v2-beta/serviceevents" + }, + "actions": {}, + "pluralName": "serviceEvents", + "resourceFields": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "externalTimestamp": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "healthcheckUuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "hostId": { + "type": "reference[host]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "instanceId": { + "type": "reference[instance]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "reportedHealth": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "created", + "creating", + "removed", + "removing", + "requested" + ] + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "externalTimestamp": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "healthcheckInstanceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "healthcheckUuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "hostId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "instanceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "reportedHealth": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "instance", + "host", + "account" + ], + "resourceActions": { + "create": { + "input": null, + "output": "serviceEvent" + }, + "remove": { + "input": null, + "output": "serviceEvent" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "serviceExposeMap", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/serviceexposemap", + "collection": "http://localhost:8080/v2-beta/serviceexposemaps" + }, + "actions": {}, + "pluralName": "serviceExposeMaps", + "resourceFields": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "instanceId": { + "type": "reference[instance]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "ipAddress": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "managed": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "serviceId": { + "type": "reference[service]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "activating", + "active", + "removed", + "removing", + "requested" + ] + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "dnsPrefix": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "hostName": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "instanceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "ipAddress": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "managed": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "serviceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "upgrade": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "instance", + "service", + "account" + ], + "resourceActions": { + "create": { + "input": null, + "output": "serviceExposeMap" + }, + "remove": { + "input": null, + "output": "serviceExposeMap" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "serviceLink", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/servicelink" + }, + "actions": {}, + "pluralName": "serviceLinks", + "resourceFields": { + "name": { + "type": "string", + "validChars": "a-zA-Z0-9-._", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "serviceId": { + "type": "reference[service]", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "POST" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "serviceLog", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/servicelog", + "collection": "http://localhost:8080/v2-beta/servicelogs" + }, + "actions": {}, + "pluralName": "serviceLogs", + "resourceFields": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 65535 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "endTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "eventType": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "instanceId": { + "type": "reference[instance]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "level": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "serviceId": { + "type": "reference[service]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "subLog": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "transactionId": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "endTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "eventType": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "instanceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "level": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "serviceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "subLog": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "transactionId": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "instance", + "service", + "account" + ], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "serviceProxy", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/serviceproxy", + "collection": "http://localhost:8080/v2-beta/serviceproxies" + }, + "actions": {}, + "pluralName": "serviceProxies", + "resourceFields": { + "port": { + "type": "int", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "min": 0, + "default": 80 + }, + "scheme": { + "type": "enum", + "transform": "", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "options": [ + "http", + "https" + ], + "default": "http" + }, + "service": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false, + "minLength": 1 + }, + "token": { + "type": "string", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, + "url": { + "type": "string", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "serviceRestart", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/servicerestart" + }, + "actions": {}, + "pluralName": "serviceRestarts", + "resourceFields": { + "rollingRestartStrategy": { + "type": "rollingRestartStrategy", + "transform": "", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "serviceUpgrade", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/serviceupgrade" + }, + "actions": {}, + "pluralName": "serviceUpgrades", + "resourceFields": { + "inServiceStrategy": { + "type": "inServiceUpgradeStrategy", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "toServiceStrategy": { + "type": "toServiceUpgradeStrategy", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "serviceUpgradeStrategy", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/serviceupgradestrategy" + }, + "actions": {}, + "pluralName": "serviceUpgradeStrategys", + "resourceFields": { + "batchSize": { + "type": "int", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "min": 1, + "default": 1 + }, + "intervalMillis": { + "type": "int", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "min": 100, + "default": 2000 + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "servicesPortRange", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/servicesportrange" + }, + "actions": {}, + "pluralName": "servicesPortRanges", + "resourceFields": { + "endPort": { + "type": "int", + "transform": "", + "description": null, + "create": true, + "update": true, + "nullable": true, + "required": true, + "readOnCreateOnly": false, + "min": 1, + "max": 65535 + }, + "startPort": { + "type": "int", + "transform": "", + "description": null, + "create": true, + "update": true, + "nullable": true, + "required": true, + "readOnCreateOnly": false, + "min": 1, + "max": 65535 + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "POST" + ], + "resourceMethods": [ + "GET", + "PUT" + ], + "baseType": "schema" + }, + { + "id": "setProjectMembersInput", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/setprojectmembersinput" + }, + "actions": {}, + "pluralName": "setProjectMembersInputs", + "resourceFields": { + "members": { + "type": "array[projectMember]", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false, + "minLength": 1 + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "setServiceLinksInput", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/setservicelinksinput" + }, + "actions": {}, + "pluralName": "setServiceLinksInputs", + "resourceFields": { + "serviceLinks": { + "type": "array[serviceLink]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "setting", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/setting", + "collection": "http://localhost:8080/v2-beta/settings" + }, + "actions": {}, + "pluralName": "settings", + "resourceFields": { + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "value": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "activeValue": { + "type": "string", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, + "source": { + "type": "string", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, + "inDb": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "value": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET", + "POST" + ], + "resourceMethods": [ + "GET", + "PUT", + "DELETE" + ], + "baseType": "schema" + }, + { + "id": "snapshot", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/snapshot", + "collection": "http://localhost:8080/v2-beta/snapshots" + }, + "actions": {}, + "pluralName": "snapshots", + "resourceFields": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "created", + "creating", + "removed", + "removing", + "requested" + ] + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "volumeId": { + "type": "reference[volume]", + "description": null, + "create": false, + "update": false, + "required": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "volumeId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "volume", + "account", + "backups" + ], + "resourceActions": { + "backup": { + "input": "snapshotBackupInput", + "output": "backup" + }, + "create": { + "input": null, + "output": "snapshot" + }, + "remove": { + "input": null, + "output": "snapshot" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "snapshotBackupInput", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/snapshotbackupinput" + }, + "actions": {}, + "pluralName": "snapshotBackupInputs", + "resourceFields": { + "backupTargetId": { + "type": "reference[backupTarget]", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 65535 + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "backupTargetId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "snapshotId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uri": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "volumeId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "backupTarget" + ], + "resourceActions": { + "create": { + "input": null, + "output": "backup" + }, + "remove": { + "input": null, + "output": "backup" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "stack", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/stack", + "collection": "http://localhost:8080/v2-beta/stacks" + }, + "actions": {}, + "pluralName": "stacks", + "resourceFields": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "externalId": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "group": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "healthState": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "name": { + "type": "string", + "validChars": "a-zA-Z0-9-", + "description": null, + "create": true, + "update": true, + "nullable": true, + "required": true, + "readOnCreateOnly": false, + "minLength": 1, + "maxLength": 63 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "activating", + "active", + "canceled-upgrade", + "canceling-upgrade", + "error", + "erroring", + "finishing-upgrade", + "removed", + "removing", + "requested", + "rolling-back", + "updating-active", + "upgraded", + "upgrading" + ] + }, + "system": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255, + "default": false + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "dockerCompose": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "rancherCompose": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "environment": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "answers": { + "type": "map[json]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "templates": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "previousExternalId": { "type": "string", "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "previousEnvironment": { + "type": "map[string]", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "startOnCreate": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "outputs": { + "type": "map[string]", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "binding": { + "type": "binding", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "serviceIds": { + "type": "array[reference[service]]", + "description": null, "create": false, "update": false, + "nullable": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "externalId": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "group": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "healthState": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "system": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "scheduledUpgrades", + "volumeTemplates", + "instances", + "hosts", + "volumes", + "configItemStatuses", + "services", + "secrets", + "account" + ], + "resourceActions": { + "rollback": { + "input": null, + "output": "stack" + }, + "deactivateservices": { + "input": null, + "output": "stack" + }, + "activateservices": { + "input": null, + "output": "stack" + }, + "upgrade": { + "input": "stackUpgrade", + "output": "stack" + }, + "addoutputs": { + "input": "addOutputsInput", + "output": "stack" + }, + "create": { + "input": null, + "output": "stack" + }, + "update": { + "input": null, + "output": "stack" + }, + "exportconfig": { + "input": "composeConfigInput", + "output": "composeConfig" + }, + "error": { + "input": null, + "output": "stack" + }, + "cancelupgrade": { + "input": null, + "output": "stack" + }, + "remove": { + "input": null, + "output": "stack" + }, + "finishupgrade": { + "input": null, + "output": "stack" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "stackUpgrade", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/stackupgrade" + }, + "actions": {}, + "pluralName": "stackUpgrades", + "resourceFields": { + "dockerCompose": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "rancherCompose": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "externalId": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "environment": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "answers": { + "type": "map[json]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "templates": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, "readOnCreateOnly": false } }, @@ -27593,30 +35165,53 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "GET", - "POST" - ], + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "stateTransition", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/statetransition" + }, + "actions": {}, + "pluralName": "stateTransitions", + "resourceFields": {}, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "serviceRestart", + "id": "statsAccess", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/servicerestart" + "self": "http://localhost:8080/v2-beta/schemas/statsaccess" }, "actions": {}, - "pluralName": "serviceRestarts", + "pluralName": "statsAccesses", "resourceFields": { - "rollingRestartStrategy": { - "type": "rollingRestartStrategy", - "transform": "", + "token": { + "type": "string", "description": null, - "create": true, + "create": false, + "update": false, + "readOnCreateOnly": false + }, + "url": { + "type": "string", + "description": null, + "create": false, "update": false, - "required": true, "readOnCreateOnly": false } }, @@ -27625,280 +35220,608 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "POST" - ], + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "serviceUpgrade", + "id": "storageDriver", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/serviceupgrade" + "self": "http://localhost:8080/v2-beta/schemas/storagedriver", + "collection": "http://localhost:8080/v2-beta/storagedrivers" }, "actions": {}, - "pluralName": "serviceUpgrades", + "pluralName": "storageDrivers", "resourceFields": { - "inServiceStrategy": { - "type": "inServiceUpgradeStrategy", - "transform": "", + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "description": { + "type": "string", "description": null, "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "id": { + "type": "int", + "description": null, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false }, - "toServiceStrategy": { - "type": "toServiceUpgradeStrategy", - "transform": "", + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "serviceId": { + "type": "reference[service]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "activating", + "active", + "creating", + "deactivating", + "inactive", + "removed", + "removing", + "requested", + "updating" + ] + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "volumeAccessMode": { + "type": "enum", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "options": [ + "singleHostRW", + "singleInstanceRW", + "multiHostRW" + ], + "default": "multiHostRW" + }, + "volumeCapabilities": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "blockDevicePath": { + "type": "string", "description": null, "create": true, "update": false, "nullable": true, "readOnCreateOnly": false + }, + "scope": { + "type": "enum", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "options": [ + "local", + "environment", + "custom" + ] + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "serviceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "service", + "storagePools", + "volumes", + "account" + ], + "resourceActions": { + "activate": { + "input": null, + "output": "storageDriver" + }, + "create": { + "input": null, + "output": "storageDriver" + }, + "update": { + "input": null, + "output": "storageDriver" + }, + "remove": { + "input": null, + "output": "storageDriver" + }, + "deactivate": { + "input": null, + "output": "storageDriver" } }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "POST" + "GET" ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "serviceUpgradeStrategy", + "id": "storageDriverService", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/serviceupgradestrategy" + "self": "http://localhost:8080/v2-beta/schemas/storagedriverservice", + "collection": "http://localhost:8080/v2-beta/storagedriverservices" }, "actions": {}, - "pluralName": "serviceUpgradeStrategys", + "pluralName": "storageDriverServices", "resourceFields": { - "batchSize": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "assignServiceIpAddress": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": false + }, + "createIndex": { "type": "int", - "transform": "", "description": null, - "create": true, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "currentScale": { + "type": "int", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "externalId": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "fqdn": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthState": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "instanceIds": { + "type": "array[reference[instance]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "launchConfig": { + "type": "launchConfig", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "lbConfig": { + "type": "lbTargetConfig", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "linkedServices": { + "type": "map[reference[service]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "metadata": { + "type": "map[json]", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "name": { + "type": "string", + "validChars": "a-zA-Z0-9-", + "description": null, + "create": true, + "update": true, + "nullable": true, + "required": true, + "readOnCreateOnly": false, + "minLength": 1, + "maxLength": 63 + }, + "publicEndpoints": { + "type": "array[publicEndpoint]", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "min": 1, - "default": 1 + "maxLength": 255 }, - "intervalMillis": { - "type": "int", - "transform": "", + "removed": { + "type": "date", "description": null, - "create": true, + "create": false, "update": false, "nullable": true, "readOnCreateOnly": false, - "min": 100, - "default": 2000 - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "servicesPortRange", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/servicesportrange" - }, - "actions": {}, - "pluralName": "servicesPortRanges", - "resourceFields": { - "endPort": { - "type": "int", - "transform": "", + "maxLength": 255 + }, + "retainIp": { + "type": "boolean", "description": null, "create": true, "update": true, "nullable": true, - "required": true, - "readOnCreateOnly": false, - "min": 1, - "max": 65535 + "readOnCreateOnly": false }, - "startPort": { + "scale": { "type": "int", - "transform": "", "description": null, "create": true, "update": true, - "nullable": true, - "required": true, "readOnCreateOnly": false, - "min": 1, - "max": 65535 - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "POST" - ], - "resourceMethods": [ - "GET", - "PUT" - ] - }, - { - "id": "setLabelsInput", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/setlabelsinput" - }, - "actions": {}, - "pluralName": "setLabelsInputs", - "resourceFields": { - "labels": { - "type": "json", + "min": 0, + "default": 1 + }, + "scalePolicy": { + "type": "scalePolicy", "description": null, "create": true, - "update": false, + "update": true, + "nullable": true, "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "POST" - ], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "setLoadBalancerServiceLinksInput", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/setloadbalancerservicelinksinput" - }, - "actions": {}, - "pluralName": "setLoadBalancerServiceLinksInputs", - "resourceFields": { - "serviceLinks": { - "type": "array[loadBalancerServiceLink]", + }, + "secondaryLaunchConfigs": { + "type": "array[secondaryLaunchConfig]", "description": null, "create": true, "update": false, - "nullable": true, "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "setProjectMembersInput", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/setprojectmembersinput" - }, - "actions": {}, - "pluralName": "setProjectMembersInputs", - "resourceFields": { - "members": { - "type": "array[projectMember]", + }, + "selectorContainer": { + "type": "string", "description": null, "create": true, - "update": false, - "required": true, + "update": true, + "nullable": true, "readOnCreateOnly": false, - "minLength": 1 - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "POST" - ], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "setServiceLinksInput", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/setservicelinksinput" - }, - "actions": {}, - "pluralName": "setServiceLinksInputs", - "resourceFields": { - "serviceLinks": { - "type": "array[serviceLink]", + "maxLength": 4096 + }, + "selectorLink": { + "type": "string", "description": null, "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false - } - }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "POST" - ], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "setting", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/setting", - "collection": "http://localhost:8082/v1/settings" - }, - "actions": {}, - "pluralName": "settings", - "resourceFields": { - "id": { - "type": "int", - "description": null, - "create": false, - "update": false, + "update": true, "nullable": true, - "readOnCreateOnly": false + "readOnCreateOnly": false, + "maxLength": 4096 }, - "name": { - "type": "string", + "stackId": { + "type": "reference[stack]", "description": null, "create": true, "update": false, @@ -27906,38 +35829,180 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "value": { - "type": "string", + "startOnCreate": { + "type": "boolean", "description": null, "create": true, - "update": true, + "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 1024 + "default": false }, - "activeValue": { + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "activating", + "active", + "canceled-upgrade", + "canceling-upgrade", + "deactivating", + "finishing-upgrade", + "inactive", + "registering", + "removed", + "removing", + "requested", + "restarting", + "rolling-back", + "updating-active", + "updating-inactive", + "upgraded", + "upgrading" + ] + }, + "system": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255, + "default": false + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { "type": "string", "description": null, "create": false, "update": false, + "nullable": true, "readOnCreateOnly": false }, - "source": { - "type": "string", + "transitioningProgress": { + "type": "int", "description": null, "create": false, "update": false, + "nullable": true, "readOnCreateOnly": false }, - "inDb": { - "type": "boolean", + "upgrade": { + "type": "serviceUpgrade", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "uuid": { + "type": "string", "description": null, "create": false, "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "vip": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "storageDriver": { + "type": "storageDriver", + "description": null, + "create": true, + "update": true, + "required": true, "readOnCreateOnly": false } }, "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "createIndex": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "externalId": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "healthState": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, "id": { "modifiers": [ "eq", @@ -27950,6 +36015,17 @@ "notnull" ] }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, "name": { "modifiers": [ "eq", @@ -27961,7 +36037,96 @@ "notnull" ] }, - "value": { + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "selectorContainer": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "selectorLink": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "skip": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "system": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "vip": { "modifiers": [ "eq", "ne", @@ -27973,29 +36138,95 @@ ] } }, - "includeableLinks": [], - "resourceActions": {}, + "includeableLinks": [ + "consumedbyservices", + "stack", + "instances", + "storageDrivers", + "consumedservices", + "configItemStatuses", + "serviceExposeMaps", + "networkDrivers", + "account", + "serviceLogs" + ], + "resourceActions": { + "rollback": { + "input": null, + "output": "service" + }, + "upgrade": { + "input": "serviceUpgrade", + "output": "service" + }, + "restart": { + "input": "serviceRestart", + "output": "service" + }, + "update": { + "input": null, + "output": "service" + }, + "remove": { + "input": null, + "output": "service" + }, + "deactivate": { + "input": null, + "output": "service" + }, + "finishupgrade": { + "input": null, + "output": "service" + }, + "removeservicelink": { + "input": "addRemoveServiceLinkInput", + "output": "service" + }, + "continueupgrade": { + "input": null, + "output": "service" + }, + "activate": { + "input": null, + "output": "service" + }, + "addservicelink": { + "input": "addRemoveServiceLinkInput", + "output": "service" + }, + "create": { + "input": null, + "output": "service" + }, + "cancelupgrade": { + "input": null, + "output": "service" + }, + "setservicelinks": { + "input": "setServiceLinksInput", + "output": "service" + } + }, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { - "id": "snapshot", + "id": "storagePool", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/snapshot", - "collection": "http://localhost:8082/v1/snapshots" + "self": "http://localhost:8080/v2-beta/schemas/storagepool", + "collection": "http://localhost:8080/v2-beta/storagepools" }, "actions": {}, - "pluralName": "snapshots", + "pluralName": "storagePools", "resourceFields": { "accountId": { "type": "reference[account]", @@ -28033,6 +36264,24 @@ "readOnCreateOnly": false, "maxLength": 1024 }, + "driverName": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "externalId": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, "id": { "type": "int", "description": null, @@ -28085,13 +36334,29 @@ "readOnCreateOnly": false, "maxLength": 128, "options": [ - "created", - "creating", + "activating", + "active", + "deactivating", + "inactive", + "purged", + "purging", + "registering", "removed", "removing", - "requested" + "requested", + "updating-active", + "updating-inactive" ] }, + "storageDriverId": { + "type": "reference[storageDriver]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "uuid": { "type": "string", "description": null, @@ -28101,12 +36366,12 @@ "readOnCreateOnly": false, "maxLength": 128 }, - "volumeId": { - "type": "reference[volume]", + "volumeAccessMode": { + "type": "string", "description": null, "create": false, "update": false, - "required": true, + "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, @@ -28137,6 +36402,38 @@ "update": false, "nullable": true, "readOnCreateOnly": false + }, + "hostIds": { + "type": "array[reference[host]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "blockDevicePath": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "volumeCapabilities": { + "type": "array[string]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "volumeIds": { + "type": "array[reference[volume]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false } }, "collectionFilters": { @@ -28148,30 +36445,15 @@ "notnull" ] }, - "created": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "description": { + "agentId": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", "null", "notnull" ] }, - "id": { + "created": { "modifiers": [ "eq", "ne", @@ -28183,7 +36465,7 @@ "notnull" ] }, - "kind": { + "description": { "modifiers": [ "eq", "ne", @@ -28194,7 +36476,7 @@ "notnull" ] }, - "name": { + "driverName": { "modifiers": [ "eq", "ne", @@ -28205,31 +36487,7 @@ "notnull" ] }, - "removeTime": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "removed": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "state": { + "external": { "modifiers": [ "eq", "ne", @@ -28237,7 +36495,7 @@ "notnull" ] }, - "uuid": { + "externalId": { "modifiers": [ "eq", "ne", @@ -28248,109 +36506,7 @@ "notnull" ] }, - "volumeId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - } - }, - "includeableLinks": [ - "volume", - "account", - "backups" - ], - "resourceActions": { - "backup": { - "input": "snapshotBackupInput", - "output": "backup" - }, - "create": { - "input": null, - "output": "snapshot" - }, - "remove": { - "input": null, - "output": "snapshot" - } - }, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "GET" - ], - "resourceMethods": [ - "GET", - "DELETE" - ] - }, - { - "id": "snapshotBackupInput", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/snapshotbackupinput", - "collection": "http://localhost:8082/v1/snapshotbackupinputs" - }, - "actions": {}, - "pluralName": "snapshotBackupInputs", - "resourceFields": { - "backupTargetId": { - "type": "reference[backupTarget]", - "description": null, - "create": true, - "update": false, - "required": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "data": { - "type": "map[json]", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 65535 - }, - "name": { - "type": "string", - "description": null, - "create": true, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, - "removeTime": { - "type": "date", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - } - }, - "collectionFilters": { - "accountId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "backupTargetId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "created": { + "id": { "modifiers": [ "eq", "ne", @@ -28362,7 +36518,7 @@ "notnull" ] }, - "description": { + "kind": { "modifiers": [ "eq", "ne", @@ -28373,19 +36529,7 @@ "notnull" ] }, - "id": { - "modifiers": [ - "eq", - "ne", - "lt", - "lte", - "gt", - "gte", - "null", - "notnull" - ] - }, - "kind": { + "name": { "modifiers": [ "eq", "ne", @@ -28396,13 +36540,14 @@ "notnull" ] }, - "name": { + "physicalTotalSizeMb": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] @@ -28431,7 +36576,7 @@ "notnull" ] }, - "snapshotId": { + "state": { "modifiers": [ "eq", "ne", @@ -28439,7 +36584,7 @@ "notnull" ] }, - "state": { + "storageDriverId": { "modifiers": [ "eq", "ne", @@ -28447,7 +36592,7 @@ "notnull" ] }, - "uri": { + "uuid": { "modifiers": [ "eq", "ne", @@ -28458,7 +36603,19 @@ "notnull" ] }, - "uuid": { + "virtualTotalSizeMb": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "volumeAccessMode": { "modifiers": [ "eq", "ne", @@ -28469,7 +36626,7 @@ "notnull" ] }, - "volumeId": { + "zoneId": { "modifiers": [ "eq", "ne", @@ -28479,74 +36636,39 @@ } }, "includeableLinks": [ - "backuptarget" + "images", + "storageDriver", + "credentials", + "hosts", + "volumes", + "account" ], "resourceActions": { + "activate": { + "input": null, + "output": "storagePool" + }, "create": { "input": null, - "output": "backup" + "output": "storagePool" + }, + "update": { + "input": null, + "output": "storagePool" + }, + "purge": { + "input": null, + "output": "storagePool" }, "remove": { "input": null, - "output": "backup" - } - }, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [ - "GET" - ], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "stateTransition", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/statetransition" - }, - "actions": {}, - "pluralName": "stateTransitions", - "resourceFields": {}, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, - "collectionActions": {}, - "collectionFields": {}, - "collectionMethods": [], - "resourceMethods": [ - "GET" - ] - }, - { - "id": "statsAccess", - "type": "schema", - "links": { - "self": "http://localhost:8082/v1/schemas/statsaccess", - "collection": "http://localhost:8082/v1/statsaccesses" - }, - "actions": {}, - "pluralName": "statsAccesses", - "resourceFields": { - "token": { - "type": "string", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false + "output": "storagePool" }, - "url": { - "type": "string", - "description": null, - "create": false, - "update": false, - "readOnCreateOnly": false + "deactivate": { + "input": null, + "output": "storagePool" } }, - "collectionFilters": {}, - "includeableLinks": [], - "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ @@ -28554,17 +36676,18 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "storagePool", + "id": "subnet", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/storagepool", - "collection": "http://localhost:8082/v1/storagepools" + "self": "http://localhost:8080/v2-beta/schemas/subnet", + "collection": "http://localhost:8080/v2-beta/subnets" }, "actions": {}, - "pluralName": "storagePools", + "pluralName": "subnets", "resourceFields": { "accountId": { "type": "reference[account]", @@ -28575,6 +36698,19 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "cidrSize": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "required": true, + "readOnCreateOnly": false, + "min": 8, + "max": 28, + "maxLength": 255, + "default": 24 + }, "created": { "type": "date", "description": null, @@ -28602,23 +36738,23 @@ "readOnCreateOnly": false, "maxLength": 1024 }, - "driverName": { + "endAddress": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, "maxLength": 255 }, - "externalId": { + "gateway": { "type": "string", "description": null, - "create": false, + "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 128 + "maxLength": 255 }, "id": { "type": "int", @@ -28646,6 +36782,26 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "networkAddress": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "required": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "networkId": { + "type": "reference[network]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "required": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "removeTime": { "type": "date", "description": null, @@ -28664,6 +36820,15 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "startAddress": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "state": { "type": "enum", "description": null, @@ -28682,7 +36847,6 @@ "removed", "removing", "requested", - "restoring", "updating-active", "updating-inactive" ] @@ -28696,15 +36860,6 @@ "readOnCreateOnly": false, "maxLength": 128 }, - "volumeAccessMode": { - "type": "string", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false, - "maxLength": 255 - }, "transitioning": { "type": "enum", "description": null, @@ -28732,22 +36887,6 @@ "update": false, "nullable": true, "readOnCreateOnly": false - }, - "blockDevicePath": { - "type": "string", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false - }, - "volumeCapabilities": { - "type": "array[string]", - "description": null, - "create": false, - "update": false, - "nullable": true, - "readOnCreateOnly": false } }, "collectionFilters": { @@ -28759,10 +36898,14 @@ "notnull" ] }, - "agentId": { + "cidrSize": { "modifiers": [ "eq", "ne", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] @@ -28790,7 +36933,7 @@ "notnull" ] }, - "driverName": { + "endAddress": { "modifiers": [ "eq", "ne", @@ -28801,15 +36944,7 @@ "notnull" ] }, - "external": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] - }, - "externalId": { + "gateway": { "modifiers": [ "eq", "ne", @@ -28832,6 +36967,14 @@ "notnull" ] }, + "isPublic": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "kind": { "modifiers": [ "eq", @@ -28854,31 +36997,26 @@ "notnull" ] }, - "physicalTotalSizeMb": { + "networkAddress": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", + "prefix", + "like", + "notlike", "null", "notnull" ] }, - "removeTime": { + "networkId": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", "null", "notnull" ] }, - "removed": { + "removeTime": { "modifiers": [ "eq", "ne", @@ -28890,15 +37028,19 @@ "notnull" ] }, - "state": { + "removed": { "modifiers": [ "eq", "ne", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "uuid": { + "startAddress": { "modifiers": [ "eq", "ne", @@ -28909,19 +37051,15 @@ "notnull" ] }, - "virtualTotalSizeMb": { + "state": { "modifiers": [ "eq", "ne", - "lt", - "lte", - "gt", - "gte", "null", "notnull" ] }, - "volumeAccessMode": { + "uuid": { "modifiers": [ "eq", "ne", @@ -28931,51 +37069,37 @@ "null", "notnull" ] - }, - "zoneId": { - "modifiers": [ - "eq", - "ne", - "null", - "notnull" - ] } }, "includeableLinks": [ - "images", - "credentials", - "hosts", - "volumes", - "account" + "ipAddresses", + "account", + "network" ], "resourceActions": { - "restore": { - "input": null, - "output": "storagePool" - }, "activate": { "input": null, - "output": "storagePool" + "output": "subnet" }, "create": { "input": null, - "output": "storagePool" + "output": "subnet" }, "update": { "input": null, - "output": "storagePool" + "output": "subnet" }, "purge": { "input": null, - "output": "storagePool" + "output": "subnet" }, "remove": { "input": null, - "output": "storagePool" + "output": "subnet" }, "deactivate": { "input": null, - "output": "storagePool" + "output": "subnet" } }, "collectionActions": {}, @@ -28985,62 +37109,75 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { - "id": "subscribe", + "id": "targetPortRule", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/subscribe", - "collection": "http://localhost:8082/v1/subscribe" + "self": "http://localhost:8080/v2-beta/schemas/targetportrule" }, "actions": {}, - "pluralName": "subscribe", + "pluralName": "targetPortRules", "resourceFields": { - "agentId": { - "type": "reference[agent]", + "backendName": { + "type": "string", + "transform": "", "description": null, "create": true, "update": false, "nullable": true, "readOnCreateOnly": false }, - "eventNames": { - "type": "array[string]", - "validChars": "*._0-9a-zA-Z;=", + "hostname": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "path": { + "type": "string", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "targetPort": { + "type": "int", "transform": "", "description": null, "create": true, "update": false, + "nullable": true, + "required": true, "readOnCreateOnly": false, - "minLength": 1 - } - }, - "collectionFilters": { - "eventNames": { - "modifiers": [ - "eq" - ] + "min": 1, + "max": 65535 } }, + "collectionFilters": {}, "includeableLinks": [], "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "GET", - "POST" - ], + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "task", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/task", - "collection": "http://localhost:8082/v1/tasks" + "self": "http://localhost:8080/v2-beta/schemas/task", + "collection": "http://localhost:8080/v2-beta/tasks" }, "actions": {}, "pluralName": "tasks", @@ -29089,7 +37226,7 @@ } }, "includeableLinks": [ - "taskinstances" + "taskInstances" ], "resourceActions": { "execute": { @@ -29104,14 +37241,15 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "taskInstance", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/taskinstance", - "collection": "http://localhost:8082/v1/taskinstances" + "self": "http://localhost:8080/v2-beta/schemas/taskinstance", + "collection": "http://localhost:8080/v2-beta/taskinstances" }, "actions": {}, "pluralName": "taskInstances", @@ -29267,13 +37405,14 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "toServiceUpgradeStrategy", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/toserviceupgradestrategy" + "self": "http://localhost:8080/v2-beta/schemas/toserviceupgradestrategy" }, "actions": {}, "pluralName": "toServiceUpgradeStrategys", @@ -29332,19 +37471,18 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "POST" - ], + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "typeDocumentation", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/typedocumentation", - "collection": "http://localhost:8082/v1/typedocumentations" + "self": "http://localhost:8080/v2-beta/schemas/typedocumentation", + "collection": "http://localhost:8080/v2-beta/typedocumentations" }, "actions": {}, "pluralName": "typeDocumentations", @@ -29381,14 +37519,393 @@ ], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" + }, + { + "id": "ulimit", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/ulimit" + }, + "actions": {}, + "pluralName": "ulimits", + "resourceFields": { + "hard": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false + }, + "soft": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" + }, + { + "id": "userPreference", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/userpreference", + "collection": "http://localhost:8080/v2-beta/userpreferences" + }, + "actions": {}, + "pluralName": "userPreferences", + "resourceFields": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "activating", + "active", + "deactivating", + "inactive", + "purged", + "purging", + "registering", + "removed", + "removing", + "requested", + "updating-active", + "updating-inactive" + ] + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "value": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 16777215 + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "all": { + "type": "boolean", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "all": { + "modifiers": [ + "eq" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "value": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "account" + ], + "resourceActions": { + "activate": { + "input": null, + "output": "userPreference" + }, + "create": { + "input": null, + "output": "userPreference" + }, + "update": { + "input": null, + "output": "userPreference" + }, + "purge": { + "input": null, + "output": "userPreference" + }, + "remove": { + "input": null, + "output": "userPreference" + }, + "deactivate": { + "input": null, + "output": "userPreference" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET", + "POST" + ], + "resourceMethods": [ + "GET", + "PUT", + "DELETE" + ], + "baseType": "schema" }, { "id": "virtualMachine", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/virtualmachine", - "collection": "http://localhost:8082/v1/virtualmachines" + "self": "http://localhost:8080/v2-beta/schemas/virtualmachine", + "collection": "http://localhost:8080/v2-beta/virtualmachines" }, "actions": {}, "pluralName": "virtualMachines", @@ -29428,6 +37945,22 @@ "nullable": true, "readOnCreateOnly": false }, + "blkioWeight": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "cgroupParent": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "command": { "type": "array[string]", "description": null, @@ -29444,6 +37977,38 @@ "nullable": true, "readOnCreateOnly": false }, + "cpuCount": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "cpuPercent": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "cpuPeriod": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "cpuQuota": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "cpuSet": { "type": "string", "description": null, @@ -29452,6 +38017,14 @@ "nullable": true, "readOnCreateOnly": false }, + "cpuSetMems": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "cpuShares": { "type": "int", "description": null, @@ -29505,6 +38078,14 @@ "readOnCreateOnly": false, "maxLength": 1024 }, + "diskQuota": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "dns": { "type": "array[string]", "description": null, @@ -29513,6 +38094,14 @@ "nullable": true, "readOnCreateOnly": false }, + "dnsOpt": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "dnsSearch": { "type": "array[string]", "description": null, @@ -29563,6 +38152,14 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "groupAdd": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "healthCheck": { "type": "instanceHealthCheck", "description": null, @@ -29571,6 +38168,30 @@ "nullable": true, "readOnCreateOnly": false }, + "healthCmd": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthInterval": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "healthRetries": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "healthState": { "type": "enum", "description": null, @@ -29587,6 +38208,14 @@ "initializing" ] }, + "healthTimeout": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "hostId": { "type": "reference[host]", "description": null, @@ -29629,6 +38258,76 @@ "nullable": true, "readOnCreateOnly": false }, + "instanceTriggeredStop": { + "type": "enum", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "stop", + "remove" + ], + "default": "stop" + }, + "ioMaximumBandwidth": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ioMaximumIOps": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ip": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ip6": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "ipcMode": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "isolation": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kernelMemory": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "kind": { "type": "string", "description": null, @@ -29671,6 +38370,15 @@ "maxLength": 255, "default": 512 }, + "memoryReservation": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "memorySwap": { "type": "int", "description": null, @@ -29679,12 +38387,37 @@ "nullable": true, "readOnCreateOnly": false }, + "memorySwappiness": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "milliCpuReservation": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "mounts": { + "type": "array[mountEntry]", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, "name": { "type": "string", "description": null, "create": true, "update": true, "nullable": true, + "unique": true, "readOnCreateOnly": false, "maxLength": 255 }, @@ -29696,6 +38429,14 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "netAlias": { + "type": "array[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "networkIds": { "type": "array[reference[network]]", "description": null, @@ -29705,21 +38446,38 @@ "readOnCreateOnly": false }, "networkMode": { - "type": "enum", + "type": "string", "description": null, "create": true, "update": false, "nullable": true, "readOnCreateOnly": false, - "options": [ - "none", - "bridge", - "host", - "managed", - "container" - ], "default": "managed" }, + "oomKillDisable": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "oomScoreAdj": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "pidsLimit": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "ports": { "type": "array[string]", "description": null, @@ -29735,6 +38493,13 @@ "update": false, "readOnCreateOnly": false }, + "primaryNetworkId": { + "type": "reference[network]", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false + }, "registryCredentialId": { "type": "reference[registryCredential]", "description": null, @@ -29778,6 +38543,14 @@ "nullable": true, "readOnCreateOnly": false }, + "runInit": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "default": false + }, "securityOpt": { "type": "array[string]", "description": null, @@ -29786,6 +38559,40 @@ "nullable": true, "readOnCreateOnly": false }, + "serviceId": { + "type": "reference[service]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "serviceIds": { + "type": "array[reference[service]]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "shmSize": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "stackId": { + "type": "reference[stack]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "startCount": { "type": "int", "description": null, @@ -29821,7 +38628,6 @@ "removing", "requested", "restarting", - "restoring", "running", "starting", "stopped", @@ -29830,18 +38636,46 @@ "updating-stopped" ] }, - "systemContainer": { - "type": "enum", + "stopSignal": { + "type": "string", "description": null, - "create": false, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "storageOpt": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "sysctls": { + "type": "map[string]", + "description": null, + "create": true, "update": false, "nullable": true, + "readOnCreateOnly": false + }, + "system": { + "type": "boolean", + "description": null, + "create": false, + "update": false, "readOnCreateOnly": false, - "maxLength": 128, - "options": [ - "NetworkAgent", - "LoadBalancerAgent" - ] + "maxLength": 255, + "default": false + }, + "tmpfs": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false }, "token": { "type": "string", @@ -29880,6 +38714,22 @@ "nullable": true, "readOnCreateOnly": false }, + "ulimits": { + "type": "array[ulimit]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "userPorts": { + "type": "array[string]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "userdata": { "type": "string", "description": null, @@ -29889,6 +38739,22 @@ "readOnCreateOnly": false, "maxLength": 65535 }, + "usernsMode": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "uts": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, "uuid": { "type": "string", "description": null, @@ -30163,26 +39029,42 @@ "notnull" ] }, - "name": { + "memoryReservation": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "nativeContainer": { + "milliCpuReservation": { "modifiers": [ "eq", "ne", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "networkContainerId": { + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "nativeContainer": { "modifiers": [ "eq", "ne", @@ -30190,7 +39072,7 @@ "notnull" ] }, - "offeringId": { + "networkContainerId": { "modifiers": [ "eq", "ne", @@ -30230,6 +39112,14 @@ "notnull" ] }, + "serviceId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "serviceIndexId": { "modifiers": [ "eq", @@ -30238,6 +39128,14 @@ "notnull" ] }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "startCount": { "modifiers": [ "eq", @@ -30258,13 +39156,10 @@ "notnull" ] }, - "systemContainer": { + "system": { "modifiers": [ "eq", "ne", - "prefix", - "like", - "notlike", "null", "notnull" ] @@ -30324,21 +39219,24 @@ }, "includeableLinks": [ "agent", + "stack", "credentials", "instances", "hosts", "volumes", "mounts", - "serviceevents", - "serviceexposemaps", + "serviceEvents", + "serviceExposeMaps", "services", "ports", - "instancelinks", - "healthcheckinstancehostmaps", - "registrycredential", - "targetinstancelinks", - "instancelabels", - "account" + "instanceLinks", + "healthcheckInstanceHostMaps", + "registryCredential", + "service", + "targetInstanceLinks", + "instanceLabels", + "account", + "serviceLogs" ], "resourceActions": { "updateunhealthy": { @@ -30349,10 +39247,6 @@ "input": "instanceConsoleInput", "output": "instanceConsole" }, - "restore": { - "input": null, - "output": "instance" - }, "restart": { "input": null, "output": "instance" @@ -30385,14 +39279,14 @@ "input": null, "output": "instance" }, - "allocate": { - "input": null, - "output": "instance" - }, "stop": { "input": "instanceStop", "output": "instance" }, + "allocate": { + "input": null, + "output": "instance" + }, "create": { "input": null, "output": "instance" @@ -30409,10 +39303,6 @@ "input": "containerLogs", "output": "hostAccess" }, - "setlabels": { - "input": "setLabelsInput", - "output": "container" - }, "execute": { "input": "containerExec", "output": "hostAccess" @@ -30425,20 +39315,18 @@ "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ - "GET", - "PUT", - "DELETE" - ] + "GET" + ], + "baseType": "schema" }, { "id": "virtualMachineDisk", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/virtualmachinedisk" + "self": "http://localhost:8080/v2-beta/schemas/virtualmachinedisk" }, "actions": {}, "pluralName": "virtualMachineDisks", @@ -30506,19 +39394,18 @@ "resourceActions": {}, "collectionActions": {}, "collectionFields": {}, - "collectionMethods": [ - "POST" - ], + "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" }, { "id": "volume", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/volume", - "collection": "http://localhost:8082/v1/volumes" + "self": "http://localhost:8080/v2-beta/schemas/volume", + "collection": "http://localhost:8080/v2-beta/volumes" }, "actions": {}, "pluralName": "volumes", @@ -30577,6 +39464,15 @@ "readOnCreateOnly": false, "maxLength": 128 }, + "hostId": { + "type": "reference[host]", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "id": { "type": "int", "description": null, @@ -30618,7 +39514,6 @@ "create": true, "update": false, "nullable": true, - "unique": true, "required": true, "readOnCreateOnly": false, "maxLength": 255 @@ -30641,6 +39536,24 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "sizeMb": { + "type": "int", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "stackId": { + "type": "reference[stack]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "state": { "type": "enum", "description": null, @@ -30651,7 +39564,9 @@ "options": [ "activating", "active", + "creating", "deactivating", + "detached", "inactive", "purged", "purging", @@ -30659,7 +39574,6 @@ "removed", "removing", "requested", - "restoring", "restoring-active", "restoring-inactive", "reverting-active", @@ -30668,6 +39582,14 @@ "updating-inactive" ] }, + "storageDriverId": { + "type": "reference[storageDriver]", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255 + }, "uri": { "type": "string", "description": null, @@ -30675,7 +39597,7 @@ "update": false, "nullable": true, "readOnCreateOnly": false, - "maxLength": 512 + "maxLength": 255 }, "uuid": { "type": "string", @@ -30686,6 +39608,15 @@ "readOnCreateOnly": false, "maxLength": 128 }, + "volumeTemplateId": { + "type": "reference[volumeTemplate]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, "transitioning": { "type": "enum", "description": null, @@ -30727,16 +39658,22 @@ "description": null, "create": true, "update": false, - "required": true, "readOnCreateOnly": false }, "driverOpts": { "type": "map[string]", "description": null, "create": true, - "update": false, + "update": true, "nullable": true, "readOnCreateOnly": false + }, + "mounts": { + "type": "array[mountEntry]", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false } }, "collectionFilters": { @@ -30793,6 +39730,14 @@ "notnull" ] }, + "deploymentUnitId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "description": { "modifiers": [ "eq", @@ -30896,15 +39841,19 @@ "notnull" ] }, - "offeringId": { + "physicalSizeMb": { "modifiers": [ "eq", "ne", + "lt", + "lte", + "gt", + "gte", "null", "notnull" ] }, - "physicalSizeMb": { + "removeTime": { "modifiers": [ "eq", "ne", @@ -30916,7 +39865,7 @@ "notnull" ] }, - "removeTime": { + "removed": { "modifiers": [ "eq", "ne", @@ -30928,7 +39877,7 @@ "notnull" ] }, - "removed": { + "sizeMb": { "modifiers": [ "eq", "ne", @@ -30940,6 +39889,14 @@ "notnull" ] }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "state": { "modifiers": [ "eq", @@ -30948,6 +39905,14 @@ "notnull" ] }, + "storageDriverId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "uri": { "modifiers": [ "eq", @@ -30982,6 +39947,14 @@ "notnull" ] }, + "volumeTemplateId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, "zoneId": { "modifiers": [ "eq", @@ -30994,8 +39967,12 @@ "includeableLinks": [ "snapshots", "image", + "stack", + "storageDriver", "instance", - "storagepools", + "volumeTemplate", + "storagePools", + "host", "mounts", "account", "backups" @@ -31005,10 +39982,6 @@ "input": null, "output": "volume" }, - "restore": { - "input": null, - "output": "volume" - }, "restorefrombackup": { "input": "restoreFromBackupInput", "output": "volume" @@ -31017,10 +39990,6 @@ "input": null, "output": "volume" }, - "activate": { - "input": null, - "output": "volume" - }, "create": { "input": null, "output": "volume" @@ -31049,19 +40018,48 @@ "collectionActions": {}, "collectionFields": {}, "collectionMethods": [ - "GET", - "POST" + "GET" ], "resourceMethods": [ - "GET", - "DELETE" - ] + "GET" + ], + "baseType": "schema" + }, + { + "id": "volumeActivateInput", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/volumeactivateinput" + }, + "actions": {}, + "pluralName": "volumeActivateInputs", + "resourceFields": { + "hostId": { + "type": "reference", + "transform": "", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": {}, + "includeableLinks": [], + "resourceActions": {}, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" }, { "id": "volumeSnapshotInput", "type": "schema", "links": { - "self": "http://localhost:8082/v1/schemas/volumesnapshotinput" + "self": "http://localhost:8080/v2-beta/schemas/volumesnapshotinput" }, "actions": {}, "pluralName": "volumeSnapshotInputs", @@ -31083,7 +40081,387 @@ "collectionMethods": [], "resourceMethods": [ "GET" - ] + ], + "baseType": "schema" + }, + { + "id": "volumeTemplate", + "type": "schema", + "links": { + "self": "http://localhost:8080/v2-beta/schemas/volumetemplate", + "collection": "http://localhost:8080/v2-beta/volumetemplates" + }, + "actions": {}, + "pluralName": "volumeTemplates", + "resourceFields": { + "accountId": { + "type": "reference[account]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "created": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "data": { + "type": "map[json]", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 65535 + }, + "description": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 1024 + }, + "driver": { + "type": "string", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "external": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "id": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "kind": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "name": { + "type": "string", + "description": null, + "create": true, + "update": true, + "nullable": true, + "required": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "perContainer": { + "type": "boolean", + "description": null, + "create": true, + "update": false, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removeTime": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "removed": { + "type": "date", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "stackId": { + "type": "reference[stack]", + "description": null, + "create": true, + "update": false, + "required": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "state": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "maxLength": 128, + "options": [ + "activating", + "active", + "deactivating", + "inactive", + "purged", + "purging", + "registering", + "removed", + "removing", + "requested", + "updating-active", + "updating-inactive" + ] + }, + "uuid": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 128 + }, + "transitioning": { + "type": "enum", + "description": null, + "create": false, + "update": false, + "readOnCreateOnly": false, + "options": [ + "yes", + "no", + "error" + ] + }, + "transitioningMessage": { + "type": "string", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "transitioningProgress": { + "type": "int", + "description": null, + "create": false, + "update": false, + "nullable": true, + "readOnCreateOnly": false + }, + "driverOpts": { + "type": "map[string]", + "description": null, + "create": true, + "update": false, + "nullable": true, + "readOnCreateOnly": false + } + }, + "collectionFilters": { + "accountId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "created": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "description": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "driver": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "external": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "id": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "kind": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "name": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + }, + "perContainer": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "removeTime": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "removed": { + "modifiers": [ + "eq", + "ne", + "lt", + "lte", + "gt", + "gte", + "null", + "notnull" + ] + }, + "stackId": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "state": { + "modifiers": [ + "eq", + "ne", + "null", + "notnull" + ] + }, + "uuid": { + "modifiers": [ + "eq", + "ne", + "prefix", + "like", + "notlike", + "null", + "notnull" + ] + } + }, + "includeableLinks": [ + "stack", + "volumes", + "account" + ], + "resourceActions": { + "activate": { + "input": null, + "output": "volumeTemplate" + }, + "create": { + "input": null, + "output": "volumeTemplate" + }, + "update": { + "input": null, + "output": "volumeTemplate" + }, + "purge": { + "input": null, + "output": "volumeTemplate" + }, + "remove": { + "input": null, + "output": "volumeTemplate" + }, + "deactivate": { + "input": null, + "output": "volumeTemplate" + } + }, + "collectionActions": {}, + "collectionFields": {}, + "collectionMethods": [ + "GET" + ], + "resourceMethods": [ + "GET" + ], + "baseType": "schema" } ], "sortLinks": {}, diff --git a/generator/service.template b/generator/service.template index 0b30ba6..b9ea6a7 100644 --- a/generator/service.template +++ b/generator/service.template @@ -1,12 +1,11 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.{{$.class}};{{range $import := .meta.ListActionImports}} import {{$import}};{{end}} import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -21,7 +20,7 @@ public interface {{.class}}Service { Call> list(); @GET("{{.type}}") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("{{.type}}/{id}") Call<{{.class}}> get(@Path("id") String id); @@ -33,7 +32,7 @@ public interface {{.class}}Service { Call<{{.class}}> update(@Path("id") String id, @Body {{.class}} {{.type}}); @DELETE("{{.type}}/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); {{range $key, $value := .resourceActions}} @POST("{{$.type}}/{id}?action={{$key}}"){{if eq $value.Input "" }} Call<{{.Output | capitalize}}> {{$key}}(@Path("id") String id); diff --git a/src/main/java/io/rancher/Rancher.java b/src/main/java/io/rancher/Rancher.java index 561496f..f5d7059 100644 --- a/src/main/java/io/rancher/Rancher.java +++ b/src/main/java/io/rancher/Rancher.java @@ -8,7 +8,7 @@ import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; -import retrofit2.JacksonConverterFactory; +import retrofit2.converter.jackson.JacksonConverterFactory; import retrofit2.Retrofit; import java.io.IOException; diff --git a/src/main/java/io/rancher/service/AccountService.java b/src/main/java/io/rancher/service/AccountService.java index 4d19b4d..59615bd 100644 --- a/src/main/java/io/rancher/service/AccountService.java +++ b/src/main/java/io/rancher/service/AccountService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Account; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface AccountService { Call> list(); @GET("account") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("account/{id}") Call get(@Path("id") String id); @@ -32,7 +31,7 @@ public interface AccountService { Call update(@Path("id") String id, @Body Account account); @DELETE("account/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("account/{id}?action=activate") Call activate(@Path("id") String id); @@ -46,7 +45,7 @@ public interface AccountService { @POST("account/{id}?action=remove") Call remove(@Path("id") String id); - @POST("account/{id}?action=restore") - Call restore(@Path("id") String id); + @POST("account/{id}?action=upgrade") + Call upgrade(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ActiveSettingService.java b/src/main/java/io/rancher/service/ActiveSettingService.java index a88f960..953bb78 100644 --- a/src/main/java/io/rancher/service/ActiveSettingService.java +++ b/src/main/java/io/rancher/service/ActiveSettingService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ActiveSetting; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ActiveSettingService { Call> list(); @GET("activeSetting") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("activeSetting/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface ActiveSettingService { Call update(@Path("id") String id, @Body ActiveSetting activeSetting); @DELETE("activeSetting/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/AddOutputsInputService.java b/src/main/java/io/rancher/service/AddOutputsInputService.java index afb7d2c..76f2528 100644 --- a/src/main/java/io/rancher/service/AddOutputsInputService.java +++ b/src/main/java/io/rancher/service/AddOutputsInputService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.AddOutputsInput; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface AddOutputsInputService { Call> list(); @GET("addOutputsInput") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("addOutputsInput/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface AddOutputsInputService { Call update(@Path("id") String id, @Body AddOutputsInput addOutputsInput); @DELETE("addOutputsInput/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/AddRemoveClusterHostInputService.java b/src/main/java/io/rancher/service/AddRemoveClusterHostInputService.java deleted file mode 100644 index 7b33b50..0000000 --- a/src/main/java/io/rancher/service/AddRemoveClusterHostInputService.java +++ /dev/null @@ -1,37 +0,0 @@ -package io.rancher.service; - -import io.rancher.base.Filters; -import io.rancher.base.TypeCollection; -import io.rancher.type.AddRemoveClusterHostInput; - -import retrofit2.Call; -import retrofit2.Response; -import retrofit2.http.Body; -import retrofit2.http.DELETE; -import retrofit2.http.GET; -import retrofit2.http.POST; -import retrofit2.http.PUT; -import retrofit2.http.Path; -import retrofit2.http.QueryMap; - -public interface AddRemoveClusterHostInputService { - - @GET("addRemoveClusterHostInput") - Call> list(); - - @GET("addRemoveClusterHostInput") - Call> list(@QueryMap Filters filters); - - @GET("addRemoveClusterHostInput/{id}") - Call get(@Path("id") String id); - - @POST("addRemoveClusterHostInput") - Call create(@Body AddRemoveClusterHostInput addRemoveClusterHostInput); - - @PUT("addRemoveClusterHostInput/{id}") - Call update(@Path("id") String id, @Body AddRemoveClusterHostInput addRemoveClusterHostInput); - - @DELETE("addRemoveClusterHostInput/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/AddRemoveLoadBalancerServiceLinkInputService.java b/src/main/java/io/rancher/service/AddRemoveLoadBalancerServiceLinkInputService.java deleted file mode 100644 index f85e6e5..0000000 --- a/src/main/java/io/rancher/service/AddRemoveLoadBalancerServiceLinkInputService.java +++ /dev/null @@ -1,37 +0,0 @@ -package io.rancher.service; - -import io.rancher.base.Filters; -import io.rancher.base.TypeCollection; -import io.rancher.type.AddRemoveLoadBalancerServiceLinkInput; - -import retrofit2.Call; -import retrofit2.Response; -import retrofit2.http.Body; -import retrofit2.http.DELETE; -import retrofit2.http.GET; -import retrofit2.http.POST; -import retrofit2.http.PUT; -import retrofit2.http.Path; -import retrofit2.http.QueryMap; - -public interface AddRemoveLoadBalancerServiceLinkInputService { - - @GET("addRemoveLoadBalancerServiceLinkInput") - Call> list(); - - @GET("addRemoveLoadBalancerServiceLinkInput") - Call> list(@QueryMap Filters filters); - - @GET("addRemoveLoadBalancerServiceLinkInput/{id}") - Call get(@Path("id") String id); - - @POST("addRemoveLoadBalancerServiceLinkInput") - Call create(@Body AddRemoveLoadBalancerServiceLinkInput addRemoveLoadBalancerServiceLinkInput); - - @PUT("addRemoveLoadBalancerServiceLinkInput/{id}") - Call update(@Path("id") String id, @Body AddRemoveLoadBalancerServiceLinkInput addRemoveLoadBalancerServiceLinkInput); - - @DELETE("addRemoveLoadBalancerServiceLinkInput/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/AddRemoveServiceLinkInputService.java b/src/main/java/io/rancher/service/AddRemoveServiceLinkInputService.java index 38da8a5..0983944 100644 --- a/src/main/java/io/rancher/service/AddRemoveServiceLinkInputService.java +++ b/src/main/java/io/rancher/service/AddRemoveServiceLinkInputService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.AddRemoveServiceLinkInput; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface AddRemoveServiceLinkInputService { Call> list(); @GET("addRemoveServiceLinkInput") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("addRemoveServiceLinkInput/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface AddRemoveServiceLinkInputService { Call update(@Path("id") String id, @Body AddRemoveServiceLinkInput addRemoveServiceLinkInput); @DELETE("addRemoveServiceLinkInput/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/AgentService.java b/src/main/java/io/rancher/service/AgentService.java index 255cee0..55f348c 100644 --- a/src/main/java/io/rancher/service/AgentService.java +++ b/src/main/java/io/rancher/service/AgentService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Agent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface AgentService { Call> list(); @GET("agent") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("agent/{id}") Call get(@Path("id") String id); @@ -32,7 +31,7 @@ public interface AgentService { Call update(@Path("id") String id, @Body Agent agent); @DELETE("agent/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("agent/{id}?action=activate") Call activate(@Path("id") String id); @@ -40,6 +39,12 @@ public interface AgentService { @POST("agent/{id}?action=deactivate") Call deactivate(@Path("id") String id); + @POST("agent/{id}?action=disconnect") + Call disconnect(@Path("id") String id); + + @POST("agent/{id}?action=finishreconnect") + Call finishreconnect(@Path("id") String id); + @POST("agent/{id}?action=purge") Call purge(@Path("id") String id); @@ -49,7 +54,4 @@ public interface AgentService { @POST("agent/{id}?action=remove") Call remove(@Path("id") String id); - @POST("agent/{id}?action=restore") - Call restore(@Path("id") String id); - } diff --git a/src/main/java/io/rancher/service/Amazonec2ConfigService.java b/src/main/java/io/rancher/service/Amazonec2ConfigService.java index 49641e9..8460e6e 100644 --- a/src/main/java/io/rancher/service/Amazonec2ConfigService.java +++ b/src/main/java/io/rancher/service/Amazonec2ConfigService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Amazonec2Config; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface Amazonec2ConfigService { Call> list(); @GET("amazonec2Config") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("amazonec2Config/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface Amazonec2ConfigService { Call update(@Path("id") String id, @Body Amazonec2Config amazonec2Config); @DELETE("amazonec2Config/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ApiKeyService.java b/src/main/java/io/rancher/service/ApiKeyService.java index 5a36354..010d2c6 100644 --- a/src/main/java/io/rancher/service/ApiKeyService.java +++ b/src/main/java/io/rancher/service/ApiKeyService.java @@ -1,12 +1,11 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ApiKey; import io.rancher.type.Credential; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -21,7 +20,7 @@ public interface ApiKeyService { Call> list(); @GET("apiKey") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("apiKey/{id}") Call get(@Path("id") String id); @@ -33,7 +32,7 @@ public interface ApiKeyService { Call update(@Path("id") String id, @Body ApiKey apiKey); @DELETE("apiKey/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("apiKey/{id}?action=activate") Call activate(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/AuditLogService.java b/src/main/java/io/rancher/service/AuditLogService.java index c3770e3..93684d3 100644 --- a/src/main/java/io/rancher/service/AuditLogService.java +++ b/src/main/java/io/rancher/service/AuditLogService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.AuditLog; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface AuditLogService { Call> list(); @GET("auditLog") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("auditLog/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface AuditLogService { Call update(@Path("id") String id, @Body AuditLog auditLog); @DELETE("auditLog/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/AzureConfigService.java b/src/main/java/io/rancher/service/AzureConfigService.java index a3f13ee..d988d24 100644 --- a/src/main/java/io/rancher/service/AzureConfigService.java +++ b/src/main/java/io/rancher/service/AzureConfigService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.AzureConfig; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface AzureConfigService { Call> list(); @GET("azureConfig") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("azureConfig/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface AzureConfigService { Call update(@Path("id") String id, @Body AzureConfig azureConfig); @DELETE("azureConfig/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/AzureadconfigService.java b/src/main/java/io/rancher/service/AzureadconfigService.java index ece5e0f..ad5fc42 100644 --- a/src/main/java/io/rancher/service/AzureadconfigService.java +++ b/src/main/java/io/rancher/service/AzureadconfigService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Azureadconfig; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface AzureadconfigService { Call> list(); @GET("azureadconfig") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("azureadconfig/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface AzureadconfigService { Call update(@Path("id") String id, @Body Azureadconfig azureadconfig); @DELETE("azureadconfig/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/BackupService.java b/src/main/java/io/rancher/service/BackupService.java index c459c12..bcfb623 100644 --- a/src/main/java/io/rancher/service/BackupService.java +++ b/src/main/java/io/rancher/service/BackupService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Backup; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface BackupService { Call> list(); @GET("backup") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("backup/{id}") Call get(@Path("id") String id); @@ -32,7 +31,7 @@ public interface BackupService { Call update(@Path("id") String id, @Body Backup backup); @DELETE("backup/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("backup/{id}?action=remove") Call remove(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/BackupTargetService.java b/src/main/java/io/rancher/service/BackupTargetService.java index e6b2e51..b423e15 100644 --- a/src/main/java/io/rancher/service/BackupTargetService.java +++ b/src/main/java/io/rancher/service/BackupTargetService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.BackupTarget; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface BackupTargetService { Call> list(); @GET("backupTarget") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("backupTarget/{id}") Call get(@Path("id") String id); @@ -32,7 +31,7 @@ public interface BackupTargetService { Call update(@Path("id") String id, @Body BackupTarget backupTarget); @DELETE("backupTarget/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("backupTarget/{id}?action=remove") Call remove(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/BaseMachineConfigService.java b/src/main/java/io/rancher/service/BaseMachineConfigService.java index 579be6e..494a41e 100644 --- a/src/main/java/io/rancher/service/BaseMachineConfigService.java +++ b/src/main/java/io/rancher/service/BaseMachineConfigService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.BaseMachineConfig; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface BaseMachineConfigService { Call> list(); @GET("baseMachineConfig") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("baseMachineConfig/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface BaseMachineConfigService { Call update(@Path("id") String id, @Body BaseMachineConfig baseMachineConfig); @DELETE("baseMachineConfig/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/BindingService.java b/src/main/java/io/rancher/service/BindingService.java new file mode 100644 index 0000000..23f506c --- /dev/null +++ b/src/main/java/io/rancher/service/BindingService.java @@ -0,0 +1,36 @@ +package io.rancher.service; + +import java.util.HashMap; +import io.rancher.base.TypeCollection; +import io.rancher.type.Binding; + +import retrofit2.Call; +import retrofit2.http.Body; +import retrofit2.http.DELETE; +import retrofit2.http.GET; +import retrofit2.http.POST; +import retrofit2.http.PUT; +import retrofit2.http.Path; +import retrofit2.http.QueryMap; + +public interface BindingService { + + @GET("binding") + Call> list(); + + @GET("binding") + Call> list(@QueryMap HashMap filters); + + @GET("binding/{id}") + Call get(@Path("id") String id); + + @POST("binding") + Call create(@Body Binding binding); + + @PUT("binding/{id}") + Call update(@Path("id") String id, @Body Binding binding); + + @DELETE("binding/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/BlkioDeviceOptionService.java b/src/main/java/io/rancher/service/BlkioDeviceOptionService.java index d7952df..9612b19 100644 --- a/src/main/java/io/rancher/service/BlkioDeviceOptionService.java +++ b/src/main/java/io/rancher/service/BlkioDeviceOptionService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.BlkioDeviceOption; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface BlkioDeviceOptionService { Call> list(); @GET("blkioDeviceOption") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("blkioDeviceOption/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface BlkioDeviceOptionService { Call update(@Path("id") String id, @Body BlkioDeviceOption blkioDeviceOption); @DELETE("blkioDeviceOption/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/CatalogTemplateService.java b/src/main/java/io/rancher/service/CatalogTemplateService.java new file mode 100644 index 0000000..1c083ba --- /dev/null +++ b/src/main/java/io/rancher/service/CatalogTemplateService.java @@ -0,0 +1,36 @@ +package io.rancher.service; + +import java.util.HashMap; +import io.rancher.base.TypeCollection; +import io.rancher.type.CatalogTemplate; + +import retrofit2.Call; +import retrofit2.http.Body; +import retrofit2.http.DELETE; +import retrofit2.http.GET; +import retrofit2.http.POST; +import retrofit2.http.PUT; +import retrofit2.http.Path; +import retrofit2.http.QueryMap; + +public interface CatalogTemplateService { + + @GET("catalogTemplate") + Call> list(); + + @GET("catalogTemplate") + Call> list(@QueryMap HashMap filters); + + @GET("catalogTemplate/{id}") + Call get(@Path("id") String id); + + @POST("catalogTemplate") + Call create(@Body CatalogTemplate catalogTemplate); + + @PUT("catalogTemplate/{id}") + Call update(@Path("id") String id, @Body CatalogTemplate catalogTemplate); + + @DELETE("catalogTemplate/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/CertificateService.java b/src/main/java/io/rancher/service/CertificateService.java index 8e891b9..b4702e0 100644 --- a/src/main/java/io/rancher/service/CertificateService.java +++ b/src/main/java/io/rancher/service/CertificateService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Certificate; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface CertificateService { Call> list(); @GET("certificate") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("certificate/{id}") Call get(@Path("id") String id); @@ -32,7 +31,7 @@ public interface CertificateService { Call update(@Path("id") String id, @Body Certificate certificate); @DELETE("certificate/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("certificate/{id}?action=remove") Call remove(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/ChangeSecretInputService.java b/src/main/java/io/rancher/service/ChangeSecretInputService.java index 36e6c3f..60e3962 100644 --- a/src/main/java/io/rancher/service/ChangeSecretInputService.java +++ b/src/main/java/io/rancher/service/ChangeSecretInputService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ChangeSecretInput; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ChangeSecretInputService { Call> list(); @GET("changeSecretInput") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("changeSecretInput/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface ChangeSecretInputService { Call update(@Path("id") String id, @Body ChangeSecretInput changeSecretInput); @DELETE("changeSecretInput/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ClusterMembershipService.java b/src/main/java/io/rancher/service/ClusterMembershipService.java new file mode 100644 index 0000000..ef6aa3e --- /dev/null +++ b/src/main/java/io/rancher/service/ClusterMembershipService.java @@ -0,0 +1,36 @@ +package io.rancher.service; + +import java.util.HashMap; +import io.rancher.base.TypeCollection; +import io.rancher.type.ClusterMembership; + +import retrofit2.Call; +import retrofit2.http.Body; +import retrofit2.http.DELETE; +import retrofit2.http.GET; +import retrofit2.http.POST; +import retrofit2.http.PUT; +import retrofit2.http.Path; +import retrofit2.http.QueryMap; + +public interface ClusterMembershipService { + + @GET("clusterMembership") + Call> list(); + + @GET("clusterMembership") + Call> list(@QueryMap HashMap filters); + + @GET("clusterMembership/{id}") + Call get(@Path("id") String id); + + @POST("clusterMembership") + Call create(@Body ClusterMembership clusterMembership); + + @PUT("clusterMembership/{id}") + Call update(@Path("id") String id, @Body ClusterMembership clusterMembership); + + @DELETE("clusterMembership/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/ClusterService.java b/src/main/java/io/rancher/service/ClusterService.java deleted file mode 100644 index 1c47d80..0000000 --- a/src/main/java/io/rancher/service/ClusterService.java +++ /dev/null @@ -1,64 +0,0 @@ -package io.rancher.service; - -import io.rancher.base.Filters; -import io.rancher.base.TypeCollection; -import io.rancher.type.Cluster; -import io.rancher.type.AddRemoveClusterHostInput; -import io.rancher.type.HostAccess; -import io.rancher.type.Host; - -import retrofit2.Call; -import retrofit2.Response; -import retrofit2.http.Body; -import retrofit2.http.DELETE; -import retrofit2.http.GET; -import retrofit2.http.POST; -import retrofit2.http.PUT; -import retrofit2.http.Path; -import retrofit2.http.QueryMap; - -public interface ClusterService { - - @GET("cluster") - Call> list(); - - @GET("cluster") - Call> list(@QueryMap Filters filters); - - @GET("cluster/{id}") - Call get(@Path("id") String id); - - @POST("cluster") - Call create(@Body Cluster cluster); - - @PUT("cluster/{id}") - Call update(@Path("id") String id, @Body Cluster cluster); - - @DELETE("cluster/{id}") - Call delete(@Path("id") String id); - - @POST("cluster/{id}?action=activate") - Call activate(@Path("id") String id); - - @POST("cluster/{id}?action=addhost") - Call addhost(@Path("id") String id, @Body AddRemoveClusterHostInput addRemoveClusterHostInput); - - @POST("cluster/{id}?action=deactivate") - Call deactivate(@Path("id") String id); - - @POST("cluster/{id}?action=dockersocket") - Call dockersocket(@Path("id") String id); - - @POST("cluster/{id}?action=purge") - Call purge(@Path("id") String id); - - @POST("cluster/{id}?action=remove") - Call remove(@Path("id") String id); - - @POST("cluster/{id}?action=removehost") - Call removehost(@Path("id") String id, @Body AddRemoveClusterHostInput addRemoveClusterHostInput); - - @POST("cluster/{id}?action=restore") - Call restore(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/ComposeConfigInputService.java b/src/main/java/io/rancher/service/ComposeConfigInputService.java index adaa263..d48367d 100644 --- a/src/main/java/io/rancher/service/ComposeConfigInputService.java +++ b/src/main/java/io/rancher/service/ComposeConfigInputService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ComposeConfigInput; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ComposeConfigInputService { Call> list(); @GET("composeConfigInput") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("composeConfigInput/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface ComposeConfigInputService { Call update(@Path("id") String id, @Body ComposeConfigInput composeConfigInput); @DELETE("composeConfigInput/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ComposeConfigService.java b/src/main/java/io/rancher/service/ComposeConfigService.java index ac9f10c..366d375 100644 --- a/src/main/java/io/rancher/service/ComposeConfigService.java +++ b/src/main/java/io/rancher/service/ComposeConfigService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ComposeConfig; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ComposeConfigService { Call> list(); @GET("composeConfig") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("composeConfig/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface ComposeConfigService { Call update(@Path("id") String id, @Body ComposeConfig composeConfig); @DELETE("composeConfig/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ComposeProjectService.java b/src/main/java/io/rancher/service/ComposeProjectService.java index 36351f4..ceb9b3d 100644 --- a/src/main/java/io/rancher/service/ComposeProjectService.java +++ b/src/main/java/io/rancher/service/ComposeProjectService.java @@ -1,12 +1,11 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ComposeProject; -import io.rancher.type.Environment; +import io.rancher.type.Stack; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -21,7 +20,7 @@ public interface ComposeProjectService { Call> list(); @GET("composeProject") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("composeProject/{id}") Call get(@Path("id") String id); @@ -33,24 +32,21 @@ public interface ComposeProjectService { Call update(@Path("id") String id, @Body ComposeProject composeProject); @DELETE("composeProject/{id}") - Call delete(@Path("id") String id); - - @POST("composeProject/{id}?action=cancelrollback") - Call cancelrollback(@Path("id") String id); + Call delete(@Path("id") String id); @POST("composeProject/{id}?action=cancelupgrade") - Call cancelupgrade(@Path("id") String id); + Call cancelupgrade(@Path("id") String id); @POST("composeProject/{id}?action=error") - Call error(@Path("id") String id); + Call error(@Path("id") String id); @POST("composeProject/{id}?action=finishupgrade") - Call finishupgrade(@Path("id") String id); + Call finishupgrade(@Path("id") String id); @POST("composeProject/{id}?action=remove") - Call remove(@Path("id") String id); + Call remove(@Path("id") String id); @POST("composeProject/{id}?action=rollback") - Call rollback(@Path("id") String id); + Call rollback(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ComposeServiceService.java b/src/main/java/io/rancher/service/ComposeServiceService.java index 3f96759..b19e584 100644 --- a/src/main/java/io/rancher/service/ComposeServiceService.java +++ b/src/main/java/io/rancher/service/ComposeServiceService.java @@ -1,12 +1,11 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ComposeService; import io.rancher.type.Service; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -21,7 +20,7 @@ public interface ComposeServiceService { Call> list(); @GET("composeService") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("composeService/{id}") Call get(@Path("id") String id); @@ -33,17 +32,17 @@ public interface ComposeServiceService { Call update(@Path("id") String id, @Body ComposeService composeService); @DELETE("composeService/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("composeService/{id}?action=activate") Call activate(@Path("id") String id); - @POST("composeService/{id}?action=cancelrollback") - Call cancelrollback(@Path("id") String id); - @POST("composeService/{id}?action=cancelupgrade") Call cancelupgrade(@Path("id") String id); + @POST("composeService/{id}?action=continueupgrade") + Call continueupgrade(@Path("id") String id); + @POST("composeService/{id}?action=finishupgrade") Call finishupgrade(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/ConfigItemService.java b/src/main/java/io/rancher/service/ConfigItemService.java index 3367e8c..db999df 100644 --- a/src/main/java/io/rancher/service/ConfigItemService.java +++ b/src/main/java/io/rancher/service/ConfigItemService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ConfigItem; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ConfigItemService { Call> list(); @GET("configItem") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("configItem/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface ConfigItemService { Call update(@Path("id") String id, @Body ConfigItem configItem); @DELETE("configItem/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ConfigItemStatusService.java b/src/main/java/io/rancher/service/ConfigItemStatusService.java index 1a65600..9d4b669 100644 --- a/src/main/java/io/rancher/service/ConfigItemStatusService.java +++ b/src/main/java/io/rancher/service/ConfigItemStatusService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ConfigItemStatus; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ConfigItemStatusService { Call> list(); @GET("configItemStatus") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("configItemStatus/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface ConfigItemStatusService { Call update(@Path("id") String id, @Body ConfigItemStatus configItemStatus); @DELETE("configItemStatus/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ContainerEventService.java b/src/main/java/io/rancher/service/ContainerEventService.java index d6734d0..65bf92a 100644 --- a/src/main/java/io/rancher/service/ContainerEventService.java +++ b/src/main/java/io/rancher/service/ContainerEventService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ContainerEvent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ContainerEventService { Call> list(); @GET("containerEvent") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("containerEvent/{id}") Call get(@Path("id") String id); @@ -32,7 +31,7 @@ public interface ContainerEventService { Call update(@Path("id") String id, @Body ContainerEvent containerEvent); @DELETE("containerEvent/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("containerEvent/{id}?action=remove") Call remove(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/ContainerExecService.java b/src/main/java/io/rancher/service/ContainerExecService.java index b5fd847..4df566d 100644 --- a/src/main/java/io/rancher/service/ContainerExecService.java +++ b/src/main/java/io/rancher/service/ContainerExecService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ContainerExec; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ContainerExecService { Call> list(); @GET("containerExec") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("containerExec/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface ContainerExecService { Call update(@Path("id") String id, @Body ContainerExec containerExec); @DELETE("containerExec/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ContainerLogsService.java b/src/main/java/io/rancher/service/ContainerLogsService.java index 6c8e7c6..ee5f7bd 100644 --- a/src/main/java/io/rancher/service/ContainerLogsService.java +++ b/src/main/java/io/rancher/service/ContainerLogsService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ContainerLogs; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ContainerLogsService { Call> list(); @GET("containerLogs") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("containerLogs/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface ContainerLogsService { Call update(@Path("id") String id, @Body ContainerLogs containerLogs); @DELETE("containerLogs/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ContainerProxyService.java b/src/main/java/io/rancher/service/ContainerProxyService.java index c9a034b..4b951ea 100644 --- a/src/main/java/io/rancher/service/ContainerProxyService.java +++ b/src/main/java/io/rancher/service/ContainerProxyService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ContainerProxy; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ContainerProxyService { Call> list(); @GET("containerProxy") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("containerProxy/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface ContainerProxyService { Call update(@Path("id") String id, @Body ContainerProxy containerProxy); @DELETE("containerProxy/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ContainerService.java b/src/main/java/io/rancher/service/ContainerService.java index caec172..99ee17c 100644 --- a/src/main/java/io/rancher/service/ContainerService.java +++ b/src/main/java/io/rancher/service/ContainerService.java @@ -1,20 +1,18 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Container; -import io.rancher.type.InstanceStop; +import io.rancher.type.Instance; import io.rancher.type.ContainerProxy; -import io.rancher.type.ContainerExec; -import io.rancher.type.ContainerLogs; -import io.rancher.type.HostAccess; +import io.rancher.type.InstanceStop; import io.rancher.type.InstanceConsoleInput; import io.rancher.type.InstanceConsole; -import io.rancher.type.Instance; -import io.rancher.type.SetLabelsInput; +import io.rancher.type.ContainerLogs; +import io.rancher.type.ContainerExec; +import io.rancher.type.HostAccess; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -29,7 +27,7 @@ public interface ContainerService { Call> list(); @GET("container") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("container/{id}") Call get(@Path("id") String id); @@ -41,7 +39,7 @@ public interface ContainerService { Call update(@Path("id") String id, @Body Container container); @DELETE("container/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("container/{id}?action=allocate") Call allocate(@Path("id") String id); @@ -76,12 +74,6 @@ public interface ContainerService { @POST("container/{id}?action=restart") Call restart(@Path("id") String id); - @POST("container/{id}?action=restore") - Call restore(@Path("id") String id); - - @POST("container/{id}?action=setlabels") - Call setlabels(@Path("id") String id, @Body SetLabelsInput setLabelsInput); - @POST("container/{id}?action=start") Call start(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/CredentialService.java b/src/main/java/io/rancher/service/CredentialService.java index 5e800f6..cda5835 100644 --- a/src/main/java/io/rancher/service/CredentialService.java +++ b/src/main/java/io/rancher/service/CredentialService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Credential; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface CredentialService { Call> list(); @GET("credential") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("credential/{id}") Call get(@Path("id") String id); @@ -32,7 +31,7 @@ public interface CredentialService { Call update(@Path("id") String id, @Body Credential credential); @DELETE("credential/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("credential/{id}?action=activate") Call activate(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/DatabasechangelogService.java b/src/main/java/io/rancher/service/DatabasechangelogService.java index 7446d7e..bff99af 100644 --- a/src/main/java/io/rancher/service/DatabasechangelogService.java +++ b/src/main/java/io/rancher/service/DatabasechangelogService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Databasechangelog; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface DatabasechangelogService { Call> list(); @GET("databasechangelog") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("databasechangelog/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface DatabasechangelogService { Call update(@Path("id") String id, @Body Databasechangelog databasechangelog); @DELETE("databasechangelog/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/DatabasechangeloglockService.java b/src/main/java/io/rancher/service/DatabasechangeloglockService.java index 16ac194..ecffb37 100644 --- a/src/main/java/io/rancher/service/DatabasechangeloglockService.java +++ b/src/main/java/io/rancher/service/DatabasechangeloglockService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Databasechangeloglock; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface DatabasechangeloglockService { Call> list(); @GET("databasechangeloglock") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("databasechangeloglock/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface DatabasechangeloglockService { Call update(@Path("id") String id, @Body Databasechangeloglock databasechangeloglock); @DELETE("databasechangeloglock/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/DefaultNetworkService.java b/src/main/java/io/rancher/service/DefaultNetworkService.java new file mode 100644 index 0000000..a9f7649 --- /dev/null +++ b/src/main/java/io/rancher/service/DefaultNetworkService.java @@ -0,0 +1,49 @@ +package io.rancher.service; + +import java.util.HashMap; +import io.rancher.base.TypeCollection; +import io.rancher.type.DefaultNetwork; +import io.rancher.type.Network; + +import retrofit2.Call; +import retrofit2.http.Body; +import retrofit2.http.DELETE; +import retrofit2.http.GET; +import retrofit2.http.POST; +import retrofit2.http.PUT; +import retrofit2.http.Path; +import retrofit2.http.QueryMap; + +public interface DefaultNetworkService { + + @GET("defaultNetwork") + Call> list(); + + @GET("defaultNetwork") + Call> list(@QueryMap HashMap filters); + + @GET("defaultNetwork/{id}") + Call get(@Path("id") String id); + + @POST("defaultNetwork") + Call create(@Body DefaultNetwork defaultNetwork); + + @PUT("defaultNetwork/{id}") + Call update(@Path("id") String id, @Body DefaultNetwork defaultNetwork); + + @DELETE("defaultNetwork/{id}") + Call delete(@Path("id") String id); + + @POST("defaultNetwork/{id}?action=activate") + Call activate(@Path("id") String id); + + @POST("defaultNetwork/{id}?action=deactivate") + Call deactivate(@Path("id") String id); + + @POST("defaultNetwork/{id}?action=purge") + Call purge(@Path("id") String id); + + @POST("defaultNetwork/{id}?action=remove") + Call remove(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/DigitaloceanConfigService.java b/src/main/java/io/rancher/service/DigitaloceanConfigService.java index 6d3d818..8dc960b 100644 --- a/src/main/java/io/rancher/service/DigitaloceanConfigService.java +++ b/src/main/java/io/rancher/service/DigitaloceanConfigService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.DigitaloceanConfig; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface DigitaloceanConfigService { Call> list(); @GET("digitaloceanConfig") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("digitaloceanConfig/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface DigitaloceanConfigService { Call update(@Path("id") String id, @Body DigitaloceanConfig digitaloceanConfig); @DELETE("digitaloceanConfig/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/DnsServiceService.java b/src/main/java/io/rancher/service/DnsServiceService.java index 481b996..10b5a52 100644 --- a/src/main/java/io/rancher/service/DnsServiceService.java +++ b/src/main/java/io/rancher/service/DnsServiceService.java @@ -1,16 +1,15 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.DnsService; +import io.rancher.type.AddRemoveServiceLinkInput; import io.rancher.type.ServiceRestart; import io.rancher.type.ServiceUpgrade; -import io.rancher.type.AddRemoveServiceLinkInput; import io.rancher.type.SetServiceLinksInput; import io.rancher.type.Service; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -25,7 +24,7 @@ public interface DnsServiceService { Call> list(); @GET("dnsService") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("dnsService/{id}") Call get(@Path("id") String id); @@ -37,7 +36,7 @@ public interface DnsServiceService { Call update(@Path("id") String id, @Body DnsService dnsService); @DELETE("dnsService/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("dnsService/{id}?action=activate") Call activate(@Path("id") String id); @@ -45,12 +44,12 @@ public interface DnsServiceService { @POST("dnsService/{id}?action=addservicelink") Call addservicelink(@Path("id") String id, @Body AddRemoveServiceLinkInput addRemoveServiceLinkInput); - @POST("dnsService/{id}?action=cancelrollback") - Call cancelrollback(@Path("id") String id); - @POST("dnsService/{id}?action=cancelupgrade") Call cancelupgrade(@Path("id") String id); + @POST("dnsService/{id}?action=continueupgrade") + Call continueupgrade(@Path("id") String id); + @POST("dnsService/{id}?action=deactivate") Call deactivate(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/DockerBuildService.java b/src/main/java/io/rancher/service/DockerBuildService.java index 9de6ab4..2f88137 100644 --- a/src/main/java/io/rancher/service/DockerBuildService.java +++ b/src/main/java/io/rancher/service/DockerBuildService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.DockerBuild; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface DockerBuildService { Call> list(); @GET("dockerBuild") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("dockerBuild/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface DockerBuildService { Call update(@Path("id") String id, @Body DockerBuild dockerBuild); @DELETE("dockerBuild/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/DynamicSchemaService.java b/src/main/java/io/rancher/service/DynamicSchemaService.java deleted file mode 100644 index d55a880..0000000 --- a/src/main/java/io/rancher/service/DynamicSchemaService.java +++ /dev/null @@ -1,40 +0,0 @@ -package io.rancher.service; - -import io.rancher.base.Filters; -import io.rancher.base.TypeCollection; -import io.rancher.type.DynamicSchema; - -import retrofit2.Call; -import retrofit2.Response; -import retrofit2.http.Body; -import retrofit2.http.DELETE; -import retrofit2.http.GET; -import retrofit2.http.POST; -import retrofit2.http.PUT; -import retrofit2.http.Path; -import retrofit2.http.QueryMap; - -public interface DynamicSchemaService { - - @GET("dynamicSchema") - Call> list(); - - @GET("dynamicSchema") - Call> list(@QueryMap Filters filters); - - @GET("dynamicSchema/{id}") - Call get(@Path("id") String id); - - @POST("dynamicSchema") - Call create(@Body DynamicSchema dynamicSchema); - - @PUT("dynamicSchema/{id}") - Call update(@Path("id") String id, @Body DynamicSchema dynamicSchema); - - @DELETE("dynamicSchema/{id}") - Call delete(@Path("id") String id); - - @POST("dynamicSchema/{id}?action=remove") - Call remove(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/EnvironmentService.java b/src/main/java/io/rancher/service/EnvironmentService.java deleted file mode 100644 index 39045d1..0000000 --- a/src/main/java/io/rancher/service/EnvironmentService.java +++ /dev/null @@ -1,74 +0,0 @@ -package io.rancher.service; - -import io.rancher.base.Filters; -import io.rancher.base.TypeCollection; -import io.rancher.type.Environment; -import io.rancher.type.ComposeConfig; -import io.rancher.type.EnvironmentUpgrade; -import io.rancher.type.AddOutputsInput; -import io.rancher.type.ComposeConfigInput; - -import retrofit2.Call; -import retrofit2.Response; -import retrofit2.http.Body; -import retrofit2.http.DELETE; -import retrofit2.http.GET; -import retrofit2.http.POST; -import retrofit2.http.PUT; -import retrofit2.http.Path; -import retrofit2.http.QueryMap; - -public interface EnvironmentService { - - @GET("environment") - Call> list(); - - @GET("environment") - Call> list(@QueryMap Filters filters); - - @GET("environment/{id}") - Call get(@Path("id") String id); - - @POST("environment") - Call create(@Body Environment environment); - - @PUT("environment/{id}") - Call update(@Path("id") String id, @Body Environment environment); - - @DELETE("environment/{id}") - Call delete(@Path("id") String id); - - @POST("environment/{id}?action=activateservices") - Call activateservices(@Path("id") String id); - - @POST("environment/{id}?action=addoutputs") - Call addoutputs(@Path("id") String id, @Body AddOutputsInput addOutputsInput); - - @POST("environment/{id}?action=cancelrollback") - Call cancelrollback(@Path("id") String id); - - @POST("environment/{id}?action=cancelupgrade") - Call cancelupgrade(@Path("id") String id); - - @POST("environment/{id}?action=deactivateservices") - Call deactivateservices(@Path("id") String id); - - @POST("environment/{id}?action=error") - Call error(@Path("id") String id); - - @POST("environment/{id}?action=exportconfig") - Call exportconfig(@Path("id") String id, @Body ComposeConfigInput composeConfigInput); - - @POST("environment/{id}?action=finishupgrade") - Call finishupgrade(@Path("id") String id); - - @POST("environment/{id}?action=remove") - Call remove(@Path("id") String id); - - @POST("environment/{id}?action=rollback") - Call rollback(@Path("id") String id); - - @POST("environment/{id}?action=upgrade") - Call upgrade(@Path("id") String id, @Body EnvironmentUpgrade environmentUpgrade); - -} diff --git a/src/main/java/io/rancher/service/EnvironmentUpgradeService.java b/src/main/java/io/rancher/service/EnvironmentUpgradeService.java deleted file mode 100644 index ff2b4e3..0000000 --- a/src/main/java/io/rancher/service/EnvironmentUpgradeService.java +++ /dev/null @@ -1,37 +0,0 @@ -package io.rancher.service; - -import io.rancher.base.Filters; -import io.rancher.base.TypeCollection; -import io.rancher.type.EnvironmentUpgrade; - -import retrofit2.Call; -import retrofit2.Response; -import retrofit2.http.Body; -import retrofit2.http.DELETE; -import retrofit2.http.GET; -import retrofit2.http.POST; -import retrofit2.http.PUT; -import retrofit2.http.Path; -import retrofit2.http.QueryMap; - -public interface EnvironmentUpgradeService { - - @GET("environmentUpgrade") - Call> list(); - - @GET("environmentUpgrade") - Call> list(@QueryMap Filters filters); - - @GET("environmentUpgrade/{id}") - Call get(@Path("id") String id); - - @POST("environmentUpgrade") - Call create(@Body EnvironmentUpgrade environmentUpgrade); - - @PUT("environmentUpgrade/{id}") - Call update(@Path("id") String id, @Body EnvironmentUpgrade environmentUpgrade); - - @DELETE("environmentUpgrade/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/ExoscaleConfigService.java b/src/main/java/io/rancher/service/ExoscaleConfigService.java deleted file mode 100644 index 99eb50e..0000000 --- a/src/main/java/io/rancher/service/ExoscaleConfigService.java +++ /dev/null @@ -1,37 +0,0 @@ -package io.rancher.service; - -import io.rancher.base.Filters; -import io.rancher.base.TypeCollection; -import io.rancher.type.ExoscaleConfig; - -import retrofit2.Call; -import retrofit2.Response; -import retrofit2.http.Body; -import retrofit2.http.DELETE; -import retrofit2.http.GET; -import retrofit2.http.POST; -import retrofit2.http.PUT; -import retrofit2.http.Path; -import retrofit2.http.QueryMap; - -public interface ExoscaleConfigService { - - @GET("exoscaleConfig") - Call> list(); - - @GET("exoscaleConfig") - Call> list(@QueryMap Filters filters); - - @GET("exoscaleConfig/{id}") - Call get(@Path("id") String id); - - @POST("exoscaleConfig") - Call create(@Body ExoscaleConfig exoscaleConfig); - - @PUT("exoscaleConfig/{id}") - Call update(@Path("id") String id, @Body ExoscaleConfig exoscaleConfig); - - @DELETE("exoscaleConfig/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/ExtensionImplementationService.java b/src/main/java/io/rancher/service/ExtensionImplementationService.java index b3e3aea..c167e70 100644 --- a/src/main/java/io/rancher/service/ExtensionImplementationService.java +++ b/src/main/java/io/rancher/service/ExtensionImplementationService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ExtensionImplementation; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ExtensionImplementationService { Call> list(); @GET("extensionImplementation") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("extensionImplementation/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface ExtensionImplementationService { Call update(@Path("id") String id, @Body ExtensionImplementation extensionImplementation); @DELETE("extensionImplementation/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ExtensionPointService.java b/src/main/java/io/rancher/service/ExtensionPointService.java index 4a6739c..808c3c1 100644 --- a/src/main/java/io/rancher/service/ExtensionPointService.java +++ b/src/main/java/io/rancher/service/ExtensionPointService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ExtensionPoint; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ExtensionPointService { Call> list(); @GET("extensionPoint") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("extensionPoint/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface ExtensionPointService { Call update(@Path("id") String id, @Body ExtensionPoint extensionPoint); @DELETE("extensionPoint/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ExternalDnsEventService.java b/src/main/java/io/rancher/service/ExternalDnsEventService.java index 5270ab5..a49ebef 100644 --- a/src/main/java/io/rancher/service/ExternalDnsEventService.java +++ b/src/main/java/io/rancher/service/ExternalDnsEventService.java @@ -1,12 +1,11 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ExternalDnsEvent; import io.rancher.type.ExternalEvent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -21,7 +20,7 @@ public interface ExternalDnsEventService { Call> list(); @GET("externalDnsEvent") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("externalDnsEvent/{id}") Call get(@Path("id") String id); @@ -33,7 +32,7 @@ public interface ExternalDnsEventService { Call update(@Path("id") String id, @Body ExternalDnsEvent externalDnsEvent); @DELETE("externalDnsEvent/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("externalDnsEvent/{id}?action=remove") Call remove(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/ExternalEventService.java b/src/main/java/io/rancher/service/ExternalEventService.java index bd7dddf..07b9a39 100644 --- a/src/main/java/io/rancher/service/ExternalEventService.java +++ b/src/main/java/io/rancher/service/ExternalEventService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ExternalEvent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ExternalEventService { Call> list(); @GET("externalEvent") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("externalEvent/{id}") Call get(@Path("id") String id); @@ -32,7 +31,7 @@ public interface ExternalEventService { Call update(@Path("id") String id, @Body ExternalEvent externalEvent); @DELETE("externalEvent/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("externalEvent/{id}?action=remove") Call remove(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/ExternalHandlerExternalHandlerProcessMapService.java b/src/main/java/io/rancher/service/ExternalHandlerExternalHandlerProcessMapService.java index 98bfac9..2ad4f36 100644 --- a/src/main/java/io/rancher/service/ExternalHandlerExternalHandlerProcessMapService.java +++ b/src/main/java/io/rancher/service/ExternalHandlerExternalHandlerProcessMapService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ExternalHandlerExternalHandlerProcessMap; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ExternalHandlerExternalHandlerProcessMapService { Call> list(); @GET("externalHandlerExternalHandlerProcessMap") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("externalHandlerExternalHandlerProcessMap/{id}") Call get(@Path("id") String id); @@ -32,7 +31,7 @@ public interface ExternalHandlerExternalHandlerProcessMapService { Call update(@Path("id") String id, @Body ExternalHandlerExternalHandlerProcessMap externalHandlerExternalHandlerProcessMap); @DELETE("externalHandlerExternalHandlerProcessMap/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("externalHandlerExternalHandlerProcessMap/{id}?action=activate") Call activate(@Path("id") String id); @@ -46,7 +45,4 @@ public interface ExternalHandlerExternalHandlerProcessMapService { @POST("externalHandlerExternalHandlerProcessMap/{id}?action=remove") Call remove(@Path("id") String id); - @POST("externalHandlerExternalHandlerProcessMap/{id}?action=restore") - Call restore(@Path("id") String id); - } diff --git a/src/main/java/io/rancher/service/ExternalHandlerProcessConfigService.java b/src/main/java/io/rancher/service/ExternalHandlerProcessConfigService.java index af9710f..fa014ee 100644 --- a/src/main/java/io/rancher/service/ExternalHandlerProcessConfigService.java +++ b/src/main/java/io/rancher/service/ExternalHandlerProcessConfigService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ExternalHandlerProcessConfig; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ExternalHandlerProcessConfigService { Call> list(); @GET("externalHandlerProcessConfig") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("externalHandlerProcessConfig/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface ExternalHandlerProcessConfigService { Call update(@Path("id") String id, @Body ExternalHandlerProcessConfig externalHandlerProcessConfig); @DELETE("externalHandlerProcessConfig/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ExternalHandlerProcessService.java b/src/main/java/io/rancher/service/ExternalHandlerProcessService.java index 883d078..4a46d25 100644 --- a/src/main/java/io/rancher/service/ExternalHandlerProcessService.java +++ b/src/main/java/io/rancher/service/ExternalHandlerProcessService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ExternalHandlerProcess; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ExternalHandlerProcessService { Call> list(); @GET("externalHandlerProcess") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("externalHandlerProcess/{id}") Call get(@Path("id") String id); @@ -32,7 +31,7 @@ public interface ExternalHandlerProcessService { Call update(@Path("id") String id, @Body ExternalHandlerProcess externalHandlerProcess); @DELETE("externalHandlerProcess/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("externalHandlerProcess/{id}?action=activate") Call activate(@Path("id") String id); @@ -46,7 +45,4 @@ public interface ExternalHandlerProcessService { @POST("externalHandlerProcess/{id}?action=remove") Call remove(@Path("id") String id); - @POST("externalHandlerProcess/{id}?action=restore") - Call restore(@Path("id") String id); - } diff --git a/src/main/java/io/rancher/service/ExternalHandlerService.java b/src/main/java/io/rancher/service/ExternalHandlerService.java index 449d611..4ba93b1 100644 --- a/src/main/java/io/rancher/service/ExternalHandlerService.java +++ b/src/main/java/io/rancher/service/ExternalHandlerService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ExternalHandler; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ExternalHandlerService { Call> list(); @GET("externalHandler") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("externalHandler/{id}") Call get(@Path("id") String id); @@ -32,7 +31,7 @@ public interface ExternalHandlerService { Call update(@Path("id") String id, @Body ExternalHandler externalHandler); @DELETE("externalHandler/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("externalHandler/{id}?action=activate") Call activate(@Path("id") String id); @@ -46,7 +45,4 @@ public interface ExternalHandlerService { @POST("externalHandler/{id}?action=remove") Call remove(@Path("id") String id); - @POST("externalHandler/{id}?action=restore") - Call restore(@Path("id") String id); - } diff --git a/src/main/java/io/rancher/service/ExternalHostEventService.java b/src/main/java/io/rancher/service/ExternalHostEventService.java index a13b3db..7ce5ff3 100644 --- a/src/main/java/io/rancher/service/ExternalHostEventService.java +++ b/src/main/java/io/rancher/service/ExternalHostEventService.java @@ -1,12 +1,11 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ExternalHostEvent; import io.rancher.type.ExternalEvent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -21,7 +20,7 @@ public interface ExternalHostEventService { Call> list(); @GET("externalHostEvent") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("externalHostEvent/{id}") Call get(@Path("id") String id); @@ -33,7 +32,7 @@ public interface ExternalHostEventService { Call update(@Path("id") String id, @Body ExternalHostEvent externalHostEvent); @DELETE("externalHostEvent/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("externalHostEvent/{id}?action=remove") Call remove(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/ExternalServiceEventService.java b/src/main/java/io/rancher/service/ExternalServiceEventService.java index 6091f03..844c310 100644 --- a/src/main/java/io/rancher/service/ExternalServiceEventService.java +++ b/src/main/java/io/rancher/service/ExternalServiceEventService.java @@ -1,12 +1,11 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ExternalServiceEvent; import io.rancher.type.ExternalEvent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -21,7 +20,7 @@ public interface ExternalServiceEventService { Call> list(); @GET("externalServiceEvent") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("externalServiceEvent/{id}") Call get(@Path("id") String id); @@ -33,7 +32,7 @@ public interface ExternalServiceEventService { Call update(@Path("id") String id, @Body ExternalServiceEvent externalServiceEvent); @DELETE("externalServiceEvent/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("externalServiceEvent/{id}?action=remove") Call remove(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/ExternalServiceService.java b/src/main/java/io/rancher/service/ExternalServiceService.java index 3fe8332..60582b5 100644 --- a/src/main/java/io/rancher/service/ExternalServiceService.java +++ b/src/main/java/io/rancher/service/ExternalServiceService.java @@ -1,14 +1,13 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ExternalService; import io.rancher.type.ServiceRestart; -import io.rancher.type.Service; import io.rancher.type.ServiceUpgrade; +import io.rancher.type.Service; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -23,7 +22,7 @@ public interface ExternalServiceService { Call> list(); @GET("externalService") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("externalService/{id}") Call get(@Path("id") String id); @@ -35,17 +34,17 @@ public interface ExternalServiceService { Call update(@Path("id") String id, @Body ExternalService externalService); @DELETE("externalService/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("externalService/{id}?action=activate") Call activate(@Path("id") String id); - @POST("externalService/{id}?action=cancelrollback") - Call cancelrollback(@Path("id") String id); - @POST("externalService/{id}?action=cancelupgrade") Call cancelupgrade(@Path("id") String id); + @POST("externalService/{id}?action=continueupgrade") + Call continueupgrade(@Path("id") String id); + @POST("externalService/{id}?action=deactivate") Call deactivate(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/ExternalStoragePoolEventService.java b/src/main/java/io/rancher/service/ExternalStoragePoolEventService.java index 0b19802..f65749f 100644 --- a/src/main/java/io/rancher/service/ExternalStoragePoolEventService.java +++ b/src/main/java/io/rancher/service/ExternalStoragePoolEventService.java @@ -1,12 +1,11 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ExternalStoragePoolEvent; import io.rancher.type.ExternalEvent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -21,7 +20,7 @@ public interface ExternalStoragePoolEventService { Call> list(); @GET("externalStoragePoolEvent") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("externalStoragePoolEvent/{id}") Call get(@Path("id") String id); @@ -33,7 +32,7 @@ public interface ExternalStoragePoolEventService { Call update(@Path("id") String id, @Body ExternalStoragePoolEvent externalStoragePoolEvent); @DELETE("externalStoragePoolEvent/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("externalStoragePoolEvent/{id}?action=remove") Call remove(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/ExternalVolumeEventService.java b/src/main/java/io/rancher/service/ExternalVolumeEventService.java index 0a70013..bec84fb 100644 --- a/src/main/java/io/rancher/service/ExternalVolumeEventService.java +++ b/src/main/java/io/rancher/service/ExternalVolumeEventService.java @@ -1,12 +1,11 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.ExternalVolumeEvent; import io.rancher.type.ExternalEvent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -21,7 +20,7 @@ public interface ExternalVolumeEventService { Call> list(); @GET("externalVolumeEvent") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("externalVolumeEvent/{id}") Call get(@Path("id") String id); @@ -33,7 +32,7 @@ public interface ExternalVolumeEventService { Call update(@Path("id") String id, @Body ExternalVolumeEvent externalVolumeEvent); @DELETE("externalVolumeEvent/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("externalVolumeEvent/{id}?action=remove") Call remove(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/FieldDocumentationService.java b/src/main/java/io/rancher/service/FieldDocumentationService.java index c57c130..5cc5492 100644 --- a/src/main/java/io/rancher/service/FieldDocumentationService.java +++ b/src/main/java/io/rancher/service/FieldDocumentationService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.FieldDocumentation; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface FieldDocumentationService { Call> list(); @GET("fieldDocumentation") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("fieldDocumentation/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface FieldDocumentationService { Call update(@Path("id") String id, @Body FieldDocumentation fieldDocumentation); @DELETE("fieldDocumentation/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/GenericObjectService.java b/src/main/java/io/rancher/service/GenericObjectService.java new file mode 100644 index 0000000..82c6139 --- /dev/null +++ b/src/main/java/io/rancher/service/GenericObjectService.java @@ -0,0 +1,39 @@ +package io.rancher.service; + +import java.util.HashMap; +import io.rancher.base.TypeCollection; +import io.rancher.type.GenericObject; + +import retrofit2.Call; +import retrofit2.http.Body; +import retrofit2.http.DELETE; +import retrofit2.http.GET; +import retrofit2.http.POST; +import retrofit2.http.PUT; +import retrofit2.http.Path; +import retrofit2.http.QueryMap; + +public interface GenericObjectService { + + @GET("genericObject") + Call> list(); + + @GET("genericObject") + Call> list(@QueryMap HashMap filters); + + @GET("genericObject/{id}") + Call get(@Path("id") String id); + + @POST("genericObject") + Call create(@Body GenericObject genericObject); + + @PUT("genericObject/{id}") + Call update(@Path("id") String id, @Body GenericObject genericObject); + + @DELETE("genericObject/{id}") + Call delete(@Path("id") String id); + + @POST("genericObject/{id}?action=remove") + Call remove(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/GithubconfigService.java b/src/main/java/io/rancher/service/GithubconfigService.java deleted file mode 100644 index 25616c3..0000000 --- a/src/main/java/io/rancher/service/GithubconfigService.java +++ /dev/null @@ -1,37 +0,0 @@ -package io.rancher.service; - -import io.rancher.base.Filters; -import io.rancher.base.TypeCollection; -import io.rancher.type.Githubconfig; - -import retrofit2.Call; -import retrofit2.Response; -import retrofit2.http.Body; -import retrofit2.http.DELETE; -import retrofit2.http.GET; -import retrofit2.http.POST; -import retrofit2.http.PUT; -import retrofit2.http.Path; -import retrofit2.http.QueryMap; - -public interface GithubconfigService { - - @GET("githubconfig") - Call> list(); - - @GET("githubconfig") - Call> list(@QueryMap Filters filters); - - @GET("githubconfig/{id}") - Call get(@Path("id") String id); - - @POST("githubconfig") - Call create(@Body Githubconfig githubconfig); - - @PUT("githubconfig/{id}") - Call update(@Path("id") String id, @Body Githubconfig githubconfig); - - @DELETE("githubconfig/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/HaConfigInputService.java b/src/main/java/io/rancher/service/HaConfigInputService.java index 90859e8..81d3930 100644 --- a/src/main/java/io/rancher/service/HaConfigInputService.java +++ b/src/main/java/io/rancher/service/HaConfigInputService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.HaConfigInput; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface HaConfigInputService { Call> list(); @GET("haConfigInput") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("haConfigInput/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface HaConfigInputService { Call update(@Path("id") String id, @Body HaConfigInput haConfigInput); @DELETE("haConfigInput/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/HaConfigService.java b/src/main/java/io/rancher/service/HaConfigService.java index 435476d..67cd952 100644 --- a/src/main/java/io/rancher/service/HaConfigService.java +++ b/src/main/java/io/rancher/service/HaConfigService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.HaConfig; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface HaConfigService { Call> list(); @GET("haConfig") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("haConfig/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface HaConfigService { Call update(@Path("id") String id, @Body HaConfig haConfig); @DELETE("haConfig/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/HaproxyConfigService.java b/src/main/java/io/rancher/service/HaproxyConfigService.java deleted file mode 100644 index 87066da..0000000 --- a/src/main/java/io/rancher/service/HaproxyConfigService.java +++ /dev/null @@ -1,37 +0,0 @@ -package io.rancher.service; - -import io.rancher.base.Filters; -import io.rancher.base.TypeCollection; -import io.rancher.type.HaproxyConfig; - -import retrofit2.Call; -import retrofit2.Response; -import retrofit2.http.Body; -import retrofit2.http.DELETE; -import retrofit2.http.GET; -import retrofit2.http.POST; -import retrofit2.http.PUT; -import retrofit2.http.Path; -import retrofit2.http.QueryMap; - -public interface HaproxyConfigService { - - @GET("haproxyConfig") - Call> list(); - - @GET("haproxyConfig") - Call> list(@QueryMap Filters filters); - - @GET("haproxyConfig/{id}") - Call get(@Path("id") String id); - - @POST("haproxyConfig") - Call create(@Body HaproxyConfig haproxyConfig); - - @PUT("haproxyConfig/{id}") - Call update(@Path("id") String id, @Body HaproxyConfig haproxyConfig); - - @DELETE("haproxyConfig/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/HealthcheckInstanceHostMapService.java b/src/main/java/io/rancher/service/HealthcheckInstanceHostMapService.java index 7756803..5211095 100644 --- a/src/main/java/io/rancher/service/HealthcheckInstanceHostMapService.java +++ b/src/main/java/io/rancher/service/HealthcheckInstanceHostMapService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.HealthcheckInstanceHostMap; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface HealthcheckInstanceHostMapService { Call> list(); @GET("healthcheckInstanceHostMap") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("healthcheckInstanceHostMap/{id}") Call get(@Path("id") String id); @@ -32,7 +31,7 @@ public interface HealthcheckInstanceHostMapService { Call update(@Path("id") String id, @Body HealthcheckInstanceHostMap healthcheckInstanceHostMap); @DELETE("healthcheckInstanceHostMap/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("healthcheckInstanceHostMap/{id}?action=remove") Call remove(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/HostAccessService.java b/src/main/java/io/rancher/service/HostAccessService.java index 43c8902..4e257a7 100644 --- a/src/main/java/io/rancher/service/HostAccessService.java +++ b/src/main/java/io/rancher/service/HostAccessService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.HostAccess; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface HostAccessService { Call> list(); @GET("hostAccess") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("hostAccess/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface HostAccessService { Call update(@Path("id") String id, @Body HostAccess hostAccess); @DELETE("hostAccess/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/HostApiProxyTokenService.java b/src/main/java/io/rancher/service/HostApiProxyTokenService.java index e03af1c..a865f3b 100644 --- a/src/main/java/io/rancher/service/HostApiProxyTokenService.java +++ b/src/main/java/io/rancher/service/HostApiProxyTokenService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.HostApiProxyToken; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface HostApiProxyTokenService { Call> list(); @GET("hostApiProxyToken") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("hostApiProxyToken/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface HostApiProxyTokenService { Call update(@Path("id") String id, @Body HostApiProxyToken hostApiProxyToken); @DELETE("hostApiProxyToken/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/HostService.java b/src/main/java/io/rancher/service/HostService.java index e85ce8d..e7fafe1 100644 --- a/src/main/java/io/rancher/service/HostService.java +++ b/src/main/java/io/rancher/service/HostService.java @@ -1,12 +1,11 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Host; import io.rancher.type.HostAccess; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -21,7 +20,7 @@ public interface HostService { Call> list(); @GET("host") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("host/{id}") Call get(@Path("id") String id); @@ -33,7 +32,7 @@ public interface HostService { Call update(@Path("id") String id, @Body Host host); @DELETE("host/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("host/{id}?action=activate") Call activate(@Path("id") String id); @@ -44,13 +43,19 @@ public interface HostService { @POST("host/{id}?action=dockersocket") Call dockersocket(@Path("id") String id); + @POST("host/{id}?action=error") + Call error(@Path("id") String id); + + @POST("host/{id}?action=evacuate") + Call evacuate(@Path("id") String id); + + @POST("host/{id}?action=provision") + Call provision(@Path("id") String id); + @POST("host/{id}?action=purge") Call purge(@Path("id") String id); @POST("host/{id}?action=remove") Call remove(@Path("id") String id); - @POST("host/{id}?action=restore") - Call restore(@Path("id") String id); - } diff --git a/src/main/java/io/rancher/service/HostTemplateService.java b/src/main/java/io/rancher/service/HostTemplateService.java new file mode 100644 index 0000000..e8583ba --- /dev/null +++ b/src/main/java/io/rancher/service/HostTemplateService.java @@ -0,0 +1,39 @@ +package io.rancher.service; + +import java.util.HashMap; +import io.rancher.base.TypeCollection; +import io.rancher.type.HostTemplate; + +import retrofit2.Call; +import retrofit2.http.Body; +import retrofit2.http.DELETE; +import retrofit2.http.GET; +import retrofit2.http.POST; +import retrofit2.http.PUT; +import retrofit2.http.Path; +import retrofit2.http.QueryMap; + +public interface HostTemplateService { + + @GET("hostTemplate") + Call> list(); + + @GET("hostTemplate") + Call> list(@QueryMap HashMap filters); + + @GET("hostTemplate/{id}") + Call get(@Path("id") String id); + + @POST("hostTemplate") + Call create(@Body HostTemplate hostTemplate); + + @PUT("hostTemplate/{id}") + Call update(@Path("id") String id, @Body HostTemplate hostTemplate); + + @DELETE("hostTemplate/{id}") + Call delete(@Path("id") String id); + + @POST("hostTemplate/{id}?action=remove") + Call remove(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/IdentityService.java b/src/main/java/io/rancher/service/IdentityService.java index ec58781..266ee64 100644 --- a/src/main/java/io/rancher/service/IdentityService.java +++ b/src/main/java/io/rancher/service/IdentityService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Identity; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface IdentityService { Call> list(); @GET("identity") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("identity/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface IdentityService { Call update(@Path("id") String id, @Body Identity identity); @DELETE("identity/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/ImageService.java b/src/main/java/io/rancher/service/ImageService.java index 9ed3425..7b6d3d0 100644 --- a/src/main/java/io/rancher/service/ImageService.java +++ b/src/main/java/io/rancher/service/ImageService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Image; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface ImageService { Call> list(); @GET("image") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("image/{id}") Call get(@Path("id") String id); @@ -32,7 +31,7 @@ public interface ImageService { Call update(@Path("id") String id, @Body Image image); @DELETE("image/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("image/{id}?action=activate") Call activate(@Path("id") String id); @@ -46,7 +45,4 @@ public interface ImageService { @POST("image/{id}?action=remove") Call remove(@Path("id") String id); - @POST("image/{id}?action=restore") - Call restore(@Path("id") String id); - } diff --git a/src/main/java/io/rancher/service/InServiceUpgradeStrategyService.java b/src/main/java/io/rancher/service/InServiceUpgradeStrategyService.java index f41a9aa..3687f35 100644 --- a/src/main/java/io/rancher/service/InServiceUpgradeStrategyService.java +++ b/src/main/java/io/rancher/service/InServiceUpgradeStrategyService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.InServiceUpgradeStrategy; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface InServiceUpgradeStrategyService { Call> list(); @GET("inServiceUpgradeStrategy") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("inServiceUpgradeStrategy/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface InServiceUpgradeStrategyService { Call update(@Path("id") String id, @Body InServiceUpgradeStrategy inServiceUpgradeStrategy); @DELETE("inServiceUpgradeStrategy/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/InstanceConsoleInputService.java b/src/main/java/io/rancher/service/InstanceConsoleInputService.java index eef6178..a05296c 100644 --- a/src/main/java/io/rancher/service/InstanceConsoleInputService.java +++ b/src/main/java/io/rancher/service/InstanceConsoleInputService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.InstanceConsoleInput; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface InstanceConsoleInputService { Call> list(); @GET("instanceConsoleInput") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("instanceConsoleInput/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface InstanceConsoleInputService { Call update(@Path("id") String id, @Body InstanceConsoleInput instanceConsoleInput); @DELETE("instanceConsoleInput/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/InstanceConsoleService.java b/src/main/java/io/rancher/service/InstanceConsoleService.java index 7768bfb..aa3cd71 100644 --- a/src/main/java/io/rancher/service/InstanceConsoleService.java +++ b/src/main/java/io/rancher/service/InstanceConsoleService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.InstanceConsole; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface InstanceConsoleService { Call> list(); @GET("instanceConsole") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("instanceConsole/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface InstanceConsoleService { Call update(@Path("id") String id, @Body InstanceConsole instanceConsole); @DELETE("instanceConsole/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/InstanceHealthCheckService.java b/src/main/java/io/rancher/service/InstanceHealthCheckService.java index 6bacc17..df933c7 100644 --- a/src/main/java/io/rancher/service/InstanceHealthCheckService.java +++ b/src/main/java/io/rancher/service/InstanceHealthCheckService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.InstanceHealthCheck; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface InstanceHealthCheckService { Call> list(); @GET("instanceHealthCheck") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("instanceHealthCheck/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface InstanceHealthCheckService { Call update(@Path("id") String id, @Body InstanceHealthCheck instanceHealthCheck); @DELETE("instanceHealthCheck/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/InstanceLinkService.java b/src/main/java/io/rancher/service/InstanceLinkService.java index e939bbb..777f096 100644 --- a/src/main/java/io/rancher/service/InstanceLinkService.java +++ b/src/main/java/io/rancher/service/InstanceLinkService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.InstanceLink; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface InstanceLinkService { Call> list(); @GET("instanceLink") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("instanceLink/{id}") Call get(@Path("id") String id); @@ -32,7 +31,7 @@ public interface InstanceLinkService { Call update(@Path("id") String id, @Body InstanceLink instanceLink); @DELETE("instanceLink/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("instanceLink/{id}?action=activate") Call activate(@Path("id") String id); @@ -46,7 +45,4 @@ public interface InstanceLinkService { @POST("instanceLink/{id}?action=remove") Call remove(@Path("id") String id); - @POST("instanceLink/{id}?action=restore") - Call restore(@Path("id") String id); - } diff --git a/src/main/java/io/rancher/service/InstanceService.java b/src/main/java/io/rancher/service/InstanceService.java index 6460eb1..74b9fdf 100644 --- a/src/main/java/io/rancher/service/InstanceService.java +++ b/src/main/java/io/rancher/service/InstanceService.java @@ -1,6 +1,6 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Instance; import io.rancher.type.InstanceStop; @@ -8,7 +8,6 @@ import io.rancher.type.InstanceConsole; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -23,7 +22,7 @@ public interface InstanceService { Call> list(); @GET("instance") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("instance/{id}") Call get(@Path("id") String id); @@ -35,7 +34,7 @@ public interface InstanceService { Call update(@Path("id") String id, @Body Instance instance); @DELETE("instance/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("instance/{id}?action=allocate") Call allocate(@Path("id") String id); @@ -61,9 +60,6 @@ public interface InstanceService { @POST("instance/{id}?action=restart") Call restart(@Path("id") String id); - @POST("instance/{id}?action=restore") - Call restore(@Path("id") String id); - @POST("instance/{id}?action=start") Call start(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/InstanceStopService.java b/src/main/java/io/rancher/service/InstanceStopService.java index 9ecab11..b6de483 100644 --- a/src/main/java/io/rancher/service/InstanceStopService.java +++ b/src/main/java/io/rancher/service/InstanceStopService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.InstanceStop; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface InstanceStopService { Call> list(); @GET("instanceStop") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("instanceStop/{id}") Call get(@Path("id") String id); @@ -32,6 +31,6 @@ public interface InstanceStopService { Call update(@Path("id") String id, @Body InstanceStop instanceStop); @DELETE("instanceStop/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); } diff --git a/src/main/java/io/rancher/service/IpAddressAssociateInputService.java b/src/main/java/io/rancher/service/IpAddressAssociateInputService.java deleted file mode 100644 index a4c76a2..0000000 --- a/src/main/java/io/rancher/service/IpAddressAssociateInputService.java +++ /dev/null @@ -1,37 +0,0 @@ -package io.rancher.service; - -import io.rancher.base.Filters; -import io.rancher.base.TypeCollection; -import io.rancher.type.IpAddressAssociateInput; - -import retrofit2.Call; -import retrofit2.Response; -import retrofit2.http.Body; -import retrofit2.http.DELETE; -import retrofit2.http.GET; -import retrofit2.http.POST; -import retrofit2.http.PUT; -import retrofit2.http.Path; -import retrofit2.http.QueryMap; - -public interface IpAddressAssociateInputService { - - @GET("ipAddressAssociateInput") - Call> list(); - - @GET("ipAddressAssociateInput") - Call> list(@QueryMap Filters filters); - - @GET("ipAddressAssociateInput/{id}") - Call get(@Path("id") String id); - - @POST("ipAddressAssociateInput") - Call create(@Body IpAddressAssociateInput ipAddressAssociateInput); - - @PUT("ipAddressAssociateInput/{id}") - Call update(@Path("id") String id, @Body IpAddressAssociateInput ipAddressAssociateInput); - - @DELETE("ipAddressAssociateInput/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/IpAddressService.java b/src/main/java/io/rancher/service/IpAddressService.java index c53e9e3..f44b1e6 100644 --- a/src/main/java/io/rancher/service/IpAddressService.java +++ b/src/main/java/io/rancher/service/IpAddressService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.IpAddress; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface IpAddressService { Call> list(); @GET("ipAddress") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("ipAddress/{id}") Call get(@Path("id") String id); @@ -32,11 +31,14 @@ public interface IpAddressService { Call update(@Path("id") String id, @Body IpAddress ipAddress); @DELETE("ipAddress/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("ipAddress/{id}?action=activate") Call activate(@Path("id") String id); + @POST("ipAddress/{id}?action=associate") + Call associate(@Path("id") String id); + @POST("ipAddress/{id}?action=deactivate") Call deactivate(@Path("id") String id); @@ -49,7 +51,4 @@ public interface IpAddressService { @POST("ipAddress/{id}?action=remove") Call remove(@Path("id") String id); - @POST("ipAddress/{id}?action=restore") - Call restore(@Path("id") String id); - } diff --git a/src/main/java/io/rancher/service/KubernetesServiceService.java b/src/main/java/io/rancher/service/KubernetesServiceService.java index 993e177..eb44416 100644 --- a/src/main/java/io/rancher/service/KubernetesServiceService.java +++ b/src/main/java/io/rancher/service/KubernetesServiceService.java @@ -1,16 +1,15 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.KubernetesService; -import io.rancher.type.SetServiceLinksInput; import io.rancher.type.ServiceUpgrade; -import io.rancher.type.ServiceRestart; -import io.rancher.type.Service; import io.rancher.type.AddRemoveServiceLinkInput; +import io.rancher.type.Service; +import io.rancher.type.SetServiceLinksInput; +import io.rancher.type.ServiceRestart; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -25,7 +24,7 @@ public interface KubernetesServiceService { Call> list(); @GET("kubernetesService") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("kubernetesService/{id}") Call get(@Path("id") String id); @@ -37,7 +36,7 @@ public interface KubernetesServiceService { Call update(@Path("id") String id, @Body KubernetesService kubernetesService); @DELETE("kubernetesService/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("kubernetesService/{id}?action=activate") Call activate(@Path("id") String id); @@ -45,12 +44,12 @@ public interface KubernetesServiceService { @POST("kubernetesService/{id}?action=addservicelink") Call addservicelink(@Path("id") String id, @Body AddRemoveServiceLinkInput addRemoveServiceLinkInput); - @POST("kubernetesService/{id}?action=cancelrollback") - Call cancelrollback(@Path("id") String id); - @POST("kubernetesService/{id}?action=cancelupgrade") Call cancelupgrade(@Path("id") String id); + @POST("kubernetesService/{id}?action=continueupgrade") + Call continueupgrade(@Path("id") String id); + @POST("kubernetesService/{id}?action=deactivate") Call deactivate(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/KubernetesStackService.java b/src/main/java/io/rancher/service/KubernetesStackService.java new file mode 100644 index 0000000..b744610 --- /dev/null +++ b/src/main/java/io/rancher/service/KubernetesStackService.java @@ -0,0 +1,56 @@ +package io.rancher.service; + +import java.util.HashMap; +import io.rancher.base.TypeCollection; +import io.rancher.type.KubernetesStack; +import io.rancher.type.Stack; +import io.rancher.type.KubernetesStackUpgrade; + +import retrofit2.Call; +import retrofit2.http.Body; +import retrofit2.http.DELETE; +import retrofit2.http.GET; +import retrofit2.http.POST; +import retrofit2.http.PUT; +import retrofit2.http.Path; +import retrofit2.http.QueryMap; + +public interface KubernetesStackService { + + @GET("kubernetesStack") + Call> list(); + + @GET("kubernetesStack") + Call> list(@QueryMap HashMap filters); + + @GET("kubernetesStack/{id}") + Call get(@Path("id") String id); + + @POST("kubernetesStack") + Call create(@Body KubernetesStack kubernetesStack); + + @PUT("kubernetesStack/{id}") + Call update(@Path("id") String id, @Body KubernetesStack kubernetesStack); + + @DELETE("kubernetesStack/{id}") + Call delete(@Path("id") String id); + + @POST("kubernetesStack/{id}?action=cancelupgrade") + Call cancelupgrade(@Path("id") String id); + + @POST("kubernetesStack/{id}?action=error") + Call error(@Path("id") String id); + + @POST("kubernetesStack/{id}?action=finishupgrade") + Call finishupgrade(@Path("id") String id); + + @POST("kubernetesStack/{id}?action=remove") + Call remove(@Path("id") String id); + + @POST("kubernetesStack/{id}?action=rollback") + Call rollback(@Path("id") String id); + + @POST("kubernetesStack/{id}?action=upgrade") + Call upgrade(@Path("id") String id, @Body KubernetesStackUpgrade kubernetesStackUpgrade); + +} diff --git a/src/main/java/io/rancher/service/KubernetesStackUpgradeService.java b/src/main/java/io/rancher/service/KubernetesStackUpgradeService.java new file mode 100644 index 0000000..e43dfed --- /dev/null +++ b/src/main/java/io/rancher/service/KubernetesStackUpgradeService.java @@ -0,0 +1,36 @@ +package io.rancher.service; + +import java.util.HashMap; +import io.rancher.base.TypeCollection; +import io.rancher.type.KubernetesStackUpgrade; + +import retrofit2.Call; +import retrofit2.http.Body; +import retrofit2.http.DELETE; +import retrofit2.http.GET; +import retrofit2.http.POST; +import retrofit2.http.PUT; +import retrofit2.http.Path; +import retrofit2.http.QueryMap; + +public interface KubernetesStackUpgradeService { + + @GET("kubernetesStackUpgrade") + Call> list(); + + @GET("kubernetesStackUpgrade") + Call> list(@QueryMap HashMap filters); + + @GET("kubernetesStackUpgrade/{id}") + Call get(@Path("id") String id); + + @POST("kubernetesStackUpgrade") + Call create(@Body KubernetesStackUpgrade kubernetesStackUpgrade); + + @PUT("kubernetesStackUpgrade/{id}") + Call update(@Path("id") String id, @Body KubernetesStackUpgrade kubernetesStackUpgrade); + + @DELETE("kubernetesStackUpgrade/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/LabelService.java b/src/main/java/io/rancher/service/LabelService.java index 463f4f2..8a03196 100644 --- a/src/main/java/io/rancher/service/LabelService.java +++ b/src/main/java/io/rancher/service/LabelService.java @@ -1,11 +1,10 @@ package io.rancher.service; -import io.rancher.base.Filters; +import java.util.HashMap; import io.rancher.base.TypeCollection; import io.rancher.type.Label; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -20,7 +19,7 @@ public interface LabelService { Call> list(); @GET("label") - Call> list(@QueryMap Filters filters); + Call> list(@QueryMap HashMap filters); @GET("label/{id}") Call