Create security deployment

POST /platform/configuration/security/deployment

Creates a new security deployment configuration.

Body Required

The deployment request

  • name string

    The name of the security deployment cluster

  • version string

    The version of the Elasticsearch cluster

  • topology object

    The cluster topology used to create the security deployment cluster

    Additional properties are allowed.

    Hide topology attributes Show topology attributes object
    • size object

      Measured by the amount of a resource. The final cluster size is calculated using multipliers from the topology instance configuration.

      Additional properties are allowed.

      Hide size attributes Show size attributes object
      • value integer(int32) Required

        Amount of resource

      • resource string Required

        Type of resource

        Values are memory or storage.

    • zone_count integer(int32)

      The number of zones in which data nodes will be placed

Responses

  • The security deployment was successfully created

    Hide headers attributes Show headers attributes
    Hide response attribute Show response attribute object
    • id string Required

      The ID

    • There is a version conflict. (code: security_deployment.version_conflict)
    • There is a version conflict. (code: security_deployment.already_exists)
    Hide headers attribute Show headers attribute
    • The error codes associated with the response

      Values are security_deployment.version_conflict or security_deployment.already_exists.

    Hide response attribute Show response attribute object
    • errors array[object] Required

      A list of errors that occurred in the failing request

      Hide errors attributes Show errors attributes object
      • code string Required

        A structured code representing the error type that occurred

      • message string Required

        A human readable message describing the error that occurred

      • fields array[string]

        If the error can be tied to a specific field or fields in the user request, this lists those fields

POST /platform/configuration/security/deployment
curl \
 -X POST https://{{hostname}}/api/v1/platform/configuration/security/deployment \
 -d '{"name":"string","version":"string","topology":{"size":{"value":42,"resource":"memory"},"zone_count":42}}'
Request examples
{
  "name": "string",
  "version": "string",
  "topology": {
    "size": {
      "value": 42,
      "resource": "memory"
    },
    "zone_count": 42
  }
}
Response examples (201)
# Headers
x-cloud-resource-version: string
x-cloud-resource-created: string
x-cloud-resource-last-modified: string

# Payload
{
  "id": "string"
}
Response examples (409)
# Headers
x-cloud-error-codes: security_deployment.version_conflict

# Payload
{
  "errors": [
    {
      "code": "string",
      "message": "string",
      "fields": [
        "string"
      ]
    }
  ]
}