Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate API client for ms-78 #408

Merged
merged 3 commits into from
Aug 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changelog/1.11.0/408.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
category: enhancement
title: Update API spec to ECE 3.4.0 / ESS ms-78
description: |
Updates the ECE generated Clients and models to the latest version.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SHELL := /bin/bash
export GO111MODULE ?= on
export VERSION ?= v1.11.0
export ECE_VERSION ?= $(shell cat ECE_VERSION)
export ECE_BRANCH ?= ms-77
export ECE_BRANCH ?= ms-78
ECE_DEF_FILE ?= api/version/$(ECE_VERSION).md
export GOBIN = $(shell pwd)/bin
BINARY := cloud-sdk-go
Expand Down
55 changes: 54 additions & 1 deletion api/apidocs-user.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"swagger" : "2.0",
"info" : {
"description" : "",
"version" : "1",
"title" : "Elastic Cloud API",
"termsOfService" : ""
Expand All @@ -26,6 +25,8 @@
"name" : "Organizations"
}, {
"name" : "Stack"
}, {
"name" : "TrustedEnvironments"
} ],
"schemes" : [ "https" ],
"security" : [ {
Expand Down Expand Up @@ -6034,6 +6035,39 @@
}
}
},
"/trusted-environments" : {
"get" : {
"tags" : [ "TrustedEnvironments" ],
"summary" : "Get trusted environments",
"description" : "Returns the list of trusted environments for the organization. If no organization is passed in, the organization attached to the user is assumed.",
"operationId" : "get-trusted-envs",
"parameters" : [ ],
"responses" : {
"200" : {
"description" : "Trusted environments for this organization",
"schema" : {
"$ref" : "#/definitions/ElasticsearchClusterTrustSettings"
}
},
"404" : {
"description" : "Organization not found. (code: `organization.not_found`)",
"headers" : {
"x-cloud-error-codes" : {
"type" : "string",
"description" : "The error codes associated with the response",
"enum" : [ "organization.not_found" ]
}
},
"schema" : {
"$ref" : "#/definitions/BasicFailedReply"
}
}
},
"x-doc" : {
"tag" : "TrustedEnvironments"
}
}
},
"/users/auth/keys" : {
"get" : {
"tags" : [ "Authentication" ],
Expand Down Expand Up @@ -7321,6 +7355,13 @@
"type" : "string",
"format" : "date-time",
"description" : "The valid from date of the certificate in UTC"
},
"also_trusted_by" : {
"type" : "array",
"description" : "Other deployments also trusting this certificate",
"items" : {
"type" : "string"
}
}
},
"description" : "The certificate MetaData"
Expand Down Expand Up @@ -8197,6 +8238,10 @@
"observability" : {
"description" : "Observability settings for this deployment",
"$ref" : "#/definitions/DeploymentObservabilitySettings"
},
"autoscaling_enabled" : {
"type" : "boolean",
"description" : "Enable autoscaling for this deployment."
}
},
"description" : "Additional configuration for the new deployment object."
Expand Down Expand Up @@ -8574,6 +8619,10 @@
"observability" : {
"description" : "Logging and monitoring settings for this deployment.",
"$ref" : "#/definitions/DeploymentObservabilitySettings"
},
"autoscaling_enabled" : {
"type" : "boolean",
"description" : "If autoscaling is enabled for this deployment."
}
},
"description" : "Additional configuration about the current deployment object."
Expand Down Expand Up @@ -8809,6 +8858,10 @@
"observability" : {
"description" : "Logging and monitoring settings for this deployment. If provided it will change observability settings, if null observability will be removed from the deployment, otherwise will stay the same",
"$ref" : "#/definitions/DeploymentObservabilitySettings"
},
"autoscaling_enabled" : {
"type" : "boolean",
"description" : "Enable autoscaling for this deployment."
}
},
"description" : "Additional configuration for the new deployment object."
Expand Down
61 changes: 60 additions & 1 deletion api/apidocs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"swagger" : "2.0",
"info" : {
"description" : "",
"version" : "1",
"title" : "Elastic Cloud Enterprise API",
"termsOfService" : ""
Expand Down Expand Up @@ -48,6 +47,8 @@
"name" : "Stack"
}, {
"name" : "Telemetry"
}, {
"name" : "TrustedEnvironments"
}, {
"name" : "Users"
} ],
Expand Down Expand Up @@ -15487,6 +15488,45 @@
}
}
},
"/trusted-environments" : {
"get" : {
"tags" : [ "TrustedEnvironments" ],
"summary" : "Get trusted environments",
"description" : "Returns the list of trusted environments for the organization. If no organization is passed in, the organization attached to the user is assumed.",
"operationId" : "get-trusted-envs",
"parameters" : [ {
"name" : "organization_id",
"in" : "query",
"description" : "(Optional) Organization Id for which to retrieve the trusted environments",
"required" : false,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "Trusted environments for this organization",
"schema" : {
"$ref" : "#/definitions/ElasticsearchClusterTrustSettings"
}
},
"404" : {
"description" : "Organization not found. (code: `organization.not_found`)",
"headers" : {
"x-cloud-error-codes" : {
"type" : "string",
"description" : "The error codes associated with the response",
"enum" : [ "organization.not_found" ]
}
},
"schema" : {
"$ref" : "#/definitions/BasicFailedReply"
}
}
},
"x-doc" : {
"tag" : "TrustedEnvironments"
}
}
},
"/user" : {
"get" : {
"tags" : [ "Users" ],
Expand Down Expand Up @@ -18541,6 +18581,13 @@
"type" : "string",
"format" : "date-time",
"description" : "The valid from date of the certificate in UTC"
},
"also_trusted_by" : {
"type" : "array",
"description" : "Other deployments also trusting this certificate",
"items" : {
"type" : "string"
}
}
},
"description" : "The certificate MetaData"
Expand Down Expand Up @@ -20133,6 +20180,10 @@
"observability" : {
"description" : "Observability settings for this deployment",
"$ref" : "#/definitions/DeploymentObservabilitySettings"
},
"autoscaling_enabled" : {
"type" : "boolean",
"description" : "Enable autoscaling for this deployment."
}
},
"description" : "Additional configuration for the new deployment object."
Expand Down Expand Up @@ -20598,6 +20649,10 @@
"observability" : {
"description" : "Logging and monitoring settings for this deployment.",
"$ref" : "#/definitions/DeploymentObservabilitySettings"
},
"autoscaling_enabled" : {
"type" : "boolean",
"description" : "If autoscaling is enabled for this deployment."
}
},
"description" : "Additional configuration about the current deployment object."
Expand Down Expand Up @@ -20899,6 +20954,10 @@
"observability" : {
"description" : "Logging and monitoring settings for this deployment. If provided it will change observability settings, if null observability will be removed from the deployment, otherwise will stay the same",
"$ref" : "#/definitions/DeploymentObservabilitySettings"
},
"autoscaling_enabled" : {
"type" : "boolean",
"description" : "Enable autoscaling for this deployment."
}
},
"description" : "Additional configuration for the new deployment object."
Expand Down
Loading