From 35833fe21e48eff626e21e5141e493a8af1df9da Mon Sep 17 00:00:00 2001 From: Ciprian Ciubotariu Date: Wed, 28 Jun 2017 00:26:11 +0300 Subject: [PATCH 1/4] Fix dependency scope for maven publisher The proper dependency scope should be compile, but gradle erroneously uses scope=runtime by default. --- .gitignore | 1 + build.gradle | 12 ++++++++++++ 2 files changed, 13 insertions(+) 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..26137fb 100644 --- a/build.gradle +++ b/build.gradle @@ -24,6 +24,18 @@ task javadocJar(type: Jar) { publishing { publications { sdk(MavenPublication) { + groupId 'io.rancher' + artifactId 'rancher-java-sdk' + version '1.0.0' + + 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' From b2bbef7575dc7663a377e3a6a4ea02d2ce0da35e Mon Sep 17 00:00:00 2001 From: Ciprian Ciubotariu Date: Mon, 11 Sep 2017 17:48:22 +0300 Subject: [PATCH 2/4] Rancher API v2 --- build.gradle | 2 +- generator/Makefile | 12 +- generator/schemas.json | 22304 +++++++++++----- .../io/rancher/service/AccountService.java | 4 +- .../AddRemoveClusterHostInputService.java | 37 - ...veLoadBalancerServiceLinkInputService.java | 37 - .../java/io/rancher/service/AgentService.java | 9 +- .../io/rancher/service/BindingService.java | 37 + .../service/CatalogTemplateService.java | 37 + .../service/ClusterMembershipService.java | 37 + .../io/rancher/service/ClusterService.java | 64 - .../service/ComposeProjectService.java | 15 +- .../service/ComposeServiceService.java | 6 +- .../io/rancher/service/ContainerService.java | 13 +- .../service/DefaultNetworkService.java | 50 + .../io/rancher/service/DnsServiceService.java | 10 +- .../rancher/service/DynamicSchemaService.java | 40 - .../rancher/service/EnvironmentService.java | 74 - .../service/EnvironmentUpgradeService.java | 37 - .../service/ExoscaleConfigService.java | 37 - ...ndlerExternalHandlerProcessMapService.java | 3 - .../ExternalHandlerProcessService.java | 3 - .../service/ExternalHandlerService.java | 3 - .../service/ExternalServiceService.java | 8 +- .../rancher/service/GenericObjectService.java | 40 + .../rancher/service/GithubconfigService.java | 37 - .../rancher/service/HaproxyConfigService.java | 37 - .../java/io/rancher/service/HostService.java | 12 +- .../rancher/service/HostTemplateService.java | 40 + .../java/io/rancher/service/ImageService.java | 3 - .../rancher/service/InstanceLinkService.java | 3 - .../io/rancher/service/InstanceService.java | 5 +- .../IpAddressAssociateInputService.java | 37 - .../io/rancher/service/IpAddressService.java | 6 +- .../service/KubernetesServiceService.java | 12 +- .../service/KubernetesStackService.java | 57 + .../KubernetesStackUpgradeService.java | 37 + .../rancher/service/LaunchConfigService.java | 12 +- .../io/rancher/service/LbConfigService.java | 37 + .../service/LbTargetConfigService.java | 37 + ...ancerAppCookieStickinessPolicyService.java | 37 - .../service/LoadBalancerConfigService.java | 37 - .../LoadBalancerServiceLinkService.java | 37 - .../service/LoadBalancerServiceService.java | 16 +- .../io/rancher/service/MountEntryService.java | 37 + .../rancher/service/NetworkDriverService.java | 46 + .../service/NetworkDriverServiceService.java | 78 + .../NetworkPolicyRuleBetweenService.java | 37 + .../NetworkPolicyRuleMemberService.java | 37 + .../service/NetworkPolicyRuleService.java | 37 + .../NetworkPolicyRuleWithinService.java | 37 + .../io/rancher/service/NetworkService.java | 3 - .../service/OpenstackConfigService.java | 37 - .../io/rancher/service/PortRuleService.java | 37 + .../java/io/rancher/service/PortService.java | 3 - .../service/ProcessInstanceService.java | 3 + .../rancher/service/ProcessPoolService.java | 37 + .../service/ProcessSummaryService.java | 37 + .../rancher/service/ProjectMemberService.java | 3 - .../io/rancher/service/ProjectService.java | 8 +- .../service/ProjectTemplateService.java | 40 + .../io/rancher/service/PullTaskService.java | 4 + .../service/RackspaceConfigService.java | 37 - .../io/rancher/service/RegisterService.java | 4 + .../io/rancher/service/RegistryService.java | 3 - .../service/ScheduledUpgradeService.java | 43 + .../service/SecondaryLaunchConfigService.java | 14 +- .../service/SecretReferenceService.java | 37 + .../io/rancher/service/SecretService.java | 40 + .../service/ServiceBindingService.java | 37 + .../io/rancher/service/ServiceLogService.java | 37 + .../io/rancher/service/ServiceService.java | 10 +- .../service/SetLabelsInputService.java | 37 - ...tLoadBalancerServiceLinksInputService.java | 37 - .../service/SoftlayerConfigService.java | 37 - .../java/io/rancher/service/StackService.java | 71 + .../rancher/service/StackUpgradeService.java | 37 + .../rancher/service/StorageDriverService.java | 46 + .../service/StorageDriverServiceService.java | 78 + .../rancher/service/StoragePoolService.java | 3 - .../io/rancher/service/SubnetService.java | 49 + .../io/rancher/service/SubscribeService.java | 37 - .../service/TargetPortRuleService.java | 37 + .../service/UbiquityConfigService.java | 37 - .../io/rancher/service/UlimitService.java | 37 + .../service/UserPreferenceService.java | 49 + .../service/VirtualMachineService.java | 16 +- .../service/VirtualboxConfigService.java | 37 - .../service/VmwarevcloudairConfigService.java | 37 - .../service/VmwarevsphereConfigService.java | 37 - .../service/VolumeActivateInputService.java | 37 + .../io/rancher/service/VolumeService.java | 6 - .../service/VolumeTemplateService.java | 49 + src/main/java/io/rancher/type/Account.java | 10 + ...AddRemoveLoadBalancerServiceLinkInput.java | 17 - .../java/io/rancher/type/Amazonec2Config.java | 127 +- .../java/io/rancher/type/AzureConfig.java | 171 +- src/main/java/io/rancher/type/Binding.java | 18 + .../java/io/rancher/type/CatalogTemplate.java | 88 + .../java/io/rancher/type/Certificate.java | 2 +- .../io/rancher/type/ClusterMembership.java | 57 + .../java/io/rancher/type/ComposeProject.java | 51 + .../java/io/rancher/type/ComposeService.java | 52 +- src/main/java/io/rancher/type/Container.java | 460 +- .../{Cluster.java => DefaultNetwork.java} | 132 +- .../io/rancher/type/DigitaloceanConfig.java | 40 + src/main/java/io/rancher/type/DnsService.java | 51 +- .../java/io/rancher/type/ExoscaleConfig.java | 88 - .../java/io/rancher/type/ExternalHandler.java | 2 +- ...ernalHandlerExternalHandlerProcessMap.java | 10 + .../java/io/rancher/type/ExternalService.java | 50 +- .../type/ExternalStoragePoolEvent.java | 2 +- .../java/io/rancher/type/GenericObject.java | 158 + .../java/io/rancher/type/Githubconfig.java | 88 - .../java/io/rancher/type/HaproxyConfig.java | 27 - src/main/java/io/rancher/type/Host.java | 222 +- .../java/io/rancher/type/HostTemplate.java | 178 + src/main/java/io/rancher/type/Identity.java | 10 + .../rancher/type/IpAddressAssociateInput.java | 17 - .../io/rancher/type/KubernetesService.java | 51 +- .../java/io/rancher/type/KubernetesStack.java | 259 + .../rancher/type/KubernetesStackUpgrade.java | 48 + .../java/io/rancher/type/LaunchConfig.java | 460 +- src/main/java/io/rancher/type/LbConfig.java | 58 + .../java/io/rancher/type/LbTargetConfig.java | 18 + src/main/java/io/rancher/type/Ldapconfig.java | 10 + ...LoadBalancerAppCookieStickinessPolicy.java | 77 - .../io/rancher/type/LoadBalancerConfig.java | 27 - .../io/rancher/type/LoadBalancerService.java | 80 +- .../rancher/type/LoadBalancerServiceLink.java | 38 - src/main/java/io/rancher/type/Machine.java | 52 +- src/main/java/io/rancher/type/MountEntry.java | 57 + src/main/java/io/rancher/type/Network.java | 81 + .../java/io/rancher/type/NetworkDriver.java | 178 + .../io/rancher/type/NetworkDriverService.java | 379 + .../io/rancher/type/NetworkPolicyRule.java | 68 + .../type/NetworkPolicyRuleBetween.java | 27 + .../rancher/type/NetworkPolicyRuleMember.java | 17 + .../rancher/type/NetworkPolicyRuleWithin.java | 7 + .../java/io/rancher/type/Openldapconfig.java | 41 + .../java/io/rancher/type/OpenstackConfig.java | 217 - src/main/java/io/rancher/type/PortRule.java | 97 + .../java/io/rancher/type/ProcessInstance.java | 30 + .../java/io/rancher/type/ProcessPool.java | 97 + .../java/io/rancher/type/ProcessSummary.java | 47 + src/main/java/io/rancher/type/Project.java | 100 +- .../java/io/rancher/type/ProjectTemplate.java | 169 + src/main/java/io/rancher/type/Publish.java | 2 +- .../java/io/rancher/type/RackspaceConfig.java | 97 - src/main/java/io/rancher/type/Register.java | 10 + .../io/rancher/type/RegistryCredential.java | 10 - .../io/rancher/type/ScheduledUpgrade.java | 138 + .../rancher/type/SecondaryLaunchConfig.java | 460 +- src/main/java/io/rancher/type/Secret.java | 148 + .../java/io/rancher/type/SecretReference.java | 57 + src/main/java/io/rancher/type/Service.java | 62 +- ...etLabelsInput.java => ServiceBinding.java} | 13 +- .../io/rancher/type/ServiceConsumeMap.java | 2 +- src/main/java/io/rancher/type/ServiceLog.java | 128 + .../SetLoadBalancerServiceLinksInput.java | 18 - .../java/io/rancher/type/SoftlayerConfig.java | 157 - .../type/{Environment.java => Stack.java} | 63 +- ...ironmentUpgrade.java => StackUpgrade.java} | 22 +- .../java/io/rancher/type/StorageDriver.java | 189 + .../io/rancher/type/StorageDriverService.java | 379 + .../java/io/rancher/type/StoragePool.java | 30 + src/main/java/io/rancher/type/Subnet.java | 198 + src/main/java/io/rancher/type/Subscribe.java | 28 - .../java/io/rancher/type/TargetPortRule.java | 47 + .../java/io/rancher/type/UbiquityConfig.java | 67 - src/main/java/io/rancher/type/Ulimit.java | 37 + ...DynamicSchema.java => UserPreference.java} | 53 +- .../java/io/rancher/type/VirtualMachine.java | 452 +- .../io/rancher/type/VirtualboxConfig.java | 77 - .../rancher/type/VmwarevcloudairConfig.java | 147 - .../io/rancher/type/VmwarevsphereConfig.java | 127 - src/main/java/io/rancher/type/Volume.java | 61 + ...ostInput.java => VolumeActivateInput.java} | 2 +- .../java/io/rancher/type/VolumeTemplate.java | 188 + 179 files changed, 24249 insertions(+), 9150 deletions(-) delete mode 100644 src/main/java/io/rancher/service/AddRemoveClusterHostInputService.java delete mode 100644 src/main/java/io/rancher/service/AddRemoveLoadBalancerServiceLinkInputService.java create mode 100644 src/main/java/io/rancher/service/BindingService.java create mode 100644 src/main/java/io/rancher/service/CatalogTemplateService.java create mode 100644 src/main/java/io/rancher/service/ClusterMembershipService.java delete mode 100644 src/main/java/io/rancher/service/ClusterService.java create mode 100644 src/main/java/io/rancher/service/DefaultNetworkService.java delete mode 100644 src/main/java/io/rancher/service/DynamicSchemaService.java delete mode 100644 src/main/java/io/rancher/service/EnvironmentService.java delete mode 100644 src/main/java/io/rancher/service/EnvironmentUpgradeService.java delete mode 100644 src/main/java/io/rancher/service/ExoscaleConfigService.java create mode 100644 src/main/java/io/rancher/service/GenericObjectService.java delete mode 100644 src/main/java/io/rancher/service/GithubconfigService.java delete mode 100644 src/main/java/io/rancher/service/HaproxyConfigService.java create mode 100644 src/main/java/io/rancher/service/HostTemplateService.java delete mode 100644 src/main/java/io/rancher/service/IpAddressAssociateInputService.java create mode 100644 src/main/java/io/rancher/service/KubernetesStackService.java create mode 100644 src/main/java/io/rancher/service/KubernetesStackUpgradeService.java create mode 100644 src/main/java/io/rancher/service/LbConfigService.java create mode 100644 src/main/java/io/rancher/service/LbTargetConfigService.java delete mode 100644 src/main/java/io/rancher/service/LoadBalancerAppCookieStickinessPolicyService.java delete mode 100644 src/main/java/io/rancher/service/LoadBalancerConfigService.java delete mode 100644 src/main/java/io/rancher/service/LoadBalancerServiceLinkService.java create mode 100644 src/main/java/io/rancher/service/MountEntryService.java create mode 100644 src/main/java/io/rancher/service/NetworkDriverService.java create mode 100644 src/main/java/io/rancher/service/NetworkDriverServiceService.java create mode 100644 src/main/java/io/rancher/service/NetworkPolicyRuleBetweenService.java create mode 100644 src/main/java/io/rancher/service/NetworkPolicyRuleMemberService.java create mode 100644 src/main/java/io/rancher/service/NetworkPolicyRuleService.java create mode 100644 src/main/java/io/rancher/service/NetworkPolicyRuleWithinService.java delete mode 100644 src/main/java/io/rancher/service/OpenstackConfigService.java create mode 100644 src/main/java/io/rancher/service/PortRuleService.java create mode 100644 src/main/java/io/rancher/service/ProcessPoolService.java create mode 100644 src/main/java/io/rancher/service/ProcessSummaryService.java create mode 100644 src/main/java/io/rancher/service/ProjectTemplateService.java delete mode 100644 src/main/java/io/rancher/service/RackspaceConfigService.java create mode 100644 src/main/java/io/rancher/service/ScheduledUpgradeService.java create mode 100644 src/main/java/io/rancher/service/SecretReferenceService.java create mode 100644 src/main/java/io/rancher/service/SecretService.java create mode 100644 src/main/java/io/rancher/service/ServiceBindingService.java create mode 100644 src/main/java/io/rancher/service/ServiceLogService.java delete mode 100644 src/main/java/io/rancher/service/SetLabelsInputService.java delete mode 100644 src/main/java/io/rancher/service/SetLoadBalancerServiceLinksInputService.java delete mode 100644 src/main/java/io/rancher/service/SoftlayerConfigService.java create mode 100644 src/main/java/io/rancher/service/StackService.java create mode 100644 src/main/java/io/rancher/service/StackUpgradeService.java create mode 100644 src/main/java/io/rancher/service/StorageDriverService.java create mode 100644 src/main/java/io/rancher/service/StorageDriverServiceService.java create mode 100644 src/main/java/io/rancher/service/SubnetService.java delete mode 100644 src/main/java/io/rancher/service/SubscribeService.java create mode 100644 src/main/java/io/rancher/service/TargetPortRuleService.java delete mode 100644 src/main/java/io/rancher/service/UbiquityConfigService.java create mode 100644 src/main/java/io/rancher/service/UlimitService.java create mode 100644 src/main/java/io/rancher/service/UserPreferenceService.java delete mode 100644 src/main/java/io/rancher/service/VirtualboxConfigService.java delete mode 100644 src/main/java/io/rancher/service/VmwarevcloudairConfigService.java delete mode 100644 src/main/java/io/rancher/service/VmwarevsphereConfigService.java create mode 100644 src/main/java/io/rancher/service/VolumeActivateInputService.java create mode 100644 src/main/java/io/rancher/service/VolumeTemplateService.java delete mode 100644 src/main/java/io/rancher/type/AddRemoveLoadBalancerServiceLinkInput.java create mode 100644 src/main/java/io/rancher/type/Binding.java create mode 100644 src/main/java/io/rancher/type/CatalogTemplate.java create mode 100644 src/main/java/io/rancher/type/ClusterMembership.java rename src/main/java/io/rancher/type/{Cluster.java => DefaultNetwork.java} (59%) delete mode 100644 src/main/java/io/rancher/type/ExoscaleConfig.java create mode 100644 src/main/java/io/rancher/type/GenericObject.java delete mode 100644 src/main/java/io/rancher/type/Githubconfig.java delete mode 100644 src/main/java/io/rancher/type/HaproxyConfig.java create mode 100644 src/main/java/io/rancher/type/HostTemplate.java delete mode 100644 src/main/java/io/rancher/type/IpAddressAssociateInput.java create mode 100644 src/main/java/io/rancher/type/KubernetesStack.java create mode 100644 src/main/java/io/rancher/type/KubernetesStackUpgrade.java create mode 100644 src/main/java/io/rancher/type/LbConfig.java create mode 100644 src/main/java/io/rancher/type/LbTargetConfig.java delete mode 100644 src/main/java/io/rancher/type/LoadBalancerAppCookieStickinessPolicy.java delete mode 100644 src/main/java/io/rancher/type/LoadBalancerConfig.java delete mode 100644 src/main/java/io/rancher/type/LoadBalancerServiceLink.java create mode 100644 src/main/java/io/rancher/type/MountEntry.java create mode 100644 src/main/java/io/rancher/type/NetworkDriver.java create mode 100644 src/main/java/io/rancher/type/NetworkDriverService.java create mode 100644 src/main/java/io/rancher/type/NetworkPolicyRule.java create mode 100644 src/main/java/io/rancher/type/NetworkPolicyRuleBetween.java create mode 100644 src/main/java/io/rancher/type/NetworkPolicyRuleMember.java create mode 100644 src/main/java/io/rancher/type/NetworkPolicyRuleWithin.java delete mode 100644 src/main/java/io/rancher/type/OpenstackConfig.java create mode 100644 src/main/java/io/rancher/type/PortRule.java create mode 100644 src/main/java/io/rancher/type/ProcessPool.java create mode 100644 src/main/java/io/rancher/type/ProcessSummary.java create mode 100644 src/main/java/io/rancher/type/ProjectTemplate.java delete mode 100644 src/main/java/io/rancher/type/RackspaceConfig.java create mode 100644 src/main/java/io/rancher/type/ScheduledUpgrade.java create mode 100644 src/main/java/io/rancher/type/Secret.java create mode 100644 src/main/java/io/rancher/type/SecretReference.java rename src/main/java/io/rancher/type/{SetLabelsInput.java => ServiceBinding.java} (54%) create mode 100644 src/main/java/io/rancher/type/ServiceLog.java delete mode 100644 src/main/java/io/rancher/type/SetLoadBalancerServiceLinksInput.java delete mode 100644 src/main/java/io/rancher/type/SoftlayerConfig.java rename src/main/java/io/rancher/type/{Environment.java => Stack.java} (79%) rename src/main/java/io/rancher/type/{EnvironmentUpgrade.java => StackUpgrade.java} (66%) create mode 100644 src/main/java/io/rancher/type/StorageDriver.java create mode 100644 src/main/java/io/rancher/type/StorageDriverService.java create mode 100644 src/main/java/io/rancher/type/Subnet.java delete mode 100644 src/main/java/io/rancher/type/Subscribe.java create mode 100644 src/main/java/io/rancher/type/TargetPortRule.java delete mode 100644 src/main/java/io/rancher/type/UbiquityConfig.java create mode 100644 src/main/java/io/rancher/type/Ulimit.java rename src/main/java/io/rancher/type/{DynamicSchema.java => UserPreference.java} (81%) delete mode 100644 src/main/java/io/rancher/type/VirtualboxConfig.java delete mode 100644 src/main/java/io/rancher/type/VmwarevcloudairConfig.java delete mode 100644 src/main/java/io/rancher/type/VmwarevsphereConfig.java rename src/main/java/io/rancher/type/{AddRemoveClusterHostInput.java => VolumeActivateInput.java} (80%) create mode 100644 src/main/java/io/rancher/type/VolumeTemplate.java diff --git a/build.gradle b/build.gradle index 26137fb..4e9419a 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ publishing { sdk(MavenPublication) { groupId 'io.rancher' artifactId 'rancher-java-sdk' - version '1.0.0' + version '2.0.0' pom.withXml { asNode().dependencies.'*'.findAll() { diff --git a/generator/Makefile b/generator/Makefile index 3189885..ccc5bdb 100644 --- a/generator/Makefile +++ b/generator/Makefile @@ -1,12 +1,12 @@ -.PHONY clean deps +#.PHONY: clean deps 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 ./... build: - go build ./... \ No newline at end of file + go build ./... diff --git a/generator/schemas.json b/generator/schemas.json index 4cedb9c..4195071 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,8 @@ "readOnCreateOnly": false, "maxLength": 255 }, - "name": { - "type": "string", + "localStorageMb": { + "type": "int", "description": null, "create": true, "update": true, @@ -11942,6 +13148,32 @@ "readOnCreateOnly": false, "maxLength": 255 }, + "memory": { + "type": "int", + "description": null, + "create": true, + "update": true, + "nullable": true, + "readOnCreateOnly": false, + "maxLength": 255 + }, + "milliCpu": { + "type": "int", + "description": null, + "create": true, + "update": true, + "nullable": true, + "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/src/main/java/io/rancher/service/AccountService.java b/src/main/java/io/rancher/service/AccountService.java index 4d19b4d..001895f 100644 --- a/src/main/java/io/rancher/service/AccountService.java +++ b/src/main/java/io/rancher/service/AccountService.java @@ -46,7 +46,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/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/AgentService.java b/src/main/java/io/rancher/service/AgentService.java index 255cee0..3a4bcc6 100644 --- a/src/main/java/io/rancher/service/AgentService.java +++ b/src/main/java/io/rancher/service/AgentService.java @@ -40,6 +40,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 +55,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/BindingService.java b/src/main/java/io/rancher/service/BindingService.java new file mode 100644 index 0000000..f33955d --- /dev/null +++ b/src/main/java/io/rancher/service/BindingService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.Binding; + +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 BindingService { + + @GET("binding") + Call> list(); + + @GET("binding") + Call> list(@QueryMap Filters 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/CatalogTemplateService.java b/src/main/java/io/rancher/service/CatalogTemplateService.java new file mode 100644 index 0000000..636608f --- /dev/null +++ b/src/main/java/io/rancher/service/CatalogTemplateService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.CatalogTemplate; + +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 CatalogTemplateService { + + @GET("catalogTemplate") + Call> list(); + + @GET("catalogTemplate") + Call> list(@QueryMap Filters 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/ClusterMembershipService.java b/src/main/java/io/rancher/service/ClusterMembershipService.java new file mode 100644 index 0000000..b6e9096 --- /dev/null +++ b/src/main/java/io/rancher/service/ClusterMembershipService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.ClusterMembership; + +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 ClusterMembershipService { + + @GET("clusterMembership") + Call> list(); + + @GET("clusterMembership") + Call> list(@QueryMap Filters 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/ComposeProjectService.java b/src/main/java/io/rancher/service/ComposeProjectService.java index 36351f4..e44c6d0 100644 --- a/src/main/java/io/rancher/service/ComposeProjectService.java +++ b/src/main/java/io/rancher/service/ComposeProjectService.java @@ -3,7 +3,7 @@ import io.rancher.base.Filters; 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; @@ -35,22 +35,19 @@ public interface ComposeProjectService { @DELETE("composeProject/{id}") Call delete(@Path("id") String id); - @POST("composeProject/{id}?action=cancelrollback") - Call cancelrollback(@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..12b330c 100644 --- a/src/main/java/io/rancher/service/ComposeServiceService.java +++ b/src/main/java/io/rancher/service/ComposeServiceService.java @@ -38,12 +38,12 @@ public interface ComposeServiceService { @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/ContainerService.java b/src/main/java/io/rancher/service/ContainerService.java index caec172..4e49609 100644 --- a/src/main/java/io/rancher/service/ContainerService.java +++ b/src/main/java/io/rancher/service/ContainerService.java @@ -3,15 +3,14 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.Container; -import io.rancher.type.InstanceStop; import io.rancher.type.ContainerProxy; +import io.rancher.type.Instance; 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 retrofit2.Call; import retrofit2.Response; @@ -76,12 +75,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/DefaultNetworkService.java b/src/main/java/io/rancher/service/DefaultNetworkService.java new file mode 100644 index 0000000..641a71b --- /dev/null +++ b/src/main/java/io/rancher/service/DefaultNetworkService.java @@ -0,0 +1,50 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.DefaultNetwork; +import io.rancher.type.Network; + +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 DefaultNetworkService { + + @GET("defaultNetwork") + Call> list(); + + @GET("defaultNetwork") + Call> list(@QueryMap Filters 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/DnsServiceService.java b/src/main/java/io/rancher/service/DnsServiceService.java index 481b996..bd9bbcb 100644 --- a/src/main/java/io/rancher/service/DnsServiceService.java +++ b/src/main/java/io/rancher/service/DnsServiceService.java @@ -3,11 +3,11 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.DnsService; -import io.rancher.type.ServiceRestart; +import io.rancher.type.Service; import io.rancher.type.ServiceUpgrade; +import io.rancher.type.ServiceRestart; import io.rancher.type.AddRemoveServiceLinkInput; import io.rancher.type.SetServiceLinksInput; -import io.rancher.type.Service; import retrofit2.Call; import retrofit2.Response; @@ -45,12 +45,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/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/ExternalHandlerExternalHandlerProcessMapService.java b/src/main/java/io/rancher/service/ExternalHandlerExternalHandlerProcessMapService.java index 98bfac9..0317a85 100644 --- a/src/main/java/io/rancher/service/ExternalHandlerExternalHandlerProcessMapService.java +++ b/src/main/java/io/rancher/service/ExternalHandlerExternalHandlerProcessMapService.java @@ -46,7 +46,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/ExternalHandlerProcessService.java b/src/main/java/io/rancher/service/ExternalHandlerProcessService.java index 883d078..e528d73 100644 --- a/src/main/java/io/rancher/service/ExternalHandlerProcessService.java +++ b/src/main/java/io/rancher/service/ExternalHandlerProcessService.java @@ -46,7 +46,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..c75b2a4 100644 --- a/src/main/java/io/rancher/service/ExternalHandlerService.java +++ b/src/main/java/io/rancher/service/ExternalHandlerService.java @@ -46,7 +46,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/ExternalServiceService.java b/src/main/java/io/rancher/service/ExternalServiceService.java index 3fe8332..3d59a1d 100644 --- a/src/main/java/io/rancher/service/ExternalServiceService.java +++ b/src/main/java/io/rancher/service/ExternalServiceService.java @@ -3,9 +3,9 @@ import io.rancher.base.Filters; 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.ServiceRestart; import retrofit2.Call; import retrofit2.Response; @@ -40,12 +40,12 @@ public interface ExternalServiceService { @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/GenericObjectService.java b/src/main/java/io/rancher/service/GenericObjectService.java new file mode 100644 index 0000000..0d7fe58 --- /dev/null +++ b/src/main/java/io/rancher/service/GenericObjectService.java @@ -0,0 +1,40 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.GenericObject; + +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 GenericObjectService { + + @GET("genericObject") + Call> list(); + + @GET("genericObject") + Call> list(@QueryMap Filters 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/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/HostService.java b/src/main/java/io/rancher/service/HostService.java index e85ce8d..db65331 100644 --- a/src/main/java/io/rancher/service/HostService.java +++ b/src/main/java/io/rancher/service/HostService.java @@ -44,13 +44,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..de04e6f --- /dev/null +++ b/src/main/java/io/rancher/service/HostTemplateService.java @@ -0,0 +1,40 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.HostTemplate; + +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 HostTemplateService { + + @GET("hostTemplate") + Call> list(); + + @GET("hostTemplate") + Call> list(@QueryMap Filters 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/ImageService.java b/src/main/java/io/rancher/service/ImageService.java index 9ed3425..a1e0d97 100644 --- a/src/main/java/io/rancher/service/ImageService.java +++ b/src/main/java/io/rancher/service/ImageService.java @@ -46,7 +46,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/InstanceLinkService.java b/src/main/java/io/rancher/service/InstanceLinkService.java index e939bbb..50fd01f 100644 --- a/src/main/java/io/rancher/service/InstanceLinkService.java +++ b/src/main/java/io/rancher/service/InstanceLinkService.java @@ -46,7 +46,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..e152428 100644 --- a/src/main/java/io/rancher/service/InstanceService.java +++ b/src/main/java/io/rancher/service/InstanceService.java @@ -3,9 +3,9 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.Instance; -import io.rancher.type.InstanceStop; import io.rancher.type.InstanceConsoleInput; import io.rancher.type.InstanceConsole; +import io.rancher.type.InstanceStop; import retrofit2.Call; import retrofit2.Response; @@ -61,9 +61,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/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..9ed8a26 100644 --- a/src/main/java/io/rancher/service/IpAddressService.java +++ b/src/main/java/io/rancher/service/IpAddressService.java @@ -37,6 +37,9 @@ public interface IpAddressService { @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 +52,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..0be17ef 100644 --- a/src/main/java/io/rancher/service/KubernetesServiceService.java +++ b/src/main/java/io/rancher/service/KubernetesServiceService.java @@ -3,11 +3,11 @@ import io.rancher.base.Filters; 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.SetServiceLinksInput; +import io.rancher.type.ServiceRestart; +import io.rancher.type.ServiceUpgrade; import retrofit2.Call; import retrofit2.Response; @@ -45,12 +45,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..42af5c2 --- /dev/null +++ b/src/main/java/io/rancher/service/KubernetesStackService.java @@ -0,0 +1,57 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +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.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 KubernetesStackService { + + @GET("kubernetesStack") + Call> list(); + + @GET("kubernetesStack") + Call> list(@QueryMap Filters 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..398f984 --- /dev/null +++ b/src/main/java/io/rancher/service/KubernetesStackUpgradeService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.KubernetesStackUpgrade; + +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 KubernetesStackUpgradeService { + + @GET("kubernetesStackUpgrade") + Call> list(); + + @GET("kubernetesStackUpgrade") + Call> list(@QueryMap Filters 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/LaunchConfigService.java b/src/main/java/io/rancher/service/LaunchConfigService.java index 81ea1e9..cf67e58 100644 --- a/src/main/java/io/rancher/service/LaunchConfigService.java +++ b/src/main/java/io/rancher/service/LaunchConfigService.java @@ -3,15 +3,13 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.LaunchConfig; -import io.rancher.type.Instance; import io.rancher.type.ContainerExec; +import io.rancher.type.ContainerProxy; import io.rancher.type.HostAccess; +import io.rancher.type.Instance; import io.rancher.type.InstanceConsoleInput; import io.rancher.type.InstanceConsole; -import io.rancher.type.SetLabelsInput; import io.rancher.type.InstanceStop; -import io.rancher.type.Container; -import io.rancher.type.ContainerProxy; import retrofit2.Call; import retrofit2.Response; @@ -73,12 +71,6 @@ public interface LaunchConfigService { @POST("launchConfig/{id}?action=restart") Call restart(@Path("id") String id); - @POST("launchConfig/{id}?action=restore") - Call restore(@Path("id") String id); - - @POST("launchConfig/{id}?action=setlabels") - Call setlabels(@Path("id") String id, @Body SetLabelsInput setLabelsInput); - @POST("launchConfig/{id}?action=start") Call start(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/LbConfigService.java b/src/main/java/io/rancher/service/LbConfigService.java new file mode 100644 index 0000000..4267993 --- /dev/null +++ b/src/main/java/io/rancher/service/LbConfigService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.LbConfig; + +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 LbConfigService { + + @GET("lbConfig") + Call> list(); + + @GET("lbConfig") + Call> list(@QueryMap Filters filters); + + @GET("lbConfig/{id}") + Call get(@Path("id") String id); + + @POST("lbConfig") + Call create(@Body LbConfig lbConfig); + + @PUT("lbConfig/{id}") + Call update(@Path("id") String id, @Body LbConfig lbConfig); + + @DELETE("lbConfig/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/LbTargetConfigService.java b/src/main/java/io/rancher/service/LbTargetConfigService.java new file mode 100644 index 0000000..c1d6446 --- /dev/null +++ b/src/main/java/io/rancher/service/LbTargetConfigService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.LbTargetConfig; + +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 LbTargetConfigService { + + @GET("lbTargetConfig") + Call> list(); + + @GET("lbTargetConfig") + Call> list(@QueryMap Filters filters); + + @GET("lbTargetConfig/{id}") + Call get(@Path("id") String id); + + @POST("lbTargetConfig") + Call create(@Body LbTargetConfig lbTargetConfig); + + @PUT("lbTargetConfig/{id}") + Call update(@Path("id") String id, @Body LbTargetConfig lbTargetConfig); + + @DELETE("lbTargetConfig/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/LoadBalancerAppCookieStickinessPolicyService.java b/src/main/java/io/rancher/service/LoadBalancerAppCookieStickinessPolicyService.java deleted file mode 100644 index e7f607b..0000000 --- a/src/main/java/io/rancher/service/LoadBalancerAppCookieStickinessPolicyService.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.LoadBalancerAppCookieStickinessPolicy; - -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 LoadBalancerAppCookieStickinessPolicyService { - - @GET("loadBalancerAppCookieStickinessPolicy") - Call> list(); - - @GET("loadBalancerAppCookieStickinessPolicy") - Call> list(@QueryMap Filters filters); - - @GET("loadBalancerAppCookieStickinessPolicy/{id}") - Call get(@Path("id") String id); - - @POST("loadBalancerAppCookieStickinessPolicy") - Call create(@Body LoadBalancerAppCookieStickinessPolicy loadBalancerAppCookieStickinessPolicy); - - @PUT("loadBalancerAppCookieStickinessPolicy/{id}") - Call update(@Path("id") String id, @Body LoadBalancerAppCookieStickinessPolicy loadBalancerAppCookieStickinessPolicy); - - @DELETE("loadBalancerAppCookieStickinessPolicy/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/LoadBalancerConfigService.java b/src/main/java/io/rancher/service/LoadBalancerConfigService.java deleted file mode 100644 index a6187ca..0000000 --- a/src/main/java/io/rancher/service/LoadBalancerConfigService.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.LoadBalancerConfig; - -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 LoadBalancerConfigService { - - @GET("loadBalancerConfig") - Call> list(); - - @GET("loadBalancerConfig") - Call> list(@QueryMap Filters filters); - - @GET("loadBalancerConfig/{id}") - Call get(@Path("id") String id); - - @POST("loadBalancerConfig") - Call create(@Body LoadBalancerConfig loadBalancerConfig); - - @PUT("loadBalancerConfig/{id}") - Call update(@Path("id") String id, @Body LoadBalancerConfig loadBalancerConfig); - - @DELETE("loadBalancerConfig/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/LoadBalancerServiceLinkService.java b/src/main/java/io/rancher/service/LoadBalancerServiceLinkService.java deleted file mode 100644 index cc79f78..0000000 --- a/src/main/java/io/rancher/service/LoadBalancerServiceLinkService.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.LoadBalancerServiceLink; - -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 LoadBalancerServiceLinkService { - - @GET("loadBalancerServiceLink") - Call> list(); - - @GET("loadBalancerServiceLink") - Call> list(@QueryMap Filters filters); - - @GET("loadBalancerServiceLink/{id}") - Call get(@Path("id") String id); - - @POST("loadBalancerServiceLink") - Call create(@Body LoadBalancerServiceLink loadBalancerServiceLink); - - @PUT("loadBalancerServiceLink/{id}") - Call update(@Path("id") String id, @Body LoadBalancerServiceLink loadBalancerServiceLink); - - @DELETE("loadBalancerServiceLink/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/LoadBalancerServiceService.java b/src/main/java/io/rancher/service/LoadBalancerServiceService.java index 7e21038..eb9bbe3 100644 --- a/src/main/java/io/rancher/service/LoadBalancerServiceService.java +++ b/src/main/java/io/rancher/service/LoadBalancerServiceService.java @@ -3,11 +3,11 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.LoadBalancerService; -import io.rancher.type.AddRemoveLoadBalancerServiceLinkInput; import io.rancher.type.Service; +import io.rancher.type.AddRemoveServiceLinkInput; +import io.rancher.type.SetServiceLinksInput; import io.rancher.type.ServiceUpgrade; import io.rancher.type.ServiceRestart; -import io.rancher.type.SetLoadBalancerServiceLinksInput; import retrofit2.Call; import retrofit2.Response; @@ -43,14 +43,14 @@ public interface LoadBalancerServiceService { Call activate(@Path("id") String id); @POST("loadBalancerService/{id}?action=addservicelink") - Call addservicelink(@Path("id") String id, @Body AddRemoveLoadBalancerServiceLinkInput addRemoveLoadBalancerServiceLinkInput); - - @POST("loadBalancerService/{id}?action=cancelrollback") - Call cancelrollback(@Path("id") String id); + Call addservicelink(@Path("id") String id, @Body AddRemoveServiceLinkInput addRemoveServiceLinkInput); @POST("loadBalancerService/{id}?action=cancelupgrade") Call cancelupgrade(@Path("id") String id); + @POST("loadBalancerService/{id}?action=continueupgrade") + Call continueupgrade(@Path("id") String id); + @POST("loadBalancerService/{id}?action=deactivate") Call deactivate(@Path("id") String id); @@ -61,7 +61,7 @@ public interface LoadBalancerServiceService { Call remove(@Path("id") String id); @POST("loadBalancerService/{id}?action=removeservicelink") - Call removeservicelink(@Path("id") String id, @Body AddRemoveLoadBalancerServiceLinkInput addRemoveLoadBalancerServiceLinkInput); + Call removeservicelink(@Path("id") String id, @Body AddRemoveServiceLinkInput addRemoveServiceLinkInput); @POST("loadBalancerService/{id}?action=restart") Call restart(@Path("id") String id, @Body ServiceRestart serviceRestart); @@ -70,7 +70,7 @@ public interface LoadBalancerServiceService { Call rollback(@Path("id") String id); @POST("loadBalancerService/{id}?action=setservicelinks") - Call setservicelinks(@Path("id") String id, @Body SetLoadBalancerServiceLinksInput setLoadBalancerServiceLinksInput); + Call setservicelinks(@Path("id") String id, @Body SetServiceLinksInput setServiceLinksInput); @POST("loadBalancerService/{id}?action=upgrade") Call upgrade(@Path("id") String id, @Body ServiceUpgrade serviceUpgrade); diff --git a/src/main/java/io/rancher/service/MountEntryService.java b/src/main/java/io/rancher/service/MountEntryService.java new file mode 100644 index 0000000..0ed1c02 --- /dev/null +++ b/src/main/java/io/rancher/service/MountEntryService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.MountEntry; + +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 MountEntryService { + + @GET("mountEntry") + Call> list(); + + @GET("mountEntry") + Call> list(@QueryMap Filters filters); + + @GET("mountEntry/{id}") + Call get(@Path("id") String id); + + @POST("mountEntry") + Call create(@Body MountEntry mountEntry); + + @PUT("mountEntry/{id}") + Call update(@Path("id") String id, @Body MountEntry mountEntry); + + @DELETE("mountEntry/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/NetworkDriverService.java b/src/main/java/io/rancher/service/NetworkDriverService.java new file mode 100644 index 0000000..6bd8cc5 --- /dev/null +++ b/src/main/java/io/rancher/service/NetworkDriverService.java @@ -0,0 +1,46 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.NetworkDriver; + +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 NetworkDriverService { + + @GET("networkDriver") + Call> list(); + + @GET("networkDriver") + Call> list(@QueryMap Filters filters); + + @GET("networkDriver/{id}") + Call get(@Path("id") String id); + + @POST("networkDriver") + Call create(@Body NetworkDriver networkDriver); + + @PUT("networkDriver/{id}") + Call update(@Path("id") String id, @Body NetworkDriver networkDriver); + + @DELETE("networkDriver/{id}") + Call delete(@Path("id") String id); + + @POST("networkDriver/{id}?action=activate") + Call activate(@Path("id") String id); + + @POST("networkDriver/{id}?action=deactivate") + Call deactivate(@Path("id") String id); + + @POST("networkDriver/{id}?action=remove") + Call remove(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/NetworkDriverServiceService.java b/src/main/java/io/rancher/service/NetworkDriverServiceService.java new file mode 100644 index 0000000..d0e92a1 --- /dev/null +++ b/src/main/java/io/rancher/service/NetworkDriverServiceService.java @@ -0,0 +1,78 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.NetworkDriverService; +import io.rancher.type.SetServiceLinksInput; +import io.rancher.type.AddRemoveServiceLinkInput; +import io.rancher.type.ServiceUpgrade; +import io.rancher.type.ServiceRestart; +import io.rancher.type.Service; + +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 NetworkDriverServiceService { + + @GET("networkDriverService") + Call> list(); + + @GET("networkDriverService") + Call> list(@QueryMap Filters filters); + + @GET("networkDriverService/{id}") + Call get(@Path("id") String id); + + @POST("networkDriverService") + Call create(@Body NetworkDriverService networkDriverService); + + @PUT("networkDriverService/{id}") + Call update(@Path("id") String id, @Body NetworkDriverService networkDriverService); + + @DELETE("networkDriverService/{id}") + Call delete(@Path("id") String id); + + @POST("networkDriverService/{id}?action=activate") + Call activate(@Path("id") String id); + + @POST("networkDriverService/{id}?action=addservicelink") + Call addservicelink(@Path("id") String id, @Body AddRemoveServiceLinkInput addRemoveServiceLinkInput); + + @POST("networkDriverService/{id}?action=cancelupgrade") + Call cancelupgrade(@Path("id") String id); + + @POST("networkDriverService/{id}?action=continueupgrade") + Call continueupgrade(@Path("id") String id); + + @POST("networkDriverService/{id}?action=deactivate") + Call deactivate(@Path("id") String id); + + @POST("networkDriverService/{id}?action=finishupgrade") + Call finishupgrade(@Path("id") String id); + + @POST("networkDriverService/{id}?action=remove") + Call remove(@Path("id") String id); + + @POST("networkDriverService/{id}?action=removeservicelink") + Call removeservicelink(@Path("id") String id, @Body AddRemoveServiceLinkInput addRemoveServiceLinkInput); + + @POST("networkDriverService/{id}?action=restart") + Call restart(@Path("id") String id, @Body ServiceRestart serviceRestart); + + @POST("networkDriverService/{id}?action=rollback") + Call rollback(@Path("id") String id); + + @POST("networkDriverService/{id}?action=setservicelinks") + Call setservicelinks(@Path("id") String id, @Body SetServiceLinksInput setServiceLinksInput); + + @POST("networkDriverService/{id}?action=upgrade") + Call upgrade(@Path("id") String id, @Body ServiceUpgrade serviceUpgrade); + +} diff --git a/src/main/java/io/rancher/service/NetworkPolicyRuleBetweenService.java b/src/main/java/io/rancher/service/NetworkPolicyRuleBetweenService.java new file mode 100644 index 0000000..31d0cef --- /dev/null +++ b/src/main/java/io/rancher/service/NetworkPolicyRuleBetweenService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.NetworkPolicyRuleBetween; + +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 NetworkPolicyRuleBetweenService { + + @GET("networkPolicyRuleBetween") + Call> list(); + + @GET("networkPolicyRuleBetween") + Call> list(@QueryMap Filters filters); + + @GET("networkPolicyRuleBetween/{id}") + Call get(@Path("id") String id); + + @POST("networkPolicyRuleBetween") + Call create(@Body NetworkPolicyRuleBetween networkPolicyRuleBetween); + + @PUT("networkPolicyRuleBetween/{id}") + Call update(@Path("id") String id, @Body NetworkPolicyRuleBetween networkPolicyRuleBetween); + + @DELETE("networkPolicyRuleBetween/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/NetworkPolicyRuleMemberService.java b/src/main/java/io/rancher/service/NetworkPolicyRuleMemberService.java new file mode 100644 index 0000000..6b5da77 --- /dev/null +++ b/src/main/java/io/rancher/service/NetworkPolicyRuleMemberService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.NetworkPolicyRuleMember; + +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 NetworkPolicyRuleMemberService { + + @GET("networkPolicyRuleMember") + Call> list(); + + @GET("networkPolicyRuleMember") + Call> list(@QueryMap Filters filters); + + @GET("networkPolicyRuleMember/{id}") + Call get(@Path("id") String id); + + @POST("networkPolicyRuleMember") + Call create(@Body NetworkPolicyRuleMember networkPolicyRuleMember); + + @PUT("networkPolicyRuleMember/{id}") + Call update(@Path("id") String id, @Body NetworkPolicyRuleMember networkPolicyRuleMember); + + @DELETE("networkPolicyRuleMember/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/NetworkPolicyRuleService.java b/src/main/java/io/rancher/service/NetworkPolicyRuleService.java new file mode 100644 index 0000000..a3ffc31 --- /dev/null +++ b/src/main/java/io/rancher/service/NetworkPolicyRuleService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.NetworkPolicyRule; + +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 NetworkPolicyRuleService { + + @GET("networkPolicyRule") + Call> list(); + + @GET("networkPolicyRule") + Call> list(@QueryMap Filters filters); + + @GET("networkPolicyRule/{id}") + Call get(@Path("id") String id); + + @POST("networkPolicyRule") + Call create(@Body NetworkPolicyRule networkPolicyRule); + + @PUT("networkPolicyRule/{id}") + Call update(@Path("id") String id, @Body NetworkPolicyRule networkPolicyRule); + + @DELETE("networkPolicyRule/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/NetworkPolicyRuleWithinService.java b/src/main/java/io/rancher/service/NetworkPolicyRuleWithinService.java new file mode 100644 index 0000000..8b237f0 --- /dev/null +++ b/src/main/java/io/rancher/service/NetworkPolicyRuleWithinService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.NetworkPolicyRuleWithin; + +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 NetworkPolicyRuleWithinService { + + @GET("networkPolicyRuleWithin") + Call> list(); + + @GET("networkPolicyRuleWithin") + Call> list(@QueryMap Filters filters); + + @GET("networkPolicyRuleWithin/{id}") + Call get(@Path("id") String id); + + @POST("networkPolicyRuleWithin") + Call create(@Body NetworkPolicyRuleWithin networkPolicyRuleWithin); + + @PUT("networkPolicyRuleWithin/{id}") + Call update(@Path("id") String id, @Body NetworkPolicyRuleWithin networkPolicyRuleWithin); + + @DELETE("networkPolicyRuleWithin/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/NetworkService.java b/src/main/java/io/rancher/service/NetworkService.java index 9dd916b..f534973 100644 --- a/src/main/java/io/rancher/service/NetworkService.java +++ b/src/main/java/io/rancher/service/NetworkService.java @@ -46,7 +46,4 @@ public interface NetworkService { @POST("network/{id}?action=remove") Call remove(@Path("id") String id); - @POST("network/{id}?action=restore") - Call restore(@Path("id") String id); - } diff --git a/src/main/java/io/rancher/service/OpenstackConfigService.java b/src/main/java/io/rancher/service/OpenstackConfigService.java deleted file mode 100644 index 0e5e2a9..0000000 --- a/src/main/java/io/rancher/service/OpenstackConfigService.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.OpenstackConfig; - -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 OpenstackConfigService { - - @GET("openstackConfig") - Call> list(); - - @GET("openstackConfig") - Call> list(@QueryMap Filters filters); - - @GET("openstackConfig/{id}") - Call get(@Path("id") String id); - - @POST("openstackConfig") - Call create(@Body OpenstackConfig openstackConfig); - - @PUT("openstackConfig/{id}") - Call update(@Path("id") String id, @Body OpenstackConfig openstackConfig); - - @DELETE("openstackConfig/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/PortRuleService.java b/src/main/java/io/rancher/service/PortRuleService.java new file mode 100644 index 0000000..e0bc1e7 --- /dev/null +++ b/src/main/java/io/rancher/service/PortRuleService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.PortRule; + +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 PortRuleService { + + @GET("portRule") + Call> list(); + + @GET("portRule") + Call> list(@QueryMap Filters filters); + + @GET("portRule/{id}") + Call get(@Path("id") String id); + + @POST("portRule") + Call create(@Body PortRule portRule); + + @PUT("portRule/{id}") + Call update(@Path("id") String id, @Body PortRule portRule); + + @DELETE("portRule/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/PortService.java b/src/main/java/io/rancher/service/PortService.java index e39f641..3ae3fea 100644 --- a/src/main/java/io/rancher/service/PortService.java +++ b/src/main/java/io/rancher/service/PortService.java @@ -46,7 +46,4 @@ public interface PortService { @POST("port/{id}?action=remove") Call remove(@Path("id") String id); - @POST("port/{id}?action=restore") - Call restore(@Path("id") String id); - } diff --git a/src/main/java/io/rancher/service/ProcessInstanceService.java b/src/main/java/io/rancher/service/ProcessInstanceService.java index 995b6b1..9b69d52 100644 --- a/src/main/java/io/rancher/service/ProcessInstanceService.java +++ b/src/main/java/io/rancher/service/ProcessInstanceService.java @@ -34,4 +34,7 @@ public interface ProcessInstanceService { @DELETE("processInstance/{id}") Call delete(@Path("id") String id); + @POST("processInstance/{id}?action=replay") + Call replay(@Path("id") String id); + } diff --git a/src/main/java/io/rancher/service/ProcessPoolService.java b/src/main/java/io/rancher/service/ProcessPoolService.java new file mode 100644 index 0000000..5de6324 --- /dev/null +++ b/src/main/java/io/rancher/service/ProcessPoolService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.ProcessPool; + +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 ProcessPoolService { + + @GET("processPool") + Call> list(); + + @GET("processPool") + Call> list(@QueryMap Filters filters); + + @GET("processPool/{id}") + Call get(@Path("id") String id); + + @POST("processPool") + Call create(@Body ProcessPool processPool); + + @PUT("processPool/{id}") + Call update(@Path("id") String id, @Body ProcessPool processPool); + + @DELETE("processPool/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/ProcessSummaryService.java b/src/main/java/io/rancher/service/ProcessSummaryService.java new file mode 100644 index 0000000..636e185 --- /dev/null +++ b/src/main/java/io/rancher/service/ProcessSummaryService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.ProcessSummary; + +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 ProcessSummaryService { + + @GET("processSummary") + Call> list(); + + @GET("processSummary") + Call> list(@QueryMap Filters filters); + + @GET("processSummary/{id}") + Call get(@Path("id") String id); + + @POST("processSummary") + Call create(@Body ProcessSummary processSummary); + + @PUT("processSummary/{id}") + Call update(@Path("id") String id, @Body ProcessSummary processSummary); + + @DELETE("processSummary/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/ProjectMemberService.java b/src/main/java/io/rancher/service/ProjectMemberService.java index ebf0665..0457cf8 100644 --- a/src/main/java/io/rancher/service/ProjectMemberService.java +++ b/src/main/java/io/rancher/service/ProjectMemberService.java @@ -46,7 +46,4 @@ public interface ProjectMemberService { @POST("projectMember/{id}?action=remove") Call remove(@Path("id") String id); - @POST("projectMember/{id}?action=restore") - Call restore(@Path("id") String id); - } diff --git a/src/main/java/io/rancher/service/ProjectService.java b/src/main/java/io/rancher/service/ProjectService.java index 81b713a..d9c8446 100644 --- a/src/main/java/io/rancher/service/ProjectService.java +++ b/src/main/java/io/rancher/service/ProjectService.java @@ -3,8 +3,8 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.Project; -import io.rancher.type.SetProjectMembersInput; import io.rancher.type.Account; +import io.rancher.type.SetProjectMembersInput; import retrofit2.Call; import retrofit2.Response; @@ -48,10 +48,10 @@ public interface ProjectService { @POST("project/{id}?action=remove") Call remove(@Path("id") String id); - @POST("project/{id}?action=restore") - Call restore(@Path("id") String id); - @POST("project/{id}?action=setmembers") Call setmembers(@Path("id") String id, @Body SetProjectMembersInput setProjectMembersInput); + @POST("project/{id}?action=upgrade") + Call upgrade(@Path("id") String id); + } diff --git a/src/main/java/io/rancher/service/ProjectTemplateService.java b/src/main/java/io/rancher/service/ProjectTemplateService.java new file mode 100644 index 0000000..ee632b0 --- /dev/null +++ b/src/main/java/io/rancher/service/ProjectTemplateService.java @@ -0,0 +1,40 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.ProjectTemplate; + +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 ProjectTemplateService { + + @GET("projectTemplate") + Call> list(); + + @GET("projectTemplate") + Call> list(@QueryMap Filters filters); + + @GET("projectTemplate/{id}") + Call get(@Path("id") String id); + + @POST("projectTemplate") + Call create(@Body ProjectTemplate projectTemplate); + + @PUT("projectTemplate/{id}") + Call update(@Path("id") String id, @Body ProjectTemplate projectTemplate); + + @DELETE("projectTemplate/{id}") + Call delete(@Path("id") String id); + + @POST("projectTemplate/{id}?action=remove") + Call remove(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/PullTaskService.java b/src/main/java/io/rancher/service/PullTaskService.java index c0cb099..3ffdee6 100644 --- a/src/main/java/io/rancher/service/PullTaskService.java +++ b/src/main/java/io/rancher/service/PullTaskService.java @@ -3,6 +3,7 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.PullTask; +import io.rancher.type.GenericObject; import retrofit2.Call; import retrofit2.Response; @@ -34,4 +35,7 @@ public interface PullTaskService { @DELETE("pullTask/{id}") Call delete(@Path("id") String id); + @POST("pullTask/{id}?action=remove") + Call remove(@Path("id") String id); + } diff --git a/src/main/java/io/rancher/service/RackspaceConfigService.java b/src/main/java/io/rancher/service/RackspaceConfigService.java deleted file mode 100644 index 3ae5a21..0000000 --- a/src/main/java/io/rancher/service/RackspaceConfigService.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.RackspaceConfig; - -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 RackspaceConfigService { - - @GET("rackspaceConfig") - Call> list(); - - @GET("rackspaceConfig") - Call> list(@QueryMap Filters filters); - - @GET("rackspaceConfig/{id}") - Call get(@Path("id") String id); - - @POST("rackspaceConfig") - Call create(@Body RackspaceConfig rackspaceConfig); - - @PUT("rackspaceConfig/{id}") - Call update(@Path("id") String id, @Body RackspaceConfig rackspaceConfig); - - @DELETE("rackspaceConfig/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/RegisterService.java b/src/main/java/io/rancher/service/RegisterService.java index 923b306..765a034 100644 --- a/src/main/java/io/rancher/service/RegisterService.java +++ b/src/main/java/io/rancher/service/RegisterService.java @@ -3,6 +3,7 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.Register; +import io.rancher.type.GenericObject; import io.rancher.type.InstanceStop; import io.rancher.type.Instance; @@ -36,6 +37,9 @@ public interface RegisterService { @DELETE("register/{id}") Call delete(@Path("id") String id); + @POST("register/{id}?action=remove") + Call remove(@Path("id") String id); + @POST("register/{id}?action=stop") Call stop(@Path("id") String id, @Body InstanceStop instanceStop); diff --git a/src/main/java/io/rancher/service/RegistryService.java b/src/main/java/io/rancher/service/RegistryService.java index e4bab81..594b58a 100644 --- a/src/main/java/io/rancher/service/RegistryService.java +++ b/src/main/java/io/rancher/service/RegistryService.java @@ -47,7 +47,4 @@ public interface RegistryService { @POST("registry/{id}?action=remove") Call remove(@Path("id") String id); - @POST("registry/{id}?action=restore") - Call restore(@Path("id") String id); - } diff --git a/src/main/java/io/rancher/service/ScheduledUpgradeService.java b/src/main/java/io/rancher/service/ScheduledUpgradeService.java new file mode 100644 index 0000000..b7aa9dd --- /dev/null +++ b/src/main/java/io/rancher/service/ScheduledUpgradeService.java @@ -0,0 +1,43 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.ScheduledUpgrade; + +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 ScheduledUpgradeService { + + @GET("scheduledUpgrade") + Call> list(); + + @GET("scheduledUpgrade") + Call> list(@QueryMap Filters filters); + + @GET("scheduledUpgrade/{id}") + Call get(@Path("id") String id); + + @POST("scheduledUpgrade") + Call create(@Body ScheduledUpgrade scheduledUpgrade); + + @PUT("scheduledUpgrade/{id}") + Call update(@Path("id") String id, @Body ScheduledUpgrade scheduledUpgrade); + + @DELETE("scheduledUpgrade/{id}") + Call delete(@Path("id") String id); + + @POST("scheduledUpgrade/{id}?action=remove") + Call remove(@Path("id") String id); + + @POST("scheduledUpgrade/{id}?action=start") + Call start(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/SecondaryLaunchConfigService.java b/src/main/java/io/rancher/service/SecondaryLaunchConfigService.java index 58629e5..6888b8e 100644 --- a/src/main/java/io/rancher/service/SecondaryLaunchConfigService.java +++ b/src/main/java/io/rancher/service/SecondaryLaunchConfigService.java @@ -3,15 +3,13 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.SecondaryLaunchConfig; -import io.rancher.type.InstanceStop; import io.rancher.type.Instance; -import io.rancher.type.SetLabelsInput; -import io.rancher.type.InstanceConsoleInput; -import io.rancher.type.InstanceConsole; import io.rancher.type.ContainerExec; import io.rancher.type.HostAccess; -import io.rancher.type.Container; import io.rancher.type.ContainerProxy; +import io.rancher.type.InstanceConsoleInput; +import io.rancher.type.InstanceConsole; +import io.rancher.type.InstanceStop; import retrofit2.Call; import retrofit2.Response; @@ -73,12 +71,6 @@ public interface SecondaryLaunchConfigService { @POST("secondaryLaunchConfig/{id}?action=restart") Call restart(@Path("id") String id); - @POST("secondaryLaunchConfig/{id}?action=restore") - Call restore(@Path("id") String id); - - @POST("secondaryLaunchConfig/{id}?action=setlabels") - Call setlabels(@Path("id") String id, @Body SetLabelsInput setLabelsInput); - @POST("secondaryLaunchConfig/{id}?action=start") Call start(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/SecretReferenceService.java b/src/main/java/io/rancher/service/SecretReferenceService.java new file mode 100644 index 0000000..868bd6a --- /dev/null +++ b/src/main/java/io/rancher/service/SecretReferenceService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.SecretReference; + +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 SecretReferenceService { + + @GET("secretReference") + Call> list(); + + @GET("secretReference") + Call> list(@QueryMap Filters filters); + + @GET("secretReference/{id}") + Call get(@Path("id") String id); + + @POST("secretReference") + Call create(@Body SecretReference secretReference); + + @PUT("secretReference/{id}") + Call update(@Path("id") String id, @Body SecretReference secretReference); + + @DELETE("secretReference/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/SecretService.java b/src/main/java/io/rancher/service/SecretService.java new file mode 100644 index 0000000..5168270 --- /dev/null +++ b/src/main/java/io/rancher/service/SecretService.java @@ -0,0 +1,40 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.Secret; + +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 SecretService { + + @GET("secret") + Call> list(); + + @GET("secret") + Call> list(@QueryMap Filters filters); + + @GET("secret/{id}") + Call get(@Path("id") String id); + + @POST("secret") + Call create(@Body Secret secret); + + @PUT("secret/{id}") + Call update(@Path("id") String id, @Body Secret secret); + + @DELETE("secret/{id}") + Call delete(@Path("id") String id); + + @POST("secret/{id}?action=remove") + Call remove(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/ServiceBindingService.java b/src/main/java/io/rancher/service/ServiceBindingService.java new file mode 100644 index 0000000..bfeead9 --- /dev/null +++ b/src/main/java/io/rancher/service/ServiceBindingService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.ServiceBinding; + +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 ServiceBindingService { + + @GET("serviceBinding") + Call> list(); + + @GET("serviceBinding") + Call> list(@QueryMap Filters filters); + + @GET("serviceBinding/{id}") + Call get(@Path("id") String id); + + @POST("serviceBinding") + Call create(@Body ServiceBinding serviceBinding); + + @PUT("serviceBinding/{id}") + Call update(@Path("id") String id, @Body ServiceBinding serviceBinding); + + @DELETE("serviceBinding/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/ServiceLogService.java b/src/main/java/io/rancher/service/ServiceLogService.java new file mode 100644 index 0000000..dc6e48c --- /dev/null +++ b/src/main/java/io/rancher/service/ServiceLogService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.ServiceLog; + +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 ServiceLogService { + + @GET("serviceLog") + Call> list(); + + @GET("serviceLog") + Call> list(@QueryMap Filters filters); + + @GET("serviceLog/{id}") + Call get(@Path("id") String id); + + @POST("serviceLog") + Call create(@Body ServiceLog serviceLog); + + @PUT("serviceLog/{id}") + Call update(@Path("id") String id, @Body ServiceLog serviceLog); + + @DELETE("serviceLog/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/ServiceService.java b/src/main/java/io/rancher/service/ServiceService.java index eb818a8..461ef96 100644 --- a/src/main/java/io/rancher/service/ServiceService.java +++ b/src/main/java/io/rancher/service/ServiceService.java @@ -3,10 +3,10 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.Service; +import io.rancher.type.ServiceUpgrade; +import io.rancher.type.SetServiceLinksInput; import io.rancher.type.ServiceRestart; import io.rancher.type.AddRemoveServiceLinkInput; -import io.rancher.type.SetServiceLinksInput; -import io.rancher.type.ServiceUpgrade; import retrofit2.Call; import retrofit2.Response; @@ -44,12 +44,12 @@ public interface ServiceService { @POST("service/{id}?action=addservicelink") Call addservicelink(@Path("id") String id, @Body AddRemoveServiceLinkInput addRemoveServiceLinkInput); - @POST("service/{id}?action=cancelrollback") - Call cancelrollback(@Path("id") String id); - @POST("service/{id}?action=cancelupgrade") Call cancelupgrade(@Path("id") String id); + @POST("service/{id}?action=continueupgrade") + Call continueupgrade(@Path("id") String id); + @POST("service/{id}?action=deactivate") Call deactivate(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/SetLabelsInputService.java b/src/main/java/io/rancher/service/SetLabelsInputService.java deleted file mode 100644 index b9e640a..0000000 --- a/src/main/java/io/rancher/service/SetLabelsInputService.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.SetLabelsInput; - -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 SetLabelsInputService { - - @GET("setLabelsInput") - Call> list(); - - @GET("setLabelsInput") - Call> list(@QueryMap Filters filters); - - @GET("setLabelsInput/{id}") - Call get(@Path("id") String id); - - @POST("setLabelsInput") - Call create(@Body SetLabelsInput setLabelsInput); - - @PUT("setLabelsInput/{id}") - Call update(@Path("id") String id, @Body SetLabelsInput setLabelsInput); - - @DELETE("setLabelsInput/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/SetLoadBalancerServiceLinksInputService.java b/src/main/java/io/rancher/service/SetLoadBalancerServiceLinksInputService.java deleted file mode 100644 index 7855c30..0000000 --- a/src/main/java/io/rancher/service/SetLoadBalancerServiceLinksInputService.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.SetLoadBalancerServiceLinksInput; - -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 SetLoadBalancerServiceLinksInputService { - - @GET("setLoadBalancerServiceLinksInput") - Call> list(); - - @GET("setLoadBalancerServiceLinksInput") - Call> list(@QueryMap Filters filters); - - @GET("setLoadBalancerServiceLinksInput/{id}") - Call get(@Path("id") String id); - - @POST("setLoadBalancerServiceLinksInput") - Call create(@Body SetLoadBalancerServiceLinksInput setLoadBalancerServiceLinksInput); - - @PUT("setLoadBalancerServiceLinksInput/{id}") - Call update(@Path("id") String id, @Body SetLoadBalancerServiceLinksInput setLoadBalancerServiceLinksInput); - - @DELETE("setLoadBalancerServiceLinksInput/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/SoftlayerConfigService.java b/src/main/java/io/rancher/service/SoftlayerConfigService.java deleted file mode 100644 index 624520f..0000000 --- a/src/main/java/io/rancher/service/SoftlayerConfigService.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.SoftlayerConfig; - -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 SoftlayerConfigService { - - @GET("softlayerConfig") - Call> list(); - - @GET("softlayerConfig") - Call> list(@QueryMap Filters filters); - - @GET("softlayerConfig/{id}") - Call get(@Path("id") String id); - - @POST("softlayerConfig") - Call create(@Body SoftlayerConfig softlayerConfig); - - @PUT("softlayerConfig/{id}") - Call update(@Path("id") String id, @Body SoftlayerConfig softlayerConfig); - - @DELETE("softlayerConfig/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/StackService.java b/src/main/java/io/rancher/service/StackService.java new file mode 100644 index 0000000..cd4a57d --- /dev/null +++ b/src/main/java/io/rancher/service/StackService.java @@ -0,0 +1,71 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.Stack; +import io.rancher.type.ComposeConfigInput; +import io.rancher.type.ComposeConfig; +import io.rancher.type.StackUpgrade; +import io.rancher.type.AddOutputsInput; + +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 StackService { + + @GET("stack") + Call> list(); + + @GET("stack") + Call> list(@QueryMap Filters filters); + + @GET("stack/{id}") + Call get(@Path("id") String id); + + @POST("stack") + Call create(@Body Stack stack); + + @PUT("stack/{id}") + Call update(@Path("id") String id, @Body Stack stack); + + @DELETE("stack/{id}") + Call delete(@Path("id") String id); + + @POST("stack/{id}?action=activateservices") + Call activateservices(@Path("id") String id); + + @POST("stack/{id}?action=addoutputs") + Call addoutputs(@Path("id") String id, @Body AddOutputsInput addOutputsInput); + + @POST("stack/{id}?action=cancelupgrade") + Call cancelupgrade(@Path("id") String id); + + @POST("stack/{id}?action=deactivateservices") + Call deactivateservices(@Path("id") String id); + + @POST("stack/{id}?action=error") + Call error(@Path("id") String id); + + @POST("stack/{id}?action=exportconfig") + Call exportconfig(@Path("id") String id, @Body ComposeConfigInput composeConfigInput); + + @POST("stack/{id}?action=finishupgrade") + Call finishupgrade(@Path("id") String id); + + @POST("stack/{id}?action=remove") + Call remove(@Path("id") String id); + + @POST("stack/{id}?action=rollback") + Call rollback(@Path("id") String id); + + @POST("stack/{id}?action=upgrade") + Call upgrade(@Path("id") String id, @Body StackUpgrade stackUpgrade); + +} diff --git a/src/main/java/io/rancher/service/StackUpgradeService.java b/src/main/java/io/rancher/service/StackUpgradeService.java new file mode 100644 index 0000000..23bf910 --- /dev/null +++ b/src/main/java/io/rancher/service/StackUpgradeService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.StackUpgrade; + +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 StackUpgradeService { + + @GET("stackUpgrade") + Call> list(); + + @GET("stackUpgrade") + Call> list(@QueryMap Filters filters); + + @GET("stackUpgrade/{id}") + Call get(@Path("id") String id); + + @POST("stackUpgrade") + Call create(@Body StackUpgrade stackUpgrade); + + @PUT("stackUpgrade/{id}") + Call update(@Path("id") String id, @Body StackUpgrade stackUpgrade); + + @DELETE("stackUpgrade/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/StorageDriverService.java b/src/main/java/io/rancher/service/StorageDriverService.java new file mode 100644 index 0000000..b102119 --- /dev/null +++ b/src/main/java/io/rancher/service/StorageDriverService.java @@ -0,0 +1,46 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.StorageDriver; + +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 StorageDriverService { + + @GET("storageDriver") + Call> list(); + + @GET("storageDriver") + Call> list(@QueryMap Filters filters); + + @GET("storageDriver/{id}") + Call get(@Path("id") String id); + + @POST("storageDriver") + Call create(@Body StorageDriver storageDriver); + + @PUT("storageDriver/{id}") + Call update(@Path("id") String id, @Body StorageDriver storageDriver); + + @DELETE("storageDriver/{id}") + Call delete(@Path("id") String id); + + @POST("storageDriver/{id}?action=activate") + Call activate(@Path("id") String id); + + @POST("storageDriver/{id}?action=deactivate") + Call deactivate(@Path("id") String id); + + @POST("storageDriver/{id}?action=remove") + Call remove(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/StorageDriverServiceService.java b/src/main/java/io/rancher/service/StorageDriverServiceService.java new file mode 100644 index 0000000..79112df --- /dev/null +++ b/src/main/java/io/rancher/service/StorageDriverServiceService.java @@ -0,0 +1,78 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.StorageDriverService; +import io.rancher.type.ServiceRestart; +import io.rancher.type.Service; +import io.rancher.type.AddRemoveServiceLinkInput; +import io.rancher.type.SetServiceLinksInput; +import io.rancher.type.ServiceUpgrade; + +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 StorageDriverServiceService { + + @GET("storageDriverService") + Call> list(); + + @GET("storageDriverService") + Call> list(@QueryMap Filters filters); + + @GET("storageDriverService/{id}") + Call get(@Path("id") String id); + + @POST("storageDriverService") + Call create(@Body StorageDriverService storageDriverService); + + @PUT("storageDriverService/{id}") + Call update(@Path("id") String id, @Body StorageDriverService storageDriverService); + + @DELETE("storageDriverService/{id}") + Call delete(@Path("id") String id); + + @POST("storageDriverService/{id}?action=activate") + Call activate(@Path("id") String id); + + @POST("storageDriverService/{id}?action=addservicelink") + Call addservicelink(@Path("id") String id, @Body AddRemoveServiceLinkInput addRemoveServiceLinkInput); + + @POST("storageDriverService/{id}?action=cancelupgrade") + Call cancelupgrade(@Path("id") String id); + + @POST("storageDriverService/{id}?action=continueupgrade") + Call continueupgrade(@Path("id") String id); + + @POST("storageDriverService/{id}?action=deactivate") + Call deactivate(@Path("id") String id); + + @POST("storageDriverService/{id}?action=finishupgrade") + Call finishupgrade(@Path("id") String id); + + @POST("storageDriverService/{id}?action=remove") + Call remove(@Path("id") String id); + + @POST("storageDriverService/{id}?action=removeservicelink") + Call removeservicelink(@Path("id") String id, @Body AddRemoveServiceLinkInput addRemoveServiceLinkInput); + + @POST("storageDriverService/{id}?action=restart") + Call restart(@Path("id") String id, @Body ServiceRestart serviceRestart); + + @POST("storageDriverService/{id}?action=rollback") + Call rollback(@Path("id") String id); + + @POST("storageDriverService/{id}?action=setservicelinks") + Call setservicelinks(@Path("id") String id, @Body SetServiceLinksInput setServiceLinksInput); + + @POST("storageDriverService/{id}?action=upgrade") + Call upgrade(@Path("id") String id, @Body ServiceUpgrade serviceUpgrade); + +} diff --git a/src/main/java/io/rancher/service/StoragePoolService.java b/src/main/java/io/rancher/service/StoragePoolService.java index c9d699d..c066d90 100644 --- a/src/main/java/io/rancher/service/StoragePoolService.java +++ b/src/main/java/io/rancher/service/StoragePoolService.java @@ -46,7 +46,4 @@ public interface StoragePoolService { @POST("storagePool/{id}?action=remove") Call remove(@Path("id") String id); - @POST("storagePool/{id}?action=restore") - Call restore(@Path("id") String id); - } diff --git a/src/main/java/io/rancher/service/SubnetService.java b/src/main/java/io/rancher/service/SubnetService.java new file mode 100644 index 0000000..52a9f29 --- /dev/null +++ b/src/main/java/io/rancher/service/SubnetService.java @@ -0,0 +1,49 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.Subnet; + +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 SubnetService { + + @GET("subnet") + Call> list(); + + @GET("subnet") + Call> list(@QueryMap Filters filters); + + @GET("subnet/{id}") + Call get(@Path("id") String id); + + @POST("subnet") + Call create(@Body Subnet subnet); + + @PUT("subnet/{id}") + Call update(@Path("id") String id, @Body Subnet subnet); + + @DELETE("subnet/{id}") + Call delete(@Path("id") String id); + + @POST("subnet/{id}?action=activate") + Call activate(@Path("id") String id); + + @POST("subnet/{id}?action=deactivate") + Call deactivate(@Path("id") String id); + + @POST("subnet/{id}?action=purge") + Call purge(@Path("id") String id); + + @POST("subnet/{id}?action=remove") + Call remove(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/SubscribeService.java b/src/main/java/io/rancher/service/SubscribeService.java deleted file mode 100644 index a30b2b1..0000000 --- a/src/main/java/io/rancher/service/SubscribeService.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.Subscribe; - -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 SubscribeService { - - @GET("subscribe") - Call> list(); - - @GET("subscribe") - Call> list(@QueryMap Filters filters); - - @GET("subscribe/{id}") - Call get(@Path("id") String id); - - @POST("subscribe") - Call create(@Body Subscribe subscribe); - - @PUT("subscribe/{id}") - Call update(@Path("id") String id, @Body Subscribe subscribe); - - @DELETE("subscribe/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/TargetPortRuleService.java b/src/main/java/io/rancher/service/TargetPortRuleService.java new file mode 100644 index 0000000..ffb4f69 --- /dev/null +++ b/src/main/java/io/rancher/service/TargetPortRuleService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.TargetPortRule; + +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 TargetPortRuleService { + + @GET("targetPortRule") + Call> list(); + + @GET("targetPortRule") + Call> list(@QueryMap Filters filters); + + @GET("targetPortRule/{id}") + Call get(@Path("id") String id); + + @POST("targetPortRule") + Call create(@Body TargetPortRule targetPortRule); + + @PUT("targetPortRule/{id}") + Call update(@Path("id") String id, @Body TargetPortRule targetPortRule); + + @DELETE("targetPortRule/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/UbiquityConfigService.java b/src/main/java/io/rancher/service/UbiquityConfigService.java deleted file mode 100644 index 9b05e10..0000000 --- a/src/main/java/io/rancher/service/UbiquityConfigService.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.UbiquityConfig; - -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 UbiquityConfigService { - - @GET("ubiquityConfig") - Call> list(); - - @GET("ubiquityConfig") - Call> list(@QueryMap Filters filters); - - @GET("ubiquityConfig/{id}") - Call get(@Path("id") String id); - - @POST("ubiquityConfig") - Call create(@Body UbiquityConfig ubiquityConfig); - - @PUT("ubiquityConfig/{id}") - Call update(@Path("id") String id, @Body UbiquityConfig ubiquityConfig); - - @DELETE("ubiquityConfig/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/UlimitService.java b/src/main/java/io/rancher/service/UlimitService.java new file mode 100644 index 0000000..236147f --- /dev/null +++ b/src/main/java/io/rancher/service/UlimitService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.Ulimit; + +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 UlimitService { + + @GET("ulimit") + Call> list(); + + @GET("ulimit") + Call> list(@QueryMap Filters filters); + + @GET("ulimit/{id}") + Call get(@Path("id") String id); + + @POST("ulimit") + Call create(@Body Ulimit ulimit); + + @PUT("ulimit/{id}") + Call update(@Path("id") String id, @Body Ulimit ulimit); + + @DELETE("ulimit/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/UserPreferenceService.java b/src/main/java/io/rancher/service/UserPreferenceService.java new file mode 100644 index 0000000..564d356 --- /dev/null +++ b/src/main/java/io/rancher/service/UserPreferenceService.java @@ -0,0 +1,49 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.UserPreference; + +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 UserPreferenceService { + + @GET("userPreference") + Call> list(); + + @GET("userPreference") + Call> list(@QueryMap Filters filters); + + @GET("userPreference/{id}") + Call get(@Path("id") String id); + + @POST("userPreference") + Call create(@Body UserPreference userPreference); + + @PUT("userPreference/{id}") + Call update(@Path("id") String id, @Body UserPreference userPreference); + + @DELETE("userPreference/{id}") + Call delete(@Path("id") String id); + + @POST("userPreference/{id}?action=activate") + Call activate(@Path("id") String id); + + @POST("userPreference/{id}?action=deactivate") + Call deactivate(@Path("id") String id); + + @POST("userPreference/{id}?action=purge") + Call purge(@Path("id") String id); + + @POST("userPreference/{id}?action=remove") + Call remove(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/VirtualMachineService.java b/src/main/java/io/rancher/service/VirtualMachineService.java index 2af5615..5e594eb 100644 --- a/src/main/java/io/rancher/service/VirtualMachineService.java +++ b/src/main/java/io/rancher/service/VirtualMachineService.java @@ -3,16 +3,14 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.VirtualMachine; -import io.rancher.type.SetLabelsInput; -import io.rancher.type.Container; -import io.rancher.type.InstanceStop; +import io.rancher.type.InstanceConsole; import io.rancher.type.ContainerLogs; +import io.rancher.type.Instance; +import io.rancher.type.ContainerProxy; import io.rancher.type.HostAccess; +import io.rancher.type.InstanceStop; import io.rancher.type.ContainerExec; -import io.rancher.type.Instance; import io.rancher.type.InstanceConsoleInput; -import io.rancher.type.InstanceConsole; -import io.rancher.type.ContainerProxy; import retrofit2.Call; import retrofit2.Response; @@ -77,12 +75,6 @@ public interface VirtualMachineService { @POST("virtualMachine/{id}?action=restart") Call restart(@Path("id") String id); - @POST("virtualMachine/{id}?action=restore") - Call restore(@Path("id") String id); - - @POST("virtualMachine/{id}?action=setlabels") - Call setlabels(@Path("id") String id, @Body SetLabelsInput setLabelsInput); - @POST("virtualMachine/{id}?action=start") Call start(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/VirtualboxConfigService.java b/src/main/java/io/rancher/service/VirtualboxConfigService.java deleted file mode 100644 index 04839d1..0000000 --- a/src/main/java/io/rancher/service/VirtualboxConfigService.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.VirtualboxConfig; - -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 VirtualboxConfigService { - - @GET("virtualboxConfig") - Call> list(); - - @GET("virtualboxConfig") - Call> list(@QueryMap Filters filters); - - @GET("virtualboxConfig/{id}") - Call get(@Path("id") String id); - - @POST("virtualboxConfig") - Call create(@Body VirtualboxConfig virtualboxConfig); - - @PUT("virtualboxConfig/{id}") - Call update(@Path("id") String id, @Body VirtualboxConfig virtualboxConfig); - - @DELETE("virtualboxConfig/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/VmwarevcloudairConfigService.java b/src/main/java/io/rancher/service/VmwarevcloudairConfigService.java deleted file mode 100644 index 53b59d9..0000000 --- a/src/main/java/io/rancher/service/VmwarevcloudairConfigService.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.VmwarevcloudairConfig; - -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 VmwarevcloudairConfigService { - - @GET("vmwarevcloudairConfig") - Call> list(); - - @GET("vmwarevcloudairConfig") - Call> list(@QueryMap Filters filters); - - @GET("vmwarevcloudairConfig/{id}") - Call get(@Path("id") String id); - - @POST("vmwarevcloudairConfig") - Call create(@Body VmwarevcloudairConfig vmwarevcloudairConfig); - - @PUT("vmwarevcloudairConfig/{id}") - Call update(@Path("id") String id, @Body VmwarevcloudairConfig vmwarevcloudairConfig); - - @DELETE("vmwarevcloudairConfig/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/VmwarevsphereConfigService.java b/src/main/java/io/rancher/service/VmwarevsphereConfigService.java deleted file mode 100644 index 9e7d0fe..0000000 --- a/src/main/java/io/rancher/service/VmwarevsphereConfigService.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.VmwarevsphereConfig; - -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 VmwarevsphereConfigService { - - @GET("vmwarevsphereConfig") - Call> list(); - - @GET("vmwarevsphereConfig") - Call> list(@QueryMap Filters filters); - - @GET("vmwarevsphereConfig/{id}") - Call get(@Path("id") String id); - - @POST("vmwarevsphereConfig") - Call create(@Body VmwarevsphereConfig vmwarevsphereConfig); - - @PUT("vmwarevsphereConfig/{id}") - Call update(@Path("id") String id, @Body VmwarevsphereConfig vmwarevsphereConfig); - - @DELETE("vmwarevsphereConfig/{id}") - Call delete(@Path("id") String id); - -} diff --git a/src/main/java/io/rancher/service/VolumeActivateInputService.java b/src/main/java/io/rancher/service/VolumeActivateInputService.java new file mode 100644 index 0000000..b68540e --- /dev/null +++ b/src/main/java/io/rancher/service/VolumeActivateInputService.java @@ -0,0 +1,37 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.VolumeActivateInput; + +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 VolumeActivateInputService { + + @GET("volumeActivateInput") + Call> list(); + + @GET("volumeActivateInput") + Call> list(@QueryMap Filters filters); + + @GET("volumeActivateInput/{id}") + Call get(@Path("id") String id); + + @POST("volumeActivateInput") + Call create(@Body VolumeActivateInput volumeActivateInput); + + @PUT("volumeActivateInput/{id}") + Call update(@Path("id") String id, @Body VolumeActivateInput volumeActivateInput); + + @DELETE("volumeActivateInput/{id}") + Call delete(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/service/VolumeService.java b/src/main/java/io/rancher/service/VolumeService.java index 42cf0f3..03d6b53 100644 --- a/src/main/java/io/rancher/service/VolumeService.java +++ b/src/main/java/io/rancher/service/VolumeService.java @@ -38,9 +38,6 @@ public interface VolumeService { @DELETE("volume/{id}") Call delete(@Path("id") String id); - @POST("volume/{id}?action=activate") - Call activate(@Path("id") String id); - @POST("volume/{id}?action=allocate") Call allocate(@Path("id") String id); @@ -53,9 +50,6 @@ public interface VolumeService { @POST("volume/{id}?action=remove") Call remove(@Path("id") String id); - @POST("volume/{id}?action=restore") - Call restore(@Path("id") String id); - @POST("volume/{id}?action=restorefrombackup") Call restorefrombackup(@Path("id") String id, @Body RestoreFromBackupInput restoreFromBackupInput); diff --git a/src/main/java/io/rancher/service/VolumeTemplateService.java b/src/main/java/io/rancher/service/VolumeTemplateService.java new file mode 100644 index 0000000..da6a603 --- /dev/null +++ b/src/main/java/io/rancher/service/VolumeTemplateService.java @@ -0,0 +1,49 @@ +package io.rancher.service; + +import io.rancher.base.Filters; +import io.rancher.base.TypeCollection; +import io.rancher.type.VolumeTemplate; + +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 VolumeTemplateService { + + @GET("volumeTemplate") + Call> list(); + + @GET("volumeTemplate") + Call> list(@QueryMap Filters filters); + + @GET("volumeTemplate/{id}") + Call get(@Path("id") String id); + + @POST("volumeTemplate") + Call create(@Body VolumeTemplate volumeTemplate); + + @PUT("volumeTemplate/{id}") + Call update(@Path("id") String id, @Body VolumeTemplate volumeTemplate); + + @DELETE("volumeTemplate/{id}") + Call delete(@Path("id") String id); + + @POST("volumeTemplate/{id}?action=activate") + Call activate(@Path("id") String id); + + @POST("volumeTemplate/{id}?action=deactivate") + Call deactivate(@Path("id") String id); + + @POST("volumeTemplate/{id}?action=purge") + Call purge(@Path("id") String id); + + @POST("volumeTemplate/{id}?action=remove") + Call remove(@Path("id") String id); + +} diff --git a/src/main/java/io/rancher/type/Account.java b/src/main/java/io/rancher/type/Account.java index 8ba1523..2ff06c9 100644 --- a/src/main/java/io/rancher/type/Account.java +++ b/src/main/java/io/rancher/type/Account.java @@ -35,6 +35,8 @@ public class Account extends AbstractType { private String uuid; + private String version; + public String getCreated() { return this.created; } @@ -155,4 +157,12 @@ public void setUuid(String uuid) { this.uuid = uuid; } + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + } + } diff --git a/src/main/java/io/rancher/type/AddRemoveLoadBalancerServiceLinkInput.java b/src/main/java/io/rancher/type/AddRemoveLoadBalancerServiceLinkInput.java deleted file mode 100644 index 1ea3322..0000000 --- a/src/main/java/io/rancher/type/AddRemoveLoadBalancerServiceLinkInput.java +++ /dev/null @@ -1,17 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; - -public class AddRemoveLoadBalancerServiceLinkInput extends AbstractType { - - private LoadBalancerServiceLink serviceLink; - - public LoadBalancerServiceLink getServiceLink() { - return this.serviceLink; - } - - public void setServiceLink(LoadBalancerServiceLink serviceLink) { - this.serviceLink = serviceLink; - } - -} diff --git a/src/main/java/io/rancher/type/Amazonec2Config.java b/src/main/java/io/rancher/type/Amazonec2Config.java index 1159676..40f5b69 100644 --- a/src/main/java/io/rancher/type/Amazonec2Config.java +++ b/src/main/java/io/rancher/type/Amazonec2Config.java @@ -1,6 +1,7 @@ package io.rancher.type; import io.rancher.base.AbstractType; +import java.util.List; public class Amazonec2Config extends AbstractType { @@ -8,34 +9,58 @@ public class Amazonec2Config extends AbstractType { private String ami; + private String blockDurationMinutes; + + private String deviceName; + + private String endpoint; + private String iamInstanceProfile; + private Boolean insecureTransport; + private String instanceType; + private String keypairName; + private Boolean monitoring; + private List openPort; + private Boolean privateAddressOnly; private String region; private Boolean requestSpotInstance; + private String retries; + private String rootSize; private String secretKey; - private String securityGroup; + private List securityGroup; private String sessionToken; private String spotPrice; + private String sshKeypath; + private String sshUser; private String subnetId; + private String tags; + + private Boolean useEbsOptimizedInstance; + private Boolean usePrivateAddress; + private String userdata; + + private String volumeType; + private String vpcId; private String zone; @@ -56,6 +81,30 @@ public void setAmi(String ami) { this.ami = ami; } + public String getBlockDurationMinutes() { + return this.blockDurationMinutes; + } + + public void setBlockDurationMinutes(String blockDurationMinutes) { + this.blockDurationMinutes = blockDurationMinutes; + } + + public String getDeviceName() { + return this.deviceName; + } + + public void setDeviceName(String deviceName) { + this.deviceName = deviceName; + } + + public String getEndpoint() { + return this.endpoint; + } + + public void setEndpoint(String endpoint) { + this.endpoint = endpoint; + } + public String getIamInstanceProfile() { return this.iamInstanceProfile; } @@ -64,6 +113,14 @@ public void setIamInstanceProfile(String iamInstanceProfile) { this.iamInstanceProfile = iamInstanceProfile; } + public Boolean getInsecureTransport() { + return this.insecureTransport; + } + + public void setInsecureTransport(Boolean insecureTransport) { + this.insecureTransport = insecureTransport; + } + public String getInstanceType() { return this.instanceType; } @@ -72,6 +129,14 @@ public void setInstanceType(String instanceType) { this.instanceType = instanceType; } + public String getKeypairName() { + return this.keypairName; + } + + public void setKeypairName(String keypairName) { + this.keypairName = keypairName; + } + public Boolean getMonitoring() { return this.monitoring; } @@ -80,6 +145,14 @@ public void setMonitoring(Boolean monitoring) { this.monitoring = monitoring; } + public List getOpenPort() { + return this.openPort; + } + + public void setOpenPort(List openPort) { + this.openPort = openPort; + } + public Boolean getPrivateAddressOnly() { return this.privateAddressOnly; } @@ -104,6 +177,14 @@ public void setRequestSpotInstance(Boolean requestSpotInstance) { this.requestSpotInstance = requestSpotInstance; } + public String getRetries() { + return this.retries; + } + + public void setRetries(String retries) { + this.retries = retries; + } + public String getRootSize() { return this.rootSize; } @@ -120,11 +201,11 @@ public void setSecretKey(String secretKey) { this.secretKey = secretKey; } - public String getSecurityGroup() { + public List getSecurityGroup() { return this.securityGroup; } - public void setSecurityGroup(String securityGroup) { + public void setSecurityGroup(List securityGroup) { this.securityGroup = securityGroup; } @@ -144,6 +225,14 @@ public void setSpotPrice(String spotPrice) { this.spotPrice = spotPrice; } + public String getSshKeypath() { + return this.sshKeypath; + } + + public void setSshKeypath(String sshKeypath) { + this.sshKeypath = sshKeypath; + } + public String getSshUser() { return this.sshUser; } @@ -160,6 +249,22 @@ public void setSubnetId(String subnetId) { this.subnetId = subnetId; } + public String getTags() { + return this.tags; + } + + public void setTags(String tags) { + this.tags = tags; + } + + public Boolean getUseEbsOptimizedInstance() { + return this.useEbsOptimizedInstance; + } + + public void setUseEbsOptimizedInstance(Boolean useEbsOptimizedInstance) { + this.useEbsOptimizedInstance = useEbsOptimizedInstance; + } + public Boolean getUsePrivateAddress() { return this.usePrivateAddress; } @@ -168,6 +273,22 @@ public void setUsePrivateAddress(Boolean usePrivateAddress) { this.usePrivateAddress = usePrivateAddress; } + public String getUserdata() { + return this.userdata; + } + + public void setUserdata(String userdata) { + this.userdata = userdata; + } + + public String getVolumeType() { + return this.volumeType; + } + + public void setVolumeType(String volumeType) { + this.volumeType = volumeType; + } + public String getVpcId() { return this.vpcId; } diff --git a/src/main/java/io/rancher/type/AzureConfig.java b/src/main/java/io/rancher/type/AzureConfig.java index 9e78946..a508175 100644 --- a/src/main/java/io/rancher/type/AzureConfig.java +++ b/src/main/java/io/rancher/type/AzureConfig.java @@ -1,30 +1,93 @@ package io.rancher.type; import io.rancher.base.AbstractType; +import java.util.List; public class AzureConfig extends AbstractType { + private String availabilitySet; + + private String clientId; + + private String clientSecret; + + private String customData; + + private String dns; + private String dockerPort; - private String dockerSwarmMasterPort; + private String environment; private String image; private String location; - private String password; + private Boolean noPublicIp; + + private List openPort; + + private String privateIpAddress; - private String publishSettingsFile; + private String resourceGroup; private String size; - private String sshPort; + private String sshUser; - private String subscriptionCert; + private Boolean staticPublicIp; + + private String storageType; + + private String subnet; + + private String subnetPrefix; private String subscriptionId; - private String username; + private Boolean usePrivateIp; + + private String vnet; + + public String getAvailabilitySet() { + return this.availabilitySet; + } + + public void setAvailabilitySet(String availabilitySet) { + this.availabilitySet = availabilitySet; + } + + public String getClientId() { + return this.clientId; + } + + public void setClientId(String clientId) { + this.clientId = clientId; + } + + public String getClientSecret() { + return this.clientSecret; + } + + public void setClientSecret(String clientSecret) { + this.clientSecret = clientSecret; + } + + public String getCustomData() { + return this.customData; + } + + public void setCustomData(String customData) { + this.customData = customData; + } + + public String getDns() { + return this.dns; + } + + public void setDns(String dns) { + this.dns = dns; + } public String getDockerPort() { return this.dockerPort; @@ -34,12 +97,12 @@ public void setDockerPort(String dockerPort) { this.dockerPort = dockerPort; } - public String getDockerSwarmMasterPort() { - return this.dockerSwarmMasterPort; + public String getEnvironment() { + return this.environment; } - public void setDockerSwarmMasterPort(String dockerSwarmMasterPort) { - this.dockerSwarmMasterPort = dockerSwarmMasterPort; + public void setEnvironment(String environment) { + this.environment = environment; } public String getImage() { @@ -58,20 +121,36 @@ public void setLocation(String location) { this.location = location; } - public String getPassword() { - return this.password; + public Boolean getNoPublicIp() { + return this.noPublicIp; + } + + public void setNoPublicIp(Boolean noPublicIp) { + this.noPublicIp = noPublicIp; + } + + public List getOpenPort() { + return this.openPort; } - public void setPassword(String password) { - this.password = password; + public void setOpenPort(List openPort) { + this.openPort = openPort; } - public String getPublishSettingsFile() { - return this.publishSettingsFile; + public String getPrivateIpAddress() { + return this.privateIpAddress; } - public void setPublishSettingsFile(String publishSettingsFile) { - this.publishSettingsFile = publishSettingsFile; + public void setPrivateIpAddress(String privateIpAddress) { + this.privateIpAddress = privateIpAddress; + } + + public String getResourceGroup() { + return this.resourceGroup; + } + + public void setResourceGroup(String resourceGroup) { + this.resourceGroup = resourceGroup; } public String getSize() { @@ -82,20 +161,44 @@ public void setSize(String size) { this.size = size; } - public String getSshPort() { - return this.sshPort; + public String getSshUser() { + return this.sshUser; } - public void setSshPort(String sshPort) { - this.sshPort = sshPort; + public void setSshUser(String sshUser) { + this.sshUser = sshUser; } - public String getSubscriptionCert() { - return this.subscriptionCert; + public Boolean getStaticPublicIp() { + return this.staticPublicIp; } - public void setSubscriptionCert(String subscriptionCert) { - this.subscriptionCert = subscriptionCert; + public void setStaticPublicIp(Boolean staticPublicIp) { + this.staticPublicIp = staticPublicIp; + } + + public String getStorageType() { + return this.storageType; + } + + public void setStorageType(String storageType) { + this.storageType = storageType; + } + + public String getSubnet() { + return this.subnet; + } + + public void setSubnet(String subnet) { + this.subnet = subnet; + } + + public String getSubnetPrefix() { + return this.subnetPrefix; + } + + public void setSubnetPrefix(String subnetPrefix) { + this.subnetPrefix = subnetPrefix; } public String getSubscriptionId() { @@ -106,12 +209,20 @@ public void setSubscriptionId(String subscriptionId) { this.subscriptionId = subscriptionId; } - public String getUsername() { - return this.username; + public Boolean getUsePrivateIp() { + return this.usePrivateIp; + } + + public void setUsePrivateIp(Boolean usePrivateIp) { + this.usePrivateIp = usePrivateIp; + } + + public String getVnet() { + return this.vnet; } - public void setUsername(String username) { - this.username = username; + public void setVnet(String vnet) { + this.vnet = vnet; } } diff --git a/src/main/java/io/rancher/type/Binding.java b/src/main/java/io/rancher/type/Binding.java new file mode 100644 index 0000000..4dd5b53 --- /dev/null +++ b/src/main/java/io/rancher/type/Binding.java @@ -0,0 +1,18 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.Map; + +public class Binding extends AbstractType { + + private Map services; + + public Map getServices() { + return this.services; + } + + public void setServices(Map services) { + this.services = services; + } + +} diff --git a/src/main/java/io/rancher/type/CatalogTemplate.java b/src/main/java/io/rancher/type/CatalogTemplate.java new file mode 100644 index 0000000..3968baf --- /dev/null +++ b/src/main/java/io/rancher/type/CatalogTemplate.java @@ -0,0 +1,88 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.Map; + +public class CatalogTemplate extends AbstractType { + + private Map answers; + + private Binding binding; + + private String description; + + private String dockerCompose; + + private String name; + + private String rancherCompose; + + private String templateId; + + private String templateVersionId; + + public Map getAnswers() { + return this.answers; + } + + public void setAnswers(Map answers) { + this.answers = answers; + } + + public Binding getBinding() { + return this.binding; + } + + public void setBinding(Binding binding) { + this.binding = binding; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getDockerCompose() { + return this.dockerCompose; + } + + public void setDockerCompose(String dockerCompose) { + this.dockerCompose = dockerCompose; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getRancherCompose() { + return this.rancherCompose; + } + + public void setRancherCompose(String rancherCompose) { + this.rancherCompose = rancherCompose; + } + + public String getTemplateId() { + return this.templateId; + } + + public void setTemplateId(String templateId) { + this.templateId = templateId; + } + + public String getTemplateVersionId() { + return this.templateVersionId; + } + + public void setTemplateVersionId(String templateVersionId) { + this.templateVersionId = templateVersionId; + } + +} diff --git a/src/main/java/io/rancher/type/Certificate.java b/src/main/java/io/rancher/type/Certificate.java index eff2f87..fc0711d 100644 --- a/src/main/java/io/rancher/type/Certificate.java +++ b/src/main/java/io/rancher/type/Certificate.java @@ -1,8 +1,8 @@ package io.rancher.type; import io.rancher.base.AbstractType; -import java.util.Map; import java.util.List; +import java.util.Map; public class Certificate extends AbstractType { diff --git a/src/main/java/io/rancher/type/ClusterMembership.java b/src/main/java/io/rancher/type/ClusterMembership.java new file mode 100644 index 0000000..b8e9ab8 --- /dev/null +++ b/src/main/java/io/rancher/type/ClusterMembership.java @@ -0,0 +1,57 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; + +public class ClusterMembership extends AbstractType { + + private Boolean clustered; + + private String config; + + private Integer heartbeat; + + private String name; + + private String uuid; + + public Boolean getClustered() { + return this.clustered; + } + + public void setClustered(Boolean clustered) { + this.clustered = clustered; + } + + public String getConfig() { + return this.config; + } + + public void setConfig(String config) { + this.config = config; + } + + public Integer getHeartbeat() { + return this.heartbeat; + } + + public void setHeartbeat(Integer heartbeat) { + this.heartbeat = heartbeat; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + +} diff --git a/src/main/java/io/rancher/type/ComposeProject.java b/src/main/java/io/rancher/type/ComposeProject.java index eb4e53c..25544cb 100644 --- a/src/main/java/io/rancher/type/ComposeProject.java +++ b/src/main/java/io/rancher/type/ComposeProject.java @@ -2,11 +2,16 @@ import io.rancher.base.AbstractType; import java.util.Map; +import java.util.List; public class ComposeProject extends AbstractType { private String accountId; + private Map answers; + + private Binding binding; + private String created; private Map data; @@ -17,6 +22,8 @@ public class ComposeProject extends AbstractType { private String externalId; + private String group; + private String healthState; private String kind; @@ -31,8 +38,12 @@ public class ComposeProject extends AbstractType { private String removed; + private List serviceIds; + private String state; + private Boolean system; + private Map templates; private String transitioning; @@ -51,6 +62,22 @@ public void setAccountId(String accountId) { this.accountId = accountId; } + public Map getAnswers() { + return this.answers; + } + + public void setAnswers(Map answers) { + this.answers = answers; + } + + public Binding getBinding() { + return this.binding; + } + + public void setBinding(Binding binding) { + this.binding = binding; + } + public String getCreated() { return this.created; } @@ -91,6 +118,14 @@ public void setExternalId(String externalId) { this.externalId = externalId; } + public String getGroup() { + return this.group; + } + + public void setGroup(String group) { + this.group = group; + } + public String getHealthState() { return this.healthState; } @@ -147,6 +182,14 @@ public void setRemoved(String removed) { this.removed = removed; } + public List getServiceIds() { + return this.serviceIds; + } + + public void setServiceIds(List serviceIds) { + this.serviceIds = serviceIds; + } + public String getState() { return this.state; } @@ -155,6 +198,14 @@ public void setState(String state) { this.state = state; } + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + public Map getTemplates() { return this.templates; } diff --git a/src/main/java/io/rancher/type/ComposeService.java b/src/main/java/io/rancher/type/ComposeService.java index fb2ed01..552a28a 100644 --- a/src/main/java/io/rancher/type/ComposeService.java +++ b/src/main/java/io/rancher/type/ComposeService.java @@ -1,8 +1,8 @@ package io.rancher.type; import io.rancher.base.AbstractType; -import java.util.Map; import java.util.List; +import java.util.Map; public class ComposeService extends AbstractType { @@ -16,18 +16,20 @@ public class ComposeService extends AbstractType { private String description; - private String environmentId; - private String externalId; private String fqdn; private String healthState; + private List instanceIds; + private String kind; private LaunchConfig launchConfig; + private Map linkedServices; + private String name; private List publicEndpoints; @@ -44,10 +46,14 @@ public class ComposeService extends AbstractType { private String selectorLink; + private String stackId; + private Boolean startOnCreate; private String state; + private Boolean system; + private String transitioning; private String transitioningMessage; @@ -98,14 +104,6 @@ public void setDescription(String description) { this.description = description; } - public String getEnvironmentId() { - return this.environmentId; - } - - public void setEnvironmentId(String environmentId) { - this.environmentId = environmentId; - } - public String getExternalId() { return this.externalId; } @@ -130,6 +128,14 @@ public void setHealthState(String healthState) { this.healthState = healthState; } + public List getInstanceIds() { + return this.instanceIds; + } + + public void setInstanceIds(List instanceIds) { + this.instanceIds = instanceIds; + } + public String getKind() { return this.kind; } @@ -146,6 +152,14 @@ public void setLaunchConfig(LaunchConfig launchConfig) { this.launchConfig = launchConfig; } + public Map getLinkedServices() { + return this.linkedServices; + } + + public void setLinkedServices(Map linkedServices) { + this.linkedServices = linkedServices; + } + public String getName() { return this.name; } @@ -210,6 +224,14 @@ public void setSelectorLink(String selectorLink) { this.selectorLink = selectorLink; } + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + public Boolean getStartOnCreate() { return this.startOnCreate; } @@ -226,6 +248,14 @@ public void setState(String state) { this.state = state; } + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + public String getTransitioning() { return this.transitioning; } diff --git a/src/main/java/io/rancher/type/Container.java b/src/main/java/io/rancher/type/Container.java index a4aeac4..487de4b 100644 --- a/src/main/java/io/rancher/type/Container.java +++ b/src/main/java/io/rancher/type/Container.java @@ -14,18 +14,32 @@ public class Container extends AbstractType { private Map blkioDeviceOptions; + private Integer blkioWeight; + private DockerBuild build; private List capAdd; private List capDrop; + private String cgroupParent; + private List command; private Integer count; + private Integer cpuCount; + + private Integer cpuPercent; + + private Integer cpuPeriod; + + private Integer cpuQuota; + private String cpuSet; + private String cpuSetMems; + private Integer cpuShares; private Integer createIndex; @@ -46,8 +60,12 @@ public class Container extends AbstractType { private List devices; + private Integer diskQuota; + private List dns; + private List dnsOpt; + private List dnsSearch; private String domainName; @@ -64,10 +82,20 @@ public class Container extends AbstractType { private String firstRunning; + private List groupAdd; + private InstanceHealthCheck healthCheck; + private List healthCmd; + + private Integer healthInterval; + + private Integer healthRetries; + private String healthState; + private Integer healthTimeout; + private String hostId; private String hostname; @@ -76,6 +104,22 @@ public class Container extends AbstractType { private Map instanceLinks; + private String instanceTriggeredStop; + + private Integer ioMaximumBandwidth; + + private Integer ioMaximumIOps; + + private String ip; + + private String ip6; + + private String ipcMode; + + private String isolation; + + private Integer kernelMemory; + private String kind; private Map labels; @@ -86,24 +130,42 @@ public class Container extends AbstractType { private Integer memory; + private Integer memoryReservation; + private Integer memorySwap; + private Integer memorySwappiness; + + private Integer milliCpuReservation; + + private List mounts; + private String name; private Boolean nativeContainer; + private List netAlias; + private String networkContainerId; private List networkIds; private String networkMode; + private Boolean oomKillDisable; + + private Integer oomScoreAdj; + private String pidMode; + private Integer pidsLimit; + private List ports; private String primaryIpAddress; + private String primaryNetworkId; + private Boolean privileged; private Boolean publishAllPorts; @@ -120,8 +182,20 @@ public class Container extends AbstractType { private RestartPolicy restartPolicy; + private Boolean runInit; + + private List secrets; + private List securityOpt; + private String serviceId; + + private List serviceIds; + + private Integer shmSize; + + private String stackId; + private Integer startCount; private Boolean startOnCreate; @@ -130,7 +204,15 @@ public class Container extends AbstractType { private Boolean stdinOpen; - private String systemContainer; + private String stopSignal; + + private Map storageOpt; + + private Map sysctls; + + private Boolean system; + + private Map tmpfs; private String token; @@ -142,8 +224,16 @@ public class Container extends AbstractType { private Boolean tty; + private List ulimits; + private String user; + private List userPorts; + + private String usernsMode; + + private String uts; + private String uuid; private String version; @@ -184,6 +274,14 @@ public void setBlkioDeviceOptions(Map blkioDeviceOptions) { this.blkioDeviceOptions = blkioDeviceOptions; } + public Integer getBlkioWeight() { + return this.blkioWeight; + } + + public void setBlkioWeight(Integer blkioWeight) { + this.blkioWeight = blkioWeight; + } + public DockerBuild getBuild() { return this.build; } @@ -208,6 +306,14 @@ public void setCapDrop(List capDrop) { this.capDrop = capDrop; } + public String getCgroupParent() { + return this.cgroupParent; + } + + public void setCgroupParent(String cgroupParent) { + this.cgroupParent = cgroupParent; + } + public List getCommand() { return this.command; } @@ -224,6 +330,38 @@ public void setCount(Integer count) { this.count = count; } + public Integer getCpuCount() { + return this.cpuCount; + } + + public void setCpuCount(Integer cpuCount) { + this.cpuCount = cpuCount; + } + + public Integer getCpuPercent() { + return this.cpuPercent; + } + + public void setCpuPercent(Integer cpuPercent) { + this.cpuPercent = cpuPercent; + } + + public Integer getCpuPeriod() { + return this.cpuPeriod; + } + + public void setCpuPeriod(Integer cpuPeriod) { + this.cpuPeriod = cpuPeriod; + } + + public Integer getCpuQuota() { + return this.cpuQuota; + } + + public void setCpuQuota(Integer cpuQuota) { + this.cpuQuota = cpuQuota; + } + public String getCpuSet() { return this.cpuSet; } @@ -232,6 +370,14 @@ public void setCpuSet(String cpuSet) { this.cpuSet = cpuSet; } + public String getCpuSetMems() { + return this.cpuSetMems; + } + + public void setCpuSetMems(String cpuSetMems) { + this.cpuSetMems = cpuSetMems; + } + public Integer getCpuShares() { return this.cpuShares; } @@ -312,6 +458,14 @@ public void setDevices(List devices) { this.devices = devices; } + public Integer getDiskQuota() { + return this.diskQuota; + } + + public void setDiskQuota(Integer diskQuota) { + this.diskQuota = diskQuota; + } + public List getDns() { return this.dns; } @@ -320,6 +474,14 @@ public void setDns(List dns) { this.dns = dns; } + public List getDnsOpt() { + return this.dnsOpt; + } + + public void setDnsOpt(List dnsOpt) { + this.dnsOpt = dnsOpt; + } + public List getDnsSearch() { return this.dnsSearch; } @@ -384,6 +546,14 @@ public void setFirstRunning(String firstRunning) { this.firstRunning = firstRunning; } + public List getGroupAdd() { + return this.groupAdd; + } + + public void setGroupAdd(List groupAdd) { + this.groupAdd = groupAdd; + } + public InstanceHealthCheck getHealthCheck() { return this.healthCheck; } @@ -392,6 +562,30 @@ public void setHealthCheck(InstanceHealthCheck healthCheck) { this.healthCheck = healthCheck; } + public List getHealthCmd() { + return this.healthCmd; + } + + public void setHealthCmd(List healthCmd) { + this.healthCmd = healthCmd; + } + + public Integer getHealthInterval() { + return this.healthInterval; + } + + public void setHealthInterval(Integer healthInterval) { + this.healthInterval = healthInterval; + } + + public Integer getHealthRetries() { + return this.healthRetries; + } + + public void setHealthRetries(Integer healthRetries) { + this.healthRetries = healthRetries; + } + public String getHealthState() { return this.healthState; } @@ -400,6 +594,14 @@ public void setHealthState(String healthState) { this.healthState = healthState; } + public Integer getHealthTimeout() { + return this.healthTimeout; + } + + public void setHealthTimeout(Integer healthTimeout) { + this.healthTimeout = healthTimeout; + } + public String getHostId() { return this.hostId; } @@ -432,6 +634,70 @@ public void setInstanceLinks(Map instanceLinks) { this.instanceLinks = instanceLinks; } + public String getInstanceTriggeredStop() { + return this.instanceTriggeredStop; + } + + public void setInstanceTriggeredStop(String instanceTriggeredStop) { + this.instanceTriggeredStop = instanceTriggeredStop; + } + + public Integer getIoMaximumBandwidth() { + return this.ioMaximumBandwidth; + } + + public void setIoMaximumBandwidth(Integer ioMaximumBandwidth) { + this.ioMaximumBandwidth = ioMaximumBandwidth; + } + + public Integer getIoMaximumIOps() { + return this.ioMaximumIOps; + } + + public void setIoMaximumIOps(Integer ioMaximumIOps) { + this.ioMaximumIOps = ioMaximumIOps; + } + + public String getIp() { + return this.ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public String getIp6() { + return this.ip6; + } + + public void setIp6(String ip6) { + this.ip6 = ip6; + } + + public String getIpcMode() { + return this.ipcMode; + } + + public void setIpcMode(String ipcMode) { + this.ipcMode = ipcMode; + } + + public String getIsolation() { + return this.isolation; + } + + public void setIsolation(String isolation) { + this.isolation = isolation; + } + + public Integer getKernelMemory() { + return this.kernelMemory; + } + + public void setKernelMemory(Integer kernelMemory) { + this.kernelMemory = kernelMemory; + } + public String getKind() { return this.kind; } @@ -472,6 +738,14 @@ public void setMemory(Integer memory) { this.memory = memory; } + public Integer getMemoryReservation() { + return this.memoryReservation; + } + + public void setMemoryReservation(Integer memoryReservation) { + this.memoryReservation = memoryReservation; + } + public Integer getMemorySwap() { return this.memorySwap; } @@ -480,6 +754,30 @@ public void setMemorySwap(Integer memorySwap) { this.memorySwap = memorySwap; } + public Integer getMemorySwappiness() { + return this.memorySwappiness; + } + + public void setMemorySwappiness(Integer memorySwappiness) { + this.memorySwappiness = memorySwappiness; + } + + public Integer getMilliCpuReservation() { + return this.milliCpuReservation; + } + + public void setMilliCpuReservation(Integer milliCpuReservation) { + this.milliCpuReservation = milliCpuReservation; + } + + public List getMounts() { + return this.mounts; + } + + public void setMounts(List mounts) { + this.mounts = mounts; + } + public String getName() { return this.name; } @@ -496,6 +794,14 @@ public void setNativeContainer(Boolean nativeContainer) { this.nativeContainer = nativeContainer; } + public List getNetAlias() { + return this.netAlias; + } + + public void setNetAlias(List netAlias) { + this.netAlias = netAlias; + } + public String getNetworkContainerId() { return this.networkContainerId; } @@ -520,6 +826,22 @@ public void setNetworkMode(String networkMode) { this.networkMode = networkMode; } + public Boolean getOomKillDisable() { + return this.oomKillDisable; + } + + public void setOomKillDisable(Boolean oomKillDisable) { + this.oomKillDisable = oomKillDisable; + } + + public Integer getOomScoreAdj() { + return this.oomScoreAdj; + } + + public void setOomScoreAdj(Integer oomScoreAdj) { + this.oomScoreAdj = oomScoreAdj; + } + public String getPidMode() { return this.pidMode; } @@ -528,6 +850,14 @@ public void setPidMode(String pidMode) { this.pidMode = pidMode; } + public Integer getPidsLimit() { + return this.pidsLimit; + } + + public void setPidsLimit(Integer pidsLimit) { + this.pidsLimit = pidsLimit; + } + public List getPorts() { return this.ports; } @@ -544,6 +874,14 @@ public void setPrimaryIpAddress(String primaryIpAddress) { this.primaryIpAddress = primaryIpAddress; } + public String getPrimaryNetworkId() { + return this.primaryNetworkId; + } + + public void setPrimaryNetworkId(String primaryNetworkId) { + this.primaryNetworkId = primaryNetworkId; + } + public Boolean getPrivileged() { return this.privileged; } @@ -608,6 +946,22 @@ public void setRestartPolicy(RestartPolicy restartPolicy) { this.restartPolicy = restartPolicy; } + public Boolean getRunInit() { + return this.runInit; + } + + public void setRunInit(Boolean runInit) { + this.runInit = runInit; + } + + public List getSecrets() { + return this.secrets; + } + + public void setSecrets(List secrets) { + this.secrets = secrets; + } + public List getSecurityOpt() { return this.securityOpt; } @@ -616,6 +970,38 @@ public void setSecurityOpt(List securityOpt) { this.securityOpt = securityOpt; } + public String getServiceId() { + return this.serviceId; + } + + public void setServiceId(String serviceId) { + this.serviceId = serviceId; + } + + public List getServiceIds() { + return this.serviceIds; + } + + public void setServiceIds(List serviceIds) { + this.serviceIds = serviceIds; + } + + public Integer getShmSize() { + return this.shmSize; + } + + public void setShmSize(Integer shmSize) { + this.shmSize = shmSize; + } + + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + public Integer getStartCount() { return this.startCount; } @@ -648,12 +1034,44 @@ public void setStdinOpen(Boolean stdinOpen) { this.stdinOpen = stdinOpen; } - public String getSystemContainer() { - return this.systemContainer; + public String getStopSignal() { + return this.stopSignal; + } + + public void setStopSignal(String stopSignal) { + this.stopSignal = stopSignal; + } + + public Map getStorageOpt() { + return this.storageOpt; } - public void setSystemContainer(String systemContainer) { - this.systemContainer = systemContainer; + public void setStorageOpt(Map storageOpt) { + this.storageOpt = storageOpt; + } + + public Map getSysctls() { + return this.sysctls; + } + + public void setSysctls(Map sysctls) { + this.sysctls = sysctls; + } + + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + + public Map getTmpfs() { + return this.tmpfs; + } + + public void setTmpfs(Map tmpfs) { + this.tmpfs = tmpfs; } public String getToken() { @@ -696,6 +1114,14 @@ public void setTty(Boolean tty) { this.tty = tty; } + public List getUlimits() { + return this.ulimits; + } + + public void setUlimits(List ulimits) { + this.ulimits = ulimits; + } + public String getUser() { return this.user; } @@ -704,6 +1130,30 @@ public void setUser(String user) { this.user = user; } + public List getUserPorts() { + return this.userPorts; + } + + public void setUserPorts(List userPorts) { + this.userPorts = userPorts; + } + + public String getUsernsMode() { + return this.usernsMode; + } + + public void setUsernsMode(String usernsMode) { + this.usernsMode = usernsMode; + } + + public String getUts() { + return this.uts; + } + + public void setUts(String uts) { + this.uts = uts; + } + public String getUuid() { return this.uuid; } diff --git a/src/main/java/io/rancher/type/Cluster.java b/src/main/java/io/rancher/type/DefaultNetwork.java similarity index 59% rename from src/main/java/io/rancher/type/Cluster.java rename to src/main/java/io/rancher/type/DefaultNetwork.java index 5f65f50..eb819b1 100644 --- a/src/main/java/io/rancher/type/Cluster.java +++ b/src/main/java/io/rancher/type/DefaultNetwork.java @@ -4,39 +4,31 @@ import java.util.Map; import java.util.List; -public class Cluster extends AbstractType { +public class DefaultNetwork extends AbstractType { private String accountId; - private String agentId; - - private String agentState; - - private String apiProxy; - - private Integer computeTotal; - private String created; private Map data; + private String defaultPolicyAction; + private String description; - private String discoverySpec; + private List dns; + + private List dnsSearch; - private Map info; + private Boolean hostPorts; private String kind; - private Map labels; + private Map metadata; private String name; - private String physicalHostId; - - private Integer port; - - private List publicEndpoints; + private List policy; private String removeTime; @@ -44,6 +36,8 @@ public class Cluster extends AbstractType { private String state; + private List subnets; + private String transitioning; private String transitioningMessage; @@ -60,38 +54,6 @@ public void setAccountId(String accountId) { this.accountId = accountId; } - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - - public String getAgentState() { - return this.agentState; - } - - public void setAgentState(String agentState) { - this.agentState = agentState; - } - - public String getApiProxy() { - return this.apiProxy; - } - - public void setApiProxy(String apiProxy) { - this.apiProxy = apiProxy; - } - - public Integer getComputeTotal() { - return this.computeTotal; - } - - public void setComputeTotal(Integer computeTotal) { - this.computeTotal = computeTotal; - } - public String getCreated() { return this.created; } @@ -108,6 +70,14 @@ public void setData(Map data) { this.data = data; } + public String getDefaultPolicyAction() { + return this.defaultPolicyAction; + } + + public void setDefaultPolicyAction(String defaultPolicyAction) { + this.defaultPolicyAction = defaultPolicyAction; + } + public String getDescription() { return this.description; } @@ -116,20 +86,28 @@ public void setDescription(String description) { this.description = description; } - public String getDiscoverySpec() { - return this.discoverySpec; + public List getDns() { + return this.dns; } - public void setDiscoverySpec(String discoverySpec) { - this.discoverySpec = discoverySpec; + public void setDns(List dns) { + this.dns = dns; } - public Map getInfo() { - return this.info; + public List getDnsSearch() { + return this.dnsSearch; } - public void setInfo(Map info) { - this.info = info; + public void setDnsSearch(List dnsSearch) { + this.dnsSearch = dnsSearch; + } + + public Boolean getHostPorts() { + return this.hostPorts; + } + + public void setHostPorts(Boolean hostPorts) { + this.hostPorts = hostPorts; } public String getKind() { @@ -140,12 +118,12 @@ public void setKind(String kind) { this.kind = kind; } - public Map getLabels() { - return this.labels; + public Map getMetadata() { + return this.metadata; } - public void setLabels(Map labels) { - this.labels = labels; + public void setMetadata(Map metadata) { + this.metadata = metadata; } public String getName() { @@ -156,28 +134,12 @@ public void setName(String name) { this.name = name; } - public String getPhysicalHostId() { - return this.physicalHostId; - } - - public void setPhysicalHostId(String physicalHostId) { - this.physicalHostId = physicalHostId; - } - - public Integer getPort() { - return this.port; + public List getPolicy() { + return this.policy; } - public void setPort(Integer port) { - this.port = port; - } - - public List getPublicEndpoints() { - return this.publicEndpoints; - } - - public void setPublicEndpoints(List publicEndpoints) { - this.publicEndpoints = publicEndpoints; + public void setPolicy(List policy) { + this.policy = policy; } public String getRemoveTime() { @@ -204,6 +166,14 @@ public void setState(String state) { this.state = state; } + public List getSubnets() { + return this.subnets; + } + + public void setSubnets(List subnets) { + this.subnets = subnets; + } + public String getTransitioning() { return this.transitioning; } diff --git a/src/main/java/io/rancher/type/DigitaloceanConfig.java b/src/main/java/io/rancher/type/DigitaloceanConfig.java index 88b54da..6e44d91 100644 --- a/src/main/java/io/rancher/type/DigitaloceanConfig.java +++ b/src/main/java/io/rancher/type/DigitaloceanConfig.java @@ -18,8 +18,16 @@ public class DigitaloceanConfig extends AbstractType { private String size; + private String sshKeyFingerprint; + + private String sshKeyPath; + + private String sshPort; + private String sshUser; + private String userdata; + public String getAccessToken() { return this.accessToken; } @@ -76,6 +84,30 @@ public void setSize(String size) { this.size = size; } + public String getSshKeyFingerprint() { + return this.sshKeyFingerprint; + } + + public void setSshKeyFingerprint(String sshKeyFingerprint) { + this.sshKeyFingerprint = sshKeyFingerprint; + } + + public String getSshKeyPath() { + return this.sshKeyPath; + } + + public void setSshKeyPath(String sshKeyPath) { + this.sshKeyPath = sshKeyPath; + } + + public String getSshPort() { + return this.sshPort; + } + + public void setSshPort(String sshPort) { + this.sshPort = sshPort; + } + public String getSshUser() { return this.sshUser; } @@ -84,4 +116,12 @@ public void setSshUser(String sshUser) { this.sshUser = sshUser; } + public String getUserdata() { + return this.userdata; + } + + public void setUserdata(String userdata) { + this.userdata = userdata; + } + } diff --git a/src/main/java/io/rancher/type/DnsService.java b/src/main/java/io/rancher/type/DnsService.java index fcbe567..01042a4 100644 --- a/src/main/java/io/rancher/type/DnsService.java +++ b/src/main/java/io/rancher/type/DnsService.java @@ -2,6 +2,7 @@ import io.rancher.base.AbstractType; import java.util.Map; +import java.util.List; public class DnsService extends AbstractType { @@ -15,18 +16,20 @@ public class DnsService extends AbstractType { private String description; - private String environmentId; - private String externalId; private String fqdn; private String healthState; + private List instanceIds; + private String kind; private LaunchConfig launchConfig; + private Map linkedServices; + private Map metadata; private String name; @@ -39,10 +42,14 @@ public class DnsService extends AbstractType { private String selectorLink; + private String stackId; + private Boolean startOnCreate; private String state; + private Boolean system; + private String transitioning; private String transitioningMessage; @@ -93,14 +100,6 @@ public void setDescription(String description) { this.description = description; } - public String getEnvironmentId() { - return this.environmentId; - } - - public void setEnvironmentId(String environmentId) { - this.environmentId = environmentId; - } - public String getExternalId() { return this.externalId; } @@ -125,6 +124,14 @@ public void setHealthState(String healthState) { this.healthState = healthState; } + public List getInstanceIds() { + return this.instanceIds; + } + + public void setInstanceIds(List instanceIds) { + this.instanceIds = instanceIds; + } + public String getKind() { return this.kind; } @@ -141,6 +148,14 @@ public void setLaunchConfig(LaunchConfig launchConfig) { this.launchConfig = launchConfig; } + public Map getLinkedServices() { + return this.linkedServices; + } + + public void setLinkedServices(Map linkedServices) { + this.linkedServices = linkedServices; + } + public Map getMetadata() { return this.metadata; } @@ -189,6 +204,14 @@ public void setSelectorLink(String selectorLink) { this.selectorLink = selectorLink; } + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + public Boolean getStartOnCreate() { return this.startOnCreate; } @@ -205,6 +228,14 @@ public void setState(String state) { this.state = state; } + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + public String getTransitioning() { return this.transitioning; } diff --git a/src/main/java/io/rancher/type/ExoscaleConfig.java b/src/main/java/io/rancher/type/ExoscaleConfig.java deleted file mode 100644 index f2c775b..0000000 --- a/src/main/java/io/rancher/type/ExoscaleConfig.java +++ /dev/null @@ -1,88 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; -import java.util.List; - -public class ExoscaleConfig extends AbstractType { - - private String apiKey; - - private String apiSecretKey; - - private String availabilityZone; - - private String diskSize; - - private String image; - - private String instanceProfile; - - private List securityGroup; - - private String url; - - public String getApiKey() { - return this.apiKey; - } - - public void setApiKey(String apiKey) { - this.apiKey = apiKey; - } - - public String getApiSecretKey() { - return this.apiSecretKey; - } - - public void setApiSecretKey(String apiSecretKey) { - this.apiSecretKey = apiSecretKey; - } - - public String getAvailabilityZone() { - return this.availabilityZone; - } - - public void setAvailabilityZone(String availabilityZone) { - this.availabilityZone = availabilityZone; - } - - public String getDiskSize() { - return this.diskSize; - } - - public void setDiskSize(String diskSize) { - this.diskSize = diskSize; - } - - public String getImage() { - return this.image; - } - - public void setImage(String image) { - this.image = image; - } - - public String getInstanceProfile() { - return this.instanceProfile; - } - - public void setInstanceProfile(String instanceProfile) { - this.instanceProfile = instanceProfile; - } - - public List getSecurityGroup() { - return this.securityGroup; - } - - public void setSecurityGroup(List securityGroup) { - this.securityGroup = securityGroup; - } - - public String getUrl() { - return this.url; - } - - public void setUrl(String url) { - this.url = url; - } - -} diff --git a/src/main/java/io/rancher/type/ExternalHandler.java b/src/main/java/io/rancher/type/ExternalHandler.java index 7f69e6f..2c78c78 100644 --- a/src/main/java/io/rancher/type/ExternalHandler.java +++ b/src/main/java/io/rancher/type/ExternalHandler.java @@ -1,8 +1,8 @@ package io.rancher.type; import io.rancher.base.AbstractType; -import java.util.List; import java.util.Map; +import java.util.List; public class ExternalHandler extends AbstractType { diff --git a/src/main/java/io/rancher/type/ExternalHandlerExternalHandlerProcessMap.java b/src/main/java/io/rancher/type/ExternalHandlerExternalHandlerProcessMap.java index 21dd05d..a4fce10 100644 --- a/src/main/java/io/rancher/type/ExternalHandlerExternalHandlerProcessMap.java +++ b/src/main/java/io/rancher/type/ExternalHandlerExternalHandlerProcessMap.java @@ -11,6 +11,8 @@ public class ExternalHandlerExternalHandlerProcessMap extends AbstractType { private String description; + private String eventName; + private String externalHandlerId; private String externalHandlerProcessId; @@ -59,6 +61,14 @@ public void setDescription(String description) { this.description = description; } + public String getEventName() { + return this.eventName; + } + + public void setEventName(String eventName) { + this.eventName = eventName; + } + public String getExternalHandlerId() { return this.externalHandlerId; } diff --git a/src/main/java/io/rancher/type/ExternalService.java b/src/main/java/io/rancher/type/ExternalService.java index e3eadbd..11d9ca5 100644 --- a/src/main/java/io/rancher/type/ExternalService.java +++ b/src/main/java/io/rancher/type/ExternalService.java @@ -14,8 +14,6 @@ public class ExternalService extends AbstractType { private String description; - private String environmentId; - private String externalId; private List externalIpAddresses; @@ -28,10 +26,14 @@ public class ExternalService extends AbstractType { private String hostname; + private List instanceIds; + private String kind; private LaunchConfig launchConfig; + private Map linkedServices; + private Map metadata; private String name; @@ -40,10 +42,14 @@ public class ExternalService extends AbstractType { private String removed; + private String stackId; + private Boolean startOnCreate; private String state; + private Boolean system; + private String transitioning; private String transitioningMessage; @@ -86,14 +92,6 @@ public void setDescription(String description) { this.description = description; } - public String getEnvironmentId() { - return this.environmentId; - } - - public void setEnvironmentId(String environmentId) { - this.environmentId = environmentId; - } - public String getExternalId() { return this.externalId; } @@ -142,6 +140,14 @@ public void setHostname(String hostname) { this.hostname = hostname; } + public List getInstanceIds() { + return this.instanceIds; + } + + public void setInstanceIds(List instanceIds) { + this.instanceIds = instanceIds; + } + public String getKind() { return this.kind; } @@ -158,6 +164,14 @@ public void setLaunchConfig(LaunchConfig launchConfig) { this.launchConfig = launchConfig; } + public Map getLinkedServices() { + return this.linkedServices; + } + + public void setLinkedServices(Map linkedServices) { + this.linkedServices = linkedServices; + } + public Map getMetadata() { return this.metadata; } @@ -190,6 +204,14 @@ public void setRemoved(String removed) { this.removed = removed; } + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + public Boolean getStartOnCreate() { return this.startOnCreate; } @@ -206,6 +228,14 @@ public void setState(String state) { this.state = state; } + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + public String getTransitioning() { return this.transitioning; } diff --git a/src/main/java/io/rancher/type/ExternalStoragePoolEvent.java b/src/main/java/io/rancher/type/ExternalStoragePoolEvent.java index f5726b6..8541663 100644 --- a/src/main/java/io/rancher/type/ExternalStoragePoolEvent.java +++ b/src/main/java/io/rancher/type/ExternalStoragePoolEvent.java @@ -1,8 +1,8 @@ package io.rancher.type; import io.rancher.base.AbstractType; -import java.util.List; import java.util.Map; +import java.util.List; public class ExternalStoragePoolEvent extends AbstractType { diff --git a/src/main/java/io/rancher/type/GenericObject.java b/src/main/java/io/rancher/type/GenericObject.java new file mode 100644 index 0000000..ec40775 --- /dev/null +++ b/src/main/java/io/rancher/type/GenericObject.java @@ -0,0 +1,158 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.Map; + +public class GenericObject extends AbstractType { + + private String accountId; + + private String created; + + private Map data; + + private String description; + + private String key; + + private String kind; + + private String name; + + private String removeTime; + + private String removed; + + private Map resourceData; + + private String state; + + private String transitioning; + + private String transitioningMessage; + + private Integer transitioningProgress; + + private String uuid; + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public String getCreated() { + return this.created; + } + + public void setCreated(String created) { + this.created = created; + } + + public Map getData() { + return this.data; + } + + public void setData(Map data) { + this.data = data; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getKind() { + return this.kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getRemoveTime() { + return this.removeTime; + } + + public void setRemoveTime(String removeTime) { + this.removeTime = removeTime; + } + + public String getRemoved() { + return this.removed; + } + + public void setRemoved(String removed) { + this.removed = removed; + } + + public Map getResourceData() { + return this.resourceData; + } + + public void setResourceData(Map resourceData) { + this.resourceData = resourceData; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public String getTransitioning() { + return this.transitioning; + } + + public void setTransitioning(String transitioning) { + this.transitioning = transitioning; + } + + public String getTransitioningMessage() { + return this.transitioningMessage; + } + + public void setTransitioningMessage(String transitioningMessage) { + this.transitioningMessage = transitioningMessage; + } + + public Integer getTransitioningProgress() { + return this.transitioningProgress; + } + + public void setTransitioningProgress(Integer transitioningProgress) { + this.transitioningProgress = transitioningProgress; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + +} diff --git a/src/main/java/io/rancher/type/Githubconfig.java b/src/main/java/io/rancher/type/Githubconfig.java deleted file mode 100644 index 826d95a..0000000 --- a/src/main/java/io/rancher/type/Githubconfig.java +++ /dev/null @@ -1,88 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; -import java.util.List; - -public class Githubconfig extends AbstractType { - - private String accessMode; - - private List allowedIdentities; - - private String clientId; - - private String clientSecret; - - private Boolean enabled; - - private String hostname; - - private String name; - - private String scheme; - - public String getAccessMode() { - return this.accessMode; - } - - public void setAccessMode(String accessMode) { - this.accessMode = accessMode; - } - - public List getAllowedIdentities() { - return this.allowedIdentities; - } - - public void setAllowedIdentities(List allowedIdentities) { - this.allowedIdentities = allowedIdentities; - } - - public String getClientId() { - return this.clientId; - } - - public void setClientId(String clientId) { - this.clientId = clientId; - } - - public String getClientSecret() { - return this.clientSecret; - } - - public void setClientSecret(String clientSecret) { - this.clientSecret = clientSecret; - } - - public Boolean getEnabled() { - return this.enabled; - } - - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - public String getHostname() { - return this.hostname; - } - - public void setHostname(String hostname) { - this.hostname = hostname; - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - } - - public String getScheme() { - return this.scheme; - } - - public void setScheme(String scheme) { - this.scheme = scheme; - } - -} diff --git a/src/main/java/io/rancher/type/HaproxyConfig.java b/src/main/java/io/rancher/type/HaproxyConfig.java deleted file mode 100644 index fb387bc..0000000 --- a/src/main/java/io/rancher/type/HaproxyConfig.java +++ /dev/null @@ -1,27 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; - -public class HaproxyConfig extends AbstractType { - - private String defaults; - - private String global; - - public String getDefaults() { - return this.defaults; - } - - public void setDefaults(String defaults) { - this.defaults = defaults; - } - - public String getGlobal() { - return this.global; - } - - public void setGlobal(String global) { - this.global = global; - } - -} diff --git a/src/main/java/io/rancher/type/Host.java b/src/main/java/io/rancher/type/Host.java index aa61370..70f1129 100644 --- a/src/main/java/io/rancher/type/Host.java +++ b/src/main/java/io/rancher/type/Host.java @@ -1,8 +1,8 @@ package io.rancher.type; import io.rancher.base.AbstractType; -import java.util.List; import java.util.Map; +import java.util.List; public class Host extends AbstractType { @@ -10,10 +10,20 @@ public class Host extends AbstractType { private String agentId; + private String agentIpAddress; + private String agentState; + private Amazonec2Config amazonec2Config; + private String apiProxy; + private String authCertificateAuthority; + + private String authKey; + + private AzureConfig azureConfig; + private Integer computeTotal; private String created; @@ -22,16 +32,48 @@ public class Host extends AbstractType { private String description; + private DigitaloceanConfig digitaloceanConfig; + + private String dockerVersion; + + private String driver; + + private Map engineEnv; + + private List engineInsecureRegistry; + + private String engineInstallUrl; + + private Map engineLabel; + + private Map engineOpt; + + private List engineRegistryMirror; + + private String engineStorageDriver; + + private String hostTemplateId; + private String hostname; private Map info; + private List instanceIds; + private String kind; private Map labels; + private Integer localStorageMb; + + private Integer memory; + + private Integer milliCpu; + private String name; + private PacketConfig packetConfig; + private String physicalHostId; private List publicEndpoints; @@ -40,6 +82,8 @@ public class Host extends AbstractType { private String removed; + private String stackId; + private String state; private String transitioning; @@ -66,6 +110,14 @@ public void setAgentId(String agentId) { this.agentId = agentId; } + public String getAgentIpAddress() { + return this.agentIpAddress; + } + + public void setAgentIpAddress(String agentIpAddress) { + this.agentIpAddress = agentIpAddress; + } + public String getAgentState() { return this.agentState; } @@ -74,6 +126,14 @@ public void setAgentState(String agentState) { this.agentState = agentState; } + public Amazonec2Config getAmazonec2Config() { + return this.amazonec2Config; + } + + public void setAmazonec2Config(Amazonec2Config amazonec2Config) { + this.amazonec2Config = amazonec2Config; + } + public String getApiProxy() { return this.apiProxy; } @@ -82,6 +142,30 @@ public void setApiProxy(String apiProxy) { this.apiProxy = apiProxy; } + public String getAuthCertificateAuthority() { + return this.authCertificateAuthority; + } + + public void setAuthCertificateAuthority(String authCertificateAuthority) { + this.authCertificateAuthority = authCertificateAuthority; + } + + public String getAuthKey() { + return this.authKey; + } + + public void setAuthKey(String authKey) { + this.authKey = authKey; + } + + public AzureConfig getAzureConfig() { + return this.azureConfig; + } + + public void setAzureConfig(AzureConfig azureConfig) { + this.azureConfig = azureConfig; + } + public Integer getComputeTotal() { return this.computeTotal; } @@ -114,6 +198,94 @@ public void setDescription(String description) { this.description = description; } + public DigitaloceanConfig getDigitaloceanConfig() { + return this.digitaloceanConfig; + } + + public void setDigitaloceanConfig(DigitaloceanConfig digitaloceanConfig) { + this.digitaloceanConfig = digitaloceanConfig; + } + + public String getDockerVersion() { + return this.dockerVersion; + } + + public void setDockerVersion(String dockerVersion) { + this.dockerVersion = dockerVersion; + } + + public String getDriver() { + return this.driver; + } + + public void setDriver(String driver) { + this.driver = driver; + } + + public Map getEngineEnv() { + return this.engineEnv; + } + + public void setEngineEnv(Map engineEnv) { + this.engineEnv = engineEnv; + } + + public List getEngineInsecureRegistry() { + return this.engineInsecureRegistry; + } + + public void setEngineInsecureRegistry(List engineInsecureRegistry) { + this.engineInsecureRegistry = engineInsecureRegistry; + } + + public String getEngineInstallUrl() { + return this.engineInstallUrl; + } + + public void setEngineInstallUrl(String engineInstallUrl) { + this.engineInstallUrl = engineInstallUrl; + } + + public Map getEngineLabel() { + return this.engineLabel; + } + + public void setEngineLabel(Map engineLabel) { + this.engineLabel = engineLabel; + } + + public Map getEngineOpt() { + return this.engineOpt; + } + + public void setEngineOpt(Map engineOpt) { + this.engineOpt = engineOpt; + } + + public List getEngineRegistryMirror() { + return this.engineRegistryMirror; + } + + public void setEngineRegistryMirror(List engineRegistryMirror) { + this.engineRegistryMirror = engineRegistryMirror; + } + + public String getEngineStorageDriver() { + return this.engineStorageDriver; + } + + public void setEngineStorageDriver(String engineStorageDriver) { + this.engineStorageDriver = engineStorageDriver; + } + + public String getHostTemplateId() { + return this.hostTemplateId; + } + + public void setHostTemplateId(String hostTemplateId) { + this.hostTemplateId = hostTemplateId; + } + public String getHostname() { return this.hostname; } @@ -130,6 +302,14 @@ public void setInfo(Map info) { this.info = info; } + public List getInstanceIds() { + return this.instanceIds; + } + + public void setInstanceIds(List instanceIds) { + this.instanceIds = instanceIds; + } + public String getKind() { return this.kind; } @@ -146,6 +326,30 @@ public void setLabels(Map labels) { this.labels = labels; } + public Integer getLocalStorageMb() { + return this.localStorageMb; + } + + public void setLocalStorageMb(Integer localStorageMb) { + this.localStorageMb = localStorageMb; + } + + public Integer getMemory() { + return this.memory; + } + + public void setMemory(Integer memory) { + this.memory = memory; + } + + public Integer getMilliCpu() { + return this.milliCpu; + } + + public void setMilliCpu(Integer milliCpu) { + this.milliCpu = milliCpu; + } + public String getName() { return this.name; } @@ -154,6 +358,14 @@ public void setName(String name) { this.name = name; } + public PacketConfig getPacketConfig() { + return this.packetConfig; + } + + public void setPacketConfig(PacketConfig packetConfig) { + this.packetConfig = packetConfig; + } + public String getPhysicalHostId() { return this.physicalHostId; } @@ -186,6 +398,14 @@ public void setRemoved(String removed) { this.removed = removed; } + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + public String getState() { return this.state; } diff --git a/src/main/java/io/rancher/type/HostTemplate.java b/src/main/java/io/rancher/type/HostTemplate.java new file mode 100644 index 0000000..ea8ad3b --- /dev/null +++ b/src/main/java/io/rancher/type/HostTemplate.java @@ -0,0 +1,178 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.Map; + +public class HostTemplate extends AbstractType { + + private String accountId; + + private String created; + + private Map data; + + private String description; + + private String driver; + + private String flavorPrefix; + + private String kind; + + private String name; + + private Map publicValues; + + private String removeTime; + + private String removed; + + private Map secretValues; + + private String state; + + private String transitioning; + + private String transitioningMessage; + + private Integer transitioningProgress; + + private String uuid; + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public String getCreated() { + return this.created; + } + + public void setCreated(String created) { + this.created = created; + } + + public Map getData() { + return this.data; + } + + public void setData(Map data) { + this.data = data; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getDriver() { + return this.driver; + } + + public void setDriver(String driver) { + this.driver = driver; + } + + public String getFlavorPrefix() { + return this.flavorPrefix; + } + + public void setFlavorPrefix(String flavorPrefix) { + this.flavorPrefix = flavorPrefix; + } + + public String getKind() { + return this.kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public Map getPublicValues() { + return this.publicValues; + } + + public void setPublicValues(Map publicValues) { + this.publicValues = publicValues; + } + + public String getRemoveTime() { + return this.removeTime; + } + + public void setRemoveTime(String removeTime) { + this.removeTime = removeTime; + } + + public String getRemoved() { + return this.removed; + } + + public void setRemoved(String removed) { + this.removed = removed; + } + + public Map getSecretValues() { + return this.secretValues; + } + + public void setSecretValues(Map secretValues) { + this.secretValues = secretValues; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public String getTransitioning() { + return this.transitioning; + } + + public void setTransitioning(String transitioning) { + this.transitioning = transitioning; + } + + public String getTransitioningMessage() { + return this.transitioningMessage; + } + + public void setTransitioningMessage(String transitioningMessage) { + this.transitioningMessage = transitioningMessage; + } + + public Integer getTransitioningProgress() { + return this.transitioningProgress; + } + + public void setTransitioningProgress(Integer transitioningProgress) { + this.transitioningProgress = transitioningProgress; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + +} diff --git a/src/main/java/io/rancher/type/Identity.java b/src/main/java/io/rancher/type/Identity.java index 1028b64..f0c245e 100644 --- a/src/main/java/io/rancher/type/Identity.java +++ b/src/main/java/io/rancher/type/Identity.java @@ -22,6 +22,8 @@ public class Identity extends AbstractType { private String role; + private Boolean user; + public String getAll() { return this.all; } @@ -94,4 +96,12 @@ public void setRole(String role) { this.role = role; } + public Boolean getUser() { + return this.user; + } + + public void setUser(Boolean user) { + this.user = user; + } + } diff --git a/src/main/java/io/rancher/type/IpAddressAssociateInput.java b/src/main/java/io/rancher/type/IpAddressAssociateInput.java deleted file mode 100644 index 8c8076c..0000000 --- a/src/main/java/io/rancher/type/IpAddressAssociateInput.java +++ /dev/null @@ -1,17 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; - -public class IpAddressAssociateInput extends AbstractType { - - private String ipAddressId; - - public String getIpAddressId() { - return this.ipAddressId; - } - - public void setIpAddressId(String ipAddressId) { - this.ipAddressId = ipAddressId; - } - -} diff --git a/src/main/java/io/rancher/type/KubernetesService.java b/src/main/java/io/rancher/type/KubernetesService.java index f7612c3..026a185 100644 --- a/src/main/java/io/rancher/type/KubernetesService.java +++ b/src/main/java/io/rancher/type/KubernetesService.java @@ -2,6 +2,7 @@ import io.rancher.base.AbstractType; import java.util.Map; +import java.util.List; public class KubernetesService extends AbstractType { @@ -13,14 +14,16 @@ public class KubernetesService extends AbstractType { private String description; - private String environmentId; - private String externalId; private String healthState; + private List instanceIds; + private String kind; + private Map linkedServices; + private String name; private String removeTime; @@ -29,8 +32,12 @@ public class KubernetesService extends AbstractType { private String selectorContainer; + private String stackId; + private String state; + private Boolean system; + private Map template; private String transitioning; @@ -75,14 +82,6 @@ public void setDescription(String description) { this.description = description; } - public String getEnvironmentId() { - return this.environmentId; - } - - public void setEnvironmentId(String environmentId) { - this.environmentId = environmentId; - } - public String getExternalId() { return this.externalId; } @@ -99,6 +98,14 @@ public void setHealthState(String healthState) { this.healthState = healthState; } + public List getInstanceIds() { + return this.instanceIds; + } + + public void setInstanceIds(List instanceIds) { + this.instanceIds = instanceIds; + } + public String getKind() { return this.kind; } @@ -107,6 +114,14 @@ public void setKind(String kind) { this.kind = kind; } + public Map getLinkedServices() { + return this.linkedServices; + } + + public void setLinkedServices(Map linkedServices) { + this.linkedServices = linkedServices; + } + public String getName() { return this.name; } @@ -139,6 +154,14 @@ public void setSelectorContainer(String selectorContainer) { this.selectorContainer = selectorContainer; } + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + public String getState() { return this.state; } @@ -147,6 +170,14 @@ public void setState(String state) { this.state = state; } + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + public Map getTemplate() { return this.template; } diff --git a/src/main/java/io/rancher/type/KubernetesStack.java b/src/main/java/io/rancher/type/KubernetesStack.java new file mode 100644 index 0000000..449ec7e --- /dev/null +++ b/src/main/java/io/rancher/type/KubernetesStack.java @@ -0,0 +1,259 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.List; +import java.util.Map; + +public class KubernetesStack extends AbstractType { + + private String accountId; + + private Map answers; + + private Binding binding; + + private String created; + + private Map data; + + private String description; + + private Map environment; + + private String externalId; + + private String group; + + private String healthState; + + private String kind; + + private String name; + + private String namespace; + + private Map previousEnvironment; + + private String previousExternalId; + + private String removeTime; + + private String removed; + + private List serviceIds; + + private String state; + + private Boolean system; + + private Map templates; + + private String transitioning; + + private String transitioningMessage; + + private Integer transitioningProgress; + + private String uuid; + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public Map getAnswers() { + return this.answers; + } + + public void setAnswers(Map answers) { + this.answers = answers; + } + + public Binding getBinding() { + return this.binding; + } + + public void setBinding(Binding binding) { + this.binding = binding; + } + + public String getCreated() { + return this.created; + } + + public void setCreated(String created) { + this.created = created; + } + + public Map getData() { + return this.data; + } + + public void setData(Map data) { + this.data = data; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Map getEnvironment() { + return this.environment; + } + + public void setEnvironment(Map environment) { + this.environment = environment; + } + + public String getExternalId() { + return this.externalId; + } + + public void setExternalId(String externalId) { + this.externalId = externalId; + } + + public String getGroup() { + return this.group; + } + + public void setGroup(String group) { + this.group = group; + } + + public String getHealthState() { + return this.healthState; + } + + public void setHealthState(String healthState) { + this.healthState = healthState; + } + + public String getKind() { + return this.kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getNamespace() { + return this.namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + public Map getPreviousEnvironment() { + return this.previousEnvironment; + } + + public void setPreviousEnvironment(Map previousEnvironment) { + this.previousEnvironment = previousEnvironment; + } + + public String getPreviousExternalId() { + return this.previousExternalId; + } + + public void setPreviousExternalId(String previousExternalId) { + this.previousExternalId = previousExternalId; + } + + public String getRemoveTime() { + return this.removeTime; + } + + public void setRemoveTime(String removeTime) { + this.removeTime = removeTime; + } + + public String getRemoved() { + return this.removed; + } + + public void setRemoved(String removed) { + this.removed = removed; + } + + public List getServiceIds() { + return this.serviceIds; + } + + public void setServiceIds(List serviceIds) { + this.serviceIds = serviceIds; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + + public Map getTemplates() { + return this.templates; + } + + public void setTemplates(Map templates) { + this.templates = templates; + } + + public String getTransitioning() { + return this.transitioning; + } + + public void setTransitioning(String transitioning) { + this.transitioning = transitioning; + } + + public String getTransitioningMessage() { + return this.transitioningMessage; + } + + public void setTransitioningMessage(String transitioningMessage) { + this.transitioningMessage = transitioningMessage; + } + + public Integer getTransitioningProgress() { + return this.transitioningProgress; + } + + public void setTransitioningProgress(Integer transitioningProgress) { + this.transitioningProgress = transitioningProgress; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + +} diff --git a/src/main/java/io/rancher/type/KubernetesStackUpgrade.java b/src/main/java/io/rancher/type/KubernetesStackUpgrade.java new file mode 100644 index 0000000..3675c6e --- /dev/null +++ b/src/main/java/io/rancher/type/KubernetesStackUpgrade.java @@ -0,0 +1,48 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.Map; + +public class KubernetesStackUpgrade extends AbstractType { + + private Map answers; + + private Map environment; + + private String externalId; + + private Map templates; + + public Map getAnswers() { + return this.answers; + } + + public void setAnswers(Map answers) { + this.answers = answers; + } + + public Map getEnvironment() { + return this.environment; + } + + public void setEnvironment(Map environment) { + this.environment = environment; + } + + public String getExternalId() { + return this.externalId; + } + + public void setExternalId(String externalId) { + this.externalId = externalId; + } + + public Map getTemplates() { + return this.templates; + } + + public void setTemplates(Map templates) { + this.templates = templates; + } + +} diff --git a/src/main/java/io/rancher/type/LaunchConfig.java b/src/main/java/io/rancher/type/LaunchConfig.java index 6907ea3..6cfeac5 100644 --- a/src/main/java/io/rancher/type/LaunchConfig.java +++ b/src/main/java/io/rancher/type/LaunchConfig.java @@ -14,18 +14,32 @@ public class LaunchConfig extends AbstractType { private Map blkioDeviceOptions; + private Integer blkioWeight; + private DockerBuild build; private List capAdd; private List capDrop; + private String cgroupParent; + private List command; private Integer count; + private Integer cpuCount; + + private Integer cpuPercent; + + private Integer cpuPeriod; + + private Integer cpuQuota; + private String cpuSet; + private String cpuSetMems; + private Integer cpuShares; private Integer createIndex; @@ -48,10 +62,14 @@ public class LaunchConfig extends AbstractType { private List devices; + private Integer diskQuota; + private List disks; private List dns; + private List dnsOpt; + private List dnsSearch; private String domainName; @@ -68,10 +86,20 @@ public class LaunchConfig extends AbstractType { private String firstRunning; + private List groupAdd; + private InstanceHealthCheck healthCheck; + private List healthCmd; + + private Integer healthInterval; + + private Integer healthRetries; + private String healthState; + private Integer healthTimeout; + private String hostId; private String hostname; @@ -80,6 +108,22 @@ public class LaunchConfig extends AbstractType { private Map instanceLinks; + private String instanceTriggeredStop; + + private Integer ioMaximumBandwidth; + + private Integer ioMaximumIOps; + + private String ip; + + private String ip6; + + private String ipcMode; + + private String isolation; + + private Integer kernelMemory; + private String kind; private Map labels; @@ -92,10 +136,20 @@ public class LaunchConfig extends AbstractType { private Integer memoryMb; + private Integer memoryReservation; + private Integer memorySwap; + private Integer memorySwappiness; + + private Integer milliCpuReservation; + + private List mounts; + private Boolean nativeContainer; + private List netAlias; + private String networkContainerId; private List networkIds; @@ -104,12 +158,20 @@ public class LaunchConfig extends AbstractType { private String networkMode; + private Boolean oomKillDisable; + + private Integer oomScoreAdj; + private String pidMode; + private Integer pidsLimit; + private List ports; private String primaryIpAddress; + private String primaryNetworkId; + private Boolean privileged; private Boolean publishAllPorts; @@ -126,8 +188,20 @@ public class LaunchConfig extends AbstractType { private String requestedIpAddress; + private Boolean runInit; + + private List secrets; + private List securityOpt; + private String serviceId; + + private List serviceIds; + + private Integer shmSize; + + private String stackId; + private Integer startCount; private Boolean startOnCreate; @@ -136,7 +210,15 @@ public class LaunchConfig extends AbstractType { private Boolean stdinOpen; - private String systemContainer; + private String stopSignal; + + private Map storageOpt; + + private Map sysctls; + + private Boolean system; + + private Map tmpfs; private String token; @@ -148,10 +230,18 @@ public class LaunchConfig extends AbstractType { private Boolean tty; + private List ulimits; + private String user; + private List userPorts; + private String userdata; + private String usernsMode; + + private String uts; + private String uuid; private Integer vcpu; @@ -194,6 +284,14 @@ public void setBlkioDeviceOptions(Map blkioDeviceOptions) { this.blkioDeviceOptions = blkioDeviceOptions; } + public Integer getBlkioWeight() { + return this.blkioWeight; + } + + public void setBlkioWeight(Integer blkioWeight) { + this.blkioWeight = blkioWeight; + } + public DockerBuild getBuild() { return this.build; } @@ -218,6 +316,14 @@ public void setCapDrop(List capDrop) { this.capDrop = capDrop; } + public String getCgroupParent() { + return this.cgroupParent; + } + + public void setCgroupParent(String cgroupParent) { + this.cgroupParent = cgroupParent; + } + public List getCommand() { return this.command; } @@ -234,6 +340,38 @@ public void setCount(Integer count) { this.count = count; } + public Integer getCpuCount() { + return this.cpuCount; + } + + public void setCpuCount(Integer cpuCount) { + this.cpuCount = cpuCount; + } + + public Integer getCpuPercent() { + return this.cpuPercent; + } + + public void setCpuPercent(Integer cpuPercent) { + this.cpuPercent = cpuPercent; + } + + public Integer getCpuPeriod() { + return this.cpuPeriod; + } + + public void setCpuPeriod(Integer cpuPeriod) { + this.cpuPeriod = cpuPeriod; + } + + public Integer getCpuQuota() { + return this.cpuQuota; + } + + public void setCpuQuota(Integer cpuQuota) { + this.cpuQuota = cpuQuota; + } + public String getCpuSet() { return this.cpuSet; } @@ -242,6 +380,14 @@ public void setCpuSet(String cpuSet) { this.cpuSet = cpuSet; } + public String getCpuSetMems() { + return this.cpuSetMems; + } + + public void setCpuSetMems(String cpuSetMems) { + this.cpuSetMems = cpuSetMems; + } + public Integer getCpuShares() { return this.cpuShares; } @@ -330,6 +476,14 @@ public void setDevices(List devices) { this.devices = devices; } + public Integer getDiskQuota() { + return this.diskQuota; + } + + public void setDiskQuota(Integer diskQuota) { + this.diskQuota = diskQuota; + } + public List getDisks() { return this.disks; } @@ -346,6 +500,14 @@ public void setDns(List dns) { this.dns = dns; } + public List getDnsOpt() { + return this.dnsOpt; + } + + public void setDnsOpt(List dnsOpt) { + this.dnsOpt = dnsOpt; + } + public List getDnsSearch() { return this.dnsSearch; } @@ -410,6 +572,14 @@ public void setFirstRunning(String firstRunning) { this.firstRunning = firstRunning; } + public List getGroupAdd() { + return this.groupAdd; + } + + public void setGroupAdd(List groupAdd) { + this.groupAdd = groupAdd; + } + public InstanceHealthCheck getHealthCheck() { return this.healthCheck; } @@ -418,6 +588,30 @@ public void setHealthCheck(InstanceHealthCheck healthCheck) { this.healthCheck = healthCheck; } + public List getHealthCmd() { + return this.healthCmd; + } + + public void setHealthCmd(List healthCmd) { + this.healthCmd = healthCmd; + } + + public Integer getHealthInterval() { + return this.healthInterval; + } + + public void setHealthInterval(Integer healthInterval) { + this.healthInterval = healthInterval; + } + + public Integer getHealthRetries() { + return this.healthRetries; + } + + public void setHealthRetries(Integer healthRetries) { + this.healthRetries = healthRetries; + } + public String getHealthState() { return this.healthState; } @@ -426,6 +620,14 @@ public void setHealthState(String healthState) { this.healthState = healthState; } + public Integer getHealthTimeout() { + return this.healthTimeout; + } + + public void setHealthTimeout(Integer healthTimeout) { + this.healthTimeout = healthTimeout; + } + public String getHostId() { return this.hostId; } @@ -458,6 +660,70 @@ public void setInstanceLinks(Map instanceLinks) { this.instanceLinks = instanceLinks; } + public String getInstanceTriggeredStop() { + return this.instanceTriggeredStop; + } + + public void setInstanceTriggeredStop(String instanceTriggeredStop) { + this.instanceTriggeredStop = instanceTriggeredStop; + } + + public Integer getIoMaximumBandwidth() { + return this.ioMaximumBandwidth; + } + + public void setIoMaximumBandwidth(Integer ioMaximumBandwidth) { + this.ioMaximumBandwidth = ioMaximumBandwidth; + } + + public Integer getIoMaximumIOps() { + return this.ioMaximumIOps; + } + + public void setIoMaximumIOps(Integer ioMaximumIOps) { + this.ioMaximumIOps = ioMaximumIOps; + } + + public String getIp() { + return this.ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public String getIp6() { + return this.ip6; + } + + public void setIp6(String ip6) { + this.ip6 = ip6; + } + + public String getIpcMode() { + return this.ipcMode; + } + + public void setIpcMode(String ipcMode) { + this.ipcMode = ipcMode; + } + + public String getIsolation() { + return this.isolation; + } + + public void setIsolation(String isolation) { + this.isolation = isolation; + } + + public Integer getKernelMemory() { + return this.kernelMemory; + } + + public void setKernelMemory(Integer kernelMemory) { + this.kernelMemory = kernelMemory; + } + public String getKind() { return this.kind; } @@ -506,6 +772,14 @@ public void setMemoryMb(Integer memoryMb) { this.memoryMb = memoryMb; } + public Integer getMemoryReservation() { + return this.memoryReservation; + } + + public void setMemoryReservation(Integer memoryReservation) { + this.memoryReservation = memoryReservation; + } + public Integer getMemorySwap() { return this.memorySwap; } @@ -514,6 +788,30 @@ public void setMemorySwap(Integer memorySwap) { this.memorySwap = memorySwap; } + public Integer getMemorySwappiness() { + return this.memorySwappiness; + } + + public void setMemorySwappiness(Integer memorySwappiness) { + this.memorySwappiness = memorySwappiness; + } + + public Integer getMilliCpuReservation() { + return this.milliCpuReservation; + } + + public void setMilliCpuReservation(Integer milliCpuReservation) { + this.milliCpuReservation = milliCpuReservation; + } + + public List getMounts() { + return this.mounts; + } + + public void setMounts(List mounts) { + this.mounts = mounts; + } + public Boolean getNativeContainer() { return this.nativeContainer; } @@ -522,6 +820,14 @@ public void setNativeContainer(Boolean nativeContainer) { this.nativeContainer = nativeContainer; } + public List getNetAlias() { + return this.netAlias; + } + + public void setNetAlias(List netAlias) { + this.netAlias = netAlias; + } + public String getNetworkContainerId() { return this.networkContainerId; } @@ -554,6 +860,22 @@ public void setNetworkMode(String networkMode) { this.networkMode = networkMode; } + public Boolean getOomKillDisable() { + return this.oomKillDisable; + } + + public void setOomKillDisable(Boolean oomKillDisable) { + this.oomKillDisable = oomKillDisable; + } + + public Integer getOomScoreAdj() { + return this.oomScoreAdj; + } + + public void setOomScoreAdj(Integer oomScoreAdj) { + this.oomScoreAdj = oomScoreAdj; + } + public String getPidMode() { return this.pidMode; } @@ -562,6 +884,14 @@ public void setPidMode(String pidMode) { this.pidMode = pidMode; } + public Integer getPidsLimit() { + return this.pidsLimit; + } + + public void setPidsLimit(Integer pidsLimit) { + this.pidsLimit = pidsLimit; + } + public List getPorts() { return this.ports; } @@ -578,6 +908,14 @@ public void setPrimaryIpAddress(String primaryIpAddress) { this.primaryIpAddress = primaryIpAddress; } + public String getPrimaryNetworkId() { + return this.primaryNetworkId; + } + + public void setPrimaryNetworkId(String primaryNetworkId) { + this.primaryNetworkId = primaryNetworkId; + } + public Boolean getPrivileged() { return this.privileged; } @@ -642,6 +980,22 @@ public void setRequestedIpAddress(String requestedIpAddress) { this.requestedIpAddress = requestedIpAddress; } + public Boolean getRunInit() { + return this.runInit; + } + + public void setRunInit(Boolean runInit) { + this.runInit = runInit; + } + + public List getSecrets() { + return this.secrets; + } + + public void setSecrets(List secrets) { + this.secrets = secrets; + } + public List getSecurityOpt() { return this.securityOpt; } @@ -650,6 +1004,38 @@ public void setSecurityOpt(List securityOpt) { this.securityOpt = securityOpt; } + public String getServiceId() { + return this.serviceId; + } + + public void setServiceId(String serviceId) { + this.serviceId = serviceId; + } + + public List getServiceIds() { + return this.serviceIds; + } + + public void setServiceIds(List serviceIds) { + this.serviceIds = serviceIds; + } + + public Integer getShmSize() { + return this.shmSize; + } + + public void setShmSize(Integer shmSize) { + this.shmSize = shmSize; + } + + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + public Integer getStartCount() { return this.startCount; } @@ -682,12 +1068,44 @@ public void setStdinOpen(Boolean stdinOpen) { this.stdinOpen = stdinOpen; } - public String getSystemContainer() { - return this.systemContainer; + public String getStopSignal() { + return this.stopSignal; + } + + public void setStopSignal(String stopSignal) { + this.stopSignal = stopSignal; + } + + public Map getStorageOpt() { + return this.storageOpt; } - public void setSystemContainer(String systemContainer) { - this.systemContainer = systemContainer; + public void setStorageOpt(Map storageOpt) { + this.storageOpt = storageOpt; + } + + public Map getSysctls() { + return this.sysctls; + } + + public void setSysctls(Map sysctls) { + this.sysctls = sysctls; + } + + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + + public Map getTmpfs() { + return this.tmpfs; + } + + public void setTmpfs(Map tmpfs) { + this.tmpfs = tmpfs; } public String getToken() { @@ -730,6 +1148,14 @@ public void setTty(Boolean tty) { this.tty = tty; } + public List getUlimits() { + return this.ulimits; + } + + public void setUlimits(List ulimits) { + this.ulimits = ulimits; + } + public String getUser() { return this.user; } @@ -738,6 +1164,14 @@ public void setUser(String user) { this.user = user; } + public List getUserPorts() { + return this.userPorts; + } + + public void setUserPorts(List userPorts) { + this.userPorts = userPorts; + } + public String getUserdata() { return this.userdata; } @@ -746,6 +1180,22 @@ public void setUserdata(String userdata) { this.userdata = userdata; } + public String getUsernsMode() { + return this.usernsMode; + } + + public void setUsernsMode(String usernsMode) { + this.usernsMode = usernsMode; + } + + public String getUts() { + return this.uts; + } + + public void setUts(String uts) { + this.uts = uts; + } + public String getUuid() { return this.uuid; } diff --git a/src/main/java/io/rancher/type/LbConfig.java b/src/main/java/io/rancher/type/LbConfig.java new file mode 100644 index 0000000..1c5f77b --- /dev/null +++ b/src/main/java/io/rancher/type/LbConfig.java @@ -0,0 +1,58 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.List; + +public class LbConfig extends AbstractType { + + private List certificateIds; + + private String config; + + private String defaultCertificateId; + + private List portRules; + + private LoadBalancerCookieStickinessPolicy stickinessPolicy; + + public List getCertificateIds() { + return this.certificateIds; + } + + public void setCertificateIds(List certificateIds) { + this.certificateIds = certificateIds; + } + + public String getConfig() { + return this.config; + } + + public void setConfig(String config) { + this.config = config; + } + + public String getDefaultCertificateId() { + return this.defaultCertificateId; + } + + public void setDefaultCertificateId(String defaultCertificateId) { + this.defaultCertificateId = defaultCertificateId; + } + + public List getPortRules() { + return this.portRules; + } + + public void setPortRules(List portRules) { + this.portRules = portRules; + } + + public LoadBalancerCookieStickinessPolicy getStickinessPolicy() { + return this.stickinessPolicy; + } + + public void setStickinessPolicy(LoadBalancerCookieStickinessPolicy stickinessPolicy) { + this.stickinessPolicy = stickinessPolicy; + } + +} diff --git a/src/main/java/io/rancher/type/LbTargetConfig.java b/src/main/java/io/rancher/type/LbTargetConfig.java new file mode 100644 index 0000000..c82125e --- /dev/null +++ b/src/main/java/io/rancher/type/LbTargetConfig.java @@ -0,0 +1,18 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.List; + +public class LbTargetConfig extends AbstractType { + + private List portRules; + + public List getPortRules() { + return this.portRules; + } + + public void setPortRules(List portRules) { + this.portRules = portRules; + } + +} diff --git a/src/main/java/io/rancher/type/Ldapconfig.java b/src/main/java/io/rancher/type/Ldapconfig.java index 0db30ac..2bfe280 100644 --- a/src/main/java/io/rancher/type/Ldapconfig.java +++ b/src/main/java/io/rancher/type/Ldapconfig.java @@ -21,6 +21,8 @@ public class Ldapconfig extends AbstractType { private String groupObjectClass; + private String groupSearchDomain; + private String groupSearchField; private String loginDomain; @@ -115,6 +117,14 @@ public void setGroupObjectClass(String groupObjectClass) { this.groupObjectClass = groupObjectClass; } + public String getGroupSearchDomain() { + return this.groupSearchDomain; + } + + public void setGroupSearchDomain(String groupSearchDomain) { + this.groupSearchDomain = groupSearchDomain; + } + public String getGroupSearchField() { return this.groupSearchField; } diff --git a/src/main/java/io/rancher/type/LoadBalancerAppCookieStickinessPolicy.java b/src/main/java/io/rancher/type/LoadBalancerAppCookieStickinessPolicy.java deleted file mode 100644 index 4bceea1..0000000 --- a/src/main/java/io/rancher/type/LoadBalancerAppCookieStickinessPolicy.java +++ /dev/null @@ -1,77 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; - -public class LoadBalancerAppCookieStickinessPolicy extends AbstractType { - - private String cookie; - - private Integer maxLength; - - private String mode; - - private String name; - - private Boolean prefix; - - private Boolean requestLearn; - - private Integer timeout; - - public String getCookie() { - return this.cookie; - } - - public void setCookie(String cookie) { - this.cookie = cookie; - } - - public Integer getMaxLength() { - return this.maxLength; - } - - public void setMaxLength(Integer maxLength) { - this.maxLength = maxLength; - } - - public String getMode() { - return this.mode; - } - - public void setMode(String mode) { - this.mode = mode; - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - } - - public Boolean getPrefix() { - return this.prefix; - } - - public void setPrefix(Boolean prefix) { - this.prefix = prefix; - } - - public Boolean getRequestLearn() { - return this.requestLearn; - } - - public void setRequestLearn(Boolean requestLearn) { - this.requestLearn = requestLearn; - } - - public Integer getTimeout() { - return this.timeout; - } - - public void setTimeout(Integer timeout) { - this.timeout = timeout; - } - -} diff --git a/src/main/java/io/rancher/type/LoadBalancerConfig.java b/src/main/java/io/rancher/type/LoadBalancerConfig.java deleted file mode 100644 index 097e84f..0000000 --- a/src/main/java/io/rancher/type/LoadBalancerConfig.java +++ /dev/null @@ -1,27 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; - -public class LoadBalancerConfig extends AbstractType { - - private HaproxyConfig haproxyConfig; - - private LoadBalancerCookieStickinessPolicy lbCookieStickinessPolicy; - - public HaproxyConfig getHaproxyConfig() { - return this.haproxyConfig; - } - - public void setHaproxyConfig(HaproxyConfig haproxyConfig) { - this.haproxyConfig = haproxyConfig; - } - - public LoadBalancerCookieStickinessPolicy getLbCookieStickinessPolicy() { - return this.lbCookieStickinessPolicy; - } - - public void setLbCookieStickinessPolicy(LoadBalancerCookieStickinessPolicy lbCookieStickinessPolicy) { - this.lbCookieStickinessPolicy = lbCookieStickinessPolicy; - } - -} diff --git a/src/main/java/io/rancher/type/LoadBalancerService.java b/src/main/java/io/rancher/type/LoadBalancerService.java index 3725f25..e02ed8e 100644 --- a/src/main/java/io/rancher/type/LoadBalancerService.java +++ b/src/main/java/io/rancher/type/LoadBalancerService.java @@ -10,31 +10,29 @@ public class LoadBalancerService extends AbstractType { private Boolean assignServiceIpAddress; - private List certificateIds; - private String created; private Integer currentScale; private Map data; - private String defaultCertificateId; - private String description; - private String environmentId; - private String externalId; private String fqdn; private String healthState; + private List instanceIds; + private String kind; private LaunchConfig launchConfig; - private LoadBalancerConfig loadBalancerConfig; + private LbConfig lbConfig; + + private Map linkedServices; private Map metadata; @@ -54,10 +52,14 @@ public class LoadBalancerService extends AbstractType { private String selectorLink; + private String stackId; + private Boolean startOnCreate; private String state; + private Boolean system; + private String transitioning; private String transitioningMessage; @@ -86,14 +88,6 @@ public void setAssignServiceIpAddress(Boolean assignServiceIpAddress) { this.assignServiceIpAddress = assignServiceIpAddress; } - public List getCertificateIds() { - return this.certificateIds; - } - - public void setCertificateIds(List certificateIds) { - this.certificateIds = certificateIds; - } - public String getCreated() { return this.created; } @@ -118,14 +112,6 @@ public void setData(Map data) { this.data = data; } - public String getDefaultCertificateId() { - return this.defaultCertificateId; - } - - public void setDefaultCertificateId(String defaultCertificateId) { - this.defaultCertificateId = defaultCertificateId; - } - public String getDescription() { return this.description; } @@ -134,14 +120,6 @@ public void setDescription(String description) { this.description = description; } - public String getEnvironmentId() { - return this.environmentId; - } - - public void setEnvironmentId(String environmentId) { - this.environmentId = environmentId; - } - public String getExternalId() { return this.externalId; } @@ -166,6 +144,14 @@ public void setHealthState(String healthState) { this.healthState = healthState; } + public List getInstanceIds() { + return this.instanceIds; + } + + public void setInstanceIds(List instanceIds) { + this.instanceIds = instanceIds; + } + public String getKind() { return this.kind; } @@ -182,12 +168,20 @@ public void setLaunchConfig(LaunchConfig launchConfig) { this.launchConfig = launchConfig; } - public LoadBalancerConfig getLoadBalancerConfig() { - return this.loadBalancerConfig; + public LbConfig getLbConfig() { + return this.lbConfig; + } + + public void setLbConfig(LbConfig lbConfig) { + this.lbConfig = lbConfig; + } + + public Map getLinkedServices() { + return this.linkedServices; } - public void setLoadBalancerConfig(LoadBalancerConfig loadBalancerConfig) { - this.loadBalancerConfig = loadBalancerConfig; + public void setLinkedServices(Map linkedServices) { + this.linkedServices = linkedServices; } public Map getMetadata() { @@ -262,6 +256,14 @@ public void setSelectorLink(String selectorLink) { this.selectorLink = selectorLink; } + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + public Boolean getStartOnCreate() { return this.startOnCreate; } @@ -278,6 +280,14 @@ public void setState(String state) { this.state = state; } + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + public String getTransitioning() { return this.transitioning; } diff --git a/src/main/java/io/rancher/type/LoadBalancerServiceLink.java b/src/main/java/io/rancher/type/LoadBalancerServiceLink.java deleted file mode 100644 index c22a62f..0000000 --- a/src/main/java/io/rancher/type/LoadBalancerServiceLink.java +++ /dev/null @@ -1,38 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; -import java.util.List; - -public class LoadBalancerServiceLink extends AbstractType { - - private List ports; - - private String serviceId; - - private String uuid; - - public List getPorts() { - return this.ports; - } - - public void setPorts(List ports) { - this.ports = ports; - } - - public String getServiceId() { - return this.serviceId; - } - - public void setServiceId(String serviceId) { - this.serviceId = serviceId; - } - - public String getUuid() { - return this.uuid; - } - - public void setUuid(String uuid) { - this.uuid = uuid; - } - -} diff --git a/src/main/java/io/rancher/type/Machine.java b/src/main/java/io/rancher/type/Machine.java index edf0be8..16bdf63 100644 --- a/src/main/java/io/rancher/type/Machine.java +++ b/src/main/java/io/rancher/type/Machine.java @@ -1,23 +1,29 @@ package io.rancher.type; import io.rancher.base.AbstractType; -import java.util.List; import java.util.Map; +import java.util.List; public class Machine extends AbstractType { private String accountId; + private Amazonec2Config amazonec2Config; + private String authCertificateAuthority; private String authKey; + private AzureConfig azureConfig; + private String created; private Map data; private String description; + private DigitaloceanConfig digitaloceanConfig; + private String dockerVersion; private String driver; @@ -38,7 +44,7 @@ public class Machine extends AbstractType { private String externalId; - private String extractedConfig; + private String hostTemplateId; private String kind; @@ -46,6 +52,8 @@ public class Machine extends AbstractType { private String name; + private PacketConfig packetConfig; + private String removeTime; private String removed; @@ -68,6 +76,14 @@ public void setAccountId(String accountId) { this.accountId = accountId; } + public Amazonec2Config getAmazonec2Config() { + return this.amazonec2Config; + } + + public void setAmazonec2Config(Amazonec2Config amazonec2Config) { + this.amazonec2Config = amazonec2Config; + } + public String getAuthCertificateAuthority() { return this.authCertificateAuthority; } @@ -84,6 +100,14 @@ public void setAuthKey(String authKey) { this.authKey = authKey; } + public AzureConfig getAzureConfig() { + return this.azureConfig; + } + + public void setAzureConfig(AzureConfig azureConfig) { + this.azureConfig = azureConfig; + } + public String getCreated() { return this.created; } @@ -108,6 +132,14 @@ public void setDescription(String description) { this.description = description; } + public DigitaloceanConfig getDigitaloceanConfig() { + return this.digitaloceanConfig; + } + + public void setDigitaloceanConfig(DigitaloceanConfig digitaloceanConfig) { + this.digitaloceanConfig = digitaloceanConfig; + } + public String getDockerVersion() { return this.dockerVersion; } @@ -188,12 +220,12 @@ public void setExternalId(String externalId) { this.externalId = externalId; } - public String getExtractedConfig() { - return this.extractedConfig; + public String getHostTemplateId() { + return this.hostTemplateId; } - public void setExtractedConfig(String extractedConfig) { - this.extractedConfig = extractedConfig; + public void setHostTemplateId(String hostTemplateId) { + this.hostTemplateId = hostTemplateId; } public String getKind() { @@ -220,6 +252,14 @@ public void setName(String name) { this.name = name; } + public PacketConfig getPacketConfig() { + return this.packetConfig; + } + + public void setPacketConfig(PacketConfig packetConfig) { + this.packetConfig = packetConfig; + } + public String getRemoveTime() { return this.removeTime; } diff --git a/src/main/java/io/rancher/type/MountEntry.java b/src/main/java/io/rancher/type/MountEntry.java new file mode 100644 index 0000000..bcfd210 --- /dev/null +++ b/src/main/java/io/rancher/type/MountEntry.java @@ -0,0 +1,57 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; + +public class MountEntry extends AbstractType { + + private String instanceId; + + private String instanceName; + + private String path; + + private String volumeId; + + private String volumeName; + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public String getInstanceName() { + return this.instanceName; + } + + public void setInstanceName(String instanceName) { + this.instanceName = instanceName; + } + + public String getPath() { + return this.path; + } + + public void setPath(String path) { + this.path = path; + } + + public String getVolumeId() { + return this.volumeId; + } + + public void setVolumeId(String volumeId) { + this.volumeId = volumeId; + } + + public String getVolumeName() { + return this.volumeName; + } + + public void setVolumeName(String volumeName) { + this.volumeName = volumeName; + } + +} diff --git a/src/main/java/io/rancher/type/Network.java b/src/main/java/io/rancher/type/Network.java index 26cb78e..7acf051 100644 --- a/src/main/java/io/rancher/type/Network.java +++ b/src/main/java/io/rancher/type/Network.java @@ -1,6 +1,7 @@ package io.rancher.type; import io.rancher.base.AbstractType; +import java.util.List; import java.util.Map; public class Network extends AbstractType { @@ -11,18 +12,34 @@ public class Network extends AbstractType { private Map data; + private String defaultPolicyAction; + private String description; + private List dns; + + private List dnsSearch; + + private Boolean hostPorts; + private String kind; + private Map metadata; + private String name; + private String networkDriverId; + + private List policy; + private String removeTime; private String removed; private String state; + private List subnets; + private String transitioning; private String transitioningMessage; @@ -55,6 +72,14 @@ public void setData(Map data) { this.data = data; } + public String getDefaultPolicyAction() { + return this.defaultPolicyAction; + } + + public void setDefaultPolicyAction(String defaultPolicyAction) { + this.defaultPolicyAction = defaultPolicyAction; + } + public String getDescription() { return this.description; } @@ -63,6 +88,30 @@ public void setDescription(String description) { this.description = description; } + public List getDns() { + return this.dns; + } + + public void setDns(List dns) { + this.dns = dns; + } + + public List getDnsSearch() { + return this.dnsSearch; + } + + public void setDnsSearch(List dnsSearch) { + this.dnsSearch = dnsSearch; + } + + public Boolean getHostPorts() { + return this.hostPorts; + } + + public void setHostPorts(Boolean hostPorts) { + this.hostPorts = hostPorts; + } + public String getKind() { return this.kind; } @@ -71,6 +120,14 @@ public void setKind(String kind) { this.kind = kind; } + public Map getMetadata() { + return this.metadata; + } + + public void setMetadata(Map metadata) { + this.metadata = metadata; + } + public String getName() { return this.name; } @@ -79,6 +136,22 @@ public void setName(String name) { this.name = name; } + public String getNetworkDriverId() { + return this.networkDriverId; + } + + public void setNetworkDriverId(String networkDriverId) { + this.networkDriverId = networkDriverId; + } + + public List getPolicy() { + return this.policy; + } + + public void setPolicy(List policy) { + this.policy = policy; + } + public String getRemoveTime() { return this.removeTime; } @@ -103,6 +176,14 @@ public void setState(String state) { this.state = state; } + public List getSubnets() { + return this.subnets; + } + + public void setSubnets(List subnets) { + this.subnets = subnets; + } + public String getTransitioning() { return this.transitioning; } diff --git a/src/main/java/io/rancher/type/NetworkDriver.java b/src/main/java/io/rancher/type/NetworkDriver.java new file mode 100644 index 0000000..5621e96 --- /dev/null +++ b/src/main/java/io/rancher/type/NetworkDriver.java @@ -0,0 +1,178 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.Map; + +public class NetworkDriver extends AbstractType { + + private String accountId; + + private Map cniConfig; + + private String created; + + private Map data; + + private DefaultNetwork defaultNetwork; + + private String description; + + private String kind; + + private String name; + + private Map networkMetadata; + + private String removeTime; + + private String removed; + + private String serviceId; + + private String state; + + private String transitioning; + + private String transitioningMessage; + + private Integer transitioningProgress; + + private String uuid; + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public Map getCniConfig() { + return this.cniConfig; + } + + public void setCniConfig(Map cniConfig) { + this.cniConfig = cniConfig; + } + + public String getCreated() { + return this.created; + } + + public void setCreated(String created) { + this.created = created; + } + + public Map getData() { + return this.data; + } + + public void setData(Map data) { + this.data = data; + } + + public DefaultNetwork getDefaultNetwork() { + return this.defaultNetwork; + } + + public void setDefaultNetwork(DefaultNetwork defaultNetwork) { + this.defaultNetwork = defaultNetwork; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getKind() { + return this.kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public Map getNetworkMetadata() { + return this.networkMetadata; + } + + public void setNetworkMetadata(Map networkMetadata) { + this.networkMetadata = networkMetadata; + } + + public String getRemoveTime() { + return this.removeTime; + } + + public void setRemoveTime(String removeTime) { + this.removeTime = removeTime; + } + + public String getRemoved() { + return this.removed; + } + + public void setRemoved(String removed) { + this.removed = removed; + } + + public String getServiceId() { + return this.serviceId; + } + + public void setServiceId(String serviceId) { + this.serviceId = serviceId; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public String getTransitioning() { + return this.transitioning; + } + + public void setTransitioning(String transitioning) { + this.transitioning = transitioning; + } + + public String getTransitioningMessage() { + return this.transitioningMessage; + } + + public void setTransitioningMessage(String transitioningMessage) { + this.transitioningMessage = transitioningMessage; + } + + public Integer getTransitioningProgress() { + return this.transitioningProgress; + } + + public void setTransitioningProgress(Integer transitioningProgress) { + this.transitioningProgress = transitioningProgress; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + +} diff --git a/src/main/java/io/rancher/type/NetworkDriverService.java b/src/main/java/io/rancher/type/NetworkDriverService.java new file mode 100644 index 0000000..fcb7712 --- /dev/null +++ b/src/main/java/io/rancher/type/NetworkDriverService.java @@ -0,0 +1,379 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.Map; +import java.util.List; + +public class NetworkDriverService extends AbstractType { + + private String accountId; + + private Boolean assignServiceIpAddress; + + private Integer createIndex; + + private String created; + + private Integer currentScale; + + private Map data; + + private String description; + + private String externalId; + + private String fqdn; + + private String healthState; + + private List instanceIds; + + private String kind; + + private LaunchConfig launchConfig; + + private LbTargetConfig lbConfig; + + private Map linkedServices; + + private Map metadata; + + private String name; + + private NetworkDriver networkDriver; + + private List publicEndpoints; + + private String removeTime; + + private String removed; + + private Boolean retainIp; + + private Integer scale; + + private ScalePolicy scalePolicy; + + private List secondaryLaunchConfigs; + + private String selectorContainer; + + private String selectorLink; + + private String stackId; + + private Boolean startOnCreate; + + private String state; + + private Boolean system; + + private String transitioning; + + private String transitioningMessage; + + private Integer transitioningProgress; + + private ServiceUpgrade upgrade; + + private String uuid; + + private String vip; + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public Boolean getAssignServiceIpAddress() { + return this.assignServiceIpAddress; + } + + public void setAssignServiceIpAddress(Boolean assignServiceIpAddress) { + this.assignServiceIpAddress = assignServiceIpAddress; + } + + public Integer getCreateIndex() { + return this.createIndex; + } + + public void setCreateIndex(Integer createIndex) { + this.createIndex = createIndex; + } + + public String getCreated() { + return this.created; + } + + public void setCreated(String created) { + this.created = created; + } + + public Integer getCurrentScale() { + return this.currentScale; + } + + public void setCurrentScale(Integer currentScale) { + this.currentScale = currentScale; + } + + public Map getData() { + return this.data; + } + + public void setData(Map data) { + this.data = data; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getExternalId() { + return this.externalId; + } + + public void setExternalId(String externalId) { + this.externalId = externalId; + } + + public String getFqdn() { + return this.fqdn; + } + + public void setFqdn(String fqdn) { + this.fqdn = fqdn; + } + + public String getHealthState() { + return this.healthState; + } + + public void setHealthState(String healthState) { + this.healthState = healthState; + } + + public List getInstanceIds() { + return this.instanceIds; + } + + public void setInstanceIds(List instanceIds) { + this.instanceIds = instanceIds; + } + + public String getKind() { + return this.kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public LaunchConfig getLaunchConfig() { + return this.launchConfig; + } + + public void setLaunchConfig(LaunchConfig launchConfig) { + this.launchConfig = launchConfig; + } + + public LbTargetConfig getLbConfig() { + return this.lbConfig; + } + + public void setLbConfig(LbTargetConfig lbConfig) { + this.lbConfig = lbConfig; + } + + public Map getLinkedServices() { + return this.linkedServices; + } + + public void setLinkedServices(Map linkedServices) { + this.linkedServices = linkedServices; + } + + public Map getMetadata() { + return this.metadata; + } + + public void setMetadata(Map metadata) { + this.metadata = metadata; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public NetworkDriver getNetworkDriver() { + return this.networkDriver; + } + + public void setNetworkDriver(NetworkDriver networkDriver) { + this.networkDriver = networkDriver; + } + + public List getPublicEndpoints() { + return this.publicEndpoints; + } + + public void setPublicEndpoints(List publicEndpoints) { + this.publicEndpoints = publicEndpoints; + } + + public String getRemoveTime() { + return this.removeTime; + } + + public void setRemoveTime(String removeTime) { + this.removeTime = removeTime; + } + + public String getRemoved() { + return this.removed; + } + + public void setRemoved(String removed) { + this.removed = removed; + } + + public Boolean getRetainIp() { + return this.retainIp; + } + + public void setRetainIp(Boolean retainIp) { + this.retainIp = retainIp; + } + + public Integer getScale() { + return this.scale; + } + + public void setScale(Integer scale) { + this.scale = scale; + } + + public ScalePolicy getScalePolicy() { + return this.scalePolicy; + } + + public void setScalePolicy(ScalePolicy scalePolicy) { + this.scalePolicy = scalePolicy; + } + + public List getSecondaryLaunchConfigs() { + return this.secondaryLaunchConfigs; + } + + public void setSecondaryLaunchConfigs(List secondaryLaunchConfigs) { + this.secondaryLaunchConfigs = secondaryLaunchConfigs; + } + + public String getSelectorContainer() { + return this.selectorContainer; + } + + public void setSelectorContainer(String selectorContainer) { + this.selectorContainer = selectorContainer; + } + + public String getSelectorLink() { + return this.selectorLink; + } + + public void setSelectorLink(String selectorLink) { + this.selectorLink = selectorLink; + } + + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + + public Boolean getStartOnCreate() { + return this.startOnCreate; + } + + public void setStartOnCreate(Boolean startOnCreate) { + this.startOnCreate = startOnCreate; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + + public String getTransitioning() { + return this.transitioning; + } + + public void setTransitioning(String transitioning) { + this.transitioning = transitioning; + } + + public String getTransitioningMessage() { + return this.transitioningMessage; + } + + public void setTransitioningMessage(String transitioningMessage) { + this.transitioningMessage = transitioningMessage; + } + + public Integer getTransitioningProgress() { + return this.transitioningProgress; + } + + public void setTransitioningProgress(Integer transitioningProgress) { + this.transitioningProgress = transitioningProgress; + } + + public ServiceUpgrade getUpgrade() { + return this.upgrade; + } + + public void setUpgrade(ServiceUpgrade upgrade) { + this.upgrade = upgrade; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + + public String getVip() { + return this.vip; + } + + public void setVip(String vip) { + this.vip = vip; + } + +} diff --git a/src/main/java/io/rancher/type/NetworkPolicyRule.java b/src/main/java/io/rancher/type/NetworkPolicyRule.java new file mode 100644 index 0000000..3842f94 --- /dev/null +++ b/src/main/java/io/rancher/type/NetworkPolicyRule.java @@ -0,0 +1,68 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.List; + +public class NetworkPolicyRule extends AbstractType { + + private String action; + + private NetworkPolicyRuleBetween between; + + private NetworkPolicyRuleMember from; + + private List ports; + + private NetworkPolicyRuleMember to; + + private String within; + + public String getAction() { + return this.action; + } + + public void setAction(String action) { + this.action = action; + } + + public NetworkPolicyRuleBetween getBetween() { + return this.between; + } + + public void setBetween(NetworkPolicyRuleBetween between) { + this.between = between; + } + + public NetworkPolicyRuleMember getFrom() { + return this.from; + } + + public void setFrom(NetworkPolicyRuleMember from) { + this.from = from; + } + + public List getPorts() { + return this.ports; + } + + public void setPorts(List ports) { + this.ports = ports; + } + + public NetworkPolicyRuleMember getTo() { + return this.to; + } + + public void setTo(NetworkPolicyRuleMember to) { + this.to = to; + } + + public String getWithin() { + return this.within; + } + + public void setWithin(String within) { + this.within = within; + } + +} diff --git a/src/main/java/io/rancher/type/NetworkPolicyRuleBetween.java b/src/main/java/io/rancher/type/NetworkPolicyRuleBetween.java new file mode 100644 index 0000000..7948edb --- /dev/null +++ b/src/main/java/io/rancher/type/NetworkPolicyRuleBetween.java @@ -0,0 +1,27 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; + +public class NetworkPolicyRuleBetween extends AbstractType { + + private String groupBy; + + private String selector; + + public String getGroupBy() { + return this.groupBy; + } + + public void setGroupBy(String groupBy) { + this.groupBy = groupBy; + } + + public String getSelector() { + return this.selector; + } + + public void setSelector(String selector) { + this.selector = selector; + } + +} diff --git a/src/main/java/io/rancher/type/NetworkPolicyRuleMember.java b/src/main/java/io/rancher/type/NetworkPolicyRuleMember.java new file mode 100644 index 0000000..bbbfb9e --- /dev/null +++ b/src/main/java/io/rancher/type/NetworkPolicyRuleMember.java @@ -0,0 +1,17 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; + +public class NetworkPolicyRuleMember extends AbstractType { + + private String selector; + + public String getSelector() { + return this.selector; + } + + public void setSelector(String selector) { + this.selector = selector; + } + +} diff --git a/src/main/java/io/rancher/type/NetworkPolicyRuleWithin.java b/src/main/java/io/rancher/type/NetworkPolicyRuleWithin.java new file mode 100644 index 0000000..5b1c2f8 --- /dev/null +++ b/src/main/java/io/rancher/type/NetworkPolicyRuleWithin.java @@ -0,0 +1,7 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; + +public class NetworkPolicyRuleWithin extends AbstractType { + +} diff --git a/src/main/java/io/rancher/type/Openldapconfig.java b/src/main/java/io/rancher/type/Openldapconfig.java index 75f2926..36e13da 100644 --- a/src/main/java/io/rancher/type/Openldapconfig.java +++ b/src/main/java/io/rancher/type/Openldapconfig.java @@ -1,23 +1,32 @@ package io.rancher.type; import io.rancher.base.AbstractType; +import java.util.List; public class Openldapconfig extends AbstractType { private String accessMode; + private List allowedIdentities; + private Integer connectionTimeout; private String domain; private Boolean enabled; + private String groupDNField; + private String groupMemberMappingAttribute; + private String groupMemberUserAttribute; + private String groupNameField; private String groupObjectClass; + private String groupSearchDomain; + private String groupSearchField; private String loginDomain; @@ -56,6 +65,14 @@ public void setAccessMode(String accessMode) { this.accessMode = accessMode; } + public List getAllowedIdentities() { + return this.allowedIdentities; + } + + public void setAllowedIdentities(List allowedIdentities) { + this.allowedIdentities = allowedIdentities; + } + public Integer getConnectionTimeout() { return this.connectionTimeout; } @@ -80,6 +97,14 @@ public void setEnabled(Boolean enabled) { this.enabled = enabled; } + public String getGroupDNField() { + return this.groupDNField; + } + + public void setGroupDNField(String groupDNField) { + this.groupDNField = groupDNField; + } + public String getGroupMemberMappingAttribute() { return this.groupMemberMappingAttribute; } @@ -88,6 +113,14 @@ public void setGroupMemberMappingAttribute(String groupMemberMappingAttribute) { this.groupMemberMappingAttribute = groupMemberMappingAttribute; } + public String getGroupMemberUserAttribute() { + return this.groupMemberUserAttribute; + } + + public void setGroupMemberUserAttribute(String groupMemberUserAttribute) { + this.groupMemberUserAttribute = groupMemberUserAttribute; + } + public String getGroupNameField() { return this.groupNameField; } @@ -104,6 +137,14 @@ public void setGroupObjectClass(String groupObjectClass) { this.groupObjectClass = groupObjectClass; } + public String getGroupSearchDomain() { + return this.groupSearchDomain; + } + + public void setGroupSearchDomain(String groupSearchDomain) { + this.groupSearchDomain = groupSearchDomain; + } + public String getGroupSearchField() { return this.groupSearchField; } diff --git a/src/main/java/io/rancher/type/OpenstackConfig.java b/src/main/java/io/rancher/type/OpenstackConfig.java deleted file mode 100644 index 61d729e..0000000 --- a/src/main/java/io/rancher/type/OpenstackConfig.java +++ /dev/null @@ -1,217 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; - -public class OpenstackConfig extends AbstractType { - - private String authUrl; - - private String availabilityZone; - - private String domainId; - - private String domainName; - - private String endpointType; - - private String flavorId; - - private String flavorName; - - private String floatingipPool; - - private String imageId; - - private String imageName; - - private Boolean insecure; - - private String netId; - - private String netName; - - private String password; - - private String region; - - private String secGroups; - - private String sshPort; - - private String sshUser; - - private String tenantId; - - private String tenantName; - - private String username; - - public String getAuthUrl() { - return this.authUrl; - } - - public void setAuthUrl(String authUrl) { - this.authUrl = authUrl; - } - - public String getAvailabilityZone() { - return this.availabilityZone; - } - - public void setAvailabilityZone(String availabilityZone) { - this.availabilityZone = availabilityZone; - } - - public String getDomainId() { - return this.domainId; - } - - public void setDomainId(String domainId) { - this.domainId = domainId; - } - - public String getDomainName() { - return this.domainName; - } - - public void setDomainName(String domainName) { - this.domainName = domainName; - } - - public String getEndpointType() { - return this.endpointType; - } - - public void setEndpointType(String endpointType) { - this.endpointType = endpointType; - } - - public String getFlavorId() { - return this.flavorId; - } - - public void setFlavorId(String flavorId) { - this.flavorId = flavorId; - } - - public String getFlavorName() { - return this.flavorName; - } - - public void setFlavorName(String flavorName) { - this.flavorName = flavorName; - } - - public String getFloatingipPool() { - return this.floatingipPool; - } - - public void setFloatingipPool(String floatingipPool) { - this.floatingipPool = floatingipPool; - } - - public String getImageId() { - return this.imageId; - } - - public void setImageId(String imageId) { - this.imageId = imageId; - } - - public String getImageName() { - return this.imageName; - } - - public void setImageName(String imageName) { - this.imageName = imageName; - } - - public Boolean getInsecure() { - return this.insecure; - } - - public void setInsecure(Boolean insecure) { - this.insecure = insecure; - } - - public String getNetId() { - return this.netId; - } - - public void setNetId(String netId) { - this.netId = netId; - } - - public String getNetName() { - return this.netName; - } - - public void setNetName(String netName) { - this.netName = netName; - } - - public String getPassword() { - return this.password; - } - - public void setPassword(String password) { - this.password = password; - } - - public String getRegion() { - return this.region; - } - - public void setRegion(String region) { - this.region = region; - } - - public String getSecGroups() { - return this.secGroups; - } - - public void setSecGroups(String secGroups) { - this.secGroups = secGroups; - } - - public String getSshPort() { - return this.sshPort; - } - - public void setSshPort(String sshPort) { - this.sshPort = sshPort; - } - - public String getSshUser() { - return this.sshUser; - } - - public void setSshUser(String sshUser) { - this.sshUser = sshUser; - } - - public String getTenantId() { - return this.tenantId; - } - - public void setTenantId(String tenantId) { - this.tenantId = tenantId; - } - - public String getTenantName() { - return this.tenantName; - } - - public void setTenantName(String tenantName) { - this.tenantName = tenantName; - } - - public String getUsername() { - return this.username; - } - - public void setUsername(String username) { - this.username = username; - } - -} diff --git a/src/main/java/io/rancher/type/PortRule.java b/src/main/java/io/rancher/type/PortRule.java new file mode 100644 index 0000000..bfae0b3 --- /dev/null +++ b/src/main/java/io/rancher/type/PortRule.java @@ -0,0 +1,97 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; + +public class PortRule extends AbstractType { + + private String backendName; + + private String hostname; + + private String path; + + private Integer priority; + + private String protocol; + + private String selector; + + private String serviceId; + + private Integer sourcePort; + + private Integer targetPort; + + public String getBackendName() { + return this.backendName; + } + + public void setBackendName(String backendName) { + this.backendName = backendName; + } + + public String getHostname() { + return this.hostname; + } + + public void setHostname(String hostname) { + this.hostname = hostname; + } + + public String getPath() { + return this.path; + } + + public void setPath(String path) { + this.path = path; + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + public String getProtocol() { + return this.protocol; + } + + public void setProtocol(String protocol) { + this.protocol = protocol; + } + + public String getSelector() { + return this.selector; + } + + public void setSelector(String selector) { + this.selector = selector; + } + + public String getServiceId() { + return this.serviceId; + } + + public void setServiceId(String serviceId) { + this.serviceId = serviceId; + } + + public Integer getSourcePort() { + return this.sourcePort; + } + + public void setSourcePort(Integer sourcePort) { + this.sourcePort = sourcePort; + } + + public Integer getTargetPort() { + return this.targetPort; + } + + public void setTargetPort(Integer targetPort) { + this.targetPort = targetPort; + } + +} diff --git a/src/main/java/io/rancher/type/ProcessInstance.java b/src/main/java/io/rancher/type/ProcessInstance.java index 9330124..0e77e1b 100644 --- a/src/main/java/io/rancher/type/ProcessInstance.java +++ b/src/main/java/io/rancher/type/ProcessInstance.java @@ -5,10 +5,14 @@ public class ProcessInstance extends AbstractType { + private String accountId; + private Map data; private String endTime; + private Integer executionCount; + private String exitReason; private String phase; @@ -23,12 +27,22 @@ public class ProcessInstance extends AbstractType { private String result; + private String runAfter; + private String runningProcessServerId; private String startProcessServerId; private String startTime; + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + public Map getData() { return this.data; } @@ -45,6 +59,14 @@ public void setEndTime(String endTime) { this.endTime = endTime; } + public Integer getExecutionCount() { + return this.executionCount; + } + + public void setExecutionCount(Integer executionCount) { + this.executionCount = executionCount; + } + public String getExitReason() { return this.exitReason; } @@ -101,6 +123,14 @@ public void setResult(String result) { this.result = result; } + public String getRunAfter() { + return this.runAfter; + } + + public void setRunAfter(String runAfter) { + this.runAfter = runAfter; + } + public String getRunningProcessServerId() { return this.runningProcessServerId; } diff --git a/src/main/java/io/rancher/type/ProcessPool.java b/src/main/java/io/rancher/type/ProcessPool.java new file mode 100644 index 0000000..c82f3d8 --- /dev/null +++ b/src/main/java/io/rancher/type/ProcessPool.java @@ -0,0 +1,97 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; + +public class ProcessPool extends AbstractType { + + private Integer activeTasks; + + private Integer completedTasks; + + private Integer maxPoolSize; + + private Integer minPoolSize; + + private String name; + + private Integer poolSize; + + private Integer queueRemainingCapacity; + + private Integer queueSize; + + private Integer rejectedTasks; + + public Integer getActiveTasks() { + return this.activeTasks; + } + + public void setActiveTasks(Integer activeTasks) { + this.activeTasks = activeTasks; + } + + public Integer getCompletedTasks() { + return this.completedTasks; + } + + public void setCompletedTasks(Integer completedTasks) { + this.completedTasks = completedTasks; + } + + public Integer getMaxPoolSize() { + return this.maxPoolSize; + } + + public void setMaxPoolSize(Integer maxPoolSize) { + this.maxPoolSize = maxPoolSize; + } + + public Integer getMinPoolSize() { + return this.minPoolSize; + } + + public void setMinPoolSize(Integer minPoolSize) { + this.minPoolSize = minPoolSize; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getPoolSize() { + return this.poolSize; + } + + public void setPoolSize(Integer poolSize) { + this.poolSize = poolSize; + } + + public Integer getQueueRemainingCapacity() { + return this.queueRemainingCapacity; + } + + public void setQueueRemainingCapacity(Integer queueRemainingCapacity) { + this.queueRemainingCapacity = queueRemainingCapacity; + } + + public Integer getQueueSize() { + return this.queueSize; + } + + public void setQueueSize(Integer queueSize) { + this.queueSize = queueSize; + } + + public Integer getRejectedTasks() { + return this.rejectedTasks; + } + + public void setRejectedTasks(Integer rejectedTasks) { + this.rejectedTasks = rejectedTasks; + } + +} diff --git a/src/main/java/io/rancher/type/ProcessSummary.java b/src/main/java/io/rancher/type/ProcessSummary.java new file mode 100644 index 0000000..b9dd818 --- /dev/null +++ b/src/main/java/io/rancher/type/ProcessSummary.java @@ -0,0 +1,47 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; + +public class ProcessSummary extends AbstractType { + + private Integer delay; + + private String processName; + + private Integer ready; + + private Integer running; + + public Integer getDelay() { + return this.delay; + } + + public void setDelay(Integer delay) { + this.delay = delay; + } + + public String getProcessName() { + return this.processName; + } + + public void setProcessName(String processName) { + this.processName = processName; + } + + public Integer getReady() { + return this.ready; + } + + public void setReady(Integer ready) { + this.ready = ready; + } + + public Integer getRunning() { + return this.running; + } + + public void setRunning(Integer running) { + this.running = running; + } + +} diff --git a/src/main/java/io/rancher/type/Project.java b/src/main/java/io/rancher/type/Project.java index d44fcbc..15b3f8f 100644 --- a/src/main/java/io/rancher/type/Project.java +++ b/src/main/java/io/rancher/type/Project.java @@ -12,19 +12,25 @@ public class Project extends AbstractType { private Map data; + private String defaultNetworkId; + private String description; - private String kind; + private String healthState; - private Boolean kubernetes; + private Integer hostRemoveDelaySeconds; - private List members; + private String kind; - private Boolean mesos; + private List members; private String name; - private Boolean publicDns; + private String orchestration; + + private List projectLinks; + + private String projectTemplateId; private String removeTime; @@ -34,8 +40,6 @@ public class Project extends AbstractType { private String state; - private Boolean swarm; - private String transitioning; private String transitioningMessage; @@ -44,6 +48,8 @@ public class Project extends AbstractType { private String uuid; + private String version; + private Boolean virtualMachine; public Boolean getAllowSystemRole() { @@ -70,6 +76,14 @@ public void setData(Map data) { this.data = data; } + public String getDefaultNetworkId() { + return this.defaultNetworkId; + } + + public void setDefaultNetworkId(String defaultNetworkId) { + this.defaultNetworkId = defaultNetworkId; + } + public String getDescription() { return this.description; } @@ -78,36 +92,36 @@ public void setDescription(String description) { this.description = description; } - public String getKind() { - return this.kind; + public String getHealthState() { + return this.healthState; } - public void setKind(String kind) { - this.kind = kind; + public void setHealthState(String healthState) { + this.healthState = healthState; } - public Boolean getKubernetes() { - return this.kubernetes; + public Integer getHostRemoveDelaySeconds() { + return this.hostRemoveDelaySeconds; } - public void setKubernetes(Boolean kubernetes) { - this.kubernetes = kubernetes; + public void setHostRemoveDelaySeconds(Integer hostRemoveDelaySeconds) { + this.hostRemoveDelaySeconds = hostRemoveDelaySeconds; } - public List getMembers() { - return this.members; + public String getKind() { + return this.kind; } - public void setMembers(List members) { - this.members = members; + public void setKind(String kind) { + this.kind = kind; } - public Boolean getMesos() { - return this.mesos; + public List getMembers() { + return this.members; } - public void setMesos(Boolean mesos) { - this.mesos = mesos; + public void setMembers(List members) { + this.members = members; } public String getName() { @@ -118,12 +132,28 @@ public void setName(String name) { this.name = name; } - public Boolean getPublicDns() { - return this.publicDns; + public String getOrchestration() { + return this.orchestration; + } + + public void setOrchestration(String orchestration) { + this.orchestration = orchestration; + } + + public List getProjectLinks() { + return this.projectLinks; + } + + public void setProjectLinks(List projectLinks) { + this.projectLinks = projectLinks; + } + + public String getProjectTemplateId() { + return this.projectTemplateId; } - public void setPublicDns(Boolean publicDns) { - this.publicDns = publicDns; + public void setProjectTemplateId(String projectTemplateId) { + this.projectTemplateId = projectTemplateId; } public String getRemoveTime() { @@ -158,14 +188,6 @@ public void setState(String state) { this.state = state; } - public Boolean getSwarm() { - return this.swarm; - } - - public void setSwarm(Boolean swarm) { - this.swarm = swarm; - } - public String getTransitioning() { return this.transitioning; } @@ -198,6 +220,14 @@ public void setUuid(String uuid) { this.uuid = uuid; } + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + } + public Boolean getVirtualMachine() { return this.virtualMachine; } diff --git a/src/main/java/io/rancher/type/ProjectTemplate.java b/src/main/java/io/rancher/type/ProjectTemplate.java new file mode 100644 index 0000000..b425d06 --- /dev/null +++ b/src/main/java/io/rancher/type/ProjectTemplate.java @@ -0,0 +1,169 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.Map; +import java.util.List; + +public class ProjectTemplate extends AbstractType { + + private String accountId; + + private String created; + + private Map data; + + private String description; + + private String externalId; + + private Boolean isPublic; + + private String kind; + + private String name; + + private String removeTime; + + private String removed; + + private List stacks; + + private String state; + + private String transitioning; + + private String transitioningMessage; + + private Integer transitioningProgress; + + private String uuid; + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public String getCreated() { + return this.created; + } + + public void setCreated(String created) { + this.created = created; + } + + public Map getData() { + return this.data; + } + + public void setData(Map data) { + this.data = data; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getExternalId() { + return this.externalId; + } + + public void setExternalId(String externalId) { + this.externalId = externalId; + } + + public Boolean getIsPublic() { + return this.isPublic; + } + + public void setIsPublic(Boolean isPublic) { + this.isPublic = isPublic; + } + + public String getKind() { + return this.kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getRemoveTime() { + return this.removeTime; + } + + public void setRemoveTime(String removeTime) { + this.removeTime = removeTime; + } + + public String getRemoved() { + return this.removed; + } + + public void setRemoved(String removed) { + this.removed = removed; + } + + public List getStacks() { + return this.stacks; + } + + public void setStacks(List stacks) { + this.stacks = stacks; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public String getTransitioning() { + return this.transitioning; + } + + public void setTransitioning(String transitioning) { + this.transitioning = transitioning; + } + + public String getTransitioningMessage() { + return this.transitioningMessage; + } + + public void setTransitioningMessage(String transitioningMessage) { + this.transitioningMessage = transitioningMessage; + } + + public Integer getTransitioningProgress() { + return this.transitioningProgress; + } + + public void setTransitioningProgress(Integer transitioningProgress) { + this.transitioningProgress = transitioningProgress; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + +} diff --git a/src/main/java/io/rancher/type/Publish.java b/src/main/java/io/rancher/type/Publish.java index 1fcd7e1..7a11e83 100644 --- a/src/main/java/io/rancher/type/Publish.java +++ b/src/main/java/io/rancher/type/Publish.java @@ -1,8 +1,8 @@ package io.rancher.type; import io.rancher.base.AbstractType; -import java.util.List; import java.util.Map; +import java.util.List; public class Publish extends AbstractType { diff --git a/src/main/java/io/rancher/type/RackspaceConfig.java b/src/main/java/io/rancher/type/RackspaceConfig.java deleted file mode 100644 index 32bca1f..0000000 --- a/src/main/java/io/rancher/type/RackspaceConfig.java +++ /dev/null @@ -1,97 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; - -public class RackspaceConfig extends AbstractType { - - private String apiKey; - - private String dockerInstall; - - private String endpointType; - - private String flavorId; - - private String imageId; - - private String region; - - private String sshPort; - - private String sshUser; - - private String username; - - public String getApiKey() { - return this.apiKey; - } - - public void setApiKey(String apiKey) { - this.apiKey = apiKey; - } - - public String getDockerInstall() { - return this.dockerInstall; - } - - public void setDockerInstall(String dockerInstall) { - this.dockerInstall = dockerInstall; - } - - public String getEndpointType() { - return this.endpointType; - } - - public void setEndpointType(String endpointType) { - this.endpointType = endpointType; - } - - public String getFlavorId() { - return this.flavorId; - } - - public void setFlavorId(String flavorId) { - this.flavorId = flavorId; - } - - public String getImageId() { - return this.imageId; - } - - public void setImageId(String imageId) { - this.imageId = imageId; - } - - public String getRegion() { - return this.region; - } - - public void setRegion(String region) { - this.region = region; - } - - public String getSshPort() { - return this.sshPort; - } - - public void setSshPort(String sshPort) { - this.sshPort = sshPort; - } - - public String getSshUser() { - return this.sshUser; - } - - public void setSshUser(String sshUser) { - this.sshUser = sshUser; - } - - public String getUsername() { - return this.username; - } - - public void setUsername(String username) { - this.username = username; - } - -} diff --git a/src/main/java/io/rancher/type/Register.java b/src/main/java/io/rancher/type/Register.java index 6333f41..bec2f25 100644 --- a/src/main/java/io/rancher/type/Register.java +++ b/src/main/java/io/rancher/type/Register.java @@ -25,6 +25,8 @@ public class Register extends AbstractType { private String removed; + private Map resourceData; + private String secretKey; private String state; @@ -117,6 +119,14 @@ public void setRemoved(String removed) { this.removed = removed; } + public Map getResourceData() { + return this.resourceData; + } + + public void setResourceData(Map resourceData) { + this.resourceData = resourceData; + } + public String getSecretKey() { return this.secretKey; } diff --git a/src/main/java/io/rancher/type/RegistryCredential.java b/src/main/java/io/rancher/type/RegistryCredential.java index d2adda8..549c22c 100644 --- a/src/main/java/io/rancher/type/RegistryCredential.java +++ b/src/main/java/io/rancher/type/RegistryCredential.java @@ -13,8 +13,6 @@ public class RegistryCredential extends AbstractType { private String description; - private String email; - private String kind; private String name; @@ -71,14 +69,6 @@ public void setDescription(String description) { this.description = description; } - public String getEmail() { - return this.email; - } - - public void setEmail(String email) { - this.email = email; - } - public String getKind() { return this.kind; } diff --git a/src/main/java/io/rancher/type/ScheduledUpgrade.java b/src/main/java/io/rancher/type/ScheduledUpgrade.java new file mode 100644 index 0000000..f4ed70a --- /dev/null +++ b/src/main/java/io/rancher/type/ScheduledUpgrade.java @@ -0,0 +1,138 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.Map; + +public class ScheduledUpgrade extends AbstractType { + + private String accountId; + + private String created; + + private Map data; + + private String kind; + + private String removeTime; + + private String removed; + + private String stackId; + + private String started; + + private String state; + + private String transitioning; + + private String transitioningMessage; + + private Integer transitioningProgress; + + private String uuid; + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public String getCreated() { + return this.created; + } + + public void setCreated(String created) { + this.created = created; + } + + public Map getData() { + return this.data; + } + + public void setData(Map data) { + this.data = data; + } + + public String getKind() { + return this.kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public String getRemoveTime() { + return this.removeTime; + } + + public void setRemoveTime(String removeTime) { + this.removeTime = removeTime; + } + + public String getRemoved() { + return this.removed; + } + + public void setRemoved(String removed) { + this.removed = removed; + } + + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + + public String getStarted() { + return this.started; + } + + public void setStarted(String started) { + this.started = started; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public String getTransitioning() { + return this.transitioning; + } + + public void setTransitioning(String transitioning) { + this.transitioning = transitioning; + } + + public String getTransitioningMessage() { + return this.transitioningMessage; + } + + public void setTransitioningMessage(String transitioningMessage) { + this.transitioningMessage = transitioningMessage; + } + + public Integer getTransitioningProgress() { + return this.transitioningProgress; + } + + public void setTransitioningProgress(Integer transitioningProgress) { + this.transitioningProgress = transitioningProgress; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + +} diff --git a/src/main/java/io/rancher/type/SecondaryLaunchConfig.java b/src/main/java/io/rancher/type/SecondaryLaunchConfig.java index af3f3ae..3f6058c 100644 --- a/src/main/java/io/rancher/type/SecondaryLaunchConfig.java +++ b/src/main/java/io/rancher/type/SecondaryLaunchConfig.java @@ -14,18 +14,32 @@ public class SecondaryLaunchConfig extends AbstractType { private Map blkioDeviceOptions; + private Integer blkioWeight; + private DockerBuild build; private List capAdd; private List capDrop; + private String cgroupParent; + private List command; private Integer count; + private Integer cpuCount; + + private Integer cpuPercent; + + private Integer cpuPeriod; + + private Integer cpuQuota; + private String cpuSet; + private String cpuSetMems; + private Integer cpuShares; private Integer createIndex; @@ -48,10 +62,14 @@ public class SecondaryLaunchConfig extends AbstractType { private List devices; + private Integer diskQuota; + private List disks; private List dns; + private List dnsOpt; + private List dnsSearch; private String domainName; @@ -68,10 +86,20 @@ public class SecondaryLaunchConfig extends AbstractType { private String firstRunning; + private List groupAdd; + private InstanceHealthCheck healthCheck; + private List healthCmd; + + private Integer healthInterval; + + private Integer healthRetries; + private String healthState; + private Integer healthTimeout; + private String hostId; private String hostname; @@ -80,6 +108,22 @@ public class SecondaryLaunchConfig extends AbstractType { private Map instanceLinks; + private String instanceTriggeredStop; + + private Integer ioMaximumBandwidth; + + private Integer ioMaximumIOps; + + private String ip; + + private String ip6; + + private String ipcMode; + + private String isolation; + + private Integer kernelMemory; + private String kind; private Map labels; @@ -92,12 +136,22 @@ public class SecondaryLaunchConfig extends AbstractType { private Integer memoryMb; + private Integer memoryReservation; + private Integer memorySwap; + private Integer memorySwappiness; + + private Integer milliCpuReservation; + + private List mounts; + private String name; private Boolean nativeContainer; + private List netAlias; + private String networkContainerId; private List networkIds; @@ -106,12 +160,20 @@ public class SecondaryLaunchConfig extends AbstractType { private String networkMode; + private Boolean oomKillDisable; + + private Integer oomScoreAdj; + private String pidMode; + private Integer pidsLimit; + private List ports; private String primaryIpAddress; + private String primaryNetworkId; + private Boolean privileged; private Boolean publishAllPorts; @@ -128,8 +190,20 @@ public class SecondaryLaunchConfig extends AbstractType { private String requestedIpAddress; + private Boolean runInit; + + private List secrets; + private List securityOpt; + private String serviceId; + + private List serviceIds; + + private Integer shmSize; + + private String stackId; + private Integer startCount; private Boolean startOnCreate; @@ -138,7 +212,15 @@ public class SecondaryLaunchConfig extends AbstractType { private Boolean stdinOpen; - private String systemContainer; + private String stopSignal; + + private Map storageOpt; + + private Map sysctls; + + private Boolean system; + + private Map tmpfs; private String token; @@ -150,10 +232,18 @@ public class SecondaryLaunchConfig extends AbstractType { private Boolean tty; + private List ulimits; + private String user; + private List userPorts; + private String userdata; + private String usernsMode; + + private String uts; + private String uuid; private Integer vcpu; @@ -196,6 +286,14 @@ public void setBlkioDeviceOptions(Map blkioDeviceOptions) { this.blkioDeviceOptions = blkioDeviceOptions; } + public Integer getBlkioWeight() { + return this.blkioWeight; + } + + public void setBlkioWeight(Integer blkioWeight) { + this.blkioWeight = blkioWeight; + } + public DockerBuild getBuild() { return this.build; } @@ -220,6 +318,14 @@ public void setCapDrop(List capDrop) { this.capDrop = capDrop; } + public String getCgroupParent() { + return this.cgroupParent; + } + + public void setCgroupParent(String cgroupParent) { + this.cgroupParent = cgroupParent; + } + public List getCommand() { return this.command; } @@ -236,6 +342,38 @@ public void setCount(Integer count) { this.count = count; } + public Integer getCpuCount() { + return this.cpuCount; + } + + public void setCpuCount(Integer cpuCount) { + this.cpuCount = cpuCount; + } + + public Integer getCpuPercent() { + return this.cpuPercent; + } + + public void setCpuPercent(Integer cpuPercent) { + this.cpuPercent = cpuPercent; + } + + public Integer getCpuPeriod() { + return this.cpuPeriod; + } + + public void setCpuPeriod(Integer cpuPeriod) { + this.cpuPeriod = cpuPeriod; + } + + public Integer getCpuQuota() { + return this.cpuQuota; + } + + public void setCpuQuota(Integer cpuQuota) { + this.cpuQuota = cpuQuota; + } + public String getCpuSet() { return this.cpuSet; } @@ -244,6 +382,14 @@ public void setCpuSet(String cpuSet) { this.cpuSet = cpuSet; } + public String getCpuSetMems() { + return this.cpuSetMems; + } + + public void setCpuSetMems(String cpuSetMems) { + this.cpuSetMems = cpuSetMems; + } + public Integer getCpuShares() { return this.cpuShares; } @@ -332,6 +478,14 @@ public void setDevices(List devices) { this.devices = devices; } + public Integer getDiskQuota() { + return this.diskQuota; + } + + public void setDiskQuota(Integer diskQuota) { + this.diskQuota = diskQuota; + } + public List getDisks() { return this.disks; } @@ -348,6 +502,14 @@ public void setDns(List dns) { this.dns = dns; } + public List getDnsOpt() { + return this.dnsOpt; + } + + public void setDnsOpt(List dnsOpt) { + this.dnsOpt = dnsOpt; + } + public List getDnsSearch() { return this.dnsSearch; } @@ -412,6 +574,14 @@ public void setFirstRunning(String firstRunning) { this.firstRunning = firstRunning; } + public List getGroupAdd() { + return this.groupAdd; + } + + public void setGroupAdd(List groupAdd) { + this.groupAdd = groupAdd; + } + public InstanceHealthCheck getHealthCheck() { return this.healthCheck; } @@ -420,6 +590,30 @@ public void setHealthCheck(InstanceHealthCheck healthCheck) { this.healthCheck = healthCheck; } + public List getHealthCmd() { + return this.healthCmd; + } + + public void setHealthCmd(List healthCmd) { + this.healthCmd = healthCmd; + } + + public Integer getHealthInterval() { + return this.healthInterval; + } + + public void setHealthInterval(Integer healthInterval) { + this.healthInterval = healthInterval; + } + + public Integer getHealthRetries() { + return this.healthRetries; + } + + public void setHealthRetries(Integer healthRetries) { + this.healthRetries = healthRetries; + } + public String getHealthState() { return this.healthState; } @@ -428,6 +622,14 @@ public void setHealthState(String healthState) { this.healthState = healthState; } + public Integer getHealthTimeout() { + return this.healthTimeout; + } + + public void setHealthTimeout(Integer healthTimeout) { + this.healthTimeout = healthTimeout; + } + public String getHostId() { return this.hostId; } @@ -460,6 +662,70 @@ public void setInstanceLinks(Map instanceLinks) { this.instanceLinks = instanceLinks; } + public String getInstanceTriggeredStop() { + return this.instanceTriggeredStop; + } + + public void setInstanceTriggeredStop(String instanceTriggeredStop) { + this.instanceTriggeredStop = instanceTriggeredStop; + } + + public Integer getIoMaximumBandwidth() { + return this.ioMaximumBandwidth; + } + + public void setIoMaximumBandwidth(Integer ioMaximumBandwidth) { + this.ioMaximumBandwidth = ioMaximumBandwidth; + } + + public Integer getIoMaximumIOps() { + return this.ioMaximumIOps; + } + + public void setIoMaximumIOps(Integer ioMaximumIOps) { + this.ioMaximumIOps = ioMaximumIOps; + } + + public String getIp() { + return this.ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public String getIp6() { + return this.ip6; + } + + public void setIp6(String ip6) { + this.ip6 = ip6; + } + + public String getIpcMode() { + return this.ipcMode; + } + + public void setIpcMode(String ipcMode) { + this.ipcMode = ipcMode; + } + + public String getIsolation() { + return this.isolation; + } + + public void setIsolation(String isolation) { + this.isolation = isolation; + } + + public Integer getKernelMemory() { + return this.kernelMemory; + } + + public void setKernelMemory(Integer kernelMemory) { + this.kernelMemory = kernelMemory; + } + public String getKind() { return this.kind; } @@ -508,6 +774,14 @@ public void setMemoryMb(Integer memoryMb) { this.memoryMb = memoryMb; } + public Integer getMemoryReservation() { + return this.memoryReservation; + } + + public void setMemoryReservation(Integer memoryReservation) { + this.memoryReservation = memoryReservation; + } + public Integer getMemorySwap() { return this.memorySwap; } @@ -516,6 +790,30 @@ public void setMemorySwap(Integer memorySwap) { this.memorySwap = memorySwap; } + public Integer getMemorySwappiness() { + return this.memorySwappiness; + } + + public void setMemorySwappiness(Integer memorySwappiness) { + this.memorySwappiness = memorySwappiness; + } + + public Integer getMilliCpuReservation() { + return this.milliCpuReservation; + } + + public void setMilliCpuReservation(Integer milliCpuReservation) { + this.milliCpuReservation = milliCpuReservation; + } + + public List getMounts() { + return this.mounts; + } + + public void setMounts(List mounts) { + this.mounts = mounts; + } + public String getName() { return this.name; } @@ -532,6 +830,14 @@ public void setNativeContainer(Boolean nativeContainer) { this.nativeContainer = nativeContainer; } + public List getNetAlias() { + return this.netAlias; + } + + public void setNetAlias(List netAlias) { + this.netAlias = netAlias; + } + public String getNetworkContainerId() { return this.networkContainerId; } @@ -564,6 +870,22 @@ public void setNetworkMode(String networkMode) { this.networkMode = networkMode; } + public Boolean getOomKillDisable() { + return this.oomKillDisable; + } + + public void setOomKillDisable(Boolean oomKillDisable) { + this.oomKillDisable = oomKillDisable; + } + + public Integer getOomScoreAdj() { + return this.oomScoreAdj; + } + + public void setOomScoreAdj(Integer oomScoreAdj) { + this.oomScoreAdj = oomScoreAdj; + } + public String getPidMode() { return this.pidMode; } @@ -572,6 +894,14 @@ public void setPidMode(String pidMode) { this.pidMode = pidMode; } + public Integer getPidsLimit() { + return this.pidsLimit; + } + + public void setPidsLimit(Integer pidsLimit) { + this.pidsLimit = pidsLimit; + } + public List getPorts() { return this.ports; } @@ -588,6 +918,14 @@ public void setPrimaryIpAddress(String primaryIpAddress) { this.primaryIpAddress = primaryIpAddress; } + public String getPrimaryNetworkId() { + return this.primaryNetworkId; + } + + public void setPrimaryNetworkId(String primaryNetworkId) { + this.primaryNetworkId = primaryNetworkId; + } + public Boolean getPrivileged() { return this.privileged; } @@ -652,6 +990,22 @@ public void setRequestedIpAddress(String requestedIpAddress) { this.requestedIpAddress = requestedIpAddress; } + public Boolean getRunInit() { + return this.runInit; + } + + public void setRunInit(Boolean runInit) { + this.runInit = runInit; + } + + public List getSecrets() { + return this.secrets; + } + + public void setSecrets(List secrets) { + this.secrets = secrets; + } + public List getSecurityOpt() { return this.securityOpt; } @@ -660,6 +1014,38 @@ public void setSecurityOpt(List securityOpt) { this.securityOpt = securityOpt; } + public String getServiceId() { + return this.serviceId; + } + + public void setServiceId(String serviceId) { + this.serviceId = serviceId; + } + + public List getServiceIds() { + return this.serviceIds; + } + + public void setServiceIds(List serviceIds) { + this.serviceIds = serviceIds; + } + + public Integer getShmSize() { + return this.shmSize; + } + + public void setShmSize(Integer shmSize) { + this.shmSize = shmSize; + } + + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + public Integer getStartCount() { return this.startCount; } @@ -692,12 +1078,44 @@ public void setStdinOpen(Boolean stdinOpen) { this.stdinOpen = stdinOpen; } - public String getSystemContainer() { - return this.systemContainer; + public String getStopSignal() { + return this.stopSignal; + } + + public void setStopSignal(String stopSignal) { + this.stopSignal = stopSignal; + } + + public Map getStorageOpt() { + return this.storageOpt; } - public void setSystemContainer(String systemContainer) { - this.systemContainer = systemContainer; + public void setStorageOpt(Map storageOpt) { + this.storageOpt = storageOpt; + } + + public Map getSysctls() { + return this.sysctls; + } + + public void setSysctls(Map sysctls) { + this.sysctls = sysctls; + } + + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + + public Map getTmpfs() { + return this.tmpfs; + } + + public void setTmpfs(Map tmpfs) { + this.tmpfs = tmpfs; } public String getToken() { @@ -740,6 +1158,14 @@ public void setTty(Boolean tty) { this.tty = tty; } + public List getUlimits() { + return this.ulimits; + } + + public void setUlimits(List ulimits) { + this.ulimits = ulimits; + } + public String getUser() { return this.user; } @@ -748,6 +1174,14 @@ public void setUser(String user) { this.user = user; } + public List getUserPorts() { + return this.userPorts; + } + + public void setUserPorts(List userPorts) { + this.userPorts = userPorts; + } + public String getUserdata() { return this.userdata; } @@ -756,6 +1190,22 @@ public void setUserdata(String userdata) { this.userdata = userdata; } + public String getUsernsMode() { + return this.usernsMode; + } + + public void setUsernsMode(String usernsMode) { + this.usernsMode = usernsMode; + } + + public String getUts() { + return this.uts; + } + + public void setUts(String uts) { + this.uts = uts; + } + public String getUuid() { return this.uuid; } diff --git a/src/main/java/io/rancher/type/Secret.java b/src/main/java/io/rancher/type/Secret.java new file mode 100644 index 0000000..8e9344b --- /dev/null +++ b/src/main/java/io/rancher/type/Secret.java @@ -0,0 +1,148 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.Map; + +public class Secret extends AbstractType { + + private String accountId; + + private String created; + + private Map data; + + private String description; + + private String kind; + + private String name; + + private String removeTime; + + private String removed; + + private String state; + + private String transitioning; + + private String transitioningMessage; + + private Integer transitioningProgress; + + private String uuid; + + private String value; + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public String getCreated() { + return this.created; + } + + public void setCreated(String created) { + this.created = created; + } + + public Map getData() { + return this.data; + } + + public void setData(Map data) { + this.data = data; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getKind() { + return this.kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getRemoveTime() { + return this.removeTime; + } + + public void setRemoveTime(String removeTime) { + this.removeTime = removeTime; + } + + public String getRemoved() { + return this.removed; + } + + public void setRemoved(String removed) { + this.removed = removed; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public String getTransitioning() { + return this.transitioning; + } + + public void setTransitioning(String transitioning) { + this.transitioning = transitioning; + } + + public String getTransitioningMessage() { + return this.transitioningMessage; + } + + public void setTransitioningMessage(String transitioningMessage) { + this.transitioningMessage = transitioningMessage; + } + + public Integer getTransitioningProgress() { + return this.transitioningProgress; + } + + public void setTransitioningProgress(Integer transitioningProgress) { + this.transitioningProgress = transitioningProgress; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/io/rancher/type/SecretReference.java b/src/main/java/io/rancher/type/SecretReference.java new file mode 100644 index 0000000..c40dbc2 --- /dev/null +++ b/src/main/java/io/rancher/type/SecretReference.java @@ -0,0 +1,57 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; + +public class SecretReference extends AbstractType { + + private String gid; + + private String mode; + + private String name; + + private String secretId; + + private String uid; + + public String getGid() { + return this.gid; + } + + public void setGid(String gid) { + this.gid = gid; + } + + public String getMode() { + return this.mode; + } + + public void setMode(String mode) { + this.mode = mode; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getSecretId() { + return this.secretId; + } + + public void setSecretId(String secretId) { + this.secretId = secretId; + } + + public String getUid() { + return this.uid; + } + + public void setUid(String uid) { + this.uid = uid; + } + +} diff --git a/src/main/java/io/rancher/type/Service.java b/src/main/java/io/rancher/type/Service.java index 4909cc3..f59b22f 100644 --- a/src/main/java/io/rancher/type/Service.java +++ b/src/main/java/io/rancher/type/Service.java @@ -1,8 +1,8 @@ package io.rancher.type; import io.rancher.base.AbstractType; -import java.util.Map; import java.util.List; +import java.util.Map; public class Service extends AbstractType { @@ -20,18 +20,22 @@ public class Service extends AbstractType { private String description; - private String environmentId; - private String externalId; private String fqdn; private String healthState; + private List instanceIds; + private String kind; private LaunchConfig launchConfig; + private LbTargetConfig lbConfig; + + private Map linkedServices; + private Map metadata; private String name; @@ -54,10 +58,14 @@ public class Service extends AbstractType { private String selectorLink; + private String stackId; + private Boolean startOnCreate; private String state; + private Boolean system; + private String transitioning; private String transitioningMessage; @@ -126,14 +134,6 @@ public void setDescription(String description) { this.description = description; } - public String getEnvironmentId() { - return this.environmentId; - } - - public void setEnvironmentId(String environmentId) { - this.environmentId = environmentId; - } - public String getExternalId() { return this.externalId; } @@ -158,6 +158,14 @@ public void setHealthState(String healthState) { this.healthState = healthState; } + public List getInstanceIds() { + return this.instanceIds; + } + + public void setInstanceIds(List instanceIds) { + this.instanceIds = instanceIds; + } + public String getKind() { return this.kind; } @@ -174,6 +182,22 @@ public void setLaunchConfig(LaunchConfig launchConfig) { this.launchConfig = launchConfig; } + public LbTargetConfig getLbConfig() { + return this.lbConfig; + } + + public void setLbConfig(LbTargetConfig lbConfig) { + this.lbConfig = lbConfig; + } + + public Map getLinkedServices() { + return this.linkedServices; + } + + public void setLinkedServices(Map linkedServices) { + this.linkedServices = linkedServices; + } + public Map getMetadata() { return this.metadata; } @@ -262,6 +286,14 @@ public void setSelectorLink(String selectorLink) { this.selectorLink = selectorLink; } + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + public Boolean getStartOnCreate() { return this.startOnCreate; } @@ -278,6 +310,14 @@ public void setState(String state) { this.state = state; } + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + public String getTransitioning() { return this.transitioning; } diff --git a/src/main/java/io/rancher/type/SetLabelsInput.java b/src/main/java/io/rancher/type/ServiceBinding.java similarity index 54% rename from src/main/java/io/rancher/type/SetLabelsInput.java rename to src/main/java/io/rancher/type/ServiceBinding.java index f8caa7a..1dec869 100644 --- a/src/main/java/io/rancher/type/SetLabelsInput.java +++ b/src/main/java/io/rancher/type/ServiceBinding.java @@ -2,11 +2,14 @@ import io.rancher.base.AbstractType; import java.util.Map; +import java.util.List; -public class SetLabelsInput extends AbstractType { +public class ServiceBinding extends AbstractType { private Map labels; + private List ports; + public Map getLabels() { return this.labels; } @@ -15,4 +18,12 @@ public void setLabels(Map labels) { this.labels = labels; } + public List getPorts() { + return this.ports; + } + + public void setPorts(List ports) { + this.ports = ports; + } + } diff --git a/src/main/java/io/rancher/type/ServiceConsumeMap.java b/src/main/java/io/rancher/type/ServiceConsumeMap.java index 1cd6077..0360b5f 100644 --- a/src/main/java/io/rancher/type/ServiceConsumeMap.java +++ b/src/main/java/io/rancher/type/ServiceConsumeMap.java @@ -1,8 +1,8 @@ package io.rancher.type; import io.rancher.base.AbstractType; -import java.util.List; import java.util.Map; +import java.util.List; public class ServiceConsumeMap extends AbstractType { diff --git a/src/main/java/io/rancher/type/ServiceLog.java b/src/main/java/io/rancher/type/ServiceLog.java new file mode 100644 index 0000000..8a04d7c --- /dev/null +++ b/src/main/java/io/rancher/type/ServiceLog.java @@ -0,0 +1,128 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.Map; + +public class ServiceLog extends AbstractType { + + private String accountId; + + private String created; + + private Map data; + + private String description; + + private String endTime; + + private String eventType; + + private String instanceId; + + private String kind; + + private String level; + + private String serviceId; + + private Boolean subLog; + + private String transactionId; + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public String getCreated() { + return this.created; + } + + public void setCreated(String created) { + this.created = created; + } + + public Map getData() { + return this.data; + } + + public void setData(Map data) { + this.data = data; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public String getEventType() { + return this.eventType; + } + + public void setEventType(String eventType) { + this.eventType = eventType; + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public String getKind() { + return this.kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public String getLevel() { + return this.level; + } + + public void setLevel(String level) { + this.level = level; + } + + public String getServiceId() { + return this.serviceId; + } + + public void setServiceId(String serviceId) { + this.serviceId = serviceId; + } + + public Boolean getSubLog() { + return this.subLog; + } + + public void setSubLog(Boolean subLog) { + this.subLog = subLog; + } + + public String getTransactionId() { + return this.transactionId; + } + + public void setTransactionId(String transactionId) { + this.transactionId = transactionId; + } + +} diff --git a/src/main/java/io/rancher/type/SetLoadBalancerServiceLinksInput.java b/src/main/java/io/rancher/type/SetLoadBalancerServiceLinksInput.java deleted file mode 100644 index 47509c5..0000000 --- a/src/main/java/io/rancher/type/SetLoadBalancerServiceLinksInput.java +++ /dev/null @@ -1,18 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; -import java.util.List; - -public class SetLoadBalancerServiceLinksInput extends AbstractType { - - private List serviceLinks; - - public List getServiceLinks() { - return this.serviceLinks; - } - - public void setServiceLinks(List serviceLinks) { - this.serviceLinks = serviceLinks; - } - -} diff --git a/src/main/java/io/rancher/type/SoftlayerConfig.java b/src/main/java/io/rancher/type/SoftlayerConfig.java deleted file mode 100644 index ba369ef..0000000 --- a/src/main/java/io/rancher/type/SoftlayerConfig.java +++ /dev/null @@ -1,157 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; - -public class SoftlayerConfig extends AbstractType { - - private String apiEndpoint; - - private String apiKey; - - private String cpu; - - private String diskSize; - - private String domain; - - private String hostname; - - private Boolean hourlyBilling; - - private String image; - - private Boolean localDisk; - - private String memory; - - private Boolean privateNetOnly; - - private String privateVlanId; - - private String publicVlanId; - - private String region; - - private String user; - - public String getApiEndpoint() { - return this.apiEndpoint; - } - - public void setApiEndpoint(String apiEndpoint) { - this.apiEndpoint = apiEndpoint; - } - - public String getApiKey() { - return this.apiKey; - } - - public void setApiKey(String apiKey) { - this.apiKey = apiKey; - } - - public String getCpu() { - return this.cpu; - } - - public void setCpu(String cpu) { - this.cpu = cpu; - } - - public String getDiskSize() { - return this.diskSize; - } - - public void setDiskSize(String diskSize) { - this.diskSize = diskSize; - } - - public String getDomain() { - return this.domain; - } - - public void setDomain(String domain) { - this.domain = domain; - } - - public String getHostname() { - return this.hostname; - } - - public void setHostname(String hostname) { - this.hostname = hostname; - } - - public Boolean getHourlyBilling() { - return this.hourlyBilling; - } - - public void setHourlyBilling(Boolean hourlyBilling) { - this.hourlyBilling = hourlyBilling; - } - - public String getImage() { - return this.image; - } - - public void setImage(String image) { - this.image = image; - } - - public Boolean getLocalDisk() { - return this.localDisk; - } - - public void setLocalDisk(Boolean localDisk) { - this.localDisk = localDisk; - } - - public String getMemory() { - return this.memory; - } - - public void setMemory(String memory) { - this.memory = memory; - } - - public Boolean getPrivateNetOnly() { - return this.privateNetOnly; - } - - public void setPrivateNetOnly(Boolean privateNetOnly) { - this.privateNetOnly = privateNetOnly; - } - - public String getPrivateVlanId() { - return this.privateVlanId; - } - - public void setPrivateVlanId(String privateVlanId) { - this.privateVlanId = privateVlanId; - } - - public String getPublicVlanId() { - return this.publicVlanId; - } - - public void setPublicVlanId(String publicVlanId) { - this.publicVlanId = publicVlanId; - } - - public String getRegion() { - return this.region; - } - - public void setRegion(String region) { - this.region = region; - } - - public String getUser() { - return this.user; - } - - public void setUser(String user) { - this.user = user; - } - -} diff --git a/src/main/java/io/rancher/type/Environment.java b/src/main/java/io/rancher/type/Stack.java similarity index 79% rename from src/main/java/io/rancher/type/Environment.java rename to src/main/java/io/rancher/type/Stack.java index c9626c4..0d09723 100644 --- a/src/main/java/io/rancher/type/Environment.java +++ b/src/main/java/io/rancher/type/Stack.java @@ -2,11 +2,16 @@ import io.rancher.base.AbstractType; import java.util.Map; +import java.util.List; -public class Environment extends AbstractType { +public class Stack extends AbstractType { private String accountId; + private Map answers; + + private Binding binding; + private String created; private Map data; @@ -19,6 +24,8 @@ public class Environment extends AbstractType { private String externalId; + private String group; + private String healthState; private String kind; @@ -37,10 +44,16 @@ public class Environment extends AbstractType { private String removed; + private List serviceIds; + private Boolean startOnCreate; private String state; + private Boolean system; + + private Map templates; + private String transitioning; private String transitioningMessage; @@ -57,6 +70,22 @@ public void setAccountId(String accountId) { this.accountId = accountId; } + public Map getAnswers() { + return this.answers; + } + + public void setAnswers(Map answers) { + this.answers = answers; + } + + public Binding getBinding() { + return this.binding; + } + + public void setBinding(Binding binding) { + this.binding = binding; + } + public String getCreated() { return this.created; } @@ -105,6 +134,14 @@ public void setExternalId(String externalId) { this.externalId = externalId; } + public String getGroup() { + return this.group; + } + + public void setGroup(String group) { + this.group = group; + } + public String getHealthState() { return this.healthState; } @@ -177,6 +214,14 @@ public void setRemoved(String removed) { this.removed = removed; } + public List getServiceIds() { + return this.serviceIds; + } + + public void setServiceIds(List serviceIds) { + this.serviceIds = serviceIds; + } + public Boolean getStartOnCreate() { return this.startOnCreate; } @@ -193,6 +238,22 @@ public void setState(String state) { this.state = state; } + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + + public Map getTemplates() { + return this.templates; + } + + public void setTemplates(Map templates) { + this.templates = templates; + } + public String getTransitioning() { return this.transitioning; } diff --git a/src/main/java/io/rancher/type/EnvironmentUpgrade.java b/src/main/java/io/rancher/type/StackUpgrade.java similarity index 66% rename from src/main/java/io/rancher/type/EnvironmentUpgrade.java rename to src/main/java/io/rancher/type/StackUpgrade.java index 0dfe4d8..3866bb0 100644 --- a/src/main/java/io/rancher/type/EnvironmentUpgrade.java +++ b/src/main/java/io/rancher/type/StackUpgrade.java @@ -3,7 +3,9 @@ import io.rancher.base.AbstractType; import java.util.Map; -public class EnvironmentUpgrade extends AbstractType { +public class StackUpgrade extends AbstractType { + + private Map answers; private String dockerCompose; @@ -13,6 +15,16 @@ public class EnvironmentUpgrade extends AbstractType { private String rancherCompose; + private Map templates; + + public Map getAnswers() { + return this.answers; + } + + public void setAnswers(Map answers) { + this.answers = answers; + } + public String getDockerCompose() { return this.dockerCompose; } @@ -45,4 +57,12 @@ public void setRancherCompose(String rancherCompose) { this.rancherCompose = rancherCompose; } + public Map getTemplates() { + return this.templates; + } + + public void setTemplates(Map templates) { + this.templates = templates; + } + } diff --git a/src/main/java/io/rancher/type/StorageDriver.java b/src/main/java/io/rancher/type/StorageDriver.java new file mode 100644 index 0000000..1ff5d65 --- /dev/null +++ b/src/main/java/io/rancher/type/StorageDriver.java @@ -0,0 +1,189 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.List; +import java.util.Map; + +public class StorageDriver extends AbstractType { + + private String accountId; + + private String blockDevicePath; + + private String created; + + private Map data; + + private String description; + + private String kind; + + private String name; + + private String removeTime; + + private String removed; + + private String scope; + + private String serviceId; + + private String state; + + private String transitioning; + + private String transitioningMessage; + + private Integer transitioningProgress; + + private String uuid; + + private String volumeAccessMode; + + private List volumeCapabilities; + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public String getBlockDevicePath() { + return this.blockDevicePath; + } + + public void setBlockDevicePath(String blockDevicePath) { + this.blockDevicePath = blockDevicePath; + } + + public String getCreated() { + return this.created; + } + + public void setCreated(String created) { + this.created = created; + } + + public Map getData() { + return this.data; + } + + public void setData(Map data) { + this.data = data; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getKind() { + return this.kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getRemoveTime() { + return this.removeTime; + } + + public void setRemoveTime(String removeTime) { + this.removeTime = removeTime; + } + + public String getRemoved() { + return this.removed; + } + + public void setRemoved(String removed) { + this.removed = removed; + } + + public String getScope() { + return this.scope; + } + + public void setScope(String scope) { + this.scope = scope; + } + + public String getServiceId() { + return this.serviceId; + } + + public void setServiceId(String serviceId) { + this.serviceId = serviceId; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public String getTransitioning() { + return this.transitioning; + } + + public void setTransitioning(String transitioning) { + this.transitioning = transitioning; + } + + public String getTransitioningMessage() { + return this.transitioningMessage; + } + + public void setTransitioningMessage(String transitioningMessage) { + this.transitioningMessage = transitioningMessage; + } + + public Integer getTransitioningProgress() { + return this.transitioningProgress; + } + + public void setTransitioningProgress(Integer transitioningProgress) { + this.transitioningProgress = transitioningProgress; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + + public String getVolumeAccessMode() { + return this.volumeAccessMode; + } + + public void setVolumeAccessMode(String volumeAccessMode) { + this.volumeAccessMode = volumeAccessMode; + } + + public List getVolumeCapabilities() { + return this.volumeCapabilities; + } + + public void setVolumeCapabilities(List volumeCapabilities) { + this.volumeCapabilities = volumeCapabilities; + } + +} diff --git a/src/main/java/io/rancher/type/StorageDriverService.java b/src/main/java/io/rancher/type/StorageDriverService.java new file mode 100644 index 0000000..a285dee --- /dev/null +++ b/src/main/java/io/rancher/type/StorageDriverService.java @@ -0,0 +1,379 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.Map; +import java.util.List; + +public class StorageDriverService extends AbstractType { + + private String accountId; + + private Boolean assignServiceIpAddress; + + private Integer createIndex; + + private String created; + + private Integer currentScale; + + private Map data; + + private String description; + + private String externalId; + + private String fqdn; + + private String healthState; + + private List instanceIds; + + private String kind; + + private LaunchConfig launchConfig; + + private LbTargetConfig lbConfig; + + private Map linkedServices; + + private Map metadata; + + private String name; + + private List publicEndpoints; + + private String removeTime; + + private String removed; + + private Boolean retainIp; + + private Integer scale; + + private ScalePolicy scalePolicy; + + private List secondaryLaunchConfigs; + + private String selectorContainer; + + private String selectorLink; + + private String stackId; + + private Boolean startOnCreate; + + private String state; + + private StorageDriver storageDriver; + + private Boolean system; + + private String transitioning; + + private String transitioningMessage; + + private Integer transitioningProgress; + + private ServiceUpgrade upgrade; + + private String uuid; + + private String vip; + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public Boolean getAssignServiceIpAddress() { + return this.assignServiceIpAddress; + } + + public void setAssignServiceIpAddress(Boolean assignServiceIpAddress) { + this.assignServiceIpAddress = assignServiceIpAddress; + } + + public Integer getCreateIndex() { + return this.createIndex; + } + + public void setCreateIndex(Integer createIndex) { + this.createIndex = createIndex; + } + + public String getCreated() { + return this.created; + } + + public void setCreated(String created) { + this.created = created; + } + + public Integer getCurrentScale() { + return this.currentScale; + } + + public void setCurrentScale(Integer currentScale) { + this.currentScale = currentScale; + } + + public Map getData() { + return this.data; + } + + public void setData(Map data) { + this.data = data; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getExternalId() { + return this.externalId; + } + + public void setExternalId(String externalId) { + this.externalId = externalId; + } + + public String getFqdn() { + return this.fqdn; + } + + public void setFqdn(String fqdn) { + this.fqdn = fqdn; + } + + public String getHealthState() { + return this.healthState; + } + + public void setHealthState(String healthState) { + this.healthState = healthState; + } + + public List getInstanceIds() { + return this.instanceIds; + } + + public void setInstanceIds(List instanceIds) { + this.instanceIds = instanceIds; + } + + public String getKind() { + return this.kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public LaunchConfig getLaunchConfig() { + return this.launchConfig; + } + + public void setLaunchConfig(LaunchConfig launchConfig) { + this.launchConfig = launchConfig; + } + + public LbTargetConfig getLbConfig() { + return this.lbConfig; + } + + public void setLbConfig(LbTargetConfig lbConfig) { + this.lbConfig = lbConfig; + } + + public Map getLinkedServices() { + return this.linkedServices; + } + + public void setLinkedServices(Map linkedServices) { + this.linkedServices = linkedServices; + } + + public Map getMetadata() { + return this.metadata; + } + + public void setMetadata(Map metadata) { + this.metadata = metadata; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public List getPublicEndpoints() { + return this.publicEndpoints; + } + + public void setPublicEndpoints(List publicEndpoints) { + this.publicEndpoints = publicEndpoints; + } + + public String getRemoveTime() { + return this.removeTime; + } + + public void setRemoveTime(String removeTime) { + this.removeTime = removeTime; + } + + public String getRemoved() { + return this.removed; + } + + public void setRemoved(String removed) { + this.removed = removed; + } + + public Boolean getRetainIp() { + return this.retainIp; + } + + public void setRetainIp(Boolean retainIp) { + this.retainIp = retainIp; + } + + public Integer getScale() { + return this.scale; + } + + public void setScale(Integer scale) { + this.scale = scale; + } + + public ScalePolicy getScalePolicy() { + return this.scalePolicy; + } + + public void setScalePolicy(ScalePolicy scalePolicy) { + this.scalePolicy = scalePolicy; + } + + public List getSecondaryLaunchConfigs() { + return this.secondaryLaunchConfigs; + } + + public void setSecondaryLaunchConfigs(List secondaryLaunchConfigs) { + this.secondaryLaunchConfigs = secondaryLaunchConfigs; + } + + public String getSelectorContainer() { + return this.selectorContainer; + } + + public void setSelectorContainer(String selectorContainer) { + this.selectorContainer = selectorContainer; + } + + public String getSelectorLink() { + return this.selectorLink; + } + + public void setSelectorLink(String selectorLink) { + this.selectorLink = selectorLink; + } + + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + + public Boolean getStartOnCreate() { + return this.startOnCreate; + } + + public void setStartOnCreate(Boolean startOnCreate) { + this.startOnCreate = startOnCreate; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public StorageDriver getStorageDriver() { + return this.storageDriver; + } + + public void setStorageDriver(StorageDriver storageDriver) { + this.storageDriver = storageDriver; + } + + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + + public String getTransitioning() { + return this.transitioning; + } + + public void setTransitioning(String transitioning) { + this.transitioning = transitioning; + } + + public String getTransitioningMessage() { + return this.transitioningMessage; + } + + public void setTransitioningMessage(String transitioningMessage) { + this.transitioningMessage = transitioningMessage; + } + + public Integer getTransitioningProgress() { + return this.transitioningProgress; + } + + public void setTransitioningProgress(Integer transitioningProgress) { + this.transitioningProgress = transitioningProgress; + } + + public ServiceUpgrade getUpgrade() { + return this.upgrade; + } + + public void setUpgrade(ServiceUpgrade upgrade) { + this.upgrade = upgrade; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + + public String getVip() { + return this.vip; + } + + public void setVip(String vip) { + this.vip = vip; + } + +} diff --git a/src/main/java/io/rancher/type/StoragePool.java b/src/main/java/io/rancher/type/StoragePool.java index 305c778..daa45ce 100644 --- a/src/main/java/io/rancher/type/StoragePool.java +++ b/src/main/java/io/rancher/type/StoragePool.java @@ -20,6 +20,8 @@ public class StoragePool extends AbstractType { private String externalId; + private List hostIds; + private String kind; private String name; @@ -30,6 +32,8 @@ public class StoragePool extends AbstractType { private String state; + private String storageDriverId; + private String transitioning; private String transitioningMessage; @@ -42,6 +46,8 @@ public class StoragePool extends AbstractType { private List volumeCapabilities; + private List volumeIds; + public String getAccountId() { return this.accountId; } @@ -98,6 +104,14 @@ public void setExternalId(String externalId) { this.externalId = externalId; } + public List getHostIds() { + return this.hostIds; + } + + public void setHostIds(List hostIds) { + this.hostIds = hostIds; + } + public String getKind() { return this.kind; } @@ -138,6 +152,14 @@ public void setState(String state) { this.state = state; } + public String getStorageDriverId() { + return this.storageDriverId; + } + + public void setStorageDriverId(String storageDriverId) { + this.storageDriverId = storageDriverId; + } + public String getTransitioning() { return this.transitioning; } @@ -186,4 +208,12 @@ public void setVolumeCapabilities(List volumeCapabilities) { this.volumeCapabilities = volumeCapabilities; } + public List getVolumeIds() { + return this.volumeIds; + } + + public void setVolumeIds(List volumeIds) { + this.volumeIds = volumeIds; + } + } diff --git a/src/main/java/io/rancher/type/Subnet.java b/src/main/java/io/rancher/type/Subnet.java new file mode 100644 index 0000000..942a79c --- /dev/null +++ b/src/main/java/io/rancher/type/Subnet.java @@ -0,0 +1,198 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.Map; + +public class Subnet extends AbstractType { + + private String accountId; + + private Integer cidrSize; + + private String created; + + private Map data; + + private String description; + + private String endAddress; + + private String gateway; + + private String kind; + + private String name; + + private String networkAddress; + + private String networkId; + + private String removeTime; + + private String removed; + + private String startAddress; + + private String state; + + private String transitioning; + + private String transitioningMessage; + + private Integer transitioningProgress; + + private String uuid; + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public Integer getCidrSize() { + return this.cidrSize; + } + + public void setCidrSize(Integer cidrSize) { + this.cidrSize = cidrSize; + } + + public String getCreated() { + return this.created; + } + + public void setCreated(String created) { + this.created = created; + } + + public Map getData() { + return this.data; + } + + public void setData(Map data) { + this.data = data; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getEndAddress() { + return this.endAddress; + } + + public void setEndAddress(String endAddress) { + this.endAddress = endAddress; + } + + public String getGateway() { + return this.gateway; + } + + public void setGateway(String gateway) { + this.gateway = gateway; + } + + public String getKind() { + return this.kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getNetworkAddress() { + return this.networkAddress; + } + + public void setNetworkAddress(String networkAddress) { + this.networkAddress = networkAddress; + } + + public String getNetworkId() { + return this.networkId; + } + + public void setNetworkId(String networkId) { + this.networkId = networkId; + } + + public String getRemoveTime() { + return this.removeTime; + } + + public void setRemoveTime(String removeTime) { + this.removeTime = removeTime; + } + + public String getRemoved() { + return this.removed; + } + + public void setRemoved(String removed) { + this.removed = removed; + } + + public String getStartAddress() { + return this.startAddress; + } + + public void setStartAddress(String startAddress) { + this.startAddress = startAddress; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public String getTransitioning() { + return this.transitioning; + } + + public void setTransitioning(String transitioning) { + this.transitioning = transitioning; + } + + public String getTransitioningMessage() { + return this.transitioningMessage; + } + + public void setTransitioningMessage(String transitioningMessage) { + this.transitioningMessage = transitioningMessage; + } + + public Integer getTransitioningProgress() { + return this.transitioningProgress; + } + + public void setTransitioningProgress(Integer transitioningProgress) { + this.transitioningProgress = transitioningProgress; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + +} diff --git a/src/main/java/io/rancher/type/Subscribe.java b/src/main/java/io/rancher/type/Subscribe.java deleted file mode 100644 index 6f33bb1..0000000 --- a/src/main/java/io/rancher/type/Subscribe.java +++ /dev/null @@ -1,28 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; -import java.util.List; - -public class Subscribe extends AbstractType { - - private String agentId; - - private List eventNames; - - public String getAgentId() { - return this.agentId; - } - - public void setAgentId(String agentId) { - this.agentId = agentId; - } - - public List getEventNames() { - return this.eventNames; - } - - public void setEventNames(List eventNames) { - this.eventNames = eventNames; - } - -} diff --git a/src/main/java/io/rancher/type/TargetPortRule.java b/src/main/java/io/rancher/type/TargetPortRule.java new file mode 100644 index 0000000..7016010 --- /dev/null +++ b/src/main/java/io/rancher/type/TargetPortRule.java @@ -0,0 +1,47 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; + +public class TargetPortRule extends AbstractType { + + private String backendName; + + private String hostname; + + private String path; + + private Integer targetPort; + + public String getBackendName() { + return this.backendName; + } + + public void setBackendName(String backendName) { + this.backendName = backendName; + } + + public String getHostname() { + return this.hostname; + } + + public void setHostname(String hostname) { + this.hostname = hostname; + } + + public String getPath() { + return this.path; + } + + public void setPath(String path) { + this.path = path; + } + + public Integer getTargetPort() { + return this.targetPort; + } + + public void setTargetPort(Integer targetPort) { + this.targetPort = targetPort; + } + +} diff --git a/src/main/java/io/rancher/type/UbiquityConfig.java b/src/main/java/io/rancher/type/UbiquityConfig.java deleted file mode 100644 index bd73286..0000000 --- a/src/main/java/io/rancher/type/UbiquityConfig.java +++ /dev/null @@ -1,67 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; - -public class UbiquityConfig extends AbstractType { - - private String apiToken; - - private String apiUsername; - - private String clientId; - - private String flavorId; - - private String imageId; - - private String zoneId; - - public String getApiToken() { - return this.apiToken; - } - - public void setApiToken(String apiToken) { - this.apiToken = apiToken; - } - - public String getApiUsername() { - return this.apiUsername; - } - - public void setApiUsername(String apiUsername) { - this.apiUsername = apiUsername; - } - - public String getClientId() { - return this.clientId; - } - - public void setClientId(String clientId) { - this.clientId = clientId; - } - - public String getFlavorId() { - return this.flavorId; - } - - public void setFlavorId(String flavorId) { - this.flavorId = flavorId; - } - - public String getImageId() { - return this.imageId; - } - - public void setImageId(String imageId) { - this.imageId = imageId; - } - - public String getZoneId() { - return this.zoneId; - } - - public void setZoneId(String zoneId) { - this.zoneId = zoneId; - } - -} diff --git a/src/main/java/io/rancher/type/Ulimit.java b/src/main/java/io/rancher/type/Ulimit.java new file mode 100644 index 0000000..83bd699 --- /dev/null +++ b/src/main/java/io/rancher/type/Ulimit.java @@ -0,0 +1,37 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; + +public class Ulimit extends AbstractType { + + private Integer hard; + + private String name; + + private Integer soft; + + public Integer getHard() { + return this.hard; + } + + public void setHard(Integer hard) { + this.hard = hard; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getSoft() { + return this.soft; + } + + public void setSoft(Integer soft) { + this.soft = soft; + } + +} diff --git a/src/main/java/io/rancher/type/DynamicSchema.java b/src/main/java/io/rancher/type/UserPreference.java similarity index 81% rename from src/main/java/io/rancher/type/DynamicSchema.java rename to src/main/java/io/rancher/type/UserPreference.java index 1f0621d..3aac0a9 100644 --- a/src/main/java/io/rancher/type/DynamicSchema.java +++ b/src/main/java/io/rancher/type/UserPreference.java @@ -2,30 +2,27 @@ import io.rancher.base.AbstractType; import java.util.Map; -import java.util.List; -public class DynamicSchema extends AbstractType { +public class UserPreference extends AbstractType { private String accountId; + private Boolean all; + private String created; private Map data; - private String definition; - private String description; private String kind; private String name; - private String parent; + private String removeTime; private String removed; - private List roles; - private String state; private String transitioning; @@ -36,6 +33,8 @@ public class DynamicSchema extends AbstractType { private String uuid; + private String value; + public String getAccountId() { return this.accountId; } @@ -44,6 +43,14 @@ public void setAccountId(String accountId) { this.accountId = accountId; } + public Boolean getAll() { + return this.all; + } + + public void setAll(Boolean all) { + this.all = all; + } + public String getCreated() { return this.created; } @@ -60,14 +67,6 @@ public void setData(Map data) { this.data = data; } - public String getDefinition() { - return this.definition; - } - - public void setDefinition(String definition) { - this.definition = definition; - } - public String getDescription() { return this.description; } @@ -92,12 +91,12 @@ public void setName(String name) { this.name = name; } - public String getParent() { - return this.parent; + public String getRemoveTime() { + return this.removeTime; } - public void setParent(String parent) { - this.parent = parent; + public void setRemoveTime(String removeTime) { + this.removeTime = removeTime; } public String getRemoved() { @@ -108,14 +107,6 @@ public void setRemoved(String removed) { this.removed = removed; } - public List getRoles() { - return this.roles; - } - - public void setRoles(List roles) { - this.roles = roles; - } - public String getState() { return this.state; } @@ -156,4 +147,12 @@ public void setUuid(String uuid) { this.uuid = uuid; } + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + } diff --git a/src/main/java/io/rancher/type/VirtualMachine.java b/src/main/java/io/rancher/type/VirtualMachine.java index 3c11164..b276a7b 100644 --- a/src/main/java/io/rancher/type/VirtualMachine.java +++ b/src/main/java/io/rancher/type/VirtualMachine.java @@ -1,8 +1,8 @@ package io.rancher.type; import io.rancher.base.AbstractType; -import java.util.Map; import java.util.List; +import java.util.Map; public class VirtualMachine extends AbstractType { @@ -14,12 +14,26 @@ public class VirtualMachine extends AbstractType { private Map blkioDeviceOptions; + private Integer blkioWeight; + + private String cgroupParent; + private List command; private Integer count; + private Integer cpuCount; + + private Integer cpuPercent; + + private Integer cpuPeriod; + + private Integer cpuQuota; + private String cpuSet; + private String cpuSetMems; + private Integer cpuShares; private Integer createIndex; @@ -32,10 +46,14 @@ public class VirtualMachine extends AbstractType { private String description; + private Integer diskQuota; + private List disks; private List dns; + private List dnsOpt; + private List dnsSearch; private String domainName; @@ -48,10 +66,20 @@ public class VirtualMachine extends AbstractType { private String firstRunning; + private List groupAdd; + private InstanceHealthCheck healthCheck; + private List healthCmd; + + private Integer healthInterval; + + private Integer healthRetries; + private String healthState; + private Integer healthTimeout; + private String hostId; private String hostname; @@ -60,6 +88,22 @@ public class VirtualMachine extends AbstractType { private Map instanceLinks; + private String instanceTriggeredStop; + + private Integer ioMaximumBandwidth; + + private Integer ioMaximumIOps; + + private String ip; + + private String ip6; + + private String ipcMode; + + private String isolation; + + private Integer kernelMemory; + private String kind; private Map labels; @@ -70,20 +114,38 @@ public class VirtualMachine extends AbstractType { private Integer memoryMb; + private Integer memoryReservation; + private Integer memorySwap; + private Integer memorySwappiness; + + private Integer milliCpuReservation; + + private List mounts; + private String name; private Boolean nativeContainer; + private List netAlias; + private List networkIds; private String networkMode; + private Boolean oomKillDisable; + + private Integer oomScoreAdj; + + private Integer pidsLimit; + private List ports; private String primaryIpAddress; + private String primaryNetworkId; + private String registryCredentialId; private String removeTime; @@ -94,15 +156,33 @@ public class VirtualMachine extends AbstractType { private RestartPolicy restartPolicy; + private Boolean runInit; + private List securityOpt; + private String serviceId; + + private List serviceIds; + + private Integer shmSize; + + private String stackId; + private Integer startCount; private Boolean startOnCreate; private String state; - private String systemContainer; + private String stopSignal; + + private Map storageOpt; + + private Map sysctls; + + private Boolean system; + + private Map tmpfs; private String token; @@ -112,8 +192,16 @@ public class VirtualMachine extends AbstractType { private Integer transitioningProgress; + private List ulimits; + + private List userPorts; + private String userdata; + private String usernsMode; + + private String uts; + private String uuid; private Integer vcpu; @@ -154,6 +242,22 @@ public void setBlkioDeviceOptions(Map blkioDeviceOptions) { this.blkioDeviceOptions = blkioDeviceOptions; } + public Integer getBlkioWeight() { + return this.blkioWeight; + } + + public void setBlkioWeight(Integer blkioWeight) { + this.blkioWeight = blkioWeight; + } + + public String getCgroupParent() { + return this.cgroupParent; + } + + public void setCgroupParent(String cgroupParent) { + this.cgroupParent = cgroupParent; + } + public List getCommand() { return this.command; } @@ -170,6 +274,38 @@ public void setCount(Integer count) { this.count = count; } + public Integer getCpuCount() { + return this.cpuCount; + } + + public void setCpuCount(Integer cpuCount) { + this.cpuCount = cpuCount; + } + + public Integer getCpuPercent() { + return this.cpuPercent; + } + + public void setCpuPercent(Integer cpuPercent) { + this.cpuPercent = cpuPercent; + } + + public Integer getCpuPeriod() { + return this.cpuPeriod; + } + + public void setCpuPeriod(Integer cpuPeriod) { + this.cpuPeriod = cpuPeriod; + } + + public Integer getCpuQuota() { + return this.cpuQuota; + } + + public void setCpuQuota(Integer cpuQuota) { + this.cpuQuota = cpuQuota; + } + public String getCpuSet() { return this.cpuSet; } @@ -178,6 +314,14 @@ public void setCpuSet(String cpuSet) { this.cpuSet = cpuSet; } + public String getCpuSetMems() { + return this.cpuSetMems; + } + + public void setCpuSetMems(String cpuSetMems) { + this.cpuSetMems = cpuSetMems; + } + public Integer getCpuShares() { return this.cpuShares; } @@ -226,6 +370,14 @@ public void setDescription(String description) { this.description = description; } + public Integer getDiskQuota() { + return this.diskQuota; + } + + public void setDiskQuota(Integer diskQuota) { + this.diskQuota = diskQuota; + } + public List getDisks() { return this.disks; } @@ -242,6 +394,14 @@ public void setDns(List dns) { this.dns = dns; } + public List getDnsOpt() { + return this.dnsOpt; + } + + public void setDnsOpt(List dnsOpt) { + this.dnsOpt = dnsOpt; + } + public List getDnsSearch() { return this.dnsSearch; } @@ -290,6 +450,14 @@ public void setFirstRunning(String firstRunning) { this.firstRunning = firstRunning; } + public List getGroupAdd() { + return this.groupAdd; + } + + public void setGroupAdd(List groupAdd) { + this.groupAdd = groupAdd; + } + public InstanceHealthCheck getHealthCheck() { return this.healthCheck; } @@ -298,6 +466,30 @@ public void setHealthCheck(InstanceHealthCheck healthCheck) { this.healthCheck = healthCheck; } + public List getHealthCmd() { + return this.healthCmd; + } + + public void setHealthCmd(List healthCmd) { + this.healthCmd = healthCmd; + } + + public Integer getHealthInterval() { + return this.healthInterval; + } + + public void setHealthInterval(Integer healthInterval) { + this.healthInterval = healthInterval; + } + + public Integer getHealthRetries() { + return this.healthRetries; + } + + public void setHealthRetries(Integer healthRetries) { + this.healthRetries = healthRetries; + } + public String getHealthState() { return this.healthState; } @@ -306,6 +498,14 @@ public void setHealthState(String healthState) { this.healthState = healthState; } + public Integer getHealthTimeout() { + return this.healthTimeout; + } + + public void setHealthTimeout(Integer healthTimeout) { + this.healthTimeout = healthTimeout; + } + public String getHostId() { return this.hostId; } @@ -338,6 +538,70 @@ public void setInstanceLinks(Map instanceLinks) { this.instanceLinks = instanceLinks; } + public String getInstanceTriggeredStop() { + return this.instanceTriggeredStop; + } + + public void setInstanceTriggeredStop(String instanceTriggeredStop) { + this.instanceTriggeredStop = instanceTriggeredStop; + } + + public Integer getIoMaximumBandwidth() { + return this.ioMaximumBandwidth; + } + + public void setIoMaximumBandwidth(Integer ioMaximumBandwidth) { + this.ioMaximumBandwidth = ioMaximumBandwidth; + } + + public Integer getIoMaximumIOps() { + return this.ioMaximumIOps; + } + + public void setIoMaximumIOps(Integer ioMaximumIOps) { + this.ioMaximumIOps = ioMaximumIOps; + } + + public String getIp() { + return this.ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public String getIp6() { + return this.ip6; + } + + public void setIp6(String ip6) { + this.ip6 = ip6; + } + + public String getIpcMode() { + return this.ipcMode; + } + + public void setIpcMode(String ipcMode) { + this.ipcMode = ipcMode; + } + + public String getIsolation() { + return this.isolation; + } + + public void setIsolation(String isolation) { + this.isolation = isolation; + } + + public Integer getKernelMemory() { + return this.kernelMemory; + } + + public void setKernelMemory(Integer kernelMemory) { + this.kernelMemory = kernelMemory; + } + public String getKind() { return this.kind; } @@ -378,6 +642,14 @@ public void setMemoryMb(Integer memoryMb) { this.memoryMb = memoryMb; } + public Integer getMemoryReservation() { + return this.memoryReservation; + } + + public void setMemoryReservation(Integer memoryReservation) { + this.memoryReservation = memoryReservation; + } + public Integer getMemorySwap() { return this.memorySwap; } @@ -386,6 +658,30 @@ public void setMemorySwap(Integer memorySwap) { this.memorySwap = memorySwap; } + public Integer getMemorySwappiness() { + return this.memorySwappiness; + } + + public void setMemorySwappiness(Integer memorySwappiness) { + this.memorySwappiness = memorySwappiness; + } + + public Integer getMilliCpuReservation() { + return this.milliCpuReservation; + } + + public void setMilliCpuReservation(Integer milliCpuReservation) { + this.milliCpuReservation = milliCpuReservation; + } + + public List getMounts() { + return this.mounts; + } + + public void setMounts(List mounts) { + this.mounts = mounts; + } + public String getName() { return this.name; } @@ -402,6 +698,14 @@ public void setNativeContainer(Boolean nativeContainer) { this.nativeContainer = nativeContainer; } + public List getNetAlias() { + return this.netAlias; + } + + public void setNetAlias(List netAlias) { + this.netAlias = netAlias; + } + public List getNetworkIds() { return this.networkIds; } @@ -418,6 +722,30 @@ public void setNetworkMode(String networkMode) { this.networkMode = networkMode; } + public Boolean getOomKillDisable() { + return this.oomKillDisable; + } + + public void setOomKillDisable(Boolean oomKillDisable) { + this.oomKillDisable = oomKillDisable; + } + + public Integer getOomScoreAdj() { + return this.oomScoreAdj; + } + + public void setOomScoreAdj(Integer oomScoreAdj) { + this.oomScoreAdj = oomScoreAdj; + } + + public Integer getPidsLimit() { + return this.pidsLimit; + } + + public void setPidsLimit(Integer pidsLimit) { + this.pidsLimit = pidsLimit; + } + public List getPorts() { return this.ports; } @@ -434,6 +762,14 @@ public void setPrimaryIpAddress(String primaryIpAddress) { this.primaryIpAddress = primaryIpAddress; } + public String getPrimaryNetworkId() { + return this.primaryNetworkId; + } + + public void setPrimaryNetworkId(String primaryNetworkId) { + this.primaryNetworkId = primaryNetworkId; + } + public String getRegistryCredentialId() { return this.registryCredentialId; } @@ -474,6 +810,14 @@ public void setRestartPolicy(RestartPolicy restartPolicy) { this.restartPolicy = restartPolicy; } + public Boolean getRunInit() { + return this.runInit; + } + + public void setRunInit(Boolean runInit) { + this.runInit = runInit; + } + public List getSecurityOpt() { return this.securityOpt; } @@ -482,6 +826,38 @@ public void setSecurityOpt(List securityOpt) { this.securityOpt = securityOpt; } + public String getServiceId() { + return this.serviceId; + } + + public void setServiceId(String serviceId) { + this.serviceId = serviceId; + } + + public List getServiceIds() { + return this.serviceIds; + } + + public void setServiceIds(List serviceIds) { + this.serviceIds = serviceIds; + } + + public Integer getShmSize() { + return this.shmSize; + } + + public void setShmSize(Integer shmSize) { + this.shmSize = shmSize; + } + + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + public Integer getStartCount() { return this.startCount; } @@ -506,12 +882,44 @@ public void setState(String state) { this.state = state; } - public String getSystemContainer() { - return this.systemContainer; + public String getStopSignal() { + return this.stopSignal; } - public void setSystemContainer(String systemContainer) { - this.systemContainer = systemContainer; + public void setStopSignal(String stopSignal) { + this.stopSignal = stopSignal; + } + + public Map getStorageOpt() { + return this.storageOpt; + } + + public void setStorageOpt(Map storageOpt) { + this.storageOpt = storageOpt; + } + + public Map getSysctls() { + return this.sysctls; + } + + public void setSysctls(Map sysctls) { + this.sysctls = sysctls; + } + + public Boolean getSystem() { + return this.system; + } + + public void setSystem(Boolean system) { + this.system = system; + } + + public Map getTmpfs() { + return this.tmpfs; + } + + public void setTmpfs(Map tmpfs) { + this.tmpfs = tmpfs; } public String getToken() { @@ -546,6 +954,22 @@ public void setTransitioningProgress(Integer transitioningProgress) { this.transitioningProgress = transitioningProgress; } + public List getUlimits() { + return this.ulimits; + } + + public void setUlimits(List ulimits) { + this.ulimits = ulimits; + } + + public List getUserPorts() { + return this.userPorts; + } + + public void setUserPorts(List userPorts) { + this.userPorts = userPorts; + } + public String getUserdata() { return this.userdata; } @@ -554,6 +978,22 @@ public void setUserdata(String userdata) { this.userdata = userdata; } + public String getUsernsMode() { + return this.usernsMode; + } + + public void setUsernsMode(String usernsMode) { + this.usernsMode = usernsMode; + } + + public String getUts() { + return this.uts; + } + + public void setUts(String uts) { + this.uts = uts; + } + public String getUuid() { return this.uuid; } diff --git a/src/main/java/io/rancher/type/VirtualboxConfig.java b/src/main/java/io/rancher/type/VirtualboxConfig.java deleted file mode 100644 index 23809ba..0000000 --- a/src/main/java/io/rancher/type/VirtualboxConfig.java +++ /dev/null @@ -1,77 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; - -public class VirtualboxConfig extends AbstractType { - - private String boot2dockerUrl; - - private String cpuCount; - - private String diskSize; - - private String hostonlyCidr; - - private String importBoot2dockerVm; - - private String memory; - - private Boolean noShare; - - public String getBoot2dockerUrl() { - return this.boot2dockerUrl; - } - - public void setBoot2dockerUrl(String boot2dockerUrl) { - this.boot2dockerUrl = boot2dockerUrl; - } - - public String getCpuCount() { - return this.cpuCount; - } - - public void setCpuCount(String cpuCount) { - this.cpuCount = cpuCount; - } - - public String getDiskSize() { - return this.diskSize; - } - - public void setDiskSize(String diskSize) { - this.diskSize = diskSize; - } - - public String getHostonlyCidr() { - return this.hostonlyCidr; - } - - public void setHostonlyCidr(String hostonlyCidr) { - this.hostonlyCidr = hostonlyCidr; - } - - public String getImportBoot2dockerVm() { - return this.importBoot2dockerVm; - } - - public void setImportBoot2dockerVm(String importBoot2dockerVm) { - this.importBoot2dockerVm = importBoot2dockerVm; - } - - public String getMemory() { - return this.memory; - } - - public void setMemory(String memory) { - this.memory = memory; - } - - public Boolean getNoShare() { - return this.noShare; - } - - public void setNoShare(Boolean noShare) { - this.noShare = noShare; - } - -} diff --git a/src/main/java/io/rancher/type/VmwarevcloudairConfig.java b/src/main/java/io/rancher/type/VmwarevcloudairConfig.java deleted file mode 100644 index e5925e1..0000000 --- a/src/main/java/io/rancher/type/VmwarevcloudairConfig.java +++ /dev/null @@ -1,147 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; - -public class VmwarevcloudairConfig extends AbstractType { - - private String catalog; - - private String catalogitem; - - private String computeid; - - private String cpuCount; - - private String dockerPort; - - private String edgegateway; - - private String memorySize; - - private String orgvdcnetwork; - - private String password; - - private Boolean provision; - - private String publicip; - - private String sshPort; - - private String username; - - private String vdcid; - - public String getCatalog() { - return this.catalog; - } - - public void setCatalog(String catalog) { - this.catalog = catalog; - } - - public String getCatalogitem() { - return this.catalogitem; - } - - public void setCatalogitem(String catalogitem) { - this.catalogitem = catalogitem; - } - - public String getComputeid() { - return this.computeid; - } - - public void setComputeid(String computeid) { - this.computeid = computeid; - } - - public String getCpuCount() { - return this.cpuCount; - } - - public void setCpuCount(String cpuCount) { - this.cpuCount = cpuCount; - } - - public String getDockerPort() { - return this.dockerPort; - } - - public void setDockerPort(String dockerPort) { - this.dockerPort = dockerPort; - } - - public String getEdgegateway() { - return this.edgegateway; - } - - public void setEdgegateway(String edgegateway) { - this.edgegateway = edgegateway; - } - - public String getMemorySize() { - return this.memorySize; - } - - public void setMemorySize(String memorySize) { - this.memorySize = memorySize; - } - - public String getOrgvdcnetwork() { - return this.orgvdcnetwork; - } - - public void setOrgvdcnetwork(String orgvdcnetwork) { - this.orgvdcnetwork = orgvdcnetwork; - } - - public String getPassword() { - return this.password; - } - - public void setPassword(String password) { - this.password = password; - } - - public Boolean getProvision() { - return this.provision; - } - - public void setProvision(Boolean provision) { - this.provision = provision; - } - - public String getPublicip() { - return this.publicip; - } - - public void setPublicip(String publicip) { - this.publicip = publicip; - } - - public String getSshPort() { - return this.sshPort; - } - - public void setSshPort(String sshPort) { - this.sshPort = sshPort; - } - - public String getUsername() { - return this.username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getVdcid() { - return this.vdcid; - } - - public void setVdcid(String vdcid) { - this.vdcid = vdcid; - } - -} diff --git a/src/main/java/io/rancher/type/VmwarevsphereConfig.java b/src/main/java/io/rancher/type/VmwarevsphereConfig.java deleted file mode 100644 index e363e5b..0000000 --- a/src/main/java/io/rancher/type/VmwarevsphereConfig.java +++ /dev/null @@ -1,127 +0,0 @@ -package io.rancher.type; - -import io.rancher.base.AbstractType; - -public class VmwarevsphereConfig extends AbstractType { - - private String boot2dockerUrl; - - private String computeIp; - - private String cpuCount; - - private String datacenter; - - private String datastore; - - private String diskSize; - - private String memorySize; - - private String network; - - private String password; - - private String pool; - - private String username; - - private String vcenter; - - public String getBoot2dockerUrl() { - return this.boot2dockerUrl; - } - - public void setBoot2dockerUrl(String boot2dockerUrl) { - this.boot2dockerUrl = boot2dockerUrl; - } - - public String getComputeIp() { - return this.computeIp; - } - - public void setComputeIp(String computeIp) { - this.computeIp = computeIp; - } - - public String getCpuCount() { - return this.cpuCount; - } - - public void setCpuCount(String cpuCount) { - this.cpuCount = cpuCount; - } - - public String getDatacenter() { - return this.datacenter; - } - - public void setDatacenter(String datacenter) { - this.datacenter = datacenter; - } - - public String getDatastore() { - return this.datastore; - } - - public void setDatastore(String datastore) { - this.datastore = datastore; - } - - public String getDiskSize() { - return this.diskSize; - } - - public void setDiskSize(String diskSize) { - this.diskSize = diskSize; - } - - public String getMemorySize() { - return this.memorySize; - } - - public void setMemorySize(String memorySize) { - this.memorySize = memorySize; - } - - public String getNetwork() { - return this.network; - } - - public void setNetwork(String network) { - this.network = network; - } - - public String getPassword() { - return this.password; - } - - public void setPassword(String password) { - this.password = password; - } - - public String getPool() { - return this.pool; - } - - public void setPool(String pool) { - this.pool = pool; - } - - public String getUsername() { - return this.username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getVcenter() { - return this.vcenter; - } - - public void setVcenter(String vcenter) { - this.vcenter = vcenter; - } - -} diff --git a/src/main/java/io/rancher/type/Volume.java b/src/main/java/io/rancher/type/Volume.java index 4b33e2b..7fa70ec 100644 --- a/src/main/java/io/rancher/type/Volume.java +++ b/src/main/java/io/rancher/type/Volume.java @@ -2,6 +2,7 @@ import io.rancher.base.AbstractType; import java.util.Map; +import java.util.List; public class Volume extends AbstractType { @@ -21,6 +22,8 @@ public class Volume extends AbstractType { private String externalId; + private String hostId; + private String imageId; private String instanceId; @@ -29,14 +32,22 @@ public class Volume extends AbstractType { private String kind; + private List mounts; + private String name; private String removeTime; private String removed; + private Integer sizeMb; + + private String stackId; + private String state; + private String storageDriverId; + private String transitioning; private String transitioningMessage; @@ -47,6 +58,8 @@ public class Volume extends AbstractType { private String uuid; + private String volumeTemplateId; + public String getAccessMode() { return this.accessMode; } @@ -111,6 +124,14 @@ public void setExternalId(String externalId) { this.externalId = externalId; } + public String getHostId() { + return this.hostId; + } + + public void setHostId(String hostId) { + this.hostId = hostId; + } + public String getImageId() { return this.imageId; } @@ -143,6 +164,14 @@ public void setKind(String kind) { this.kind = kind; } + public List getMounts() { + return this.mounts; + } + + public void setMounts(List mounts) { + this.mounts = mounts; + } + public String getName() { return this.name; } @@ -167,6 +196,22 @@ public void setRemoved(String removed) { this.removed = removed; } + public Integer getSizeMb() { + return this.sizeMb; + } + + public void setSizeMb(Integer sizeMb) { + this.sizeMb = sizeMb; + } + + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + public String getState() { return this.state; } @@ -175,6 +220,14 @@ public void setState(String state) { this.state = state; } + public String getStorageDriverId() { + return this.storageDriverId; + } + + public void setStorageDriverId(String storageDriverId) { + this.storageDriverId = storageDriverId; + } + public String getTransitioning() { return this.transitioning; } @@ -215,4 +268,12 @@ public void setUuid(String uuid) { this.uuid = uuid; } + public String getVolumeTemplateId() { + return this.volumeTemplateId; + } + + public void setVolumeTemplateId(String volumeTemplateId) { + this.volumeTemplateId = volumeTemplateId; + } + } diff --git a/src/main/java/io/rancher/type/AddRemoveClusterHostInput.java b/src/main/java/io/rancher/type/VolumeActivateInput.java similarity index 80% rename from src/main/java/io/rancher/type/AddRemoveClusterHostInput.java rename to src/main/java/io/rancher/type/VolumeActivateInput.java index 9438120..ed8e67a 100644 --- a/src/main/java/io/rancher/type/AddRemoveClusterHostInput.java +++ b/src/main/java/io/rancher/type/VolumeActivateInput.java @@ -2,7 +2,7 @@ import io.rancher.base.AbstractType; -public class AddRemoveClusterHostInput extends AbstractType { +public class VolumeActivateInput extends AbstractType { private String hostId; diff --git a/src/main/java/io/rancher/type/VolumeTemplate.java b/src/main/java/io/rancher/type/VolumeTemplate.java new file mode 100644 index 0000000..e6e2230 --- /dev/null +++ b/src/main/java/io/rancher/type/VolumeTemplate.java @@ -0,0 +1,188 @@ +package io.rancher.type; + +import io.rancher.base.AbstractType; +import java.util.Map; + +public class VolumeTemplate extends AbstractType { + + private String accountId; + + private String created; + + private Map data; + + private String description; + + private String driver; + + private Map driverOpts; + + private Boolean external; + + private String kind; + + private String name; + + private Boolean perContainer; + + private String removeTime; + + private String removed; + + private String stackId; + + private String state; + + private String transitioning; + + private String transitioningMessage; + + private Integer transitioningProgress; + + private String uuid; + + public String getAccountId() { + return this.accountId; + } + + public void setAccountId(String accountId) { + this.accountId = accountId; + } + + public String getCreated() { + return this.created; + } + + public void setCreated(String created) { + this.created = created; + } + + public Map getData() { + return this.data; + } + + public void setData(Map data) { + this.data = data; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getDriver() { + return this.driver; + } + + public void setDriver(String driver) { + this.driver = driver; + } + + public Map getDriverOpts() { + return this.driverOpts; + } + + public void setDriverOpts(Map driverOpts) { + this.driverOpts = driverOpts; + } + + public Boolean getExternal() { + return this.external; + } + + public void setExternal(Boolean external) { + this.external = external; + } + + public String getKind() { + return this.kind; + } + + public void setKind(String kind) { + this.kind = kind; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public Boolean getPerContainer() { + return this.perContainer; + } + + public void setPerContainer(Boolean perContainer) { + this.perContainer = perContainer; + } + + public String getRemoveTime() { + return this.removeTime; + } + + public void setRemoveTime(String removeTime) { + this.removeTime = removeTime; + } + + public String getRemoved() { + return this.removed; + } + + public void setRemoved(String removed) { + this.removed = removed; + } + + public String getStackId() { + return this.stackId; + } + + public void setStackId(String stackId) { + this.stackId = stackId; + } + + public String getState() { + return this.state; + } + + public void setState(String state) { + this.state = state; + } + + public String getTransitioning() { + return this.transitioning; + } + + public void setTransitioning(String transitioning) { + this.transitioning = transitioning; + } + + public String getTransitioningMessage() { + return this.transitioningMessage; + } + + public void setTransitioningMessage(String transitioningMessage) { + this.transitioningMessage = transitioningMessage; + } + + public Integer getTransitioningProgress() { + return this.transitioningProgress; + } + + public void setTransitioningProgress(Integer transitioningProgress) { + this.transitioningProgress = transitioningProgress; + } + + public String getUuid() { + return this.uuid; + } + + public void setUuid(String uuid) { + this.uuid = uuid; + } + +} From dee80315daef8572864f9f7f65d8ad1951628c7c Mon Sep 17 00:00:00 2001 From: Ciprian Ciubotariu Date: Fri, 15 Sep 2017 23:30:46 +0300 Subject: [PATCH 3/4] Fix service template for empty responses --- build.gradle | 2 +- generator/service.template | 3 +-- src/main/java/io/rancher/service/AccountService.java | 3 +-- .../java/io/rancher/service/ActiveSettingService.java | 3 +-- .../io/rancher/service/AddOutputsInputService.java | 3 +-- .../service/AddRemoveServiceLinkInputService.java | 3 +-- src/main/java/io/rancher/service/AgentService.java | 3 +-- .../io/rancher/service/Amazonec2ConfigService.java | 3 +-- src/main/java/io/rancher/service/ApiKeyService.java | 3 +-- src/main/java/io/rancher/service/AuditLogService.java | 3 +-- .../java/io/rancher/service/AzureConfigService.java | 3 +-- .../java/io/rancher/service/AzureadconfigService.java | 3 +-- src/main/java/io/rancher/service/BackupService.java | 3 +-- .../java/io/rancher/service/BackupTargetService.java | 3 +-- .../io/rancher/service/BaseMachineConfigService.java | 3 +-- src/main/java/io/rancher/service/BindingService.java | 3 +-- .../io/rancher/service/BlkioDeviceOptionService.java | 3 +-- .../io/rancher/service/CatalogTemplateService.java | 3 +-- .../java/io/rancher/service/CertificateService.java | 3 +-- .../io/rancher/service/ChangeSecretInputService.java | 3 +-- .../io/rancher/service/ClusterMembershipService.java | 3 +-- .../io/rancher/service/ComposeConfigInputService.java | 3 +-- .../java/io/rancher/service/ComposeConfigService.java | 3 +-- .../io/rancher/service/ComposeProjectService.java | 3 +-- .../io/rancher/service/ComposeServiceService.java | 3 +-- .../java/io/rancher/service/ConfigItemService.java | 3 +-- .../io/rancher/service/ConfigItemStatusService.java | 3 +-- .../io/rancher/service/ContainerEventService.java | 3 +-- .../java/io/rancher/service/ContainerExecService.java | 3 +-- .../java/io/rancher/service/ContainerLogsService.java | 3 +-- .../io/rancher/service/ContainerProxyService.java | 3 +-- .../java/io/rancher/service/ContainerService.java | 9 ++++----- .../java/io/rancher/service/CredentialService.java | 3 +-- .../io/rancher/service/DatabasechangelogService.java | 3 +-- .../rancher/service/DatabasechangeloglockService.java | 3 +-- .../io/rancher/service/DefaultNetworkService.java | 3 +-- .../io/rancher/service/DigitaloceanConfigService.java | 3 +-- .../java/io/rancher/service/DnsServiceService.java | 7 +++---- .../java/io/rancher/service/DockerBuildService.java | 3 +-- .../service/ExtensionImplementationService.java | 3 +-- .../io/rancher/service/ExtensionPointService.java | 3 +-- .../io/rancher/service/ExternalDnsEventService.java | 3 +-- .../java/io/rancher/service/ExternalEventService.java | 3 +-- ...ternalHandlerExternalHandlerProcessMapService.java | 3 +-- .../service/ExternalHandlerProcessConfigService.java | 3 +-- .../service/ExternalHandlerProcessService.java | 3 +-- .../io/rancher/service/ExternalHandlerService.java | 3 +-- .../io/rancher/service/ExternalHostEventService.java | 3 +-- .../rancher/service/ExternalServiceEventService.java | 3 +-- .../io/rancher/service/ExternalServiceService.java | 3 +-- .../service/ExternalStoragePoolEventService.java | 3 +-- .../rancher/service/ExternalVolumeEventService.java | 3 +-- .../io/rancher/service/FieldDocumentationService.java | 3 +-- .../java/io/rancher/service/GenericObjectService.java | 3 +-- .../java/io/rancher/service/HaConfigInputService.java | 3 +-- src/main/java/io/rancher/service/HaConfigService.java | 3 +-- .../service/HealthcheckInstanceHostMapService.java | 3 +-- .../java/io/rancher/service/HostAccessService.java | 3 +-- .../io/rancher/service/HostApiProxyTokenService.java | 3 +-- src/main/java/io/rancher/service/HostService.java | 3 +-- .../java/io/rancher/service/HostTemplateService.java | 3 +-- src/main/java/io/rancher/service/IdentityService.java | 3 +-- src/main/java/io/rancher/service/ImageService.java | 3 +-- .../service/InServiceUpgradeStrategyService.java | 3 +-- .../rancher/service/InstanceConsoleInputService.java | 3 +-- .../io/rancher/service/InstanceConsoleService.java | 3 +-- .../rancher/service/InstanceHealthCheckService.java | 3 +-- .../java/io/rancher/service/InstanceLinkService.java | 3 +-- src/main/java/io/rancher/service/InstanceService.java | 5 ++--- .../java/io/rancher/service/InstanceStopService.java | 3 +-- .../java/io/rancher/service/IpAddressService.java | 3 +-- .../io/rancher/service/KubernetesServiceService.java | 7 +++---- .../io/rancher/service/KubernetesStackService.java | 3 +-- .../service/KubernetesStackUpgradeService.java | 3 +-- src/main/java/io/rancher/service/LabelService.java | 3 +-- .../java/io/rancher/service/LaunchConfigService.java | 11 +++++------ src/main/java/io/rancher/service/LbConfigService.java | 3 +-- .../io/rancher/service/LbTargetConfigService.java | 3 +-- .../java/io/rancher/service/LdapconfigService.java | 3 +-- .../LoadBalancerCookieStickinessPolicyService.java | 3 +-- .../rancher/service/LoadBalancerServiceService.java | 7 +++---- .../io/rancher/service/LocalAuthConfigService.java | 3 +-- .../java/io/rancher/service/LogConfigService.java | 3 +-- .../java/io/rancher/service/MachineDriverService.java | 3 +-- src/main/java/io/rancher/service/MachineService.java | 3 +-- .../java/io/rancher/service/MountEntryService.java | 3 +-- src/main/java/io/rancher/service/MountService.java | 3 +-- .../java/io/rancher/service/NetworkDriverService.java | 3 +-- .../rancher/service/NetworkDriverServiceService.java | 9 ++++----- .../service/NetworkPolicyRuleBetweenService.java | 3 +-- .../service/NetworkPolicyRuleMemberService.java | 3 +-- .../io/rancher/service/NetworkPolicyRuleService.java | 3 +-- .../service/NetworkPolicyRuleWithinService.java | 3 +-- src/main/java/io/rancher/service/NetworkService.java | 3 +-- .../java/io/rancher/service/NfsConfigService.java | 3 +-- .../io/rancher/service/OpenldapconfigService.java | 3 +-- .../java/io/rancher/service/PacketConfigService.java | 3 +-- src/main/java/io/rancher/service/PasswordService.java | 3 +-- .../java/io/rancher/service/PhysicalHostService.java | 3 +-- src/main/java/io/rancher/service/PortRuleService.java | 3 +-- src/main/java/io/rancher/service/PortService.java | 3 +-- .../io/rancher/service/ProcessDefinitionService.java | 3 +-- .../io/rancher/service/ProcessExecutionService.java | 3 +-- .../io/rancher/service/ProcessInstanceService.java | 3 +-- .../java/io/rancher/service/ProcessPoolService.java | 3 +-- .../io/rancher/service/ProcessSummaryService.java | 3 +-- .../java/io/rancher/service/ProjectMemberService.java | 3 +-- src/main/java/io/rancher/service/ProjectService.java | 3 +-- .../io/rancher/service/ProjectTemplateService.java | 3 +-- .../io/rancher/service/PublicEndpointService.java | 3 +-- src/main/java/io/rancher/service/PublishService.java | 3 +-- src/main/java/io/rancher/service/PullTaskService.java | 3 +-- .../RecreateOnQuorumStrategyConfigService.java | 3 +-- src/main/java/io/rancher/service/RegisterService.java | 3 +-- .../io/rancher/service/RegistrationTokenService.java | 3 +-- .../io/rancher/service/RegistryCredentialService.java | 3 +-- src/main/java/io/rancher/service/RegistryService.java | 3 +-- .../io/rancher/service/ResourceDefinitionService.java | 3 +-- .../java/io/rancher/service/RestartPolicyService.java | 3 +-- .../service/RestoreFromBackupInputService.java | 3 +-- .../rancher/service/RevertToSnapshotInputService.java | 3 +-- .../service/RollingRestartStrategyService.java | 3 +-- .../java/io/rancher/service/ScalePolicyService.java | 3 +-- .../io/rancher/service/ScheduledUpgradeService.java | 3 +-- .../rancher/service/SecondaryLaunchConfigService.java | 11 +++++------ .../io/rancher/service/SecretReferenceService.java | 3 +-- src/main/java/io/rancher/service/SecretService.java | 3 +-- .../io/rancher/service/ServiceBindingService.java | 3 +-- .../io/rancher/service/ServiceConsumeMapService.java | 3 +-- .../java/io/rancher/service/ServiceEventService.java | 3 +-- .../io/rancher/service/ServiceExposeMapService.java | 3 +-- .../java/io/rancher/service/ServiceLinkService.java | 3 +-- .../java/io/rancher/service/ServiceLogService.java | 3 +-- .../java/io/rancher/service/ServiceProxyService.java | 3 +-- .../io/rancher/service/ServiceRestartService.java | 3 +-- src/main/java/io/rancher/service/ServiceService.java | 7 +++---- .../io/rancher/service/ServiceUpgradeService.java | 3 +-- .../service/ServiceUpgradeStrategyService.java | 3 +-- .../io/rancher/service/ServicesPortRangeService.java | 3 +-- .../service/SetProjectMembersInputService.java | 3 +-- .../rancher/service/SetServiceLinksInputService.java | 3 +-- src/main/java/io/rancher/service/SettingService.java | 3 +-- .../rancher/service/SnapshotBackupInputService.java | 3 +-- src/main/java/io/rancher/service/SnapshotService.java | 3 +-- src/main/java/io/rancher/service/StackService.java | 7 +++---- .../java/io/rancher/service/StackUpgradeService.java | 3 +-- .../io/rancher/service/StateTransitionService.java | 3 +-- .../java/io/rancher/service/StatsAccessService.java | 3 +-- .../java/io/rancher/service/StorageDriverService.java | 3 +-- .../rancher/service/StorageDriverServiceService.java | 5 ++--- .../java/io/rancher/service/StoragePoolService.java | 3 +-- src/main/java/io/rancher/service/SubnetService.java | 3 +-- .../io/rancher/service/TargetPortRuleService.java | 3 +-- .../java/io/rancher/service/TaskInstanceService.java | 3 +-- src/main/java/io/rancher/service/TaskService.java | 3 +-- .../service/ToServiceUpgradeStrategyService.java | 3 +-- .../io/rancher/service/TypeDocumentationService.java | 3 +-- src/main/java/io/rancher/service/UlimitService.java | 3 +-- .../io/rancher/service/UserPreferenceService.java | 3 +-- .../io/rancher/service/VirtualMachineDiskService.java | 3 +-- .../io/rancher/service/VirtualMachineService.java | 9 ++++----- .../rancher/service/VolumeActivateInputService.java | 3 +-- src/main/java/io/rancher/service/VolumeService.java | 3 +-- .../rancher/service/VolumeSnapshotInputService.java | 3 +-- .../io/rancher/service/VolumeTemplateService.java | 3 +-- src/main/java/io/rancher/type/ComposeProject.java | 2 +- src/main/java/io/rancher/type/ComposeService.java | 2 +- src/main/java/io/rancher/type/ExternalHandler.java | 2 +- src/main/java/io/rancher/type/Host.java | 2 +- src/main/java/io/rancher/type/KubernetesStack.java | 2 +- .../java/io/rancher/type/StorageDriverService.java | 2 +- src/main/java/io/rancher/type/StoragePool.java | 2 +- src/main/java/io/rancher/type/VirtualMachine.java | 2 +- 173 files changed, 202 insertions(+), 366 deletions(-) diff --git a/build.gradle b/build.gradle index 4e9419a..3988482 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ publishing { sdk(MavenPublication) { groupId 'io.rancher' artifactId 'rancher-java-sdk' - version '2.0.0' + version '2.0.1' pom.withXml { asNode().dependencies.'*'.findAll() { diff --git a/generator/service.template b/generator/service.template index 0b30ba6..867616d 100644 --- a/generator/service.template +++ b/generator/service.template @@ -6,7 +6,6 @@ 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; @@ -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/service/AccountService.java b/src/main/java/io/rancher/service/AccountService.java index 001895f..0521866 100644 --- a/src/main/java/io/rancher/service/AccountService.java +++ b/src/main/java/io/rancher/service/AccountService.java @@ -5,7 +5,6 @@ import io.rancher.type.Account; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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); diff --git a/src/main/java/io/rancher/service/ActiveSettingService.java b/src/main/java/io/rancher/service/ActiveSettingService.java index a88f960..c5d5807 100644 --- a/src/main/java/io/rancher/service/ActiveSettingService.java +++ b/src/main/java/io/rancher/service/ActiveSettingService.java @@ -5,7 +5,6 @@ import io.rancher.type.ActiveSetting; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..47f6d24 100644 --- a/src/main/java/io/rancher/service/AddOutputsInputService.java +++ b/src/main/java/io/rancher/service/AddOutputsInputService.java @@ -5,7 +5,6 @@ import io.rancher.type.AddOutputsInput; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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/AddRemoveServiceLinkInputService.java b/src/main/java/io/rancher/service/AddRemoveServiceLinkInputService.java index 38da8a5..dab685e 100644 --- a/src/main/java/io/rancher/service/AddRemoveServiceLinkInputService.java +++ b/src/main/java/io/rancher/service/AddRemoveServiceLinkInputService.java @@ -5,7 +5,6 @@ import io.rancher.type.AddRemoveServiceLinkInput; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 3a4bcc6..9fbeb2f 100644 --- a/src/main/java/io/rancher/service/AgentService.java +++ b/src/main/java/io/rancher/service/AgentService.java @@ -5,7 +5,6 @@ import io.rancher.type.Agent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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); diff --git a/src/main/java/io/rancher/service/Amazonec2ConfigService.java b/src/main/java/io/rancher/service/Amazonec2ConfigService.java index 49641e9..aa6f23c 100644 --- a/src/main/java/io/rancher/service/Amazonec2ConfigService.java +++ b/src/main/java/io/rancher/service/Amazonec2ConfigService.java @@ -5,7 +5,6 @@ import io.rancher.type.Amazonec2Config; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..8e5f817 100644 --- a/src/main/java/io/rancher/service/ApiKeyService.java +++ b/src/main/java/io/rancher/service/ApiKeyService.java @@ -6,7 +6,6 @@ import io.rancher.type.Credential; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..1b92462 100644 --- a/src/main/java/io/rancher/service/AuditLogService.java +++ b/src/main/java/io/rancher/service/AuditLogService.java @@ -5,7 +5,6 @@ import io.rancher.type.AuditLog; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..b3e5903 100644 --- a/src/main/java/io/rancher/service/AzureConfigService.java +++ b/src/main/java/io/rancher/service/AzureConfigService.java @@ -5,7 +5,6 @@ import io.rancher.type.AzureConfig; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..d19ea65 100644 --- a/src/main/java/io/rancher/service/AzureadconfigService.java +++ b/src/main/java/io/rancher/service/AzureadconfigService.java @@ -5,7 +5,6 @@ import io.rancher.type.Azureadconfig; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..6af79ad 100644 --- a/src/main/java/io/rancher/service/BackupService.java +++ b/src/main/java/io/rancher/service/BackupService.java @@ -5,7 +5,6 @@ import io.rancher.type.Backup; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..24bf9f7 100644 --- a/src/main/java/io/rancher/service/BackupTargetService.java +++ b/src/main/java/io/rancher/service/BackupTargetService.java @@ -5,7 +5,6 @@ import io.rancher.type.BackupTarget; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..5c68a94 100644 --- a/src/main/java/io/rancher/service/BaseMachineConfigService.java +++ b/src/main/java/io/rancher/service/BaseMachineConfigService.java @@ -5,7 +5,6 @@ import io.rancher.type.BaseMachineConfig; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 index f33955d..c3efc1d 100644 --- a/src/main/java/io/rancher/service/BindingService.java +++ b/src/main/java/io/rancher/service/BindingService.java @@ -5,7 +5,6 @@ import io.rancher.type.Binding; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -32,6 +31,6 @@ public interface BindingService { Call update(@Path("id") String id, @Body Binding binding); @DELETE("binding/{id}") - Call delete(@Path("id") String 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..0a520d6 100644 --- a/src/main/java/io/rancher/service/BlkioDeviceOptionService.java +++ b/src/main/java/io/rancher/service/BlkioDeviceOptionService.java @@ -5,7 +5,6 @@ import io.rancher.type.BlkioDeviceOption; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 index 636608f..48d606e 100644 --- a/src/main/java/io/rancher/service/CatalogTemplateService.java +++ b/src/main/java/io/rancher/service/CatalogTemplateService.java @@ -5,7 +5,6 @@ import io.rancher.type.CatalogTemplate; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -32,6 +31,6 @@ public interface CatalogTemplateService { Call update(@Path("id") String id, @Body CatalogTemplate catalogTemplate); @DELETE("catalogTemplate/{id}") - Call delete(@Path("id") String 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..ef7fa06 100644 --- a/src/main/java/io/rancher/service/CertificateService.java +++ b/src/main/java/io/rancher/service/CertificateService.java @@ -5,7 +5,6 @@ import io.rancher.type.Certificate; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..0272f48 100644 --- a/src/main/java/io/rancher/service/ChangeSecretInputService.java +++ b/src/main/java/io/rancher/service/ChangeSecretInputService.java @@ -5,7 +5,6 @@ import io.rancher.type.ChangeSecretInput; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 index b6e9096..7069cb9 100644 --- a/src/main/java/io/rancher/service/ClusterMembershipService.java +++ b/src/main/java/io/rancher/service/ClusterMembershipService.java @@ -5,7 +5,6 @@ import io.rancher.type.ClusterMembership; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -32,6 +31,6 @@ public interface ClusterMembershipService { Call update(@Path("id") String id, @Body ClusterMembership clusterMembership); @DELETE("clusterMembership/{id}") - Call delete(@Path("id") String id); + Call delete(@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..df5472b 100644 --- a/src/main/java/io/rancher/service/ComposeConfigInputService.java +++ b/src/main/java/io/rancher/service/ComposeConfigInputService.java @@ -5,7 +5,6 @@ import io.rancher.type.ComposeConfigInput; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..c35fbd7 100644 --- a/src/main/java/io/rancher/service/ComposeConfigService.java +++ b/src/main/java/io/rancher/service/ComposeConfigService.java @@ -5,7 +5,6 @@ import io.rancher.type.ComposeConfig; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 e44c6d0..4ed7dae 100644 --- a/src/main/java/io/rancher/service/ComposeProjectService.java +++ b/src/main/java/io/rancher/service/ComposeProjectService.java @@ -6,7 +6,6 @@ import io.rancher.type.Stack; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -33,7 +32,7 @@ public interface ComposeProjectService { Call update(@Path("id") String id, @Body ComposeProject composeProject); @DELETE("composeProject/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("composeProject/{id}?action=cancelupgrade") Call cancelupgrade(@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 12b330c..91c8924 100644 --- a/src/main/java/io/rancher/service/ComposeServiceService.java +++ b/src/main/java/io/rancher/service/ComposeServiceService.java @@ -6,7 +6,6 @@ import io.rancher.type.Service; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -33,7 +32,7 @@ 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); diff --git a/src/main/java/io/rancher/service/ConfigItemService.java b/src/main/java/io/rancher/service/ConfigItemService.java index 3367e8c..7b01f7d 100644 --- a/src/main/java/io/rancher/service/ConfigItemService.java +++ b/src/main/java/io/rancher/service/ConfigItemService.java @@ -5,7 +5,6 @@ import io.rancher.type.ConfigItem; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..538e418 100644 --- a/src/main/java/io/rancher/service/ConfigItemStatusService.java +++ b/src/main/java/io/rancher/service/ConfigItemStatusService.java @@ -5,7 +5,6 @@ import io.rancher.type.ConfigItemStatus; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..440ea79 100644 --- a/src/main/java/io/rancher/service/ContainerEventService.java +++ b/src/main/java/io/rancher/service/ContainerEventService.java @@ -5,7 +5,6 @@ import io.rancher.type.ContainerEvent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..afca5f7 100644 --- a/src/main/java/io/rancher/service/ContainerExecService.java +++ b/src/main/java/io/rancher/service/ContainerExecService.java @@ -5,7 +5,6 @@ import io.rancher.type.ContainerExec; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..800faf5 100644 --- a/src/main/java/io/rancher/service/ContainerLogsService.java +++ b/src/main/java/io/rancher/service/ContainerLogsService.java @@ -5,7 +5,6 @@ import io.rancher.type.ContainerLogs; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..9dde1f5 100644 --- a/src/main/java/io/rancher/service/ContainerProxyService.java +++ b/src/main/java/io/rancher/service/ContainerProxyService.java @@ -5,7 +5,6 @@ import io.rancher.type.ContainerProxy; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 4e49609..ded9d88 100644 --- a/src/main/java/io/rancher/service/ContainerService.java +++ b/src/main/java/io/rancher/service/ContainerService.java @@ -3,17 +3,16 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.Container; -import io.rancher.type.ContainerProxy; import io.rancher.type.Instance; -import io.rancher.type.ContainerExec; +import io.rancher.type.ContainerLogs; import io.rancher.type.HostAccess; +import io.rancher.type.ContainerExec; import io.rancher.type.InstanceStop; +import io.rancher.type.ContainerProxy; import io.rancher.type.InstanceConsoleInput; import io.rancher.type.InstanceConsole; -import io.rancher.type.ContainerLogs; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -40,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); diff --git a/src/main/java/io/rancher/service/CredentialService.java b/src/main/java/io/rancher/service/CredentialService.java index 5e800f6..c24e93f 100644 --- a/src/main/java/io/rancher/service/CredentialService.java +++ b/src/main/java/io/rancher/service/CredentialService.java @@ -5,7 +5,6 @@ import io.rancher.type.Credential; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..24b1988 100644 --- a/src/main/java/io/rancher/service/DatabasechangelogService.java +++ b/src/main/java/io/rancher/service/DatabasechangelogService.java @@ -5,7 +5,6 @@ import io.rancher.type.Databasechangelog; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..d0f1cea 100644 --- a/src/main/java/io/rancher/service/DatabasechangeloglockService.java +++ b/src/main/java/io/rancher/service/DatabasechangeloglockService.java @@ -5,7 +5,6 @@ import io.rancher.type.Databasechangeloglock; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 index 641a71b..faa194a 100644 --- a/src/main/java/io/rancher/service/DefaultNetworkService.java +++ b/src/main/java/io/rancher/service/DefaultNetworkService.java @@ -6,7 +6,6 @@ import io.rancher.type.Network; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -33,7 +32,7 @@ public interface DefaultNetworkService { Call update(@Path("id") String id, @Body DefaultNetwork defaultNetwork); @DELETE("defaultNetwork/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("defaultNetwork/{id}?action=activate") Call activate(@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..4c48cea 100644 --- a/src/main/java/io/rancher/service/DigitaloceanConfigService.java +++ b/src/main/java/io/rancher/service/DigitaloceanConfigService.java @@ -5,7 +5,6 @@ import io.rancher.type.DigitaloceanConfig; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 bd9bbcb..4daf066 100644 --- a/src/main/java/io/rancher/service/DnsServiceService.java +++ b/src/main/java/io/rancher/service/DnsServiceService.java @@ -3,14 +3,13 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.DnsService; -import io.rancher.type.Service; +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.SetServiceLinksInput; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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); diff --git a/src/main/java/io/rancher/service/DockerBuildService.java b/src/main/java/io/rancher/service/DockerBuildService.java index 9de6ab4..f84d667 100644 --- a/src/main/java/io/rancher/service/DockerBuildService.java +++ b/src/main/java/io/rancher/service/DockerBuildService.java @@ -5,7 +5,6 @@ import io.rancher.type.DockerBuild; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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/ExtensionImplementationService.java b/src/main/java/io/rancher/service/ExtensionImplementationService.java index b3e3aea..cdceb51 100644 --- a/src/main/java/io/rancher/service/ExtensionImplementationService.java +++ b/src/main/java/io/rancher/service/ExtensionImplementationService.java @@ -5,7 +5,6 @@ import io.rancher.type.ExtensionImplementation; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..5826ad9 100644 --- a/src/main/java/io/rancher/service/ExtensionPointService.java +++ b/src/main/java/io/rancher/service/ExtensionPointService.java @@ -5,7 +5,6 @@ import io.rancher.type.ExtensionPoint; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..87365fd 100644 --- a/src/main/java/io/rancher/service/ExternalDnsEventService.java +++ b/src/main/java/io/rancher/service/ExternalDnsEventService.java @@ -6,7 +6,6 @@ import io.rancher.type.ExternalEvent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..7468877 100644 --- a/src/main/java/io/rancher/service/ExternalEventService.java +++ b/src/main/java/io/rancher/service/ExternalEventService.java @@ -5,7 +5,6 @@ import io.rancher.type.ExternalEvent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 0317a85..a6ff4c1 100644 --- a/src/main/java/io/rancher/service/ExternalHandlerExternalHandlerProcessMapService.java +++ b/src/main/java/io/rancher/service/ExternalHandlerExternalHandlerProcessMapService.java @@ -5,7 +5,6 @@ import io.rancher.type.ExternalHandlerExternalHandlerProcessMap; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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); diff --git a/src/main/java/io/rancher/service/ExternalHandlerProcessConfigService.java b/src/main/java/io/rancher/service/ExternalHandlerProcessConfigService.java index af9710f..001036d 100644 --- a/src/main/java/io/rancher/service/ExternalHandlerProcessConfigService.java +++ b/src/main/java/io/rancher/service/ExternalHandlerProcessConfigService.java @@ -5,7 +5,6 @@ import io.rancher.type.ExternalHandlerProcessConfig; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 e528d73..c3fd1de 100644 --- a/src/main/java/io/rancher/service/ExternalHandlerProcessService.java +++ b/src/main/java/io/rancher/service/ExternalHandlerProcessService.java @@ -5,7 +5,6 @@ import io.rancher.type.ExternalHandlerProcess; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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); diff --git a/src/main/java/io/rancher/service/ExternalHandlerService.java b/src/main/java/io/rancher/service/ExternalHandlerService.java index c75b2a4..974fdfb 100644 --- a/src/main/java/io/rancher/service/ExternalHandlerService.java +++ b/src/main/java/io/rancher/service/ExternalHandlerService.java @@ -5,7 +5,6 @@ import io.rancher.type.ExternalHandler; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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); diff --git a/src/main/java/io/rancher/service/ExternalHostEventService.java b/src/main/java/io/rancher/service/ExternalHostEventService.java index a13b3db..88081d8 100644 --- a/src/main/java/io/rancher/service/ExternalHostEventService.java +++ b/src/main/java/io/rancher/service/ExternalHostEventService.java @@ -6,7 +6,6 @@ import io.rancher.type.ExternalEvent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..1f7196d 100644 --- a/src/main/java/io/rancher/service/ExternalServiceEventService.java +++ b/src/main/java/io/rancher/service/ExternalServiceEventService.java @@ -6,7 +6,6 @@ import io.rancher.type.ExternalEvent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 3d59a1d..5d0f601 100644 --- a/src/main/java/io/rancher/service/ExternalServiceService.java +++ b/src/main/java/io/rancher/service/ExternalServiceService.java @@ -8,7 +8,6 @@ import io.rancher.type.ServiceRestart; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -35,7 +34,7 @@ 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); diff --git a/src/main/java/io/rancher/service/ExternalStoragePoolEventService.java b/src/main/java/io/rancher/service/ExternalStoragePoolEventService.java index 0b19802..6c9bb5a 100644 --- a/src/main/java/io/rancher/service/ExternalStoragePoolEventService.java +++ b/src/main/java/io/rancher/service/ExternalStoragePoolEventService.java @@ -6,7 +6,6 @@ import io.rancher.type.ExternalEvent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..462b2c6 100644 --- a/src/main/java/io/rancher/service/ExternalVolumeEventService.java +++ b/src/main/java/io/rancher/service/ExternalVolumeEventService.java @@ -6,7 +6,6 @@ import io.rancher.type.ExternalEvent; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..4990795 100644 --- a/src/main/java/io/rancher/service/FieldDocumentationService.java +++ b/src/main/java/io/rancher/service/FieldDocumentationService.java @@ -5,7 +5,6 @@ import io.rancher.type.FieldDocumentation; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 index 0d7fe58..f82fda2 100644 --- a/src/main/java/io/rancher/service/GenericObjectService.java +++ b/src/main/java/io/rancher/service/GenericObjectService.java @@ -5,7 +5,6 @@ import io.rancher.type.GenericObject; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -32,7 +31,7 @@ public interface GenericObjectService { Call update(@Path("id") String id, @Body GenericObject genericObject); @DELETE("genericObject/{id}") - Call delete(@Path("id") String 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/HaConfigInputService.java b/src/main/java/io/rancher/service/HaConfigInputService.java index 90859e8..f4e7f02 100644 --- a/src/main/java/io/rancher/service/HaConfigInputService.java +++ b/src/main/java/io/rancher/service/HaConfigInputService.java @@ -5,7 +5,6 @@ import io.rancher.type.HaConfigInput; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..bfdfc20 100644 --- a/src/main/java/io/rancher/service/HaConfigService.java +++ b/src/main/java/io/rancher/service/HaConfigService.java @@ -5,7 +5,6 @@ import io.rancher.type.HaConfig; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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/HealthcheckInstanceHostMapService.java b/src/main/java/io/rancher/service/HealthcheckInstanceHostMapService.java index 7756803..fed6364 100644 --- a/src/main/java/io/rancher/service/HealthcheckInstanceHostMapService.java +++ b/src/main/java/io/rancher/service/HealthcheckInstanceHostMapService.java @@ -5,7 +5,6 @@ import io.rancher.type.HealthcheckInstanceHostMap; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..d8eeaa8 100644 --- a/src/main/java/io/rancher/service/HostAccessService.java +++ b/src/main/java/io/rancher/service/HostAccessService.java @@ -5,7 +5,6 @@ import io.rancher.type.HostAccess; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..485b929 100644 --- a/src/main/java/io/rancher/service/HostApiProxyTokenService.java +++ b/src/main/java/io/rancher/service/HostApiProxyTokenService.java @@ -5,7 +5,6 @@ import io.rancher.type.HostApiProxyToken; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 db65331..6631d0b 100644 --- a/src/main/java/io/rancher/service/HostService.java +++ b/src/main/java/io/rancher/service/HostService.java @@ -6,7 +6,6 @@ import io.rancher.type.HostAccess; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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); diff --git a/src/main/java/io/rancher/service/HostTemplateService.java b/src/main/java/io/rancher/service/HostTemplateService.java index de04e6f..1154c94 100644 --- a/src/main/java/io/rancher/service/HostTemplateService.java +++ b/src/main/java/io/rancher/service/HostTemplateService.java @@ -5,7 +5,6 @@ import io.rancher.type.HostTemplate; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -32,7 +31,7 @@ public interface HostTemplateService { Call update(@Path("id") String id, @Body HostTemplate hostTemplate); @DELETE("hostTemplate/{id}") - Call delete(@Path("id") String 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..9884e37 100644 --- a/src/main/java/io/rancher/service/IdentityService.java +++ b/src/main/java/io/rancher/service/IdentityService.java @@ -5,7 +5,6 @@ import io.rancher.type.Identity; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 a1e0d97..d7f2a92 100644 --- a/src/main/java/io/rancher/service/ImageService.java +++ b/src/main/java/io/rancher/service/ImageService.java @@ -5,7 +5,6 @@ import io.rancher.type.Image; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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); diff --git a/src/main/java/io/rancher/service/InServiceUpgradeStrategyService.java b/src/main/java/io/rancher/service/InServiceUpgradeStrategyService.java index f41a9aa..04c5ee2 100644 --- a/src/main/java/io/rancher/service/InServiceUpgradeStrategyService.java +++ b/src/main/java/io/rancher/service/InServiceUpgradeStrategyService.java @@ -5,7 +5,6 @@ import io.rancher.type.InServiceUpgradeStrategy; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..02f0051 100644 --- a/src/main/java/io/rancher/service/InstanceConsoleInputService.java +++ b/src/main/java/io/rancher/service/InstanceConsoleInputService.java @@ -5,7 +5,6 @@ import io.rancher.type.InstanceConsoleInput; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..d5f075b 100644 --- a/src/main/java/io/rancher/service/InstanceConsoleService.java +++ b/src/main/java/io/rancher/service/InstanceConsoleService.java @@ -5,7 +5,6 @@ import io.rancher.type.InstanceConsole; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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..7ebc37c 100644 --- a/src/main/java/io/rancher/service/InstanceHealthCheckService.java +++ b/src/main/java/io/rancher/service/InstanceHealthCheckService.java @@ -5,7 +5,6 @@ import io.rancher.type.InstanceHealthCheck; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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 50fd01f..66aafed 100644 --- a/src/main/java/io/rancher/service/InstanceLinkService.java +++ b/src/main/java/io/rancher/service/InstanceLinkService.java @@ -5,7 +5,6 @@ import io.rancher.type.InstanceLink; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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); diff --git a/src/main/java/io/rancher/service/InstanceService.java b/src/main/java/io/rancher/service/InstanceService.java index e152428..941cc3a 100644 --- a/src/main/java/io/rancher/service/InstanceService.java +++ b/src/main/java/io/rancher/service/InstanceService.java @@ -3,12 +3,11 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.Instance; +import io.rancher.type.InstanceStop; import io.rancher.type.InstanceConsoleInput; import io.rancher.type.InstanceConsole; -import io.rancher.type.InstanceStop; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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); diff --git a/src/main/java/io/rancher/service/InstanceStopService.java b/src/main/java/io/rancher/service/InstanceStopService.java index 9ecab11..7324b79 100644 --- a/src/main/java/io/rancher/service/InstanceStopService.java +++ b/src/main/java/io/rancher/service/InstanceStopService.java @@ -5,7 +5,6 @@ import io.rancher.type.InstanceStop; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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/IpAddressService.java b/src/main/java/io/rancher/service/IpAddressService.java index 9ed8a26..fa4a8b8 100644 --- a/src/main/java/io/rancher/service/IpAddressService.java +++ b/src/main/java/io/rancher/service/IpAddressService.java @@ -5,7 +5,6 @@ import io.rancher.type.IpAddress; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -32,7 +31,7 @@ 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); diff --git a/src/main/java/io/rancher/service/KubernetesServiceService.java b/src/main/java/io/rancher/service/KubernetesServiceService.java index 0be17ef..fd142af 100644 --- a/src/main/java/io/rancher/service/KubernetesServiceService.java +++ b/src/main/java/io/rancher/service/KubernetesServiceService.java @@ -3,14 +3,13 @@ import io.rancher.base.Filters; import io.rancher.base.TypeCollection; import io.rancher.type.KubernetesService; -import io.rancher.type.Service; import io.rancher.type.AddRemoveServiceLinkInput; import io.rancher.type.SetServiceLinksInput; -import io.rancher.type.ServiceRestart; import io.rancher.type.ServiceUpgrade; +import io.rancher.type.Service; +import io.rancher.type.ServiceRestart; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -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); diff --git a/src/main/java/io/rancher/service/KubernetesStackService.java b/src/main/java/io/rancher/service/KubernetesStackService.java index 42af5c2..9cd43a9 100644 --- a/src/main/java/io/rancher/service/KubernetesStackService.java +++ b/src/main/java/io/rancher/service/KubernetesStackService.java @@ -7,7 +7,6 @@ import io.rancher.type.KubernetesStackUpgrade; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -34,7 +33,7 @@ public interface KubernetesStackService { Call update(@Path("id") String id, @Body KubernetesStack kubernetesStack); @DELETE("kubernetesStack/{id}") - Call delete(@Path("id") String id); + Call delete(@Path("id") String id); @POST("kubernetesStack/{id}?action=cancelupgrade") Call cancelupgrade(@Path("id") String id); diff --git a/src/main/java/io/rancher/service/KubernetesStackUpgradeService.java b/src/main/java/io/rancher/service/KubernetesStackUpgradeService.java index 398f984..2389fcd 100644 --- a/src/main/java/io/rancher/service/KubernetesStackUpgradeService.java +++ b/src/main/java/io/rancher/service/KubernetesStackUpgradeService.java @@ -5,7 +5,6 @@ import io.rancher.type.KubernetesStackUpgrade; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -32,6 +31,6 @@ public interface KubernetesStackUpgradeService { Call update(@Path("id") String id, @Body KubernetesStackUpgrade kubernetesStackUpgrade); @DELETE("kubernetesStackUpgrade/{id}") - Call delete(@Path("id") String 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..dff73a9 100644 --- a/src/main/java/io/rancher/service/LabelService.java +++ b/src/main/java/io/rancher/service/LabelService.java @@ -5,7 +5,6 @@ import io.rancher.type.Label; import retrofit2.Call; -import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.DELETE; import retrofit2.http.GET; @@ -32,7 +31,7 @@ public interface LabelService { Call