clusters_elasticsearch

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelEsClusterMonitoringAccepted

type CancelEsClusterMonitoringAccepted struct {
	Payload models.EmptyResponse
}
CancelEsClusterMonitoringAccepted describes a response with status code 202, with default header values.

The destination monitoring cluster removal request was initiated

func NewCancelEsClusterMonitoringAccepted

func NewCancelEsClusterMonitoringAccepted() *CancelEsClusterMonitoringAccepted

NewCancelEsClusterMonitoringAccepted creates a CancelEsClusterMonitoringAccepted with default headers values

func (*CancelEsClusterMonitoringAccepted) Error

func (*CancelEsClusterMonitoringAccepted) GetPayload

type CancelEsClusterMonitoringNotFound

type CancelEsClusterMonitoringNotFound struct {
	Payload *models.BasicFailedReply
}
CancelEsClusterMonitoringNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewCancelEsClusterMonitoringNotFound

func NewCancelEsClusterMonitoringNotFound() *CancelEsClusterMonitoringNotFound

NewCancelEsClusterMonitoringNotFound creates a CancelEsClusterMonitoringNotFound with default headers values

func (*CancelEsClusterMonitoringNotFound) Error

func (*CancelEsClusterMonitoringNotFound) GetPayload

type CancelEsClusterMonitoringParams

type CancelEsClusterMonitoringParams struct {

	/* ClusterID.

	   Elasticsearch cluster identifier
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CancelEsClusterMonitoringParams contains all the parameters to send to the API endpoint

for the cancel es cluster monitoring operation.

Typically these are written to a http.Request.

func NewCancelEsClusterMonitoringParams

func NewCancelEsClusterMonitoringParams() *CancelEsClusterMonitoringParams

NewCancelEsClusterMonitoringParams creates a new CancelEsClusterMonitoringParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCancelEsClusterMonitoringParamsWithContext

func NewCancelEsClusterMonitoringParamsWithContext(ctx context.Context) *CancelEsClusterMonitoringParams

NewCancelEsClusterMonitoringParamsWithContext creates a new CancelEsClusterMonitoringParams object with the ability to set a context for a request.

func NewCancelEsClusterMonitoringParamsWithHTTPClient

func NewCancelEsClusterMonitoringParamsWithHTTPClient(client *http.Client) *CancelEsClusterMonitoringParams

NewCancelEsClusterMonitoringParamsWithHTTPClient creates a new CancelEsClusterMonitoringParams object with the ability to set a custom HTTPClient for a request.

func NewCancelEsClusterMonitoringParamsWithTimeout

func NewCancelEsClusterMonitoringParamsWithTimeout(timeout time.Duration) *CancelEsClusterMonitoringParams

NewCancelEsClusterMonitoringParamsWithTimeout creates a new CancelEsClusterMonitoringParams object with the ability to set a timeout on a request.

func (*CancelEsClusterMonitoringParams) SetClusterID

func (o *CancelEsClusterMonitoringParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the cancel es cluster monitoring params

func (*CancelEsClusterMonitoringParams) SetContext

func (o *CancelEsClusterMonitoringParams) SetContext(ctx context.Context)

SetContext adds the context to the cancel es cluster monitoring params

func (*CancelEsClusterMonitoringParams) SetDefaults added in v1.3.0

func (o *CancelEsClusterMonitoringParams) SetDefaults()

SetDefaults hydrates default values in the cancel es cluster monitoring params (not the query body).

All values with no default are reset to their zero value.

func (*CancelEsClusterMonitoringParams) SetHTTPClient

func (o *CancelEsClusterMonitoringParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the cancel es cluster monitoring params

func (*CancelEsClusterMonitoringParams) SetTimeout

func (o *CancelEsClusterMonitoringParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the cancel es cluster monitoring params

func (*CancelEsClusterMonitoringParams) WithClusterID

WithClusterID adds the clusterID to the cancel es cluster monitoring params

func (*CancelEsClusterMonitoringParams) WithContext

WithContext adds the context to the cancel es cluster monitoring params

func (*CancelEsClusterMonitoringParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the cancel es cluster monitoring params (not the query body).

All values with no default are reset to their zero value.

func (*CancelEsClusterMonitoringParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cancel es cluster monitoring params

func (*CancelEsClusterMonitoringParams) WithTimeout

WithTimeout adds the timeout to the cancel es cluster monitoring params

func (*CancelEsClusterMonitoringParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CancelEsClusterMonitoringReader

type CancelEsClusterMonitoringReader struct {
	// contains filtered or unexported fields
}

CancelEsClusterMonitoringReader is a Reader for the CancelEsClusterMonitoring structure.

func (*CancelEsClusterMonitoringReader) ReadResponse

func (o *CancelEsClusterMonitoringReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CancelEsClusterMonitoringRetryWith

type CancelEsClusterMonitoringRetryWith struct {
	Payload *models.BasicFailedReply
}
CancelEsClusterMonitoringRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')

func NewCancelEsClusterMonitoringRetryWith

func NewCancelEsClusterMonitoringRetryWith() *CancelEsClusterMonitoringRetryWith

NewCancelEsClusterMonitoringRetryWith creates a CancelEsClusterMonitoringRetryWith with default headers values

func (*CancelEsClusterMonitoringRetryWith) Error

func (*CancelEsClusterMonitoringRetryWith) GetPayload

type CancelEsClusterPendingPlanNotFound

type CancelEsClusterPendingPlanNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
CancelEsClusterPendingPlanNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewCancelEsClusterPendingPlanNotFound

func NewCancelEsClusterPendingPlanNotFound() *CancelEsClusterPendingPlanNotFound

NewCancelEsClusterPendingPlanNotFound creates a CancelEsClusterPendingPlanNotFound with default headers values

func (*CancelEsClusterPendingPlanNotFound) Error

func (*CancelEsClusterPendingPlanNotFound) GetPayload

type CancelEsClusterPendingPlanOK

type CancelEsClusterPendingPlanOK struct {
	Payload models.EmptyResponse
}
CancelEsClusterPendingPlanOK describes a response with status code 200, with default header values.

The pending plan has been successfully cancelled

func NewCancelEsClusterPendingPlanOK

func NewCancelEsClusterPendingPlanOK() *CancelEsClusterPendingPlanOK

NewCancelEsClusterPendingPlanOK creates a CancelEsClusterPendingPlanOK with default headers values

func (*CancelEsClusterPendingPlanOK) Error

func (*CancelEsClusterPendingPlanOK) GetPayload

type CancelEsClusterPendingPlanParams

type CancelEsClusterPendingPlanParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* ForceDelete.

	   "When `true`, deletes the pending plan instead of attempting a graceful cancellation. The default is `false`.
	*/
	ForceDelete *bool

	/* IgnoreMissing.

	   When `true`, returns successfully, even when plans are pending. The default is `false`.
	*/
	IgnoreMissing *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CancelEsClusterPendingPlanParams contains all the parameters to send to the API endpoint

for the cancel es cluster pending plan operation.

Typically these are written to a http.Request.

func NewCancelEsClusterPendingPlanParams

func NewCancelEsClusterPendingPlanParams() *CancelEsClusterPendingPlanParams

NewCancelEsClusterPendingPlanParams creates a new CancelEsClusterPendingPlanParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCancelEsClusterPendingPlanParamsWithContext

func NewCancelEsClusterPendingPlanParamsWithContext(ctx context.Context) *CancelEsClusterPendingPlanParams

NewCancelEsClusterPendingPlanParamsWithContext creates a new CancelEsClusterPendingPlanParams object with the ability to set a context for a request.

func NewCancelEsClusterPendingPlanParamsWithHTTPClient

func NewCancelEsClusterPendingPlanParamsWithHTTPClient(client *http.Client) *CancelEsClusterPendingPlanParams

NewCancelEsClusterPendingPlanParamsWithHTTPClient creates a new CancelEsClusterPendingPlanParams object with the ability to set a custom HTTPClient for a request.

func NewCancelEsClusterPendingPlanParamsWithTimeout

func NewCancelEsClusterPendingPlanParamsWithTimeout(timeout time.Duration) *CancelEsClusterPendingPlanParams

NewCancelEsClusterPendingPlanParamsWithTimeout creates a new CancelEsClusterPendingPlanParams object with the ability to set a timeout on a request.

func (*CancelEsClusterPendingPlanParams) SetClusterID

func (o *CancelEsClusterPendingPlanParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the cancel es cluster pending plan params

func (*CancelEsClusterPendingPlanParams) SetContext

SetContext adds the context to the cancel es cluster pending plan params

func (*CancelEsClusterPendingPlanParams) SetDefaults added in v1.3.0

func (o *CancelEsClusterPendingPlanParams) SetDefaults()

SetDefaults hydrates default values in the cancel es cluster pending plan params (not the query body).

All values with no default are reset to their zero value.

func (*CancelEsClusterPendingPlanParams) SetForceDelete

func (o *CancelEsClusterPendingPlanParams) SetForceDelete(forceDelete *bool)

SetForceDelete adds the forceDelete to the cancel es cluster pending plan params

func (*CancelEsClusterPendingPlanParams) SetHTTPClient

func (o *CancelEsClusterPendingPlanParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the cancel es cluster pending plan params

func (*CancelEsClusterPendingPlanParams) SetIgnoreMissing

func (o *CancelEsClusterPendingPlanParams) SetIgnoreMissing(ignoreMissing *bool)

SetIgnoreMissing adds the ignoreMissing to the cancel es cluster pending plan params

func (*CancelEsClusterPendingPlanParams) SetTimeout

func (o *CancelEsClusterPendingPlanParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the cancel es cluster pending plan params

func (*CancelEsClusterPendingPlanParams) WithClusterID

WithClusterID adds the clusterID to the cancel es cluster pending plan params

func (*CancelEsClusterPendingPlanParams) WithContext

WithContext adds the context to the cancel es cluster pending plan params

func (*CancelEsClusterPendingPlanParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the cancel es cluster pending plan params (not the query body).

All values with no default are reset to their zero value.

func (*CancelEsClusterPendingPlanParams) WithForceDelete

WithForceDelete adds the forceDelete to the cancel es cluster pending plan params

func (*CancelEsClusterPendingPlanParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cancel es cluster pending plan params

func (*CancelEsClusterPendingPlanParams) WithIgnoreMissing

func (o *CancelEsClusterPendingPlanParams) WithIgnoreMissing(ignoreMissing *bool) *CancelEsClusterPendingPlanParams

WithIgnoreMissing adds the ignoreMissing to the cancel es cluster pending plan params

func (*CancelEsClusterPendingPlanParams) WithTimeout

WithTimeout adds the timeout to the cancel es cluster pending plan params

func (*CancelEsClusterPendingPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CancelEsClusterPendingPlanPreconditionFailed

type CancelEsClusterPendingPlanPreconditionFailed struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
CancelEsClusterPendingPlanPreconditionFailed describes a response with status code 412, with default header values.

There is not currently applied plan - eg the cluster has not finished provisioning, or the provisioning failed. (code: `clusters.cluster_plan_state_error`)

func NewCancelEsClusterPendingPlanPreconditionFailed

func NewCancelEsClusterPendingPlanPreconditionFailed() *CancelEsClusterPendingPlanPreconditionFailed

NewCancelEsClusterPendingPlanPreconditionFailed creates a CancelEsClusterPendingPlanPreconditionFailed with default headers values

func (*CancelEsClusterPendingPlanPreconditionFailed) Error

func (*CancelEsClusterPendingPlanPreconditionFailed) GetPayload

type CancelEsClusterPendingPlanReader

type CancelEsClusterPendingPlanReader struct {
	// contains filtered or unexported fields
}

CancelEsClusterPendingPlanReader is a Reader for the CancelEsClusterPendingPlan structure.

func (*CancelEsClusterPendingPlanReader) ReadResponse

func (o *CancelEsClusterPendingPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CancelEsClusterPendingPlanRetryWith

type CancelEsClusterPendingPlanRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
CancelEsClusterPendingPlanRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewCancelEsClusterPendingPlanRetryWith

func NewCancelEsClusterPendingPlanRetryWith() *CancelEsClusterPendingPlanRetryWith

NewCancelEsClusterPendingPlanRetryWith creates a CancelEsClusterPendingPlanRetryWith with default headers values

func (*CancelEsClusterPendingPlanRetryWith) Error

func (*CancelEsClusterPendingPlanRetryWith) GetPayload

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for clusters elasticsearch API

func (*Client) CancelEsClusterMonitoring

func (a *Client) CancelEsClusterMonitoring(params *CancelEsClusterMonitoringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelEsClusterMonitoringAccepted, error)
CancelEsClusterMonitoring cancels monitoring

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [update deployment](#update-deployment) instead.

Deletes all monitoring destinations for the Elasticsearch cluster.

func (*Client) CancelEsClusterPendingPlan

func (a *Client) CancelEsClusterPendingPlan(params *CancelEsClusterPendingPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelEsClusterPendingPlanOK, error)
CancelEsClusterPendingPlan cancels pending plan

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [cancel resource pending plan](#cancel-deployment-resource-pending-plan) instead.

Cancels the pending plan of the Elasticsearch cluster.

func (*Client) CreateEsCluster

CreateEsCluster creates cluster

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [create deployment](#create-deployment) instead.

Creates an Elasticsearch cluster.

func (*Client) DeleteEsCluster

func (a *Client) DeleteEsCluster(params *DeleteEsClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEsClusterOK, error)
DeleteEsCluster deletes cluster

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [delete deployment](#delete-deployment) instead.

Deletes the Elasticsearch cluster. Before you delete the Elasticsearch cluster, you must first successfully issue a `_shutdown` command.

func (*Client) DeleteEsProxyRequests

func (a *Client) DeleteEsProxyRequests(params *DeleteEsProxyRequestsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEsProxyRequestsOK, error)
DeleteEsProxyRequests proxies HTTP d e l e t e request to the cluster

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [proxy `DELETE` request to resource](#delete-deployment-resource-proxy-requests) instead.

Proxies HTTP DELETE request to the cluster. Requires that HTTP header X-Management-Request be specified. This endpoint is for management use and does not provide high performance.

func (*Client) GenerateEsClusterDiagnostics

func (a *Client) GenerateEsClusterDiagnostics(params *GenerateEsClusterDiagnosticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GenerateEsClusterDiagnosticsOK, error)
GenerateEsClusterDiagnostics generates diagnostics

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [capture resource diagnostics](#capture-deployment-resource-diagnostics) instead.

Retrieves a support diagnostic bundle from an active Elasticsearch cluster. To successfully retrieve a support diagnostic bundle, the cluster must be responsive.

func (*Client) GenerateEsClusterLogs

func (a *Client) GenerateEsClusterLogs(params *GenerateEsClusterLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GenerateEsClusterLogsOK, error)
GenerateEsClusterLogs generates logs

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version.

Retrieves the log file for the Elasticsearch cluster.

func (*Client) GetEsCcsEligibleRemotes

func (a *Client) GetEsCcsEligibleRemotes(params *GetEsCcsEligibleRemotesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsCcsEligibleRemotesOK, error)
GetEsCcsEligibleRemotes searches clusters that can be used as cross cluster search remotes

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [search eligible remote clusters](#search-eligible-remote-clusters) instead.

Retrieves the information for all of the Elasticsearch clusters that can selected as remotes in a given version.

func (*Client) GetEsCluster

func (a *Client) GetEsCluster(params *GetEsClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterOK, error)
GetEsCluster gets cluster

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [get deployment](#get-deployment) instead.

Retrieves the Elasticsearch cluster information.

func (*Client) GetEsClusterCcs

func (a *Client) GetEsClusterCcs(params *GetEsClusterCcsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterCcsOK, error)
GetEsClusterCcs gets cross cluster search clusters

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use the Elasticsearch remote cluster info API instead.

Returns the list of cross-cluster search clusters' IDs for the remote cluster.

func (*Client) GetEsClusterCcsSettings

func (a *Client) GetEsClusterCcsSettings(params *GetEsClusterCcsSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterCcsSettingsOK, error)
GetEsClusterCcsSettings gets remote clusters for cross cluster search

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [get Elasticsearch remote clusters](#get-deployment-es-resource-remote-clusters) instead.

Returns cross-cluster search configuration for the Elasticsearch cluster.

func (*Client) GetEsClusterCurationSettings

func (a *Client) GetEsClusterCurationSettings(params *GetEsClusterCurationSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterCurationSettingsOK, error)
GetEsClusterCurationSettings gets cluster curation settings

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use Elasticsearch index lifecycle management (ILM) instead.

Retrieves cluster curation settings for an Elasticsearch cluster.

func (*Client) GetEsClusterKeystore

func (a *Client) GetEsClusterKeystore(params *GetEsClusterKeystoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterKeystoreOK, error)
GetEsClusterKeystore gets settings from this cluster s keystore

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [set Elasticsearch keystore contents](#get-deployment-es-resource-keystore) instead.

Returns the available keys in the keystore.

func (*Client) GetEsClusterMetadataRaw

func (a *Client) GetEsClusterMetadataRaw(params *GetEsClusterMetadataRawParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterMetadataRawOK, error)
GetEsClusterMetadataRaw gets cluster metadata

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [get deployment](#get-deployment) instead.

Advanced use only. Retrieves the internal cluster metadata, in free-form JSON, for the Elasticsearch cluster.

func (*Client) GetEsClusterMetadataSettings

func (a *Client) GetEsClusterMetadataSettings(params *GetEsClusterMetadataSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterMetadataSettingsOK, error)
GetEsClusterMetadataSettings gets cluster metadata settings

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [get deployment](#get-deployment) instead.

Retrieves a structured version of the cluster metadata as a collection of top-level settings. If a particular setting isn't returned, then the free-form JSON endpoint (`/metadata/raw`) must be used.

func (*Client) GetEsClusterPendingPlan

func (a *Client) GetEsClusterPendingPlan(params *GetEsClusterPendingPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterPendingPlanOK, error)
GetEsClusterPendingPlan gets pending plan

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [get deployment](#get-deployment) instead.

Retrieves the pending plan of the cluster.

func (*Client) GetEsClusterPlan

func (a *Client) GetEsClusterPlan(params *GetEsClusterPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterPlanOK, error)
GetEsClusterPlan gets plan

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [get deployment](#get-deployment) instead.

Retrieves the active plan of the Elasticsearch cluster. Transient settings are not show by this endpoint. To view the transient settings that have been applied with a specific plan, use the activity endpoint.

func (*Client) GetEsClusterPlanActivity

func (a *Client) GetEsClusterPlanActivity(params *GetEsClusterPlanActivityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterPlanActivityOK, error)
GetEsClusterPlanActivity gets plan activity

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [get deployment](#get-deployment) instead.

Retrieves the active and historical plan information for the Elasticsearch cluster.

func (*Client) GetEsClusterSnapshotSettings

func (a *Client) GetEsClusterSnapshotSettings(params *GetEsClusterSnapshotSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterSnapshotSettingsOK, error)
GetEsClusterSnapshotSettings gets cluster snapshot settings

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [get deployment](#get-deployment) instead.

Gets cluster snapshot settings.

func (*Client) GetEsClusters

func (a *Client) GetEsClusters(params *GetEsClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClustersOK, error)
GetEsClusters gets clusters

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [list deployments](#list-deployments) instead.

Retrieves the information for all Elasticsearch clusters.

func (*Client) GetEsProxyRequests

func (a *Client) GetEsProxyRequests(params *GetEsProxyRequestsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsProxyRequestsOK, error)
GetEsProxyRequests proxies HTTP g e t request to the cluster

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [proxy `GET` request to resource](#get-deployment-resource-proxy-requests) instead.

Proxies HTTP GET request to the cluster. Requires that HTTP header X-Management-Request be specified. This endpoint is for management use and does not provide high performance.

func (*Client) MigrateEsClusterPlan

MigrateEsClusterPlan migrates plan

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version.

Migrates the configuration of the Elasticsearch cluster to a different template.

func (*Client) MoveEsClusterInstances

func (a *Client) MoveEsClusterInstances(params *MoveEsClusterInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveEsClusterInstancesAccepted, error)
MoveEsClusterInstances moves instances

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version.

Moves one or more instances in the Elasticsearch cluster.

func (*Client) MoveEsClusterInstancesAdvanced

MoveEsClusterInstancesAdvanced moves instances advanced

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version.

Moves one or more instances in the Elasticsearch cluster. The custom configuration settings are posted in the body.

func (*Client) PostEsProxyRequests

func (a *Client) PostEsProxyRequests(params *PostEsProxyRequestsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostEsProxyRequestsOK, error)
PostEsProxyRequests proxies HTTP p o s t request to the cluster

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [proxy `POST` request to resource](#post-deployment-resource-proxy-requests) instead.

Proxies HTTP POST request to the cluster. Requires that HTTP header X-Management-Request be specified. This endpoint is for management use and does not provide high performance.

func (*Client) PutEsProxyRequests

func (a *Client) PutEsProxyRequests(params *PutEsProxyRequestsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutEsProxyRequestsOK, error)
PutEsProxyRequests proxies HTTP p u t request to the cluster

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [proxy `PUT` request to resource](#put-deployment-resource-proxy-requests) instead.

Proxies HTTP PUT request to the cluster. Requires that HTTP header X-Management-Request be specified. This endpoint is for management use and does not provide high performance.

func (*Client) RestartEsCluster

func (a *Client) RestartEsCluster(params *RestartEsClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartEsClusterAccepted, error)
RestartEsCluster restarts cluster

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [restart Elasticsearch resource](#restart-deployment-es-resource) instead.

Restarts the Elasticsearch cluster. When you restart an active cluster, the existing plan is used and a `cluster_reboot` is applied. A `cluster_reboot` issues an Elasticsearch restart command, then waits for the command to complete. When you restart an inactive cluster, the most recent successful plan is applied.

func (*Client) ResyncEsCluster

func (a *Client) ResyncEsCluster(params *ResyncEsClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResyncEsClusterOK, error)
ResyncEsCluster resynchronizes cluster

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [resynchronize deployment](#resync-deployment) instead.

Immediately resynchronizes the search index and cache for the selected Elasticsearch cluster.

func (*Client) ResyncEsClusters

func (a *Client) ResyncEsClusters(params *ResyncEsClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResyncEsClustersAccepted, error)
ResyncEsClusters resynchronizes clusters

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [resynchronize deployments](#resync-deployments) instead.

Asynchronously resynchronizes the search index for all Elasticsearch clusters.

func (*Client) SearchEsClusters

func (a *Client) SearchEsClusters(params *SearchEsClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchEsClustersOK, error)
SearchEsClusters searches clusters

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [search deployments](#search-deployments) instead.

Retrieves the information for all of the Elasticsearch clusters that match the specified query.

func (*Client) SetEsClusterCcsSettings

func (a *Client) SetEsClusterCcsSettings(params *SetEsClusterCcsSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetEsClusterCcsSettingsAccepted, error)
SetEsClusterCcsSettings sets remote clusters for cross cluster search

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [set Elasticsearch remote clusters](#set-deployment-es-resource-remote-clusters) instead.

Overwrites or creates the cross-cluster search configuration for the Elasticsearch cluster.

func (*Client) SetEsClusterInstancesAllSettingsOverrides

SetEsClusterInstancesAllSettingsOverrides sets settings overrides all instances

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [set all resource instances overrides](#set-all-instances-settings-overrides) instead.

Overrides the settings for all of the instances in the Elasticsearch cluster.

func (*Client) SetEsClusterInstancesSettingsOverrides

SetEsClusterInstancesSettingsOverrides sets settings overrides

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [set resource instances overrides](#set-instance-settings-overrides) instead.

Overrides the settings for the specified instances in the Elasticsearch cluster.

func (*Client) SetEsClusterKeystore

func (a *Client) SetEsClusterKeystore(params *SetEsClusterKeystoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetEsClusterKeystoreAccepted, error)
SetEsClusterKeystore adds or remove settings from the cluster keystore

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [set Elasticsearch keystore contents](#set-deployment-es-resource-keystore) instead.

Adds the specified values to the Elasticsearch keystore, or removes the keys for the unspecified values.

func (*Client) SetEsClusterLegacySecuritySettings

func (a *Client) SetEsClusterLegacySecuritySettings(params *SetEsClusterLegacySecuritySettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetEsClusterLegacySecuritySettingsOK, error)
SetEsClusterLegacySecuritySettings sets legacy security settings

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version.

Sets the legacy Shield security settings for a 2.x Elasticsearch cluster.

func (*Client) SetEsClusterMetadataRaw

func (a *Client) SetEsClusterMetadataRaw(params *SetEsClusterMetadataRawParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetEsClusterMetadataRawOK, error)
SetEsClusterMetadataRaw sets cluster metadata

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [set resource raw metadata](#set-deployment-resource-raw-metadata) instead.

Advanced use only. Sets the internal metadata, in free-form JSON, for the Elasticsearch cluster. Only use the parameter to set the modified JSON that is returned from the get version of the metadata.

func (*Client) SetEsClusterMonitoring

func (a *Client) SetEsClusterMonitoring(params *SetEsClusterMonitoringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetEsClusterMonitoringAccepted, error)
SetEsClusterMonitoring sets monitoring

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [update deployment](#update-deployment) instead.

Overwrites or creates the monitoring destination for the Elasticsearch cluster.

func (*Client) SetEsClusterName

func (a *Client) SetEsClusterName(params *SetEsClusterNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetEsClusterNameOK, error)
SetEsClusterName sets cluster name

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [update deployment](#update-deployment) instead.

Assigns a name to the Elasticsearch cluster.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) ShutdownEsCluster

func (a *Client) ShutdownEsCluster(params *ShutdownEsClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShutdownEsClusterAccepted, error)
ShutdownEsCluster shuts down cluster

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [shutdown Elasticsearch resource](#shutdown-deployment-es-resource) instead.

Shuts down the active Elasticsearch cluster and removes all of the cluster nodes. The cluster plan is retained. WARNING: To avoid data loss, save the data outside of the cluster before you shut the cluster down.

func (*Client) SnapshotEsCluster

func (a *Client) SnapshotEsCluster(params *SnapshotEsClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapshotEsClusterAccepted, error)
SnapshotEsCluster takes snapshot

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use Elasticsearch snapshot APIs instead.

To create a snapshot of the specified Elasticsearch cluster, uses the configured snapshot repository.

func (*Client) StartEsClusterInstances

func (a *Client) StartEsClusterInstances(params *StartEsClusterInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartEsClusterInstancesAccepted, error)
StartEsClusterInstances starts instances

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [start resource instances](#start-deployment-resource-instances) instead.

Starts the instances in the Elasticsearch cluster.

func (*Client) StartEsClusterInstancesAll

StartEsClusterInstancesAll starts all instances

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [start all resource instances](#start-deployment-resource-instances-all) instead.

Starts all of the instances in the Elasticsearch cluster.

func (*Client) StartEsClusterInstancesAllMaintenanceMode

StartEsClusterInstancesAllMaintenanceMode starts maintenance mode all instances

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [start maintenance mode on resource instances](#start-deployment-resource-maintenance-mode) instead.

Starts maintenance mode on all of the instances in the Elasticsearch cluster.

func (*Client) StartEsClusterMaintenanceMode

StartEsClusterMaintenanceMode starts maintenance mode

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [start maintenance mode on all resource instances](#start-deployment-resource-instances-all-maintenance-mode) instead.

Starts maintenance mode on the specified instances in the Elasticsearch cluster.

func (*Client) StopEsClusterInstances

func (a *Client) StopEsClusterInstances(params *StopEsClusterInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopEsClusterInstancesAccepted, error)
StopEsClusterInstances stops instances

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [stop resource instances](#stop-deployment-resource-instances) instead.

Stops the instances in the Elasticsearch cluster.

func (*Client) StopEsClusterInstancesAll

func (a *Client) StopEsClusterInstancesAll(params *StopEsClusterInstancesAllParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopEsClusterInstancesAllAccepted, error)
StopEsClusterInstancesAll stops all instances

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [stop all resource instances](#stop-deployment-resource-instances-all) instead.

Stops all of the instances in the Elasticsearch cluster..

func (*Client) StopEsClusterInstancesAllMaintenanceMode

StopEsClusterInstancesAllMaintenanceMode stops maintenance mode all instances

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [stop maintenance mode on all resource instances](#stop-deployment-resource-instances-all-maintenance-mode) instead.

Stops maintenance mode on all of the instances in the Elasticsearch cluster.

func (*Client) StopEsClusterMaintenanceMode

StopEsClusterMaintenanceMode stops maintenance mode

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [stop maintenance mode on resource instances](#stop-deployment-resource-maintenance-mode) instead.

Stops maintenance mode on the specified instances in the Elasticsearch cluster.

func (*Client) UpdateEsClusterCurationSettings

func (a *Client) UpdateEsClusterCurationSettings(params *UpdateEsClusterCurationSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEsClusterCurationSettingsOK, error)
UpdateEsClusterCurationSettings updates cluster curation settings

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use Elasticsearch index lifecycle management (ILM) instead.

Overrides cluster curation settings for an Elasticsearch cluster.

func (*Client) UpdateEsClusterMetadataSettings

func (a *Client) UpdateEsClusterMetadataSettings(params *UpdateEsClusterMetadataSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEsClusterMetadataSettingsOK, error)
UpdateEsClusterMetadataSettings updates cluster metadata settings

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [update deployment](#update-deployment) instead.

All changes in the specified object are applied to the metadata object according to the JSON Merge Patch processing rules. Omitting existing fields causes the same values to be reapplied. Specifying a `null` value reverts the field to the default value, or removes the field when no default value exists.

func (*Client) UpdateEsClusterPlan

UpdateEsClusterPlan updates plan

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [update deployment](#update-deployment) instead.

Updates the configuration of the Elasticsearch cluster.

func (*Client) UpdateEsClusterSnapshotSettings

func (a *Client) UpdateEsClusterSnapshotSettings(params *UpdateEsClusterSnapshotSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEsClusterSnapshotSettingsOK, error)
UpdateEsClusterSnapshotSettings updates cluster snapshot settings

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [update deployment](#update-deployment) instead.

All changes in the specified object are applied to the snapshot settings according to the JSON Merge Patch processing rules. Omitting existing fields causes the same values to be reapplied. Specifying a `null` value reverts the field to the default value, or removes the field when no default value exists.

type ClientOption added in v1.3.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CancelEsClusterMonitoring(params *CancelEsClusterMonitoringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelEsClusterMonitoringAccepted, error)

	CancelEsClusterPendingPlan(params *CancelEsClusterPendingPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelEsClusterPendingPlanOK, error)

	CreateEsCluster(params *CreateEsClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEsClusterOK, *CreateEsClusterCreated, *CreateEsClusterAccepted, error)

	DeleteEsCluster(params *DeleteEsClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEsClusterOK, error)

	DeleteEsProxyRequests(params *DeleteEsProxyRequestsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEsProxyRequestsOK, error)

	GenerateEsClusterDiagnostics(params *GenerateEsClusterDiagnosticsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GenerateEsClusterDiagnosticsOK, error)

	GenerateEsClusterLogs(params *GenerateEsClusterLogsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GenerateEsClusterLogsOK, error)

	GetEsCcsEligibleRemotes(params *GetEsCcsEligibleRemotesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsCcsEligibleRemotesOK, error)

	GetEsCluster(params *GetEsClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterOK, error)

	GetEsClusterCcs(params *GetEsClusterCcsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterCcsOK, error)

	GetEsClusterCcsSettings(params *GetEsClusterCcsSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterCcsSettingsOK, error)

	GetEsClusterCurationSettings(params *GetEsClusterCurationSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterCurationSettingsOK, error)

	GetEsClusterKeystore(params *GetEsClusterKeystoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterKeystoreOK, error)

	GetEsClusterMetadataRaw(params *GetEsClusterMetadataRawParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterMetadataRawOK, error)

	GetEsClusterMetadataSettings(params *GetEsClusterMetadataSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterMetadataSettingsOK, error)

	GetEsClusterPendingPlan(params *GetEsClusterPendingPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterPendingPlanOK, error)

	GetEsClusterPlan(params *GetEsClusterPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterPlanOK, error)

	GetEsClusterPlanActivity(params *GetEsClusterPlanActivityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterPlanActivityOK, error)

	GetEsClusterSnapshotSettings(params *GetEsClusterSnapshotSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClusterSnapshotSettingsOK, error)

	GetEsClusters(params *GetEsClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsClustersOK, error)

	GetEsProxyRequests(params *GetEsProxyRequestsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEsProxyRequestsOK, error)

	MigrateEsClusterPlan(params *MigrateEsClusterPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MigrateEsClusterPlanOK, *MigrateEsClusterPlanAccepted, error)

	MoveEsClusterInstances(params *MoveEsClusterInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveEsClusterInstancesAccepted, error)

	MoveEsClusterInstancesAdvanced(params *MoveEsClusterInstancesAdvancedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveEsClusterInstancesAdvancedAccepted, error)

	PostEsProxyRequests(params *PostEsProxyRequestsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostEsProxyRequestsOK, error)

	PutEsProxyRequests(params *PutEsProxyRequestsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutEsProxyRequestsOK, error)

	RestartEsCluster(params *RestartEsClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartEsClusterAccepted, error)

	ResyncEsCluster(params *ResyncEsClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResyncEsClusterOK, error)

	ResyncEsClusters(params *ResyncEsClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResyncEsClustersAccepted, error)

	SearchEsClusters(params *SearchEsClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchEsClustersOK, error)

	SetEsClusterCcsSettings(params *SetEsClusterCcsSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetEsClusterCcsSettingsAccepted, error)

	SetEsClusterInstancesAllSettingsOverrides(params *SetEsClusterInstancesAllSettingsOverridesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetEsClusterInstancesAllSettingsOverridesOK, error)

	SetEsClusterInstancesSettingsOverrides(params *SetEsClusterInstancesSettingsOverridesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetEsClusterInstancesSettingsOverridesOK, error)

	SetEsClusterKeystore(params *SetEsClusterKeystoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetEsClusterKeystoreAccepted, error)

	SetEsClusterLegacySecuritySettings(params *SetEsClusterLegacySecuritySettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetEsClusterLegacySecuritySettingsOK, error)

	SetEsClusterMetadataRaw(params *SetEsClusterMetadataRawParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetEsClusterMetadataRawOK, error)

	SetEsClusterMonitoring(params *SetEsClusterMonitoringParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetEsClusterMonitoringAccepted, error)

	SetEsClusterName(params *SetEsClusterNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetEsClusterNameOK, error)

	ShutdownEsCluster(params *ShutdownEsClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShutdownEsClusterAccepted, error)

	SnapshotEsCluster(params *SnapshotEsClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SnapshotEsClusterAccepted, error)

	StartEsClusterInstances(params *StartEsClusterInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartEsClusterInstancesAccepted, error)

	StartEsClusterInstancesAll(params *StartEsClusterInstancesAllParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartEsClusterInstancesAllAccepted, error)

	StartEsClusterInstancesAllMaintenanceMode(params *StartEsClusterInstancesAllMaintenanceModeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartEsClusterInstancesAllMaintenanceModeAccepted, error)

	StartEsClusterMaintenanceMode(params *StartEsClusterMaintenanceModeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartEsClusterMaintenanceModeAccepted, error)

	StopEsClusterInstances(params *StopEsClusterInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopEsClusterInstancesAccepted, error)

	StopEsClusterInstancesAll(params *StopEsClusterInstancesAllParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopEsClusterInstancesAllAccepted, error)

	StopEsClusterInstancesAllMaintenanceMode(params *StopEsClusterInstancesAllMaintenanceModeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopEsClusterInstancesAllMaintenanceModeAccepted, error)

	StopEsClusterMaintenanceMode(params *StopEsClusterMaintenanceModeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopEsClusterMaintenanceModeAccepted, error)

	UpdateEsClusterCurationSettings(params *UpdateEsClusterCurationSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEsClusterCurationSettingsOK, error)

	UpdateEsClusterMetadataSettings(params *UpdateEsClusterMetadataSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEsClusterMetadataSettingsOK, error)

	UpdateEsClusterPlan(params *UpdateEsClusterPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEsClusterPlanOK, *UpdateEsClusterPlanAccepted, error)

	UpdateEsClusterSnapshotSettings(params *UpdateEsClusterSnapshotSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateEsClusterSnapshotSettingsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new clusters elasticsearch API client.

type CreateEsClusterAccepted

type CreateEsClusterAccepted struct {
	Payload *models.ClusterCrudResponse
}
CreateEsClusterAccepted describes a response with status code 202, with default header values.

The cluster definition was valid and the cluster creation has already started

func NewCreateEsClusterAccepted

func NewCreateEsClusterAccepted() *CreateEsClusterAccepted

NewCreateEsClusterAccepted creates a CreateEsClusterAccepted with default headers values

func (*CreateEsClusterAccepted) Error

func (o *CreateEsClusterAccepted) Error() string

func (*CreateEsClusterAccepted) GetPayload

type CreateEsClusterBadRequest

type CreateEsClusterBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
CreateEsClusterBadRequest describes a response with status code 400, with default header values.

* The cluster definition contained errors. (code: `clusters.cluster_invalid_plan`)

* The features used in the cluster definition have not been implemented yet. (code: `clusters.plan_feature_not_implemented`)

func NewCreateEsClusterBadRequest

func NewCreateEsClusterBadRequest() *CreateEsClusterBadRequest

NewCreateEsClusterBadRequest creates a CreateEsClusterBadRequest with default headers values

func (*CreateEsClusterBadRequest) Error

func (o *CreateEsClusterBadRequest) Error() string

func (*CreateEsClusterBadRequest) GetPayload

type CreateEsClusterCreated

type CreateEsClusterCreated struct {
	Payload *models.ClusterCrudResponse
}
CreateEsClusterCreated describes a response with status code 201, with default header values.

The cluster definition was valid and the cluster creation has started

func NewCreateEsClusterCreated

func NewCreateEsClusterCreated() *CreateEsClusterCreated

NewCreateEsClusterCreated creates a CreateEsClusterCreated with default headers values

func (*CreateEsClusterCreated) Error

func (o *CreateEsClusterCreated) Error() string

func (*CreateEsClusterCreated) GetPayload

type CreateEsClusterOK

type CreateEsClusterOK struct {
	Payload *models.ClusterCrudResponse
}
CreateEsClusterOK describes a response with status code 200, with default header values.

The cluster definition was valid - no further action was requested. The return object contains an internal representation of the plan, for use in debugging

func NewCreateEsClusterOK

func NewCreateEsClusterOK() *CreateEsClusterOK

NewCreateEsClusterOK creates a CreateEsClusterOK with default headers values

func (*CreateEsClusterOK) Error

func (o *CreateEsClusterOK) Error() string

func (*CreateEsClusterOK) GetPayload

func (o *CreateEsClusterOK) GetPayload() *models.ClusterCrudResponse

type CreateEsClusterParams

type CreateEsClusterParams struct {

	/* Body.

	   The cluster definition
	*/
	Body *models.CreateElasticsearchClusterRequest

	/* RequestID.

	   (Optional) The idempotency token. When two create requests share the same `request_id` (minimum size of 32 characters, maximum size of 128 characters), only one cluster is created. The second request returns the information for that cluster, but the password field is blank.
	*/
	RequestID *string

	/* ValidateOnly.

	   When `true`, validates the cluster definition without creating the cluster.
	*/
	ValidateOnly *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateEsClusterParams contains all the parameters to send to the API endpoint

for the create es cluster operation.

Typically these are written to a http.Request.

func NewCreateEsClusterParams

func NewCreateEsClusterParams() *CreateEsClusterParams

NewCreateEsClusterParams creates a new CreateEsClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateEsClusterParamsWithContext

func NewCreateEsClusterParamsWithContext(ctx context.Context) *CreateEsClusterParams

NewCreateEsClusterParamsWithContext creates a new CreateEsClusterParams object with the ability to set a context for a request.

func NewCreateEsClusterParamsWithHTTPClient

func NewCreateEsClusterParamsWithHTTPClient(client *http.Client) *CreateEsClusterParams

NewCreateEsClusterParamsWithHTTPClient creates a new CreateEsClusterParams object with the ability to set a custom HTTPClient for a request.

func NewCreateEsClusterParamsWithTimeout

func NewCreateEsClusterParamsWithTimeout(timeout time.Duration) *CreateEsClusterParams

NewCreateEsClusterParamsWithTimeout creates a new CreateEsClusterParams object with the ability to set a timeout on a request.

func (*CreateEsClusterParams) SetBody

SetBody adds the body to the create es cluster params

func (*CreateEsClusterParams) SetContext

func (o *CreateEsClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the create es cluster params

func (*CreateEsClusterParams) SetDefaults added in v1.3.0

func (o *CreateEsClusterParams) SetDefaults()

SetDefaults hydrates default values in the create es cluster params (not the query body).

All values with no default are reset to their zero value.

func (*CreateEsClusterParams) SetHTTPClient

func (o *CreateEsClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create es cluster params

func (*CreateEsClusterParams) SetRequestID

func (o *CreateEsClusterParams) SetRequestID(requestID *string)

SetRequestID adds the requestId to the create es cluster params

func (*CreateEsClusterParams) SetTimeout

func (o *CreateEsClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create es cluster params

func (*CreateEsClusterParams) SetValidateOnly

func (o *CreateEsClusterParams) SetValidateOnly(validateOnly *bool)

SetValidateOnly adds the validateOnly to the create es cluster params

func (*CreateEsClusterParams) WithBody

WithBody adds the body to the create es cluster params

func (*CreateEsClusterParams) WithContext

WithContext adds the context to the create es cluster params

func (*CreateEsClusterParams) WithDefaults added in v1.3.0

func (o *CreateEsClusterParams) WithDefaults() *CreateEsClusterParams

WithDefaults hydrates default values in the create es cluster params (not the query body).

All values with no default are reset to their zero value.

func (*CreateEsClusterParams) WithHTTPClient

func (o *CreateEsClusterParams) WithHTTPClient(client *http.Client) *CreateEsClusterParams

WithHTTPClient adds the HTTPClient to the create es cluster params

func (*CreateEsClusterParams) WithRequestID

func (o *CreateEsClusterParams) WithRequestID(requestID *string) *CreateEsClusterParams

WithRequestID adds the requestID to the create es cluster params

func (*CreateEsClusterParams) WithTimeout

func (o *CreateEsClusterParams) WithTimeout(timeout time.Duration) *CreateEsClusterParams

WithTimeout adds the timeout to the create es cluster params

func (*CreateEsClusterParams) WithValidateOnly

func (o *CreateEsClusterParams) WithValidateOnly(validateOnly *bool) *CreateEsClusterParams

WithValidateOnly adds the validateOnly to the create es cluster params

func (*CreateEsClusterParams) WriteToRequest

func (o *CreateEsClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateEsClusterReader

type CreateEsClusterReader struct {
	// contains filtered or unexported fields
}

CreateEsClusterReader is a Reader for the CreateEsCluster structure.

func (*CreateEsClusterReader) ReadResponse

func (o *CreateEsClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateEsClusterRetryWith

type CreateEsClusterRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
CreateEsClusterRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewCreateEsClusterRetryWith

func NewCreateEsClusterRetryWith() *CreateEsClusterRetryWith

NewCreateEsClusterRetryWith creates a CreateEsClusterRetryWith with default headers values

func (*CreateEsClusterRetryWith) Error

func (o *CreateEsClusterRetryWith) Error() string

func (*CreateEsClusterRetryWith) GetPayload

type DeleteEsClusterNotFound

type DeleteEsClusterNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
DeleteEsClusterNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewDeleteEsClusterNotFound

func NewDeleteEsClusterNotFound() *DeleteEsClusterNotFound

NewDeleteEsClusterNotFound creates a DeleteEsClusterNotFound with default headers values

func (*DeleteEsClusterNotFound) Error

func (o *DeleteEsClusterNotFound) Error() string

func (*DeleteEsClusterNotFound) GetPayload

type DeleteEsClusterOK

type DeleteEsClusterOK struct {
	Payload models.EmptyResponse
}
DeleteEsClusterOK describes a response with status code 200, with default header values.

The cluster has been successfully deleted

func NewDeleteEsClusterOK

func NewDeleteEsClusterOK() *DeleteEsClusterOK

NewDeleteEsClusterOK creates a DeleteEsClusterOK with default headers values

func (*DeleteEsClusterOK) Error

func (o *DeleteEsClusterOK) Error() string

func (*DeleteEsClusterOK) GetPayload

func (o *DeleteEsClusterOK) GetPayload() models.EmptyResponse

type DeleteEsClusterParams

type DeleteEsClusterParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteEsClusterParams contains all the parameters to send to the API endpoint

for the delete es cluster operation.

Typically these are written to a http.Request.

func NewDeleteEsClusterParams

func NewDeleteEsClusterParams() *DeleteEsClusterParams

NewDeleteEsClusterParams creates a new DeleteEsClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteEsClusterParamsWithContext

func NewDeleteEsClusterParamsWithContext(ctx context.Context) *DeleteEsClusterParams

NewDeleteEsClusterParamsWithContext creates a new DeleteEsClusterParams object with the ability to set a context for a request.

func NewDeleteEsClusterParamsWithHTTPClient

func NewDeleteEsClusterParamsWithHTTPClient(client *http.Client) *DeleteEsClusterParams

NewDeleteEsClusterParamsWithHTTPClient creates a new DeleteEsClusterParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEsClusterParamsWithTimeout

func NewDeleteEsClusterParamsWithTimeout(timeout time.Duration) *DeleteEsClusterParams

NewDeleteEsClusterParamsWithTimeout creates a new DeleteEsClusterParams object with the ability to set a timeout on a request.

func (*DeleteEsClusterParams) SetClusterID

func (o *DeleteEsClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the delete es cluster params

func (*DeleteEsClusterParams) SetContext

func (o *DeleteEsClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the delete es cluster params

func (*DeleteEsClusterParams) SetDefaults added in v1.3.0

func (o *DeleteEsClusterParams) SetDefaults()

SetDefaults hydrates default values in the delete es cluster params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteEsClusterParams) SetHTTPClient

func (o *DeleteEsClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete es cluster params

func (*DeleteEsClusterParams) SetTimeout

func (o *DeleteEsClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete es cluster params

func (*DeleteEsClusterParams) WithClusterID

func (o *DeleteEsClusterParams) WithClusterID(clusterID string) *DeleteEsClusterParams

WithClusterID adds the clusterID to the delete es cluster params

func (*DeleteEsClusterParams) WithContext

WithContext adds the context to the delete es cluster params

func (*DeleteEsClusterParams) WithDefaults added in v1.3.0

func (o *DeleteEsClusterParams) WithDefaults() *DeleteEsClusterParams

WithDefaults hydrates default values in the delete es cluster params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteEsClusterParams) WithHTTPClient

func (o *DeleteEsClusterParams) WithHTTPClient(client *http.Client) *DeleteEsClusterParams

WithHTTPClient adds the HTTPClient to the delete es cluster params

func (*DeleteEsClusterParams) WithTimeout

func (o *DeleteEsClusterParams) WithTimeout(timeout time.Duration) *DeleteEsClusterParams

WithTimeout adds the timeout to the delete es cluster params

func (*DeleteEsClusterParams) WriteToRequest

func (o *DeleteEsClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteEsClusterPreconditionFailed

type DeleteEsClusterPreconditionFailed struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
DeleteEsClusterPreconditionFailed describes a response with status code 412, with default header values.

The Elasticsearch cluster has not been shutdown yet. (code: `clusters.cluster_plan_state_error`)

func NewDeleteEsClusterPreconditionFailed

func NewDeleteEsClusterPreconditionFailed() *DeleteEsClusterPreconditionFailed

NewDeleteEsClusterPreconditionFailed creates a DeleteEsClusterPreconditionFailed with default headers values

func (*DeleteEsClusterPreconditionFailed) Error

func (*DeleteEsClusterPreconditionFailed) GetPayload

type DeleteEsClusterReader

type DeleteEsClusterReader struct {
	// contains filtered or unexported fields
}

DeleteEsClusterReader is a Reader for the DeleteEsCluster structure.

func (*DeleteEsClusterReader) ReadResponse

func (o *DeleteEsClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteEsClusterRetryWith

type DeleteEsClusterRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
DeleteEsClusterRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewDeleteEsClusterRetryWith

func NewDeleteEsClusterRetryWith() *DeleteEsClusterRetryWith

NewDeleteEsClusterRetryWith creates a DeleteEsClusterRetryWith with default headers values

func (*DeleteEsClusterRetryWith) Error

func (o *DeleteEsClusterRetryWith) Error() string

func (*DeleteEsClusterRetryWith) GetPayload

type DeleteEsProxyRequestsNotFound

type DeleteEsProxyRequestsNotFound struct {
	Payload *models.BasicFailedReply
}
DeleteEsProxyRequestsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewDeleteEsProxyRequestsNotFound

func NewDeleteEsProxyRequestsNotFound() *DeleteEsProxyRequestsNotFound

NewDeleteEsProxyRequestsNotFound creates a DeleteEsProxyRequestsNotFound with default headers values

func (*DeleteEsProxyRequestsNotFound) Error

func (*DeleteEsProxyRequestsNotFound) GetPayload

type DeleteEsProxyRequestsOK

type DeleteEsProxyRequestsOK struct {
}
DeleteEsProxyRequestsOK describes a response with status code 200, with default header values.

The request has been processed successfully through the proxy

func NewDeleteEsProxyRequestsOK

func NewDeleteEsProxyRequestsOK() *DeleteEsProxyRequestsOK

NewDeleteEsProxyRequestsOK creates a DeleteEsProxyRequestsOK with default headers values

func (*DeleteEsProxyRequestsOK) Error

func (o *DeleteEsProxyRequestsOK) Error() string

type DeleteEsProxyRequestsParams

type DeleteEsProxyRequestsParams struct {

	/* XManagementRequest.

	   X-Management-Request header value. Needs to be set to true
	*/
	XManagementRequest string

	/* Body.

	   The JSON payload to proxy to the Elasticsearch cluster
	*/
	Body string

	/* ClusterID.

	   Identifier for the Elasticsearch cluster
	*/
	ClusterID string

	/* ElasticsearchPath.

	   The URL part to proxy to the Elasticsearch cluster. Example: _search or _cat/indices?v&h=i,tm&s=tm:desc
	*/
	ElasticsearchPath string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteEsProxyRequestsParams contains all the parameters to send to the API endpoint

for the delete es proxy requests operation.

Typically these are written to a http.Request.

func NewDeleteEsProxyRequestsParams

func NewDeleteEsProxyRequestsParams() *DeleteEsProxyRequestsParams

NewDeleteEsProxyRequestsParams creates a new DeleteEsProxyRequestsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteEsProxyRequestsParamsWithContext

func NewDeleteEsProxyRequestsParamsWithContext(ctx context.Context) *DeleteEsProxyRequestsParams

NewDeleteEsProxyRequestsParamsWithContext creates a new DeleteEsProxyRequestsParams object with the ability to set a context for a request.

func NewDeleteEsProxyRequestsParamsWithHTTPClient

func NewDeleteEsProxyRequestsParamsWithHTTPClient(client *http.Client) *DeleteEsProxyRequestsParams

NewDeleteEsProxyRequestsParamsWithHTTPClient creates a new DeleteEsProxyRequestsParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEsProxyRequestsParamsWithTimeout

func NewDeleteEsProxyRequestsParamsWithTimeout(timeout time.Duration) *DeleteEsProxyRequestsParams

NewDeleteEsProxyRequestsParamsWithTimeout creates a new DeleteEsProxyRequestsParams object with the ability to set a timeout on a request.

func (*DeleteEsProxyRequestsParams) SetBody

func (o *DeleteEsProxyRequestsParams) SetBody(body string)

SetBody adds the body to the delete es proxy requests params

func (*DeleteEsProxyRequestsParams) SetClusterID

func (o *DeleteEsProxyRequestsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the delete es proxy requests params

func (*DeleteEsProxyRequestsParams) SetContext

func (o *DeleteEsProxyRequestsParams) SetContext(ctx context.Context)

SetContext adds the context to the delete es proxy requests params

func (*DeleteEsProxyRequestsParams) SetDefaults added in v1.3.0

func (o *DeleteEsProxyRequestsParams) SetDefaults()

SetDefaults hydrates default values in the delete es proxy requests params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteEsProxyRequestsParams) SetElasticsearchPath

func (o *DeleteEsProxyRequestsParams) SetElasticsearchPath(elasticsearchPath string)

SetElasticsearchPath adds the elasticsearchPath to the delete es proxy requests params

func (*DeleteEsProxyRequestsParams) SetHTTPClient

func (o *DeleteEsProxyRequestsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete es proxy requests params

func (*DeleteEsProxyRequestsParams) SetTimeout

func (o *DeleteEsProxyRequestsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete es proxy requests params

func (*DeleteEsProxyRequestsParams) SetXManagementRequest

func (o *DeleteEsProxyRequestsParams) SetXManagementRequest(xManagementRequest string)

SetXManagementRequest adds the xManagementRequest to the delete es proxy requests params

func (*DeleteEsProxyRequestsParams) WithBody

WithBody adds the body to the delete es proxy requests params

func (*DeleteEsProxyRequestsParams) WithClusterID

func (o *DeleteEsProxyRequestsParams) WithClusterID(clusterID string) *DeleteEsProxyRequestsParams

WithClusterID adds the clusterID to the delete es proxy requests params

func (*DeleteEsProxyRequestsParams) WithContext

WithContext adds the context to the delete es proxy requests params

func (*DeleteEsProxyRequestsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the delete es proxy requests params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteEsProxyRequestsParams) WithElasticsearchPath

func (o *DeleteEsProxyRequestsParams) WithElasticsearchPath(elasticsearchPath string) *DeleteEsProxyRequestsParams

WithElasticsearchPath adds the elasticsearchPath to the delete es proxy requests params

func (*DeleteEsProxyRequestsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete es proxy requests params

func (*DeleteEsProxyRequestsParams) WithTimeout

WithTimeout adds the timeout to the delete es proxy requests params

func (*DeleteEsProxyRequestsParams) WithXManagementRequest

func (o *DeleteEsProxyRequestsParams) WithXManagementRequest(xManagementRequest string) *DeleteEsProxyRequestsParams

WithXManagementRequest adds the xManagementRequest to the delete es proxy requests params

func (*DeleteEsProxyRequestsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteEsProxyRequestsReader

type DeleteEsProxyRequestsReader struct {
	// contains filtered or unexported fields
}

DeleteEsProxyRequestsReader is a Reader for the DeleteEsProxyRequests structure.

func (*DeleteEsProxyRequestsReader) ReadResponse

func (o *DeleteEsProxyRequestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GenerateEsClusterDiagnosticsNotFound

type GenerateEsClusterDiagnosticsNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
GenerateEsClusterDiagnosticsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewGenerateEsClusterDiagnosticsNotFound

func NewGenerateEsClusterDiagnosticsNotFound() *GenerateEsClusterDiagnosticsNotFound

NewGenerateEsClusterDiagnosticsNotFound creates a GenerateEsClusterDiagnosticsNotFound with default headers values

func (*GenerateEsClusterDiagnosticsNotFound) Error

func (*GenerateEsClusterDiagnosticsNotFound) GetPayload

type GenerateEsClusterDiagnosticsOK

type GenerateEsClusterDiagnosticsOK struct {
	Payload strfmt.Base64
}
GenerateEsClusterDiagnosticsOK describes a response with status code 200, with default header values.

The support diagnostic bundle was successfully generated

func NewGenerateEsClusterDiagnosticsOK

func NewGenerateEsClusterDiagnosticsOK() *GenerateEsClusterDiagnosticsOK

NewGenerateEsClusterDiagnosticsOK creates a GenerateEsClusterDiagnosticsOK with default headers values

func (*GenerateEsClusterDiagnosticsOK) Error

func (*GenerateEsClusterDiagnosticsOK) GetPayload

type GenerateEsClusterDiagnosticsParams

type GenerateEsClusterDiagnosticsParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GenerateEsClusterDiagnosticsParams contains all the parameters to send to the API endpoint

for the generate es cluster diagnostics operation.

Typically these are written to a http.Request.

func NewGenerateEsClusterDiagnosticsParams

func NewGenerateEsClusterDiagnosticsParams() *GenerateEsClusterDiagnosticsParams

NewGenerateEsClusterDiagnosticsParams creates a new GenerateEsClusterDiagnosticsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGenerateEsClusterDiagnosticsParamsWithContext

func NewGenerateEsClusterDiagnosticsParamsWithContext(ctx context.Context) *GenerateEsClusterDiagnosticsParams

NewGenerateEsClusterDiagnosticsParamsWithContext creates a new GenerateEsClusterDiagnosticsParams object with the ability to set a context for a request.

func NewGenerateEsClusterDiagnosticsParamsWithHTTPClient

func NewGenerateEsClusterDiagnosticsParamsWithHTTPClient(client *http.Client) *GenerateEsClusterDiagnosticsParams

NewGenerateEsClusterDiagnosticsParamsWithHTTPClient creates a new GenerateEsClusterDiagnosticsParams object with the ability to set a custom HTTPClient for a request.

func NewGenerateEsClusterDiagnosticsParamsWithTimeout

func NewGenerateEsClusterDiagnosticsParamsWithTimeout(timeout time.Duration) *GenerateEsClusterDiagnosticsParams

NewGenerateEsClusterDiagnosticsParamsWithTimeout creates a new GenerateEsClusterDiagnosticsParams object with the ability to set a timeout on a request.

func (*GenerateEsClusterDiagnosticsParams) SetClusterID

func (o *GenerateEsClusterDiagnosticsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the generate es cluster diagnostics params

func (*GenerateEsClusterDiagnosticsParams) SetContext

SetContext adds the context to the generate es cluster diagnostics params

func (*GenerateEsClusterDiagnosticsParams) SetDefaults added in v1.3.0

func (o *GenerateEsClusterDiagnosticsParams) SetDefaults()

SetDefaults hydrates default values in the generate es cluster diagnostics params (not the query body).

All values with no default are reset to their zero value.

func (*GenerateEsClusterDiagnosticsParams) SetHTTPClient

func (o *GenerateEsClusterDiagnosticsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the generate es cluster diagnostics params

func (*GenerateEsClusterDiagnosticsParams) SetTimeout

func (o *GenerateEsClusterDiagnosticsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the generate es cluster diagnostics params

func (*GenerateEsClusterDiagnosticsParams) WithClusterID

WithClusterID adds the clusterID to the generate es cluster diagnostics params

func (*GenerateEsClusterDiagnosticsParams) WithContext

WithContext adds the context to the generate es cluster diagnostics params

func (*GenerateEsClusterDiagnosticsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the generate es cluster diagnostics params (not the query body).

All values with no default are reset to their zero value.

func (*GenerateEsClusterDiagnosticsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the generate es cluster diagnostics params

func (*GenerateEsClusterDiagnosticsParams) WithTimeout

WithTimeout adds the timeout to the generate es cluster diagnostics params

func (*GenerateEsClusterDiagnosticsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GenerateEsClusterDiagnosticsReader

type GenerateEsClusterDiagnosticsReader struct {
	// contains filtered or unexported fields
}

GenerateEsClusterDiagnosticsReader is a Reader for the GenerateEsClusterDiagnostics structure.

func (*GenerateEsClusterDiagnosticsReader) ReadResponse

func (o *GenerateEsClusterDiagnosticsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GenerateEsClusterLogsNotFound

type GenerateEsClusterLogsNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
GenerateEsClusterLogsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewGenerateEsClusterLogsNotFound

func NewGenerateEsClusterLogsNotFound() *GenerateEsClusterLogsNotFound

NewGenerateEsClusterLogsNotFound creates a GenerateEsClusterLogsNotFound with default headers values

func (*GenerateEsClusterLogsNotFound) Error

func (*GenerateEsClusterLogsNotFound) GetPayload

type GenerateEsClusterLogsOK

type GenerateEsClusterLogsOK struct {
	Payload strfmt.Base64
}
GenerateEsClusterLogsOK describes a response with status code 200, with default header values.

The support diagnostic bundle was successfully generated

func NewGenerateEsClusterLogsOK

func NewGenerateEsClusterLogsOK() *GenerateEsClusterLogsOK

NewGenerateEsClusterLogsOK creates a GenerateEsClusterLogsOK with default headers values

func (*GenerateEsClusterLogsOK) Error

func (o *GenerateEsClusterLogsOK) Error() string

func (*GenerateEsClusterLogsOK) GetPayload

func (o *GenerateEsClusterLogsOK) GetPayload() strfmt.Base64

type GenerateEsClusterLogsParams

type GenerateEsClusterLogsParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* Date.

	   The log retrieval start date in standard format. For example, `YYYY-MM-DD [THH [:mm] ]`.
	*/
	Date string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GenerateEsClusterLogsParams contains all the parameters to send to the API endpoint

for the generate es cluster logs operation.

Typically these are written to a http.Request.

func NewGenerateEsClusterLogsParams

func NewGenerateEsClusterLogsParams() *GenerateEsClusterLogsParams

NewGenerateEsClusterLogsParams creates a new GenerateEsClusterLogsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGenerateEsClusterLogsParamsWithContext

func NewGenerateEsClusterLogsParamsWithContext(ctx context.Context) *GenerateEsClusterLogsParams

NewGenerateEsClusterLogsParamsWithContext creates a new GenerateEsClusterLogsParams object with the ability to set a context for a request.

func NewGenerateEsClusterLogsParamsWithHTTPClient

func NewGenerateEsClusterLogsParamsWithHTTPClient(client *http.Client) *GenerateEsClusterLogsParams

NewGenerateEsClusterLogsParamsWithHTTPClient creates a new GenerateEsClusterLogsParams object with the ability to set a custom HTTPClient for a request.

func NewGenerateEsClusterLogsParamsWithTimeout

func NewGenerateEsClusterLogsParamsWithTimeout(timeout time.Duration) *GenerateEsClusterLogsParams

NewGenerateEsClusterLogsParamsWithTimeout creates a new GenerateEsClusterLogsParams object with the ability to set a timeout on a request.

func (*GenerateEsClusterLogsParams) SetClusterID

func (o *GenerateEsClusterLogsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the generate es cluster logs params

func (*GenerateEsClusterLogsParams) SetContext

func (o *GenerateEsClusterLogsParams) SetContext(ctx context.Context)

SetContext adds the context to the generate es cluster logs params

func (*GenerateEsClusterLogsParams) SetDate

func (o *GenerateEsClusterLogsParams) SetDate(date string)

SetDate adds the date to the generate es cluster logs params

func (*GenerateEsClusterLogsParams) SetDefaults added in v1.3.0

func (o *GenerateEsClusterLogsParams) SetDefaults()

SetDefaults hydrates default values in the generate es cluster logs params (not the query body).

All values with no default are reset to their zero value.

func (*GenerateEsClusterLogsParams) SetHTTPClient

func (o *GenerateEsClusterLogsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the generate es cluster logs params

func (*GenerateEsClusterLogsParams) SetTimeout

func (o *GenerateEsClusterLogsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the generate es cluster logs params

func (*GenerateEsClusterLogsParams) WithClusterID

func (o *GenerateEsClusterLogsParams) WithClusterID(clusterID string) *GenerateEsClusterLogsParams

WithClusterID adds the clusterID to the generate es cluster logs params

func (*GenerateEsClusterLogsParams) WithContext

WithContext adds the context to the generate es cluster logs params

func (*GenerateEsClusterLogsParams) WithDate

WithDate adds the date to the generate es cluster logs params

func (*GenerateEsClusterLogsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the generate es cluster logs params (not the query body).

All values with no default are reset to their zero value.

func (*GenerateEsClusterLogsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the generate es cluster logs params

func (*GenerateEsClusterLogsParams) WithTimeout

WithTimeout adds the timeout to the generate es cluster logs params

func (*GenerateEsClusterLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GenerateEsClusterLogsReader

type GenerateEsClusterLogsReader struct {
	// contains filtered or unexported fields
}

GenerateEsClusterLogsReader is a Reader for the GenerateEsClusterLogs structure.

func (*GenerateEsClusterLogsReader) ReadResponse

func (o *GenerateEsClusterLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEsCcsEligibleRemotesBadRequest

type GetEsCcsEligibleRemotesBadRequest struct {
	Payload *models.BasicFailedReply
}
GetEsCcsEligibleRemotesBadRequest describes a response with status code 400, with default header values.

The search request failed.

func NewGetEsCcsEligibleRemotesBadRequest

func NewGetEsCcsEligibleRemotesBadRequest() *GetEsCcsEligibleRemotesBadRequest

NewGetEsCcsEligibleRemotesBadRequest creates a GetEsCcsEligibleRemotesBadRequest with default headers values

func (*GetEsCcsEligibleRemotesBadRequest) Error

func (*GetEsCcsEligibleRemotesBadRequest) GetPayload

type GetEsCcsEligibleRemotesOK

type GetEsCcsEligibleRemotesOK struct {
	Payload *models.ElasticsearchClustersInfo
}
GetEsCcsEligibleRemotesOK describes a response with status code 200, with default header values.

A list of Elasticsearch clusters that can be used as cross-cluster search remotes in deployments with the provided version

func NewGetEsCcsEligibleRemotesOK

func NewGetEsCcsEligibleRemotesOK() *GetEsCcsEligibleRemotesOK

NewGetEsCcsEligibleRemotesOK creates a GetEsCcsEligibleRemotesOK with default headers values

func (*GetEsCcsEligibleRemotesOK) Error

func (o *GetEsCcsEligibleRemotesOK) Error() string

func (*GetEsCcsEligibleRemotesOK) GetPayload

type GetEsCcsEligibleRemotesParams

type GetEsCcsEligibleRemotesParams struct {

	/* OwnerID.

	   (Optional) Returns only clusters filtered by the provided owner id.
	*/
	OwnerID *string

	/* Q.

	   (Optional) Cluster name or id prefix to filters the candidates.
	*/
	Q *string

	/* Size.

	   (Optional) Maximum number of clusters to include in the response.
	*/
	Size *int64

	/* Version.

	   The version of the cross-cluster search cluster that will link with the remote candidates.
	*/
	Version string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEsCcsEligibleRemotesParams contains all the parameters to send to the API endpoint

for the get es ccs eligible remotes operation.

Typically these are written to a http.Request.

func NewGetEsCcsEligibleRemotesParams

func NewGetEsCcsEligibleRemotesParams() *GetEsCcsEligibleRemotesParams

NewGetEsCcsEligibleRemotesParams creates a new GetEsCcsEligibleRemotesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEsCcsEligibleRemotesParamsWithContext

func NewGetEsCcsEligibleRemotesParamsWithContext(ctx context.Context) *GetEsCcsEligibleRemotesParams

NewGetEsCcsEligibleRemotesParamsWithContext creates a new GetEsCcsEligibleRemotesParams object with the ability to set a context for a request.

func NewGetEsCcsEligibleRemotesParamsWithHTTPClient

func NewGetEsCcsEligibleRemotesParamsWithHTTPClient(client *http.Client) *GetEsCcsEligibleRemotesParams

NewGetEsCcsEligibleRemotesParamsWithHTTPClient creates a new GetEsCcsEligibleRemotesParams object with the ability to set a custom HTTPClient for a request.

func NewGetEsCcsEligibleRemotesParamsWithTimeout

func NewGetEsCcsEligibleRemotesParamsWithTimeout(timeout time.Duration) *GetEsCcsEligibleRemotesParams

NewGetEsCcsEligibleRemotesParamsWithTimeout creates a new GetEsCcsEligibleRemotesParams object with the ability to set a timeout on a request.

func (*GetEsCcsEligibleRemotesParams) SetContext

func (o *GetEsCcsEligibleRemotesParams) SetContext(ctx context.Context)

SetContext adds the context to the get es ccs eligible remotes params

func (*GetEsCcsEligibleRemotesParams) SetDefaults added in v1.3.0

func (o *GetEsCcsEligibleRemotesParams) SetDefaults()

SetDefaults hydrates default values in the get es ccs eligible remotes params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsCcsEligibleRemotesParams) SetHTTPClient

func (o *GetEsCcsEligibleRemotesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get es ccs eligible remotes params

func (*GetEsCcsEligibleRemotesParams) SetOwnerID

func (o *GetEsCcsEligibleRemotesParams) SetOwnerID(ownerID *string)

SetOwnerID adds the ownerId to the get es ccs eligible remotes params

func (*GetEsCcsEligibleRemotesParams) SetQ

SetQ adds the q to the get es ccs eligible remotes params

func (*GetEsCcsEligibleRemotesParams) SetSize

func (o *GetEsCcsEligibleRemotesParams) SetSize(size *int64)

SetSize adds the size to the get es ccs eligible remotes params

func (*GetEsCcsEligibleRemotesParams) SetTimeout

func (o *GetEsCcsEligibleRemotesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get es ccs eligible remotes params

func (*GetEsCcsEligibleRemotesParams) SetVersion

func (o *GetEsCcsEligibleRemotesParams) SetVersion(version string)

SetVersion adds the version to the get es ccs eligible remotes params

func (*GetEsCcsEligibleRemotesParams) WithContext

WithContext adds the context to the get es ccs eligible remotes params

func (*GetEsCcsEligibleRemotesParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get es ccs eligible remotes params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsCcsEligibleRemotesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get es ccs eligible remotes params

func (*GetEsCcsEligibleRemotesParams) WithOwnerID

WithOwnerID adds the ownerID to the get es ccs eligible remotes params

func (*GetEsCcsEligibleRemotesParams) WithQ

WithQ adds the q to the get es ccs eligible remotes params

func (*GetEsCcsEligibleRemotesParams) WithSize

WithSize adds the size to the get es ccs eligible remotes params

func (*GetEsCcsEligibleRemotesParams) WithTimeout

WithTimeout adds the timeout to the get es ccs eligible remotes params

func (*GetEsCcsEligibleRemotesParams) WithVersion

WithVersion adds the version to the get es ccs eligible remotes params

func (*GetEsCcsEligibleRemotesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEsCcsEligibleRemotesReader

type GetEsCcsEligibleRemotesReader struct {
	// contains filtered or unexported fields
}

GetEsCcsEligibleRemotesReader is a Reader for the GetEsCcsEligibleRemotes structure.

func (*GetEsCcsEligibleRemotesReader) ReadResponse

func (o *GetEsCcsEligibleRemotesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEsClusterCcsNotFound

type GetEsClusterCcsNotFound struct {
	Payload *models.BasicFailedReply
}
GetEsClusterCcsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewGetEsClusterCcsNotFound

func NewGetEsClusterCcsNotFound() *GetEsClusterCcsNotFound

NewGetEsClusterCcsNotFound creates a GetEsClusterCcsNotFound with default headers values

func (*GetEsClusterCcsNotFound) Error

func (o *GetEsClusterCcsNotFound) Error() string

func (*GetEsClusterCcsNotFound) GetPayload

type GetEsClusterCcsOK

type GetEsClusterCcsOK struct {
	Payload *models.CrossClusterSearchClusters
}
GetEsClusterCcsOK describes a response with status code 200, with default header values.

List of cross-cluster search clusters' IDs for the remote cluster

func NewGetEsClusterCcsOK

func NewGetEsClusterCcsOK() *GetEsClusterCcsOK

NewGetEsClusterCcsOK creates a GetEsClusterCcsOK with default headers values

func (*GetEsClusterCcsOK) Error

func (o *GetEsClusterCcsOK) Error() string

func (*GetEsClusterCcsOK) GetPayload

type GetEsClusterCcsParams

type GetEsClusterCcsParams struct {

	/* ClusterID.

	   Elasticsearch cluster identifier
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEsClusterCcsParams contains all the parameters to send to the API endpoint

for the get es cluster ccs operation.

Typically these are written to a http.Request.

func NewGetEsClusterCcsParams

func NewGetEsClusterCcsParams() *GetEsClusterCcsParams

NewGetEsClusterCcsParams creates a new GetEsClusterCcsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEsClusterCcsParamsWithContext

func NewGetEsClusterCcsParamsWithContext(ctx context.Context) *GetEsClusterCcsParams

NewGetEsClusterCcsParamsWithContext creates a new GetEsClusterCcsParams object with the ability to set a context for a request.

func NewGetEsClusterCcsParamsWithHTTPClient

func NewGetEsClusterCcsParamsWithHTTPClient(client *http.Client) *GetEsClusterCcsParams

NewGetEsClusterCcsParamsWithHTTPClient creates a new GetEsClusterCcsParams object with the ability to set a custom HTTPClient for a request.

func NewGetEsClusterCcsParamsWithTimeout

func NewGetEsClusterCcsParamsWithTimeout(timeout time.Duration) *GetEsClusterCcsParams

NewGetEsClusterCcsParamsWithTimeout creates a new GetEsClusterCcsParams object with the ability to set a timeout on a request.

func (*GetEsClusterCcsParams) SetClusterID

func (o *GetEsClusterCcsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get es cluster ccs params

func (*GetEsClusterCcsParams) SetContext

func (o *GetEsClusterCcsParams) SetContext(ctx context.Context)

SetContext adds the context to the get es cluster ccs params

func (*GetEsClusterCcsParams) SetDefaults added in v1.3.0

func (o *GetEsClusterCcsParams) SetDefaults()

SetDefaults hydrates default values in the get es cluster ccs params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterCcsParams) SetHTTPClient

func (o *GetEsClusterCcsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get es cluster ccs params

func (*GetEsClusterCcsParams) SetTimeout

func (o *GetEsClusterCcsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get es cluster ccs params

func (*GetEsClusterCcsParams) WithClusterID

func (o *GetEsClusterCcsParams) WithClusterID(clusterID string) *GetEsClusterCcsParams

WithClusterID adds the clusterID to the get es cluster ccs params

func (*GetEsClusterCcsParams) WithContext

WithContext adds the context to the get es cluster ccs params

func (*GetEsClusterCcsParams) WithDefaults added in v1.3.0

func (o *GetEsClusterCcsParams) WithDefaults() *GetEsClusterCcsParams

WithDefaults hydrates default values in the get es cluster ccs params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterCcsParams) WithHTTPClient

func (o *GetEsClusterCcsParams) WithHTTPClient(client *http.Client) *GetEsClusterCcsParams

WithHTTPClient adds the HTTPClient to the get es cluster ccs params

func (*GetEsClusterCcsParams) WithTimeout

func (o *GetEsClusterCcsParams) WithTimeout(timeout time.Duration) *GetEsClusterCcsParams

WithTimeout adds the timeout to the get es cluster ccs params

func (*GetEsClusterCcsParams) WriteToRequest

func (o *GetEsClusterCcsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetEsClusterCcsReader

type GetEsClusterCcsReader struct {
	// contains filtered or unexported fields
}

GetEsClusterCcsReader is a Reader for the GetEsClusterCcs structure.

func (*GetEsClusterCcsReader) ReadResponse

func (o *GetEsClusterCcsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEsClusterCcsSettingsNotFound

type GetEsClusterCcsSettingsNotFound struct {
	Payload *models.BasicFailedReply
}
GetEsClusterCcsSettingsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} or a remote cluster cannot be found (code: 'clusters.cluster_not_found')

func NewGetEsClusterCcsSettingsNotFound

func NewGetEsClusterCcsSettingsNotFound() *GetEsClusterCcsSettingsNotFound

NewGetEsClusterCcsSettingsNotFound creates a GetEsClusterCcsSettingsNotFound with default headers values

func (*GetEsClusterCcsSettingsNotFound) Error

func (*GetEsClusterCcsSettingsNotFound) GetPayload

type GetEsClusterCcsSettingsOK

type GetEsClusterCcsSettingsOK struct {
	Payload *models.CrossClusterSearchSettings
}
GetEsClusterCcsSettingsOK describes a response with status code 200, with default header values.

The configuration for cross-cluster search

func NewGetEsClusterCcsSettingsOK

func NewGetEsClusterCcsSettingsOK() *GetEsClusterCcsSettingsOK

NewGetEsClusterCcsSettingsOK creates a GetEsClusterCcsSettingsOK with default headers values

func (*GetEsClusterCcsSettingsOK) Error

func (o *GetEsClusterCcsSettingsOK) Error() string

func (*GetEsClusterCcsSettingsOK) GetPayload

type GetEsClusterCcsSettingsParams

type GetEsClusterCcsSettingsParams struct {

	/* ClusterID.

	   Elasticsearch cluster identifier
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEsClusterCcsSettingsParams contains all the parameters to send to the API endpoint

for the get es cluster ccs settings operation.

Typically these are written to a http.Request.

func NewGetEsClusterCcsSettingsParams

func NewGetEsClusterCcsSettingsParams() *GetEsClusterCcsSettingsParams

NewGetEsClusterCcsSettingsParams creates a new GetEsClusterCcsSettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEsClusterCcsSettingsParamsWithContext

func NewGetEsClusterCcsSettingsParamsWithContext(ctx context.Context) *GetEsClusterCcsSettingsParams

NewGetEsClusterCcsSettingsParamsWithContext creates a new GetEsClusterCcsSettingsParams object with the ability to set a context for a request.

func NewGetEsClusterCcsSettingsParamsWithHTTPClient

func NewGetEsClusterCcsSettingsParamsWithHTTPClient(client *http.Client) *GetEsClusterCcsSettingsParams

NewGetEsClusterCcsSettingsParamsWithHTTPClient creates a new GetEsClusterCcsSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetEsClusterCcsSettingsParamsWithTimeout

func NewGetEsClusterCcsSettingsParamsWithTimeout(timeout time.Duration) *GetEsClusterCcsSettingsParams

NewGetEsClusterCcsSettingsParamsWithTimeout creates a new GetEsClusterCcsSettingsParams object with the ability to set a timeout on a request.

func (*GetEsClusterCcsSettingsParams) SetClusterID

func (o *GetEsClusterCcsSettingsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get es cluster ccs settings params

func (*GetEsClusterCcsSettingsParams) SetContext

func (o *GetEsClusterCcsSettingsParams) SetContext(ctx context.Context)

SetContext adds the context to the get es cluster ccs settings params

func (*GetEsClusterCcsSettingsParams) SetDefaults added in v1.3.0

func (o *GetEsClusterCcsSettingsParams) SetDefaults()

SetDefaults hydrates default values in the get es cluster ccs settings params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterCcsSettingsParams) SetHTTPClient

func (o *GetEsClusterCcsSettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get es cluster ccs settings params

func (*GetEsClusterCcsSettingsParams) SetTimeout

func (o *GetEsClusterCcsSettingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get es cluster ccs settings params

func (*GetEsClusterCcsSettingsParams) WithClusterID

WithClusterID adds the clusterID to the get es cluster ccs settings params

func (*GetEsClusterCcsSettingsParams) WithContext

WithContext adds the context to the get es cluster ccs settings params

func (*GetEsClusterCcsSettingsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get es cluster ccs settings params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterCcsSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get es cluster ccs settings params

func (*GetEsClusterCcsSettingsParams) WithTimeout

WithTimeout adds the timeout to the get es cluster ccs settings params

func (*GetEsClusterCcsSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEsClusterCcsSettingsReader

type GetEsClusterCcsSettingsReader struct {
	// contains filtered or unexported fields
}

GetEsClusterCcsSettingsReader is a Reader for the GetEsClusterCcsSettings structure.

func (*GetEsClusterCcsSettingsReader) ReadResponse

func (o *GetEsClusterCcsSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEsClusterCurationSettingsNotFound

type GetEsClusterCurationSettingsNotFound struct {
	Payload *models.BasicFailedReply
}
GetEsClusterCurationSettingsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewGetEsClusterCurationSettingsNotFound

func NewGetEsClusterCurationSettingsNotFound() *GetEsClusterCurationSettingsNotFound

NewGetEsClusterCurationSettingsNotFound creates a GetEsClusterCurationSettingsNotFound with default headers values

func (*GetEsClusterCurationSettingsNotFound) Error

func (*GetEsClusterCurationSettingsNotFound) GetPayload

type GetEsClusterCurationSettingsOK

type GetEsClusterCurationSettingsOK struct {

	/* The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string

	/* The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string

	/* The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.ClusterCurationSettings
}
GetEsClusterCurationSettingsOK describes a response with status code 200, with default header values.

The cluster curation settings were successfully returned

func NewGetEsClusterCurationSettingsOK

func NewGetEsClusterCurationSettingsOK() *GetEsClusterCurationSettingsOK

NewGetEsClusterCurationSettingsOK creates a GetEsClusterCurationSettingsOK with default headers values

func (*GetEsClusterCurationSettingsOK) Error

func (*GetEsClusterCurationSettingsOK) GetPayload

type GetEsClusterCurationSettingsParams

type GetEsClusterCurationSettingsParams struct {

	/* ClusterID.

	   Elasticsearch cluster identifier
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEsClusterCurationSettingsParams contains all the parameters to send to the API endpoint

for the get es cluster curation settings operation.

Typically these are written to a http.Request.

func NewGetEsClusterCurationSettingsParams

func NewGetEsClusterCurationSettingsParams() *GetEsClusterCurationSettingsParams

NewGetEsClusterCurationSettingsParams creates a new GetEsClusterCurationSettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEsClusterCurationSettingsParamsWithContext

func NewGetEsClusterCurationSettingsParamsWithContext(ctx context.Context) *GetEsClusterCurationSettingsParams

NewGetEsClusterCurationSettingsParamsWithContext creates a new GetEsClusterCurationSettingsParams object with the ability to set a context for a request.

func NewGetEsClusterCurationSettingsParamsWithHTTPClient

func NewGetEsClusterCurationSettingsParamsWithHTTPClient(client *http.Client) *GetEsClusterCurationSettingsParams

NewGetEsClusterCurationSettingsParamsWithHTTPClient creates a new GetEsClusterCurationSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetEsClusterCurationSettingsParamsWithTimeout

func NewGetEsClusterCurationSettingsParamsWithTimeout(timeout time.Duration) *GetEsClusterCurationSettingsParams

NewGetEsClusterCurationSettingsParamsWithTimeout creates a new GetEsClusterCurationSettingsParams object with the ability to set a timeout on a request.

func (*GetEsClusterCurationSettingsParams) SetClusterID

func (o *GetEsClusterCurationSettingsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get es cluster curation settings params

func (*GetEsClusterCurationSettingsParams) SetContext

SetContext adds the context to the get es cluster curation settings params

func (*GetEsClusterCurationSettingsParams) SetDefaults added in v1.3.0

func (o *GetEsClusterCurationSettingsParams) SetDefaults()

SetDefaults hydrates default values in the get es cluster curation settings params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterCurationSettingsParams) SetHTTPClient

func (o *GetEsClusterCurationSettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get es cluster curation settings params

func (*GetEsClusterCurationSettingsParams) SetTimeout

func (o *GetEsClusterCurationSettingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get es cluster curation settings params

func (*GetEsClusterCurationSettingsParams) WithClusterID

WithClusterID adds the clusterID to the get es cluster curation settings params

func (*GetEsClusterCurationSettingsParams) WithContext

WithContext adds the context to the get es cluster curation settings params

func (*GetEsClusterCurationSettingsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get es cluster curation settings params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterCurationSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get es cluster curation settings params

func (*GetEsClusterCurationSettingsParams) WithTimeout

WithTimeout adds the timeout to the get es cluster curation settings params

func (*GetEsClusterCurationSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEsClusterCurationSettingsReader

type GetEsClusterCurationSettingsReader struct {
	// contains filtered or unexported fields
}

GetEsClusterCurationSettingsReader is a Reader for the GetEsClusterCurationSettings structure.

func (*GetEsClusterCurationSettingsReader) ReadResponse

func (o *GetEsClusterCurationSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEsClusterKeystoreNotFound

type GetEsClusterKeystoreNotFound struct {
	Payload *models.BasicFailedReply
}
GetEsClusterKeystoreNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewGetEsClusterKeystoreNotFound

func NewGetEsClusterKeystoreNotFound() *GetEsClusterKeystoreNotFound

NewGetEsClusterKeystoreNotFound creates a GetEsClusterKeystoreNotFound with default headers values

func (*GetEsClusterKeystoreNotFound) Error

func (*GetEsClusterKeystoreNotFound) GetPayload

type GetEsClusterKeystoreOK

type GetEsClusterKeystoreOK struct {
	Payload *models.KeystoreContents
}
GetEsClusterKeystoreOK describes a response with status code 200, with default header values.

The keystore settings are returned

func NewGetEsClusterKeystoreOK

func NewGetEsClusterKeystoreOK() *GetEsClusterKeystoreOK

NewGetEsClusterKeystoreOK creates a GetEsClusterKeystoreOK with default headers values

func (*GetEsClusterKeystoreOK) Error

func (o *GetEsClusterKeystoreOK) Error() string

func (*GetEsClusterKeystoreOK) GetPayload

type GetEsClusterKeystoreParams

type GetEsClusterKeystoreParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEsClusterKeystoreParams contains all the parameters to send to the API endpoint

for the get es cluster keystore operation.

Typically these are written to a http.Request.

func NewGetEsClusterKeystoreParams

func NewGetEsClusterKeystoreParams() *GetEsClusterKeystoreParams

NewGetEsClusterKeystoreParams creates a new GetEsClusterKeystoreParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEsClusterKeystoreParamsWithContext

func NewGetEsClusterKeystoreParamsWithContext(ctx context.Context) *GetEsClusterKeystoreParams

NewGetEsClusterKeystoreParamsWithContext creates a new GetEsClusterKeystoreParams object with the ability to set a context for a request.

func NewGetEsClusterKeystoreParamsWithHTTPClient

func NewGetEsClusterKeystoreParamsWithHTTPClient(client *http.Client) *GetEsClusterKeystoreParams

NewGetEsClusterKeystoreParamsWithHTTPClient creates a new GetEsClusterKeystoreParams object with the ability to set a custom HTTPClient for a request.

func NewGetEsClusterKeystoreParamsWithTimeout

func NewGetEsClusterKeystoreParamsWithTimeout(timeout time.Duration) *GetEsClusterKeystoreParams

NewGetEsClusterKeystoreParamsWithTimeout creates a new GetEsClusterKeystoreParams object with the ability to set a timeout on a request.

func (*GetEsClusterKeystoreParams) SetClusterID

func (o *GetEsClusterKeystoreParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get es cluster keystore params

func (*GetEsClusterKeystoreParams) SetContext

func (o *GetEsClusterKeystoreParams) SetContext(ctx context.Context)

SetContext adds the context to the get es cluster keystore params

func (*GetEsClusterKeystoreParams) SetDefaults added in v1.3.0

func (o *GetEsClusterKeystoreParams) SetDefaults()

SetDefaults hydrates default values in the get es cluster keystore params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterKeystoreParams) SetHTTPClient

func (o *GetEsClusterKeystoreParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get es cluster keystore params

func (*GetEsClusterKeystoreParams) SetTimeout

func (o *GetEsClusterKeystoreParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get es cluster keystore params

func (*GetEsClusterKeystoreParams) WithClusterID

func (o *GetEsClusterKeystoreParams) WithClusterID(clusterID string) *GetEsClusterKeystoreParams

WithClusterID adds the clusterID to the get es cluster keystore params

func (*GetEsClusterKeystoreParams) WithContext

WithContext adds the context to the get es cluster keystore params

func (*GetEsClusterKeystoreParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get es cluster keystore params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterKeystoreParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get es cluster keystore params

func (*GetEsClusterKeystoreParams) WithTimeout

WithTimeout adds the timeout to the get es cluster keystore params

func (*GetEsClusterKeystoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEsClusterKeystoreReader

type GetEsClusterKeystoreReader struct {
	// contains filtered or unexported fields
}

GetEsClusterKeystoreReader is a Reader for the GetEsClusterKeystore structure.

func (*GetEsClusterKeystoreReader) ReadResponse

func (o *GetEsClusterKeystoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEsClusterKeystoreRetryWith

type GetEsClusterKeystoreRetryWith struct {
	Payload *models.BasicFailedReply
}
GetEsClusterKeystoreRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')

func NewGetEsClusterKeystoreRetryWith

func NewGetEsClusterKeystoreRetryWith() *GetEsClusterKeystoreRetryWith

NewGetEsClusterKeystoreRetryWith creates a GetEsClusterKeystoreRetryWith with default headers values

func (*GetEsClusterKeystoreRetryWith) Error

func (*GetEsClusterKeystoreRetryWith) GetPayload

type GetEsClusterMetadataRawNotFound

type GetEsClusterMetadataRawNotFound struct {
	Payload *models.BasicFailedReply
}
GetEsClusterMetadataRawNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewGetEsClusterMetadataRawNotFound

func NewGetEsClusterMetadataRawNotFound() *GetEsClusterMetadataRawNotFound

NewGetEsClusterMetadataRawNotFound creates a GetEsClusterMetadataRawNotFound with default headers values

func (*GetEsClusterMetadataRawNotFound) Error

func (*GetEsClusterMetadataRawNotFound) GetPayload

type GetEsClusterMetadataRawOK

type GetEsClusterMetadataRawOK struct {

	/* The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string

	/* The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string

	/* The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload interface{}
}
GetEsClusterMetadataRawOK describes a response with status code 200, with default header values.

The cluster metadata was successfully returned

func NewGetEsClusterMetadataRawOK

func NewGetEsClusterMetadataRawOK() *GetEsClusterMetadataRawOK

NewGetEsClusterMetadataRawOK creates a GetEsClusterMetadataRawOK with default headers values

func (*GetEsClusterMetadataRawOK) Error

func (o *GetEsClusterMetadataRawOK) Error() string

func (*GetEsClusterMetadataRawOK) GetPayload

func (o *GetEsClusterMetadataRawOK) GetPayload() interface{}

type GetEsClusterMetadataRawParams

type GetEsClusterMetadataRawParams struct {

	/* ClusterID.

	   Elasticsearch cluster identifier
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEsClusterMetadataRawParams contains all the parameters to send to the API endpoint

for the get es cluster metadata raw operation.

Typically these are written to a http.Request.

func NewGetEsClusterMetadataRawParams

func NewGetEsClusterMetadataRawParams() *GetEsClusterMetadataRawParams

NewGetEsClusterMetadataRawParams creates a new GetEsClusterMetadataRawParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEsClusterMetadataRawParamsWithContext

func NewGetEsClusterMetadataRawParamsWithContext(ctx context.Context) *GetEsClusterMetadataRawParams

NewGetEsClusterMetadataRawParamsWithContext creates a new GetEsClusterMetadataRawParams object with the ability to set a context for a request.

func NewGetEsClusterMetadataRawParamsWithHTTPClient

func NewGetEsClusterMetadataRawParamsWithHTTPClient(client *http.Client) *GetEsClusterMetadataRawParams

NewGetEsClusterMetadataRawParamsWithHTTPClient creates a new GetEsClusterMetadataRawParams object with the ability to set a custom HTTPClient for a request.

func NewGetEsClusterMetadataRawParamsWithTimeout

func NewGetEsClusterMetadataRawParamsWithTimeout(timeout time.Duration) *GetEsClusterMetadataRawParams

NewGetEsClusterMetadataRawParamsWithTimeout creates a new GetEsClusterMetadataRawParams object with the ability to set a timeout on a request.

func (*GetEsClusterMetadataRawParams) SetClusterID

func (o *GetEsClusterMetadataRawParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get es cluster metadata raw params

func (*GetEsClusterMetadataRawParams) SetContext

func (o *GetEsClusterMetadataRawParams) SetContext(ctx context.Context)

SetContext adds the context to the get es cluster metadata raw params

func (*GetEsClusterMetadataRawParams) SetDefaults added in v1.3.0

func (o *GetEsClusterMetadataRawParams) SetDefaults()

SetDefaults hydrates default values in the get es cluster metadata raw params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterMetadataRawParams) SetHTTPClient

func (o *GetEsClusterMetadataRawParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get es cluster metadata raw params

func (*GetEsClusterMetadataRawParams) SetTimeout

func (o *GetEsClusterMetadataRawParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get es cluster metadata raw params

func (*GetEsClusterMetadataRawParams) WithClusterID

WithClusterID adds the clusterID to the get es cluster metadata raw params

func (*GetEsClusterMetadataRawParams) WithContext

WithContext adds the context to the get es cluster metadata raw params

func (*GetEsClusterMetadataRawParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get es cluster metadata raw params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterMetadataRawParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get es cluster metadata raw params

func (*GetEsClusterMetadataRawParams) WithTimeout

WithTimeout adds the timeout to the get es cluster metadata raw params

func (*GetEsClusterMetadataRawParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEsClusterMetadataRawReader

type GetEsClusterMetadataRawReader struct {
	// contains filtered or unexported fields
}

GetEsClusterMetadataRawReader is a Reader for the GetEsClusterMetadataRaw structure.

func (*GetEsClusterMetadataRawReader) ReadResponse

func (o *GetEsClusterMetadataRawReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEsClusterMetadataSettingsNotFound

type GetEsClusterMetadataSettingsNotFound struct {
	Payload *models.BasicFailedReply
}
GetEsClusterMetadataSettingsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewGetEsClusterMetadataSettingsNotFound

func NewGetEsClusterMetadataSettingsNotFound() *GetEsClusterMetadataSettingsNotFound

NewGetEsClusterMetadataSettingsNotFound creates a GetEsClusterMetadataSettingsNotFound with default headers values

func (*GetEsClusterMetadataSettingsNotFound) Error

func (*GetEsClusterMetadataSettingsNotFound) GetPayload

type GetEsClusterMetadataSettingsOK

type GetEsClusterMetadataSettingsOK struct {

	/* The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string

	/* The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string

	/* The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.ClusterMetadataSettings
}
GetEsClusterMetadataSettingsOK describes a response with status code 200, with default header values.

The cluster metadata was successfully returned

func NewGetEsClusterMetadataSettingsOK

func NewGetEsClusterMetadataSettingsOK() *GetEsClusterMetadataSettingsOK

NewGetEsClusterMetadataSettingsOK creates a GetEsClusterMetadataSettingsOK with default headers values

func (*GetEsClusterMetadataSettingsOK) Error

func (*GetEsClusterMetadataSettingsOK) GetPayload

type GetEsClusterMetadataSettingsParams

type GetEsClusterMetadataSettingsParams struct {

	/* ClusterID.

	   Elasticsearch cluster identifier
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEsClusterMetadataSettingsParams contains all the parameters to send to the API endpoint

for the get es cluster metadata settings operation.

Typically these are written to a http.Request.

func NewGetEsClusterMetadataSettingsParams

func NewGetEsClusterMetadataSettingsParams() *GetEsClusterMetadataSettingsParams

NewGetEsClusterMetadataSettingsParams creates a new GetEsClusterMetadataSettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEsClusterMetadataSettingsParamsWithContext

func NewGetEsClusterMetadataSettingsParamsWithContext(ctx context.Context) *GetEsClusterMetadataSettingsParams

NewGetEsClusterMetadataSettingsParamsWithContext creates a new GetEsClusterMetadataSettingsParams object with the ability to set a context for a request.

func NewGetEsClusterMetadataSettingsParamsWithHTTPClient

func NewGetEsClusterMetadataSettingsParamsWithHTTPClient(client *http.Client) *GetEsClusterMetadataSettingsParams

NewGetEsClusterMetadataSettingsParamsWithHTTPClient creates a new GetEsClusterMetadataSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetEsClusterMetadataSettingsParamsWithTimeout

func NewGetEsClusterMetadataSettingsParamsWithTimeout(timeout time.Duration) *GetEsClusterMetadataSettingsParams

NewGetEsClusterMetadataSettingsParamsWithTimeout creates a new GetEsClusterMetadataSettingsParams object with the ability to set a timeout on a request.

func (*GetEsClusterMetadataSettingsParams) SetClusterID

func (o *GetEsClusterMetadataSettingsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get es cluster metadata settings params

func (*GetEsClusterMetadataSettingsParams) SetContext

SetContext adds the context to the get es cluster metadata settings params

func (*GetEsClusterMetadataSettingsParams) SetDefaults added in v1.3.0

func (o *GetEsClusterMetadataSettingsParams) SetDefaults()

SetDefaults hydrates default values in the get es cluster metadata settings params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterMetadataSettingsParams) SetHTTPClient

func (o *GetEsClusterMetadataSettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get es cluster metadata settings params

func (*GetEsClusterMetadataSettingsParams) SetTimeout

func (o *GetEsClusterMetadataSettingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get es cluster metadata settings params

func (*GetEsClusterMetadataSettingsParams) WithClusterID

WithClusterID adds the clusterID to the get es cluster metadata settings params

func (*GetEsClusterMetadataSettingsParams) WithContext

WithContext adds the context to the get es cluster metadata settings params

func (*GetEsClusterMetadataSettingsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get es cluster metadata settings params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterMetadataSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get es cluster metadata settings params

func (*GetEsClusterMetadataSettingsParams) WithTimeout

WithTimeout adds the timeout to the get es cluster metadata settings params

func (*GetEsClusterMetadataSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEsClusterMetadataSettingsReader

type GetEsClusterMetadataSettingsReader struct {
	// contains filtered or unexported fields
}

GetEsClusterMetadataSettingsReader is a Reader for the GetEsClusterMetadataSettings structure.

func (*GetEsClusterMetadataSettingsReader) ReadResponse

func (o *GetEsClusterMetadataSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEsClusterNotFound

type GetEsClusterNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
GetEsClusterNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewGetEsClusterNotFound

func NewGetEsClusterNotFound() *GetEsClusterNotFound

NewGetEsClusterNotFound creates a GetEsClusterNotFound with default headers values

func (*GetEsClusterNotFound) Error

func (o *GetEsClusterNotFound) Error() string

func (*GetEsClusterNotFound) GetPayload

func (o *GetEsClusterNotFound) GetPayload() *models.BasicFailedReply

type GetEsClusterOK

type GetEsClusterOK struct {
	Payload *models.ElasticsearchClusterInfo
}
GetEsClusterOK describes a response with status code 200, with default header values.

Returning the information for the specified Elasticsearch cluster

func NewGetEsClusterOK

func NewGetEsClusterOK() *GetEsClusterOK

NewGetEsClusterOK creates a GetEsClusterOK with default headers values

func (*GetEsClusterOK) Error

func (o *GetEsClusterOK) Error() string

func (*GetEsClusterOK) GetPayload

type GetEsClusterParams

type GetEsClusterParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* ConvertLegacyPlans.

	   When `true`, converts the plans to the 2.0.x format. When `false`, uses the 1.x format. The default is `false`.
	*/
	ConvertLegacyPlans *bool

	/* EnrichWithTemplate.

	   When plans are shown, includes the missing elements from the applicable deployment template.
	*/
	EnrichWithTemplate *bool

	/* ShowMetadata.

	   Includes all of the cluster metadata in the response. NOTE: Responses can include a large amount of metadata, as well as credentials.
	*/
	ShowMetadata *bool

	/* ShowPlanDefaults.

	   When plans are shown, includes the default values in the response. NOTE: This option results in large responses.
	*/
	ShowPlanDefaults *bool

	/* ShowPlanLogs.

	   Includes the active, pending, and historical plan information in the attempt log. NOTE: This option can result in large responses.
	*/
	ShowPlanLogs *bool

	/* ShowPlans.

	   Includes the active and pending plan information in the response. NOTE: This option can result in large responses.

	   Default: true
	*/
	ShowPlans *bool

	/* ShowSecurity.

	   Includes the Elasticsearch 2.x security information in the response. NOTE: Responses can include a large amount of metadata, as well as credentials.
	*/
	ShowSecurity *bool

	/* ShowSettings.

	   Includes the cluster settings in the response.
	*/
	ShowSettings *bool

	/* ShowSystemAlerts.

	   The number of system alerts to include in the response. For example, the number of forced restarts caused from a limited amount of memory. Only numbers greater than zero return a field. NOTE: Responses can include a large number of system alerts.
	*/
	ShowSystemAlerts *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEsClusterParams contains all the parameters to send to the API endpoint

for the get es cluster operation.

Typically these are written to a http.Request.

func NewGetEsClusterParams

func NewGetEsClusterParams() *GetEsClusterParams

NewGetEsClusterParams creates a new GetEsClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEsClusterParamsWithContext

func NewGetEsClusterParamsWithContext(ctx context.Context) *GetEsClusterParams

NewGetEsClusterParamsWithContext creates a new GetEsClusterParams object with the ability to set a context for a request.

func NewGetEsClusterParamsWithHTTPClient

func NewGetEsClusterParamsWithHTTPClient(client *http.Client) *GetEsClusterParams

NewGetEsClusterParamsWithHTTPClient creates a new GetEsClusterParams object with the ability to set a custom HTTPClient for a request.

func NewGetEsClusterParamsWithTimeout

func NewGetEsClusterParamsWithTimeout(timeout time.Duration) *GetEsClusterParams

NewGetEsClusterParamsWithTimeout creates a new GetEsClusterParams object with the ability to set a timeout on a request.

func (*GetEsClusterParams) SetClusterID

func (o *GetEsClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get es cluster params

func (*GetEsClusterParams) SetContext

func (o *GetEsClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the get es cluster params

func (*GetEsClusterParams) SetConvertLegacyPlans

func (o *GetEsClusterParams) SetConvertLegacyPlans(convertLegacyPlans *bool)

SetConvertLegacyPlans adds the convertLegacyPlans to the get es cluster params

func (*GetEsClusterParams) SetDefaults added in v1.3.0

func (o *GetEsClusterParams) SetDefaults()

SetDefaults hydrates default values in the get es cluster params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterParams) SetEnrichWithTemplate

func (o *GetEsClusterParams) SetEnrichWithTemplate(enrichWithTemplate *bool)

SetEnrichWithTemplate adds the enrichWithTemplate to the get es cluster params

func (*GetEsClusterParams) SetHTTPClient

func (o *GetEsClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get es cluster params

func (*GetEsClusterParams) SetShowMetadata

func (o *GetEsClusterParams) SetShowMetadata(showMetadata *bool)

SetShowMetadata adds the showMetadata to the get es cluster params

func (*GetEsClusterParams) SetShowPlanDefaults

func (o *GetEsClusterParams) SetShowPlanDefaults(showPlanDefaults *bool)

SetShowPlanDefaults adds the showPlanDefaults to the get es cluster params

func (*GetEsClusterParams) SetShowPlanLogs

func (o *GetEsClusterParams) SetShowPlanLogs(showPlanLogs *bool)

SetShowPlanLogs adds the showPlanLogs to the get es cluster params

func (*GetEsClusterParams) SetShowPlans

func (o *GetEsClusterParams) SetShowPlans(showPlans *bool)

SetShowPlans adds the showPlans to the get es cluster params

func (*GetEsClusterParams) SetShowSecurity

func (o *GetEsClusterParams) SetShowSecurity(showSecurity *bool)

SetShowSecurity adds the showSecurity to the get es cluster params

func (*GetEsClusterParams) SetShowSettings

func (o *GetEsClusterParams) SetShowSettings(showSettings *bool)

SetShowSettings adds the showSettings to the get es cluster params

func (*GetEsClusterParams) SetShowSystemAlerts

func (o *GetEsClusterParams) SetShowSystemAlerts(showSystemAlerts *int64)

SetShowSystemAlerts adds the showSystemAlerts to the get es cluster params

func (*GetEsClusterParams) SetTimeout

func (o *GetEsClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get es cluster params

func (*GetEsClusterParams) WithClusterID

func (o *GetEsClusterParams) WithClusterID(clusterID string) *GetEsClusterParams

WithClusterID adds the clusterID to the get es cluster params

func (*GetEsClusterParams) WithContext

WithContext adds the context to the get es cluster params

func (*GetEsClusterParams) WithConvertLegacyPlans

func (o *GetEsClusterParams) WithConvertLegacyPlans(convertLegacyPlans *bool) *GetEsClusterParams

WithConvertLegacyPlans adds the convertLegacyPlans to the get es cluster params

func (*GetEsClusterParams) WithDefaults added in v1.3.0

func (o *GetEsClusterParams) WithDefaults() *GetEsClusterParams

WithDefaults hydrates default values in the get es cluster params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterParams) WithEnrichWithTemplate

func (o *GetEsClusterParams) WithEnrichWithTemplate(enrichWithTemplate *bool) *GetEsClusterParams

WithEnrichWithTemplate adds the enrichWithTemplate to the get es cluster params

func (*GetEsClusterParams) WithHTTPClient

func (o *GetEsClusterParams) WithHTTPClient(client *http.Client) *GetEsClusterParams

WithHTTPClient adds the HTTPClient to the get es cluster params

func (*GetEsClusterParams) WithShowMetadata

func (o *GetEsClusterParams) WithShowMetadata(showMetadata *bool) *GetEsClusterParams

WithShowMetadata adds the showMetadata to the get es cluster params

func (*GetEsClusterParams) WithShowPlanDefaults

func (o *GetEsClusterParams) WithShowPlanDefaults(showPlanDefaults *bool) *GetEsClusterParams

WithShowPlanDefaults adds the showPlanDefaults to the get es cluster params

func (*GetEsClusterParams) WithShowPlanLogs

func (o *GetEsClusterParams) WithShowPlanLogs(showPlanLogs *bool) *GetEsClusterParams

WithShowPlanLogs adds the showPlanLogs to the get es cluster params

func (*GetEsClusterParams) WithShowPlans

func (o *GetEsClusterParams) WithShowPlans(showPlans *bool) *GetEsClusterParams

WithShowPlans adds the showPlans to the get es cluster params

func (*GetEsClusterParams) WithShowSecurity

func (o *GetEsClusterParams) WithShowSecurity(showSecurity *bool) *GetEsClusterParams

WithShowSecurity adds the showSecurity to the get es cluster params

func (*GetEsClusterParams) WithShowSettings

func (o *GetEsClusterParams) WithShowSettings(showSettings *bool) *GetEsClusterParams

WithShowSettings adds the showSettings to the get es cluster params

func (*GetEsClusterParams) WithShowSystemAlerts

func (o *GetEsClusterParams) WithShowSystemAlerts(showSystemAlerts *int64) *GetEsClusterParams

WithShowSystemAlerts adds the showSystemAlerts to the get es cluster params

func (*GetEsClusterParams) WithTimeout

func (o *GetEsClusterParams) WithTimeout(timeout time.Duration) *GetEsClusterParams

WithTimeout adds the timeout to the get es cluster params

func (*GetEsClusterParams) WriteToRequest

func (o *GetEsClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetEsClusterPendingPlanNotFound

type GetEsClusterPendingPlanNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
GetEsClusterPendingPlanNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewGetEsClusterPendingPlanNotFound

func NewGetEsClusterPendingPlanNotFound() *GetEsClusterPendingPlanNotFound

NewGetEsClusterPendingPlanNotFound creates a GetEsClusterPendingPlanNotFound with default headers values

func (*GetEsClusterPendingPlanNotFound) Error

func (*GetEsClusterPendingPlanNotFound) GetPayload

type GetEsClusterPendingPlanOK

type GetEsClusterPendingPlanOK struct {

	/* The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string

	/* The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string

	/* The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.ElasticsearchClusterPlan
}
GetEsClusterPendingPlanOK describes a response with status code 200, with default header values.

The cluster has a pending plan currently being applied to the cluster

func NewGetEsClusterPendingPlanOK

func NewGetEsClusterPendingPlanOK() *GetEsClusterPendingPlanOK

NewGetEsClusterPendingPlanOK creates a GetEsClusterPendingPlanOK with default headers values

func (*GetEsClusterPendingPlanOK) Error

func (o *GetEsClusterPendingPlanOK) Error() string

func (*GetEsClusterPendingPlanOK) GetPayload

type GetEsClusterPendingPlanParams

type GetEsClusterPendingPlanParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* ConvertLegacyPlans.

	   When `true`, converts the plans to the 2.0.x format. When `false`, uses the 1.x format. The default is `false`.
	*/
	ConvertLegacyPlans *bool

	/* EnrichWithTemplate.

	   When plans are shown, includes the missing elements from the applicable deployment template.
	*/
	EnrichWithTemplate *bool

	/* ShowPlanDefaults.

	   When plans are shown, includes the default values in the response. NOTE: This option results in large responses.
	*/
	ShowPlanDefaults *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEsClusterPendingPlanParams contains all the parameters to send to the API endpoint

for the get es cluster pending plan operation.

Typically these are written to a http.Request.

func NewGetEsClusterPendingPlanParams

func NewGetEsClusterPendingPlanParams() *GetEsClusterPendingPlanParams

NewGetEsClusterPendingPlanParams creates a new GetEsClusterPendingPlanParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEsClusterPendingPlanParamsWithContext

func NewGetEsClusterPendingPlanParamsWithContext(ctx context.Context) *GetEsClusterPendingPlanParams

NewGetEsClusterPendingPlanParamsWithContext creates a new GetEsClusterPendingPlanParams object with the ability to set a context for a request.

func NewGetEsClusterPendingPlanParamsWithHTTPClient

func NewGetEsClusterPendingPlanParamsWithHTTPClient(client *http.Client) *GetEsClusterPendingPlanParams

NewGetEsClusterPendingPlanParamsWithHTTPClient creates a new GetEsClusterPendingPlanParams object with the ability to set a custom HTTPClient for a request.

func NewGetEsClusterPendingPlanParamsWithTimeout

func NewGetEsClusterPendingPlanParamsWithTimeout(timeout time.Duration) *GetEsClusterPendingPlanParams

NewGetEsClusterPendingPlanParamsWithTimeout creates a new GetEsClusterPendingPlanParams object with the ability to set a timeout on a request.

func (*GetEsClusterPendingPlanParams) SetClusterID

func (o *GetEsClusterPendingPlanParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get es cluster pending plan params

func (*GetEsClusterPendingPlanParams) SetContext

func (o *GetEsClusterPendingPlanParams) SetContext(ctx context.Context)

SetContext adds the context to the get es cluster pending plan params

func (*GetEsClusterPendingPlanParams) SetConvertLegacyPlans

func (o *GetEsClusterPendingPlanParams) SetConvertLegacyPlans(convertLegacyPlans *bool)

SetConvertLegacyPlans adds the convertLegacyPlans to the get es cluster pending plan params

func (*GetEsClusterPendingPlanParams) SetDefaults added in v1.3.0

func (o *GetEsClusterPendingPlanParams) SetDefaults()

SetDefaults hydrates default values in the get es cluster pending plan params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterPendingPlanParams) SetEnrichWithTemplate

func (o *GetEsClusterPendingPlanParams) SetEnrichWithTemplate(enrichWithTemplate *bool)

SetEnrichWithTemplate adds the enrichWithTemplate to the get es cluster pending plan params

func (*GetEsClusterPendingPlanParams) SetHTTPClient

func (o *GetEsClusterPendingPlanParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get es cluster pending plan params

func (*GetEsClusterPendingPlanParams) SetShowPlanDefaults

func (o *GetEsClusterPendingPlanParams) SetShowPlanDefaults(showPlanDefaults *bool)

SetShowPlanDefaults adds the showPlanDefaults to the get es cluster pending plan params

func (*GetEsClusterPendingPlanParams) SetTimeout

func (o *GetEsClusterPendingPlanParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get es cluster pending plan params

func (*GetEsClusterPendingPlanParams) WithClusterID

WithClusterID adds the clusterID to the get es cluster pending plan params

func (*GetEsClusterPendingPlanParams) WithContext

WithContext adds the context to the get es cluster pending plan params

func (*GetEsClusterPendingPlanParams) WithConvertLegacyPlans

func (o *GetEsClusterPendingPlanParams) WithConvertLegacyPlans(convertLegacyPlans *bool) *GetEsClusterPendingPlanParams

WithConvertLegacyPlans adds the convertLegacyPlans to the get es cluster pending plan params

func (*GetEsClusterPendingPlanParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get es cluster pending plan params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterPendingPlanParams) WithEnrichWithTemplate

func (o *GetEsClusterPendingPlanParams) WithEnrichWithTemplate(enrichWithTemplate *bool) *GetEsClusterPendingPlanParams

WithEnrichWithTemplate adds the enrichWithTemplate to the get es cluster pending plan params

func (*GetEsClusterPendingPlanParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get es cluster pending plan params

func (*GetEsClusterPendingPlanParams) WithShowPlanDefaults

func (o *GetEsClusterPendingPlanParams) WithShowPlanDefaults(showPlanDefaults *bool) *GetEsClusterPendingPlanParams

WithShowPlanDefaults adds the showPlanDefaults to the get es cluster pending plan params

func (*GetEsClusterPendingPlanParams) WithTimeout

WithTimeout adds the timeout to the get es cluster pending plan params

func (*GetEsClusterPendingPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEsClusterPendingPlanPreconditionFailed

type GetEsClusterPendingPlanPreconditionFailed struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
GetEsClusterPendingPlanPreconditionFailed describes a response with status code 412, with default header values.

There is not currently applied plan - eg the cluster has not finished provisioning, or the provisioning failed. (code: `clusters.cluster_plan_state_error`)

func NewGetEsClusterPendingPlanPreconditionFailed

func NewGetEsClusterPendingPlanPreconditionFailed() *GetEsClusterPendingPlanPreconditionFailed

NewGetEsClusterPendingPlanPreconditionFailed creates a GetEsClusterPendingPlanPreconditionFailed with default headers values

func (*GetEsClusterPendingPlanPreconditionFailed) Error

func (*GetEsClusterPendingPlanPreconditionFailed) GetPayload

type GetEsClusterPendingPlanReader

type GetEsClusterPendingPlanReader struct {
	// contains filtered or unexported fields
}

GetEsClusterPendingPlanReader is a Reader for the GetEsClusterPendingPlan structure.

func (*GetEsClusterPendingPlanReader) ReadResponse

func (o *GetEsClusterPendingPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEsClusterPlanActivityNotFound

type GetEsClusterPlanActivityNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
GetEsClusterPlanActivityNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewGetEsClusterPlanActivityNotFound

func NewGetEsClusterPlanActivityNotFound() *GetEsClusterPlanActivityNotFound

NewGetEsClusterPlanActivityNotFound creates a GetEsClusterPlanActivityNotFound with default headers values

func (*GetEsClusterPlanActivityNotFound) Error

func (*GetEsClusterPlanActivityNotFound) GetPayload

type GetEsClusterPlanActivityOK

type GetEsClusterPlanActivityOK struct {
	Payload *models.ElasticsearchClusterPlansInfo
}
GetEsClusterPlanActivityOK describes a response with status code 200, with default header values.

Returning the plan activity for the specified Elasticsearch cluster

func NewGetEsClusterPlanActivityOK

func NewGetEsClusterPlanActivityOK() *GetEsClusterPlanActivityOK

NewGetEsClusterPlanActivityOK creates a GetEsClusterPlanActivityOK with default headers values

func (*GetEsClusterPlanActivityOK) Error

func (*GetEsClusterPlanActivityOK) GetPayload

type GetEsClusterPlanActivityParams

type GetEsClusterPlanActivityParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* ConvertLegacyPlans.

	   When `true`, converts the plans to the 2.0.x format. When `false`, uses the 1.x format. The default is `false`.
	*/
	ConvertLegacyPlans *bool

	/* EnrichWithTemplate.

	   When plans are shown, includes the missing elements from the applicable deployment template.
	*/
	EnrichWithTemplate *bool

	/* ShowPlanDefaults.

	   When plans are shown, includes the default values in the response. NOTE: This option results in large responses.
	*/
	ShowPlanDefaults *bool

	/* ShowPlanLogs.

	   Includes the active, pending, and historical plan information in the attempt log. NOTE: This option can result in large responses.

	   Default: true
	*/
	ShowPlanLogs *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEsClusterPlanActivityParams contains all the parameters to send to the API endpoint

for the get es cluster plan activity operation.

Typically these are written to a http.Request.

func NewGetEsClusterPlanActivityParams

func NewGetEsClusterPlanActivityParams() *GetEsClusterPlanActivityParams

NewGetEsClusterPlanActivityParams creates a new GetEsClusterPlanActivityParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEsClusterPlanActivityParamsWithContext

func NewGetEsClusterPlanActivityParamsWithContext(ctx context.Context) *GetEsClusterPlanActivityParams

NewGetEsClusterPlanActivityParamsWithContext creates a new GetEsClusterPlanActivityParams object with the ability to set a context for a request.

func NewGetEsClusterPlanActivityParamsWithHTTPClient

func NewGetEsClusterPlanActivityParamsWithHTTPClient(client *http.Client) *GetEsClusterPlanActivityParams

NewGetEsClusterPlanActivityParamsWithHTTPClient creates a new GetEsClusterPlanActivityParams object with the ability to set a custom HTTPClient for a request.

func NewGetEsClusterPlanActivityParamsWithTimeout

func NewGetEsClusterPlanActivityParamsWithTimeout(timeout time.Duration) *GetEsClusterPlanActivityParams

NewGetEsClusterPlanActivityParamsWithTimeout creates a new GetEsClusterPlanActivityParams object with the ability to set a timeout on a request.

func (*GetEsClusterPlanActivityParams) SetClusterID

func (o *GetEsClusterPlanActivityParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) SetContext

func (o *GetEsClusterPlanActivityParams) SetContext(ctx context.Context)

SetContext adds the context to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) SetConvertLegacyPlans

func (o *GetEsClusterPlanActivityParams) SetConvertLegacyPlans(convertLegacyPlans *bool)

SetConvertLegacyPlans adds the convertLegacyPlans to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) SetDefaults added in v1.3.0

func (o *GetEsClusterPlanActivityParams) SetDefaults()

SetDefaults hydrates default values in the get es cluster plan activity params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterPlanActivityParams) SetEnrichWithTemplate

func (o *GetEsClusterPlanActivityParams) SetEnrichWithTemplate(enrichWithTemplate *bool)

SetEnrichWithTemplate adds the enrichWithTemplate to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) SetHTTPClient

func (o *GetEsClusterPlanActivityParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) SetShowPlanDefaults

func (o *GetEsClusterPlanActivityParams) SetShowPlanDefaults(showPlanDefaults *bool)

SetShowPlanDefaults adds the showPlanDefaults to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) SetShowPlanLogs

func (o *GetEsClusterPlanActivityParams) SetShowPlanLogs(showPlanLogs *bool)

SetShowPlanLogs adds the showPlanLogs to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) SetTimeout

func (o *GetEsClusterPlanActivityParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) WithClusterID

WithClusterID adds the clusterID to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) WithContext

WithContext adds the context to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) WithConvertLegacyPlans

func (o *GetEsClusterPlanActivityParams) WithConvertLegacyPlans(convertLegacyPlans *bool) *GetEsClusterPlanActivityParams

WithConvertLegacyPlans adds the convertLegacyPlans to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get es cluster plan activity params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterPlanActivityParams) WithEnrichWithTemplate

func (o *GetEsClusterPlanActivityParams) WithEnrichWithTemplate(enrichWithTemplate *bool) *GetEsClusterPlanActivityParams

WithEnrichWithTemplate adds the enrichWithTemplate to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) WithShowPlanDefaults

func (o *GetEsClusterPlanActivityParams) WithShowPlanDefaults(showPlanDefaults *bool) *GetEsClusterPlanActivityParams

WithShowPlanDefaults adds the showPlanDefaults to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) WithShowPlanLogs

func (o *GetEsClusterPlanActivityParams) WithShowPlanLogs(showPlanLogs *bool) *GetEsClusterPlanActivityParams

WithShowPlanLogs adds the showPlanLogs to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) WithTimeout

WithTimeout adds the timeout to the get es cluster plan activity params

func (*GetEsClusterPlanActivityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEsClusterPlanActivityReader

type GetEsClusterPlanActivityReader struct {
	// contains filtered or unexported fields
}

GetEsClusterPlanActivityReader is a Reader for the GetEsClusterPlanActivity structure.

func (*GetEsClusterPlanActivityReader) ReadResponse

func (o *GetEsClusterPlanActivityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEsClusterPlanNotFound

type GetEsClusterPlanNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
GetEsClusterPlanNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewGetEsClusterPlanNotFound

func NewGetEsClusterPlanNotFound() *GetEsClusterPlanNotFound

NewGetEsClusterPlanNotFound creates a GetEsClusterPlanNotFound with default headers values

func (*GetEsClusterPlanNotFound) Error

func (o *GetEsClusterPlanNotFound) Error() string

func (*GetEsClusterPlanNotFound) GetPayload

type GetEsClusterPlanOK

type GetEsClusterPlanOK struct {

	/* The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string

	/* The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string

	/* The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.ElasticsearchClusterPlan
}
GetEsClusterPlanOK describes a response with status code 200, with default header values.

The cluster has a current applied plan

func NewGetEsClusterPlanOK

func NewGetEsClusterPlanOK() *GetEsClusterPlanOK

NewGetEsClusterPlanOK creates a GetEsClusterPlanOK with default headers values

func (*GetEsClusterPlanOK) Error

func (o *GetEsClusterPlanOK) Error() string

func (*GetEsClusterPlanOK) GetPayload

type GetEsClusterPlanParams

type GetEsClusterPlanParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* ConvertLegacyPlans.

	   When `true`, converts the plans to the 2.0.x format. When `false`, uses the 1.x format. The default is `false`.
	*/
	ConvertLegacyPlans *bool

	/* EnrichWithTemplate.

	   When plans are shown, includes the missing elements from the applicable deployment template.
	*/
	EnrichWithTemplate *bool

	/* ShowPlanDefaults.

	   When plans are shown, includes the default values in the response. NOTE: This option results in large responses.
	*/
	ShowPlanDefaults *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEsClusterPlanParams contains all the parameters to send to the API endpoint

for the get es cluster plan operation.

Typically these are written to a http.Request.

func NewGetEsClusterPlanParams

func NewGetEsClusterPlanParams() *GetEsClusterPlanParams

NewGetEsClusterPlanParams creates a new GetEsClusterPlanParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEsClusterPlanParamsWithContext

func NewGetEsClusterPlanParamsWithContext(ctx context.Context) *GetEsClusterPlanParams

NewGetEsClusterPlanParamsWithContext creates a new GetEsClusterPlanParams object with the ability to set a context for a request.

func NewGetEsClusterPlanParamsWithHTTPClient

func NewGetEsClusterPlanParamsWithHTTPClient(client *http.Client) *GetEsClusterPlanParams

NewGetEsClusterPlanParamsWithHTTPClient creates a new GetEsClusterPlanParams object with the ability to set a custom HTTPClient for a request.

func NewGetEsClusterPlanParamsWithTimeout

func NewGetEsClusterPlanParamsWithTimeout(timeout time.Duration) *GetEsClusterPlanParams

NewGetEsClusterPlanParamsWithTimeout creates a new GetEsClusterPlanParams object with the ability to set a timeout on a request.

func (*GetEsClusterPlanParams) SetClusterID

func (o *GetEsClusterPlanParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get es cluster plan params

func (*GetEsClusterPlanParams) SetContext

func (o *GetEsClusterPlanParams) SetContext(ctx context.Context)

SetContext adds the context to the get es cluster plan params

func (*GetEsClusterPlanParams) SetConvertLegacyPlans

func (o *GetEsClusterPlanParams) SetConvertLegacyPlans(convertLegacyPlans *bool)

SetConvertLegacyPlans adds the convertLegacyPlans to the get es cluster plan params

func (*GetEsClusterPlanParams) SetDefaults added in v1.3.0

func (o *GetEsClusterPlanParams) SetDefaults()

SetDefaults hydrates default values in the get es cluster plan params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterPlanParams) SetEnrichWithTemplate

func (o *GetEsClusterPlanParams) SetEnrichWithTemplate(enrichWithTemplate *bool)

SetEnrichWithTemplate adds the enrichWithTemplate to the get es cluster plan params

func (*GetEsClusterPlanParams) SetHTTPClient

func (o *GetEsClusterPlanParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get es cluster plan params

func (*GetEsClusterPlanParams) SetShowPlanDefaults

func (o *GetEsClusterPlanParams) SetShowPlanDefaults(showPlanDefaults *bool)

SetShowPlanDefaults adds the showPlanDefaults to the get es cluster plan params

func (*GetEsClusterPlanParams) SetTimeout

func (o *GetEsClusterPlanParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get es cluster plan params

func (*GetEsClusterPlanParams) WithClusterID

func (o *GetEsClusterPlanParams) WithClusterID(clusterID string) *GetEsClusterPlanParams

WithClusterID adds the clusterID to the get es cluster plan params

func (*GetEsClusterPlanParams) WithContext

WithContext adds the context to the get es cluster plan params

func (*GetEsClusterPlanParams) WithConvertLegacyPlans

func (o *GetEsClusterPlanParams) WithConvertLegacyPlans(convertLegacyPlans *bool) *GetEsClusterPlanParams

WithConvertLegacyPlans adds the convertLegacyPlans to the get es cluster plan params

func (*GetEsClusterPlanParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get es cluster plan params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterPlanParams) WithEnrichWithTemplate

func (o *GetEsClusterPlanParams) WithEnrichWithTemplate(enrichWithTemplate *bool) *GetEsClusterPlanParams

WithEnrichWithTemplate adds the enrichWithTemplate to the get es cluster plan params

func (*GetEsClusterPlanParams) WithHTTPClient

func (o *GetEsClusterPlanParams) WithHTTPClient(client *http.Client) *GetEsClusterPlanParams

WithHTTPClient adds the HTTPClient to the get es cluster plan params

func (*GetEsClusterPlanParams) WithShowPlanDefaults

func (o *GetEsClusterPlanParams) WithShowPlanDefaults(showPlanDefaults *bool) *GetEsClusterPlanParams

WithShowPlanDefaults adds the showPlanDefaults to the get es cluster plan params

func (*GetEsClusterPlanParams) WithTimeout

WithTimeout adds the timeout to the get es cluster plan params

func (*GetEsClusterPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEsClusterPlanPreconditionFailed

type GetEsClusterPlanPreconditionFailed struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
GetEsClusterPlanPreconditionFailed describes a response with status code 412, with default header values.

There is not currently applied plan - eg the cluster has not finished provisioning, or the provisioning failed. (code: `clusters.cluster_plan_state_error`)

func NewGetEsClusterPlanPreconditionFailed

func NewGetEsClusterPlanPreconditionFailed() *GetEsClusterPlanPreconditionFailed

NewGetEsClusterPlanPreconditionFailed creates a GetEsClusterPlanPreconditionFailed with default headers values

func (*GetEsClusterPlanPreconditionFailed) Error

func (*GetEsClusterPlanPreconditionFailed) GetPayload

type GetEsClusterPlanReader

type GetEsClusterPlanReader struct {
	// contains filtered or unexported fields
}

GetEsClusterPlanReader is a Reader for the GetEsClusterPlan structure.

func (*GetEsClusterPlanReader) ReadResponse

func (o *GetEsClusterPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEsClusterReader

type GetEsClusterReader struct {
	// contains filtered or unexported fields
}

GetEsClusterReader is a Reader for the GetEsCluster structure.

func (*GetEsClusterReader) ReadResponse

func (o *GetEsClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEsClusterSnapshotSettingsNotFound

type GetEsClusterSnapshotSettingsNotFound struct {
	Payload *models.BasicFailedReply
}
GetEsClusterSnapshotSettingsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewGetEsClusterSnapshotSettingsNotFound

func NewGetEsClusterSnapshotSettingsNotFound() *GetEsClusterSnapshotSettingsNotFound

NewGetEsClusterSnapshotSettingsNotFound creates a GetEsClusterSnapshotSettingsNotFound with default headers values

func (*GetEsClusterSnapshotSettingsNotFound) Error

func (*GetEsClusterSnapshotSettingsNotFound) GetPayload

type GetEsClusterSnapshotSettingsOK

type GetEsClusterSnapshotSettingsOK struct {

	/* The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string

	/* The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string

	/* The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.ClusterSnapshotSettings
}
GetEsClusterSnapshotSettingsOK describes a response with status code 200, with default header values.

The cluster snapshot settings were successfully returned

func NewGetEsClusterSnapshotSettingsOK

func NewGetEsClusterSnapshotSettingsOK() *GetEsClusterSnapshotSettingsOK

NewGetEsClusterSnapshotSettingsOK creates a GetEsClusterSnapshotSettingsOK with default headers values

func (*GetEsClusterSnapshotSettingsOK) Error

func (*GetEsClusterSnapshotSettingsOK) GetPayload

type GetEsClusterSnapshotSettingsParams

type GetEsClusterSnapshotSettingsParams struct {

	/* ClusterID.

	   Identifier for the Elasticsearch cluster
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEsClusterSnapshotSettingsParams contains all the parameters to send to the API endpoint

for the get es cluster snapshot settings operation.

Typically these are written to a http.Request.

func NewGetEsClusterSnapshotSettingsParams

func NewGetEsClusterSnapshotSettingsParams() *GetEsClusterSnapshotSettingsParams

NewGetEsClusterSnapshotSettingsParams creates a new GetEsClusterSnapshotSettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEsClusterSnapshotSettingsParamsWithContext

func NewGetEsClusterSnapshotSettingsParamsWithContext(ctx context.Context) *GetEsClusterSnapshotSettingsParams

NewGetEsClusterSnapshotSettingsParamsWithContext creates a new GetEsClusterSnapshotSettingsParams object with the ability to set a context for a request.

func NewGetEsClusterSnapshotSettingsParamsWithHTTPClient

func NewGetEsClusterSnapshotSettingsParamsWithHTTPClient(client *http.Client) *GetEsClusterSnapshotSettingsParams

NewGetEsClusterSnapshotSettingsParamsWithHTTPClient creates a new GetEsClusterSnapshotSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetEsClusterSnapshotSettingsParamsWithTimeout

func NewGetEsClusterSnapshotSettingsParamsWithTimeout(timeout time.Duration) *GetEsClusterSnapshotSettingsParams

NewGetEsClusterSnapshotSettingsParamsWithTimeout creates a new GetEsClusterSnapshotSettingsParams object with the ability to set a timeout on a request.

func (*GetEsClusterSnapshotSettingsParams) SetClusterID

func (o *GetEsClusterSnapshotSettingsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get es cluster snapshot settings params

func (*GetEsClusterSnapshotSettingsParams) SetContext

SetContext adds the context to the get es cluster snapshot settings params

func (*GetEsClusterSnapshotSettingsParams) SetDefaults added in v1.3.0

func (o *GetEsClusterSnapshotSettingsParams) SetDefaults()

SetDefaults hydrates default values in the get es cluster snapshot settings params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterSnapshotSettingsParams) SetHTTPClient

func (o *GetEsClusterSnapshotSettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get es cluster snapshot settings params

func (*GetEsClusterSnapshotSettingsParams) SetTimeout

func (o *GetEsClusterSnapshotSettingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get es cluster snapshot settings params

func (*GetEsClusterSnapshotSettingsParams) WithClusterID

WithClusterID adds the clusterID to the get es cluster snapshot settings params

func (*GetEsClusterSnapshotSettingsParams) WithContext

WithContext adds the context to the get es cluster snapshot settings params

func (*GetEsClusterSnapshotSettingsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get es cluster snapshot settings params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClusterSnapshotSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get es cluster snapshot settings params

func (*GetEsClusterSnapshotSettingsParams) WithTimeout

WithTimeout adds the timeout to the get es cluster snapshot settings params

func (*GetEsClusterSnapshotSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEsClusterSnapshotSettingsReader

type GetEsClusterSnapshotSettingsReader struct {
	// contains filtered or unexported fields
}

GetEsClusterSnapshotSettingsReader is a Reader for the GetEsClusterSnapshotSettings structure.

func (*GetEsClusterSnapshotSettingsReader) ReadResponse

func (o *GetEsClusterSnapshotSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEsClustersOK

type GetEsClustersOK struct {
	Payload *models.ElasticsearchClustersInfo
}
GetEsClustersOK describes a response with status code 200, with default header values.

Returning the specified set of clusters from the platform

func NewGetEsClustersOK

func NewGetEsClustersOK() *GetEsClustersOK

NewGetEsClustersOK creates a GetEsClustersOK with default headers values

func (*GetEsClustersOK) Error

func (o *GetEsClustersOK) Error() string

func (*GetEsClustersOK) GetPayload

type GetEsClustersParams

type GetEsClustersParams struct {

	/* ConvertLegacyPlans.

	   When `true`, converts the plans to the 2.0.x format. When `false`, uses the 1.x format. The default is `false`.
	*/
	ConvertLegacyPlans *bool

	/* EnrichWithTemplate.

	   When plans are shown, includes the missing elements from the applicable deployment template.
	*/
	EnrichWithTemplate *bool

	/* From.

	   The number of clusters to skip.
	*/
	From *int64

	/* Q.

	   An optional query to filter Elasticsearch clusters by. Maps to an Elasticsearch query_string query.
	*/
	Q *string

	/* ShowHidden.

	   Includes the hidden clusters in the response.
	*/
	ShowHidden *bool

	/* ShowMetadata.

	   Includes all of the cluster metadata in the response. NOTE: Responses can include a large amount of metadata, as well as credentials.
	*/
	ShowMetadata *bool

	/* ShowPlanDefaults.

	   When plans are shown, includes the default values in the response. NOTE: This option results in large responses.
	*/
	ShowPlanDefaults *bool

	/* ShowPlans.

	   Includes the active and pending plan information in the response. NOTE: This option can result in large responses.
	*/
	ShowPlans *bool

	/* ShowSecurity.

	   Includes the Elasticsearch 2.x security information in the response. NOTE: Responses can include a large amount of metadata, as well as credentials.
	*/
	ShowSecurity *bool

	/* ShowSettings.

	   Includes the cluster settings in the response.
	*/
	ShowSettings *bool

	/* ShowSystemAlerts.

	   The number of system alerts to include in the response. For example, the number of forced restarts caused from a limited amount of memory. Only numbers greater than zero return a field. NOTE: Responses can include a large number of system alerts.
	*/
	ShowSystemAlerts *int64

	/* Size.

	   Maximum number of clusters to include in the response. For all clusters, use -1. NOTE: This option can result in large responses and is not supported if a query is also specified.

	   Default: 100
	*/
	Size *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEsClustersParams contains all the parameters to send to the API endpoint

for the get es clusters operation.

Typically these are written to a http.Request.

func NewGetEsClustersParams

func NewGetEsClustersParams() *GetEsClustersParams

NewGetEsClustersParams creates a new GetEsClustersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEsClustersParamsWithContext

func NewGetEsClustersParamsWithContext(ctx context.Context) *GetEsClustersParams

NewGetEsClustersParamsWithContext creates a new GetEsClustersParams object with the ability to set a context for a request.

func NewGetEsClustersParamsWithHTTPClient

func NewGetEsClustersParamsWithHTTPClient(client *http.Client) *GetEsClustersParams

NewGetEsClustersParamsWithHTTPClient creates a new GetEsClustersParams object with the ability to set a custom HTTPClient for a request.

func NewGetEsClustersParamsWithTimeout

func NewGetEsClustersParamsWithTimeout(timeout time.Duration) *GetEsClustersParams

NewGetEsClustersParamsWithTimeout creates a new GetEsClustersParams object with the ability to set a timeout on a request.

func (*GetEsClustersParams) SetContext

func (o *GetEsClustersParams) SetContext(ctx context.Context)

SetContext adds the context to the get es clusters params

func (*GetEsClustersParams) SetConvertLegacyPlans

func (o *GetEsClustersParams) SetConvertLegacyPlans(convertLegacyPlans *bool)

SetConvertLegacyPlans adds the convertLegacyPlans to the get es clusters params

func (*GetEsClustersParams) SetDefaults added in v1.3.0

func (o *GetEsClustersParams) SetDefaults()

SetDefaults hydrates default values in the get es clusters params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClustersParams) SetEnrichWithTemplate

func (o *GetEsClustersParams) SetEnrichWithTemplate(enrichWithTemplate *bool)

SetEnrichWithTemplate adds the enrichWithTemplate to the get es clusters params

func (*GetEsClustersParams) SetFrom

func (o *GetEsClustersParams) SetFrom(from *int64)

SetFrom adds the from to the get es clusters params

func (*GetEsClustersParams) SetHTTPClient

func (o *GetEsClustersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get es clusters params

func (*GetEsClustersParams) SetQ

func (o *GetEsClustersParams) SetQ(q *string)

SetQ adds the q to the get es clusters params

func (*GetEsClustersParams) SetShowHidden

func (o *GetEsClustersParams) SetShowHidden(showHidden *bool)

SetShowHidden adds the showHidden to the get es clusters params

func (*GetEsClustersParams) SetShowMetadata

func (o *GetEsClustersParams) SetShowMetadata(showMetadata *bool)

SetShowMetadata adds the showMetadata to the get es clusters params

func (*GetEsClustersParams) SetShowPlanDefaults

func (o *GetEsClustersParams) SetShowPlanDefaults(showPlanDefaults *bool)

SetShowPlanDefaults adds the showPlanDefaults to the get es clusters params

func (*GetEsClustersParams) SetShowPlans

func (o *GetEsClustersParams) SetShowPlans(showPlans *bool)

SetShowPlans adds the showPlans to the get es clusters params

func (*GetEsClustersParams) SetShowSecurity

func (o *GetEsClustersParams) SetShowSecurity(showSecurity *bool)

SetShowSecurity adds the showSecurity to the get es clusters params

func (*GetEsClustersParams) SetShowSettings

func (o *GetEsClustersParams) SetShowSettings(showSettings *bool)

SetShowSettings adds the showSettings to the get es clusters params

func (*GetEsClustersParams) SetShowSystemAlerts

func (o *GetEsClustersParams) SetShowSystemAlerts(showSystemAlerts *int64)

SetShowSystemAlerts adds the showSystemAlerts to the get es clusters params

func (*GetEsClustersParams) SetSize

func (o *GetEsClustersParams) SetSize(size *int64)

SetSize adds the size to the get es clusters params

func (*GetEsClustersParams) SetTimeout

func (o *GetEsClustersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get es clusters params

func (*GetEsClustersParams) WithContext

WithContext adds the context to the get es clusters params

func (*GetEsClustersParams) WithConvertLegacyPlans

func (o *GetEsClustersParams) WithConvertLegacyPlans(convertLegacyPlans *bool) *GetEsClustersParams

WithConvertLegacyPlans adds the convertLegacyPlans to the get es clusters params

func (*GetEsClustersParams) WithDefaults added in v1.3.0

func (o *GetEsClustersParams) WithDefaults() *GetEsClustersParams

WithDefaults hydrates default values in the get es clusters params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsClustersParams) WithEnrichWithTemplate

func (o *GetEsClustersParams) WithEnrichWithTemplate(enrichWithTemplate *bool) *GetEsClustersParams

WithEnrichWithTemplate adds the enrichWithTemplate to the get es clusters params

func (*GetEsClustersParams) WithFrom

func (o *GetEsClustersParams) WithFrom(from *int64) *GetEsClustersParams

WithFrom adds the from to the get es clusters params

func (*GetEsClustersParams) WithHTTPClient

func (o *GetEsClustersParams) WithHTTPClient(client *http.Client) *GetEsClustersParams

WithHTTPClient adds the HTTPClient to the get es clusters params

func (*GetEsClustersParams) WithQ

WithQ adds the q to the get es clusters params

func (*GetEsClustersParams) WithShowHidden

func (o *GetEsClustersParams) WithShowHidden(showHidden *bool) *GetEsClustersParams

WithShowHidden adds the showHidden to the get es clusters params

func (*GetEsClustersParams) WithShowMetadata

func (o *GetEsClustersParams) WithShowMetadata(showMetadata *bool) *GetEsClustersParams

WithShowMetadata adds the showMetadata to the get es clusters params

func (*GetEsClustersParams) WithShowPlanDefaults

func (o *GetEsClustersParams) WithShowPlanDefaults(showPlanDefaults *bool) *GetEsClustersParams

WithShowPlanDefaults adds the showPlanDefaults to the get es clusters params

func (*GetEsClustersParams) WithShowPlans

func (o *GetEsClustersParams) WithShowPlans(showPlans *bool) *GetEsClustersParams

WithShowPlans adds the showPlans to the get es clusters params

func (*GetEsClustersParams) WithShowSecurity

func (o *GetEsClustersParams) WithShowSecurity(showSecurity *bool) *GetEsClustersParams

WithShowSecurity adds the showSecurity to the get es clusters params

func (*GetEsClustersParams) WithShowSettings

func (o *GetEsClustersParams) WithShowSettings(showSettings *bool) *GetEsClustersParams

WithShowSettings adds the showSettings to the get es clusters params

func (*GetEsClustersParams) WithShowSystemAlerts

func (o *GetEsClustersParams) WithShowSystemAlerts(showSystemAlerts *int64) *GetEsClustersParams

WithShowSystemAlerts adds the showSystemAlerts to the get es clusters params

func (*GetEsClustersParams) WithSize

func (o *GetEsClustersParams) WithSize(size *int64) *GetEsClustersParams

WithSize adds the size to the get es clusters params

func (*GetEsClustersParams) WithTimeout

func (o *GetEsClustersParams) WithTimeout(timeout time.Duration) *GetEsClustersParams

WithTimeout adds the timeout to the get es clusters params

func (*GetEsClustersParams) WriteToRequest

func (o *GetEsClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetEsClustersReader

type GetEsClustersReader struct {
	// contains filtered or unexported fields
}

GetEsClustersReader is a Reader for the GetEsClusters structure.

func (*GetEsClustersReader) ReadResponse

func (o *GetEsClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEsProxyRequestsNotFound

type GetEsProxyRequestsNotFound struct {
	Payload *models.BasicFailedReply
}
GetEsProxyRequestsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewGetEsProxyRequestsNotFound

func NewGetEsProxyRequestsNotFound() *GetEsProxyRequestsNotFound

NewGetEsProxyRequestsNotFound creates a GetEsProxyRequestsNotFound with default headers values

func (*GetEsProxyRequestsNotFound) Error

func (*GetEsProxyRequestsNotFound) GetPayload

type GetEsProxyRequestsOK

type GetEsProxyRequestsOK struct {
}
GetEsProxyRequestsOK describes a response with status code 200, with default header values.

The request has been processed successfully through the proxy

func NewGetEsProxyRequestsOK

func NewGetEsProxyRequestsOK() *GetEsProxyRequestsOK

NewGetEsProxyRequestsOK creates a GetEsProxyRequestsOK with default headers values

func (*GetEsProxyRequestsOK) Error

func (o *GetEsProxyRequestsOK) Error() string

type GetEsProxyRequestsParams

type GetEsProxyRequestsParams struct {

	/* XManagementRequest.

	   X-Management-Request header value. Needs to be set to true
	*/
	XManagementRequest string

	/* Body.

	   The JSON payload to proxy to the Elasticsearch cluster
	*/
	Body string

	/* ClusterID.

	   Identifier for the Elasticsearch cluster
	*/
	ClusterID string

	/* ElasticsearchPath.

	   The URL part to proxy to the Elasticsearch cluster. Example: _search or _cat/indices?v&h=i,tm&s=tm:desc
	*/
	ElasticsearchPath string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEsProxyRequestsParams contains all the parameters to send to the API endpoint

for the get es proxy requests operation.

Typically these are written to a http.Request.

func NewGetEsProxyRequestsParams

func NewGetEsProxyRequestsParams() *GetEsProxyRequestsParams

NewGetEsProxyRequestsParams creates a new GetEsProxyRequestsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetEsProxyRequestsParamsWithContext

func NewGetEsProxyRequestsParamsWithContext(ctx context.Context) *GetEsProxyRequestsParams

NewGetEsProxyRequestsParamsWithContext creates a new GetEsProxyRequestsParams object with the ability to set a context for a request.

func NewGetEsProxyRequestsParamsWithHTTPClient

func NewGetEsProxyRequestsParamsWithHTTPClient(client *http.Client) *GetEsProxyRequestsParams

NewGetEsProxyRequestsParamsWithHTTPClient creates a new GetEsProxyRequestsParams object with the ability to set a custom HTTPClient for a request.

func NewGetEsProxyRequestsParamsWithTimeout

func NewGetEsProxyRequestsParamsWithTimeout(timeout time.Duration) *GetEsProxyRequestsParams

NewGetEsProxyRequestsParamsWithTimeout creates a new GetEsProxyRequestsParams object with the ability to set a timeout on a request.

func (*GetEsProxyRequestsParams) SetBody

func (o *GetEsProxyRequestsParams) SetBody(body string)

SetBody adds the body to the get es proxy requests params

func (*GetEsProxyRequestsParams) SetClusterID

func (o *GetEsProxyRequestsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get es proxy requests params

func (*GetEsProxyRequestsParams) SetContext

func (o *GetEsProxyRequestsParams) SetContext(ctx context.Context)

SetContext adds the context to the get es proxy requests params

func (*GetEsProxyRequestsParams) SetDefaults added in v1.3.0

func (o *GetEsProxyRequestsParams) SetDefaults()

SetDefaults hydrates default values in the get es proxy requests params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsProxyRequestsParams) SetElasticsearchPath

func (o *GetEsProxyRequestsParams) SetElasticsearchPath(elasticsearchPath string)

SetElasticsearchPath adds the elasticsearchPath to the get es proxy requests params

func (*GetEsProxyRequestsParams) SetHTTPClient

func (o *GetEsProxyRequestsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get es proxy requests params

func (*GetEsProxyRequestsParams) SetTimeout

func (o *GetEsProxyRequestsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get es proxy requests params

func (*GetEsProxyRequestsParams) SetXManagementRequest

func (o *GetEsProxyRequestsParams) SetXManagementRequest(xManagementRequest string)

SetXManagementRequest adds the xManagementRequest to the get es proxy requests params

func (*GetEsProxyRequestsParams) WithBody

WithBody adds the body to the get es proxy requests params

func (*GetEsProxyRequestsParams) WithClusterID

func (o *GetEsProxyRequestsParams) WithClusterID(clusterID string) *GetEsProxyRequestsParams

WithClusterID adds the clusterID to the get es proxy requests params

func (*GetEsProxyRequestsParams) WithContext

WithContext adds the context to the get es proxy requests params

func (*GetEsProxyRequestsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get es proxy requests params (not the query body).

All values with no default are reset to their zero value.

func (*GetEsProxyRequestsParams) WithElasticsearchPath

func (o *GetEsProxyRequestsParams) WithElasticsearchPath(elasticsearchPath string) *GetEsProxyRequestsParams

WithElasticsearchPath adds the elasticsearchPath to the get es proxy requests params

func (*GetEsProxyRequestsParams) WithHTTPClient

func (o *GetEsProxyRequestsParams) WithHTTPClient(client *http.Client) *GetEsProxyRequestsParams

WithHTTPClient adds the HTTPClient to the get es proxy requests params

func (*GetEsProxyRequestsParams) WithTimeout

WithTimeout adds the timeout to the get es proxy requests params

func (*GetEsProxyRequestsParams) WithXManagementRequest

func (o *GetEsProxyRequestsParams) WithXManagementRequest(xManagementRequest string) *GetEsProxyRequestsParams

WithXManagementRequest adds the xManagementRequest to the get es proxy requests params

func (*GetEsProxyRequestsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEsProxyRequestsReader

type GetEsProxyRequestsReader struct {
	// contains filtered or unexported fields
}

GetEsProxyRequestsReader is a Reader for the GetEsProxyRequests structure.

func (*GetEsProxyRequestsReader) ReadResponse

func (o *GetEsProxyRequestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MigrateEsClusterPlanAccepted

type MigrateEsClusterPlanAccepted struct {
	Payload *models.ClusterPlanMigrationResponse
}
MigrateEsClusterPlanAccepted describes a response with status code 202, with default header values.

The plan definition was valid and the updated plan is in progress

func NewMigrateEsClusterPlanAccepted

func NewMigrateEsClusterPlanAccepted() *MigrateEsClusterPlanAccepted

NewMigrateEsClusterPlanAccepted creates a MigrateEsClusterPlanAccepted with default headers values

func (*MigrateEsClusterPlanAccepted) Error

func (*MigrateEsClusterPlanAccepted) GetPayload

type MigrateEsClusterPlanBadRequest

type MigrateEsClusterPlanBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
MigrateEsClusterPlanBadRequest describes a response with status code 400, with default header values.

Migrating to the specified template would lead to an invalid or unsupported cluster definition. (code: `clusters.cluster_invalid_plan`)

func NewMigrateEsClusterPlanBadRequest

func NewMigrateEsClusterPlanBadRequest() *MigrateEsClusterPlanBadRequest

NewMigrateEsClusterPlanBadRequest creates a MigrateEsClusterPlanBadRequest with default headers values

func (*MigrateEsClusterPlanBadRequest) Error

func (*MigrateEsClusterPlanBadRequest) GetPayload

type MigrateEsClusterPlanNotFound

type MigrateEsClusterPlanNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
MigrateEsClusterPlanNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewMigrateEsClusterPlanNotFound

func NewMigrateEsClusterPlanNotFound() *MigrateEsClusterPlanNotFound

NewMigrateEsClusterPlanNotFound creates a MigrateEsClusterPlanNotFound with default headers values

func (*MigrateEsClusterPlanNotFound) Error

func (*MigrateEsClusterPlanNotFound) GetPayload

type MigrateEsClusterPlanOK

type MigrateEsClusterPlanOK struct {
	Payload *models.ClusterPlanMigrationResponse
}
MigrateEsClusterPlanOK describes a response with status code 200, with default header values.

The current cluster plan migrated to the specified deployment template.

func NewMigrateEsClusterPlanOK

func NewMigrateEsClusterPlanOK() *MigrateEsClusterPlanOK

NewMigrateEsClusterPlanOK creates a MigrateEsClusterPlanOK with default headers values

func (*MigrateEsClusterPlanOK) Error

func (o *MigrateEsClusterPlanOK) Error() string

func (*MigrateEsClusterPlanOK) GetPayload

type MigrateEsClusterPlanParams

type MigrateEsClusterPlanParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* Template.

	   The ID of the deployment template to migrate to
	*/
	Template string

	/* ValidateOnly.

	   When true, validates the cluster definition, but does not perform the update
	*/
	ValidateOnly *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MigrateEsClusterPlanParams contains all the parameters to send to the API endpoint

for the migrate es cluster plan operation.

Typically these are written to a http.Request.

func NewMigrateEsClusterPlanParams

func NewMigrateEsClusterPlanParams() *MigrateEsClusterPlanParams

NewMigrateEsClusterPlanParams creates a new MigrateEsClusterPlanParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewMigrateEsClusterPlanParamsWithContext

func NewMigrateEsClusterPlanParamsWithContext(ctx context.Context) *MigrateEsClusterPlanParams

NewMigrateEsClusterPlanParamsWithContext creates a new MigrateEsClusterPlanParams object with the ability to set a context for a request.

func NewMigrateEsClusterPlanParamsWithHTTPClient

func NewMigrateEsClusterPlanParamsWithHTTPClient(client *http.Client) *MigrateEsClusterPlanParams

NewMigrateEsClusterPlanParamsWithHTTPClient creates a new MigrateEsClusterPlanParams object with the ability to set a custom HTTPClient for a request.

func NewMigrateEsClusterPlanParamsWithTimeout

func NewMigrateEsClusterPlanParamsWithTimeout(timeout time.Duration) *MigrateEsClusterPlanParams

NewMigrateEsClusterPlanParamsWithTimeout creates a new MigrateEsClusterPlanParams object with the ability to set a timeout on a request.

func (*MigrateEsClusterPlanParams) SetClusterID

func (o *MigrateEsClusterPlanParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the migrate es cluster plan params

func (*MigrateEsClusterPlanParams) SetContext

func (o *MigrateEsClusterPlanParams) SetContext(ctx context.Context)

SetContext adds the context to the migrate es cluster plan params

func (*MigrateEsClusterPlanParams) SetDefaults added in v1.3.0

func (o *MigrateEsClusterPlanParams) SetDefaults()

SetDefaults hydrates default values in the migrate es cluster plan params (not the query body).

All values with no default are reset to their zero value.

func (*MigrateEsClusterPlanParams) SetHTTPClient

func (o *MigrateEsClusterPlanParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the migrate es cluster plan params

func (*MigrateEsClusterPlanParams) SetTemplate

func (o *MigrateEsClusterPlanParams) SetTemplate(template string)

SetTemplate adds the template to the migrate es cluster plan params

func (*MigrateEsClusterPlanParams) SetTimeout

func (o *MigrateEsClusterPlanParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the migrate es cluster plan params

func (*MigrateEsClusterPlanParams) SetValidateOnly

func (o *MigrateEsClusterPlanParams) SetValidateOnly(validateOnly *bool)

SetValidateOnly adds the validateOnly to the migrate es cluster plan params

func (*MigrateEsClusterPlanParams) WithClusterID

func (o *MigrateEsClusterPlanParams) WithClusterID(clusterID string) *MigrateEsClusterPlanParams

WithClusterID adds the clusterID to the migrate es cluster plan params

func (*MigrateEsClusterPlanParams) WithContext

WithContext adds the context to the migrate es cluster plan params

func (*MigrateEsClusterPlanParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the migrate es cluster plan params (not the query body).

All values with no default are reset to their zero value.

func (*MigrateEsClusterPlanParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the migrate es cluster plan params

func (*MigrateEsClusterPlanParams) WithTemplate

WithTemplate adds the template to the migrate es cluster plan params

func (*MigrateEsClusterPlanParams) WithTimeout

WithTimeout adds the timeout to the migrate es cluster plan params

func (*MigrateEsClusterPlanParams) WithValidateOnly

func (o *MigrateEsClusterPlanParams) WithValidateOnly(validateOnly *bool) *MigrateEsClusterPlanParams

WithValidateOnly adds the validateOnly to the migrate es cluster plan params

func (*MigrateEsClusterPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MigrateEsClusterPlanPreconditionFailed

type MigrateEsClusterPlanPreconditionFailed struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
MigrateEsClusterPlanPreconditionFailed describes a response with status code 412, with default header values.

There is not currently applied plan - eg the cluster has not finished provisioning, or the provisioning failed. (code: `clusters.cluster_plan_state_error`)

func NewMigrateEsClusterPlanPreconditionFailed

func NewMigrateEsClusterPlanPreconditionFailed() *MigrateEsClusterPlanPreconditionFailed

NewMigrateEsClusterPlanPreconditionFailed creates a MigrateEsClusterPlanPreconditionFailed with default headers values

func (*MigrateEsClusterPlanPreconditionFailed) Error

func (*MigrateEsClusterPlanPreconditionFailed) GetPayload

type MigrateEsClusterPlanReader

type MigrateEsClusterPlanReader struct {
	// contains filtered or unexported fields
}

MigrateEsClusterPlanReader is a Reader for the MigrateEsClusterPlan structure.

func (*MigrateEsClusterPlanReader) ReadResponse

func (o *MigrateEsClusterPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MigrateEsClusterPlanRetryWith

type MigrateEsClusterPlanRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
MigrateEsClusterPlanRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewMigrateEsClusterPlanRetryWith

func NewMigrateEsClusterPlanRetryWith() *MigrateEsClusterPlanRetryWith

NewMigrateEsClusterPlanRetryWith creates a MigrateEsClusterPlanRetryWith with default headers values

func (*MigrateEsClusterPlanRetryWith) Error

func (*MigrateEsClusterPlanRetryWith) GetPayload

type MoveEsClusterInstancesAccepted

type MoveEsClusterInstancesAccepted struct {
	Payload *models.ClusterCommandResponse
}
MoveEsClusterInstancesAccepted describes a response with status code 202, with default header values.

The move command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

func NewMoveEsClusterInstancesAccepted

func NewMoveEsClusterInstancesAccepted() *MoveEsClusterInstancesAccepted

NewMoveEsClusterInstancesAccepted creates a MoveEsClusterInstancesAccepted with default headers values

func (*MoveEsClusterInstancesAccepted) Error

func (*MoveEsClusterInstancesAccepted) GetPayload

type MoveEsClusterInstancesAdvancedAccepted

type MoveEsClusterInstancesAdvancedAccepted struct {
	Payload *models.ClusterCommandResponse
}
MoveEsClusterInstancesAdvancedAccepted describes a response with status code 202, with default header values.

The move command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

func NewMoveEsClusterInstancesAdvancedAccepted

func NewMoveEsClusterInstancesAdvancedAccepted() *MoveEsClusterInstancesAdvancedAccepted

NewMoveEsClusterInstancesAdvancedAccepted creates a MoveEsClusterInstancesAdvancedAccepted with default headers values

func (*MoveEsClusterInstancesAdvancedAccepted) Error

func (*MoveEsClusterInstancesAdvancedAccepted) GetPayload

type MoveEsClusterInstancesAdvancedBadRequest

type MoveEsClusterInstancesAdvancedBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
MoveEsClusterInstancesAdvancedBadRequest describes a response with status code 400, with default header values.

* The cluster definition contained errors. (code: `clusters.cluster_invalid_plan`)

* The cluster definition contained errors. (code: `clusters.plan_feature_not_implemented`)

func NewMoveEsClusterInstancesAdvancedBadRequest

func NewMoveEsClusterInstancesAdvancedBadRequest() *MoveEsClusterInstancesAdvancedBadRequest

NewMoveEsClusterInstancesAdvancedBadRequest creates a MoveEsClusterInstancesAdvancedBadRequest with default headers values

func (*MoveEsClusterInstancesAdvancedBadRequest) Error

func (*MoveEsClusterInstancesAdvancedBadRequest) GetPayload

type MoveEsClusterInstancesAdvancedForbidden

type MoveEsClusterInstancesAdvancedForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
MoveEsClusterInstancesAdvancedForbidden describes a response with status code 403, with default header values.

The move command was prohibited for the given cluster. (code: `clusters.command_prohibited`)

func NewMoveEsClusterInstancesAdvancedForbidden

func NewMoveEsClusterInstancesAdvancedForbidden() *MoveEsClusterInstancesAdvancedForbidden

NewMoveEsClusterInstancesAdvancedForbidden creates a MoveEsClusterInstancesAdvancedForbidden with default headers values

func (*MoveEsClusterInstancesAdvancedForbidden) Error

func (*MoveEsClusterInstancesAdvancedForbidden) GetPayload

type MoveEsClusterInstancesAdvancedNotFound

type MoveEsClusterInstancesAdvancedNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
MoveEsClusterInstancesAdvancedNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewMoveEsClusterInstancesAdvancedNotFound

func NewMoveEsClusterInstancesAdvancedNotFound() *MoveEsClusterInstancesAdvancedNotFound

NewMoveEsClusterInstancesAdvancedNotFound creates a MoveEsClusterInstancesAdvancedNotFound with default headers values

func (*MoveEsClusterInstancesAdvancedNotFound) Error

func (*MoveEsClusterInstancesAdvancedNotFound) GetPayload

type MoveEsClusterInstancesAdvancedParams

type MoveEsClusterInstancesAdvancedParams struct {

	/* Body.

	   Overrides defaults for the move, including setting the configuration of instances specified in the path
	*/
	Body *models.TransientElasticsearchPlanConfiguration

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* ForceUpdate.

	   When `true`, cancels and overwrites the pending plans, or treats the instance as an error.
	*/
	ForceUpdate *bool

	/* InstancesDown.

	   When `true`, the instances specified by `instance_ids` permanently shut down for data migration logic.
	*/
	InstancesDown *bool

	/* MoveOnly.

	   When `true`, moves the instances and ignores the changes for the cluster state.
	*/
	MoveOnly *bool

	/* ValidateOnly.

	   When `true`, validates the move request, then returns the calculated plan without applying the plan.
	*/
	ValidateOnly *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MoveEsClusterInstancesAdvancedParams contains all the parameters to send to the API endpoint

for the move es cluster instances advanced operation.

Typically these are written to a http.Request.

func NewMoveEsClusterInstancesAdvancedParams

func NewMoveEsClusterInstancesAdvancedParams() *MoveEsClusterInstancesAdvancedParams

NewMoveEsClusterInstancesAdvancedParams creates a new MoveEsClusterInstancesAdvancedParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewMoveEsClusterInstancesAdvancedParamsWithContext

func NewMoveEsClusterInstancesAdvancedParamsWithContext(ctx context.Context) *MoveEsClusterInstancesAdvancedParams

NewMoveEsClusterInstancesAdvancedParamsWithContext creates a new MoveEsClusterInstancesAdvancedParams object with the ability to set a context for a request.

func NewMoveEsClusterInstancesAdvancedParamsWithHTTPClient

func NewMoveEsClusterInstancesAdvancedParamsWithHTTPClient(client *http.Client) *MoveEsClusterInstancesAdvancedParams

NewMoveEsClusterInstancesAdvancedParamsWithHTTPClient creates a new MoveEsClusterInstancesAdvancedParams object with the ability to set a custom HTTPClient for a request.

func NewMoveEsClusterInstancesAdvancedParamsWithTimeout

func NewMoveEsClusterInstancesAdvancedParamsWithTimeout(timeout time.Duration) *MoveEsClusterInstancesAdvancedParams

NewMoveEsClusterInstancesAdvancedParamsWithTimeout creates a new MoveEsClusterInstancesAdvancedParams object with the ability to set a timeout on a request.

func (*MoveEsClusterInstancesAdvancedParams) SetBody

SetBody adds the body to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) SetClusterID

func (o *MoveEsClusterInstancesAdvancedParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) SetContext

SetContext adds the context to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) SetDefaults added in v1.3.0

func (o *MoveEsClusterInstancesAdvancedParams) SetDefaults()

SetDefaults hydrates default values in the move es cluster instances advanced params (not the query body).

All values with no default are reset to their zero value.

func (*MoveEsClusterInstancesAdvancedParams) SetForceUpdate

func (o *MoveEsClusterInstancesAdvancedParams) SetForceUpdate(forceUpdate *bool)

SetForceUpdate adds the forceUpdate to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) SetHTTPClient

func (o *MoveEsClusterInstancesAdvancedParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) SetInstancesDown

func (o *MoveEsClusterInstancesAdvancedParams) SetInstancesDown(instancesDown *bool)

SetInstancesDown adds the instancesDown to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) SetMoveOnly

func (o *MoveEsClusterInstancesAdvancedParams) SetMoveOnly(moveOnly *bool)

SetMoveOnly adds the moveOnly to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) SetTimeout

func (o *MoveEsClusterInstancesAdvancedParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) SetValidateOnly

func (o *MoveEsClusterInstancesAdvancedParams) SetValidateOnly(validateOnly *bool)

SetValidateOnly adds the validateOnly to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) WithBody

WithBody adds the body to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) WithClusterID

WithClusterID adds the clusterID to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) WithContext

WithContext adds the context to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the move es cluster instances advanced params (not the query body).

All values with no default are reset to their zero value.

func (*MoveEsClusterInstancesAdvancedParams) WithForceUpdate

WithForceUpdate adds the forceUpdate to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) WithInstancesDown

WithInstancesDown adds the instancesDown to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) WithMoveOnly

WithMoveOnly adds the moveOnly to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) WithTimeout

WithTimeout adds the timeout to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) WithValidateOnly

WithValidateOnly adds the validateOnly to the move es cluster instances advanced params

func (*MoveEsClusterInstancesAdvancedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MoveEsClusterInstancesAdvancedReader

type MoveEsClusterInstancesAdvancedReader struct {
	// contains filtered or unexported fields
}

MoveEsClusterInstancesAdvancedReader is a Reader for the MoveEsClusterInstancesAdvanced structure.

func (*MoveEsClusterInstancesAdvancedReader) ReadResponse

func (o *MoveEsClusterInstancesAdvancedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MoveEsClusterInstancesAdvancedRetryWith

type MoveEsClusterInstancesAdvancedRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
MoveEsClusterInstancesAdvancedRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewMoveEsClusterInstancesAdvancedRetryWith

func NewMoveEsClusterInstancesAdvancedRetryWith() *MoveEsClusterInstancesAdvancedRetryWith

NewMoveEsClusterInstancesAdvancedRetryWith creates a MoveEsClusterInstancesAdvancedRetryWith with default headers values

func (*MoveEsClusterInstancesAdvancedRetryWith) Error

func (*MoveEsClusterInstancesAdvancedRetryWith) GetPayload

type MoveEsClusterInstancesBadRequest

type MoveEsClusterInstancesBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
MoveEsClusterInstancesBadRequest describes a response with status code 400, with default header values.

* The cluster definition contained errors. (code: `clusters.cluster_invalid_plan`)

* The cluster definition contained errors. (code: `clusters.plan_feature_not_implemented`)

func NewMoveEsClusterInstancesBadRequest

func NewMoveEsClusterInstancesBadRequest() *MoveEsClusterInstancesBadRequest

NewMoveEsClusterInstancesBadRequest creates a MoveEsClusterInstancesBadRequest with default headers values

func (*MoveEsClusterInstancesBadRequest) Error

func (*MoveEsClusterInstancesBadRequest) GetPayload

type MoveEsClusterInstancesForbidden

type MoveEsClusterInstancesForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
MoveEsClusterInstancesForbidden describes a response with status code 403, with default header values.

The move command was prohibited for the given cluster. (code: `clusters.command_prohibited`)

func NewMoveEsClusterInstancesForbidden

func NewMoveEsClusterInstancesForbidden() *MoveEsClusterInstancesForbidden

NewMoveEsClusterInstancesForbidden creates a MoveEsClusterInstancesForbidden with default headers values

func (*MoveEsClusterInstancesForbidden) Error

func (*MoveEsClusterInstancesForbidden) GetPayload

type MoveEsClusterInstancesNotFound

type MoveEsClusterInstancesNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
MoveEsClusterInstancesNotFound describes a response with status code 404, with default header values.

* The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

* One or more of the instances specified at {instance_ids} could not be found. (code: `clusters.instances_not_found`)

func NewMoveEsClusterInstancesNotFound

func NewMoveEsClusterInstancesNotFound() *MoveEsClusterInstancesNotFound

NewMoveEsClusterInstancesNotFound creates a MoveEsClusterInstancesNotFound with default headers values

func (*MoveEsClusterInstancesNotFound) Error

func (*MoveEsClusterInstancesNotFound) GetPayload

type MoveEsClusterInstancesParams

type MoveEsClusterInstancesParams struct {

	/* Body.

	   Overrides defaults for the move, including setting the configuration of instances specified in the path
	*/
	Body *models.TransientElasticsearchPlanConfiguration

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* ForceUpdate.

	   When `true`, cancels and overwrites the pending plans, or treats the instance as an error.
	*/
	ForceUpdate *bool

	/* IgnoreMissing.

	   When `true` and the instance does not exist, proceeds to the next instance, or treats the instance as an error.
	*/
	IgnoreMissing *bool

	/* InstanceIds.

	   A comma-separated list of instance identifiers.
	*/
	InstanceIds []string

	/* InstancesDown.

	   When `true`, the instances specified by `instance_ids` permanently shut down for data migration logic.
	*/
	InstancesDown *bool

	/* MoveOnly.

	   When `true`, moves the specified instances and ignores the changes for the cluster state.
	*/
	MoveOnly *bool

	/* ValidateOnly.

	   When `true`, validates the move request, then returns the calculated plan without applying the plan.
	*/
	ValidateOnly *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

MoveEsClusterInstancesParams contains all the parameters to send to the API endpoint

for the move es cluster instances operation.

Typically these are written to a http.Request.

func NewMoveEsClusterInstancesParams

func NewMoveEsClusterInstancesParams() *MoveEsClusterInstancesParams

NewMoveEsClusterInstancesParams creates a new MoveEsClusterInstancesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewMoveEsClusterInstancesParamsWithContext

func NewMoveEsClusterInstancesParamsWithContext(ctx context.Context) *MoveEsClusterInstancesParams

NewMoveEsClusterInstancesParamsWithContext creates a new MoveEsClusterInstancesParams object with the ability to set a context for a request.

func NewMoveEsClusterInstancesParamsWithHTTPClient

func NewMoveEsClusterInstancesParamsWithHTTPClient(client *http.Client) *MoveEsClusterInstancesParams

NewMoveEsClusterInstancesParamsWithHTTPClient creates a new MoveEsClusterInstancesParams object with the ability to set a custom HTTPClient for a request.

func NewMoveEsClusterInstancesParamsWithTimeout

func NewMoveEsClusterInstancesParamsWithTimeout(timeout time.Duration) *MoveEsClusterInstancesParams

NewMoveEsClusterInstancesParamsWithTimeout creates a new MoveEsClusterInstancesParams object with the ability to set a timeout on a request.

func (*MoveEsClusterInstancesParams) SetBody

SetBody adds the body to the move es cluster instances params

func (*MoveEsClusterInstancesParams) SetClusterID

func (o *MoveEsClusterInstancesParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the move es cluster instances params

func (*MoveEsClusterInstancesParams) SetContext

func (o *MoveEsClusterInstancesParams) SetContext(ctx context.Context)

SetContext adds the context to the move es cluster instances params

func (*MoveEsClusterInstancesParams) SetDefaults added in v1.3.0

func (o *MoveEsClusterInstancesParams) SetDefaults()

SetDefaults hydrates default values in the move es cluster instances params (not the query body).

All values with no default are reset to their zero value.

func (*MoveEsClusterInstancesParams) SetForceUpdate

func (o *MoveEsClusterInstancesParams) SetForceUpdate(forceUpdate *bool)

SetForceUpdate adds the forceUpdate to the move es cluster instances params

func (*MoveEsClusterInstancesParams) SetHTTPClient

func (o *MoveEsClusterInstancesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the move es cluster instances params

func (*MoveEsClusterInstancesParams) SetIgnoreMissing

func (o *MoveEsClusterInstancesParams) SetIgnoreMissing(ignoreMissing *bool)

SetIgnoreMissing adds the ignoreMissing to the move es cluster instances params

func (*MoveEsClusterInstancesParams) SetInstanceIds

func (o *MoveEsClusterInstancesParams) SetInstanceIds(instanceIds []string)

SetInstanceIds adds the instanceIds to the move es cluster instances params

func (*MoveEsClusterInstancesParams) SetInstancesDown

func (o *MoveEsClusterInstancesParams) SetInstancesDown(instancesDown *bool)

SetInstancesDown adds the instancesDown to the move es cluster instances params

func (*MoveEsClusterInstancesParams) SetMoveOnly

func (o *MoveEsClusterInstancesParams) SetMoveOnly(moveOnly *bool)

SetMoveOnly adds the moveOnly to the move es cluster instances params

func (*MoveEsClusterInstancesParams) SetTimeout

func (o *MoveEsClusterInstancesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the move es cluster instances params

func (*MoveEsClusterInstancesParams) SetValidateOnly

func (o *MoveEsClusterInstancesParams) SetValidateOnly(validateOnly *bool)

SetValidateOnly adds the validateOnly to the move es cluster instances params

func (*MoveEsClusterInstancesParams) WithBody

WithBody adds the body to the move es cluster instances params

func (*MoveEsClusterInstancesParams) WithClusterID

WithClusterID adds the clusterID to the move es cluster instances params

func (*MoveEsClusterInstancesParams) WithContext

WithContext adds the context to the move es cluster instances params

func (*MoveEsClusterInstancesParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the move es cluster instances params (not the query body).

All values with no default are reset to their zero value.

func (*MoveEsClusterInstancesParams) WithForceUpdate

func (o *MoveEsClusterInstancesParams) WithForceUpdate(forceUpdate *bool) *MoveEsClusterInstancesParams

WithForceUpdate adds the forceUpdate to the move es cluster instances params

func (*MoveEsClusterInstancesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the move es cluster instances params

func (*MoveEsClusterInstancesParams) WithIgnoreMissing

func (o *MoveEsClusterInstancesParams) WithIgnoreMissing(ignoreMissing *bool) *MoveEsClusterInstancesParams

WithIgnoreMissing adds the ignoreMissing to the move es cluster instances params

func (*MoveEsClusterInstancesParams) WithInstanceIds

func (o *MoveEsClusterInstancesParams) WithInstanceIds(instanceIds []string) *MoveEsClusterInstancesParams

WithInstanceIds adds the instanceIds to the move es cluster instances params

func (*MoveEsClusterInstancesParams) WithInstancesDown

func (o *MoveEsClusterInstancesParams) WithInstancesDown(instancesDown *bool) *MoveEsClusterInstancesParams

WithInstancesDown adds the instancesDown to the move es cluster instances params

func (*MoveEsClusterInstancesParams) WithMoveOnly

WithMoveOnly adds the moveOnly to the move es cluster instances params

func (*MoveEsClusterInstancesParams) WithTimeout

WithTimeout adds the timeout to the move es cluster instances params

func (*MoveEsClusterInstancesParams) WithValidateOnly

func (o *MoveEsClusterInstancesParams) WithValidateOnly(validateOnly *bool) *MoveEsClusterInstancesParams

WithValidateOnly adds the validateOnly to the move es cluster instances params

func (*MoveEsClusterInstancesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MoveEsClusterInstancesReader

type MoveEsClusterInstancesReader struct {
	// contains filtered or unexported fields
}

MoveEsClusterInstancesReader is a Reader for the MoveEsClusterInstances structure.

func (*MoveEsClusterInstancesReader) ReadResponse

func (o *MoveEsClusterInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type MoveEsClusterInstancesRetryWith

type MoveEsClusterInstancesRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
MoveEsClusterInstancesRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewMoveEsClusterInstancesRetryWith

func NewMoveEsClusterInstancesRetryWith() *MoveEsClusterInstancesRetryWith

NewMoveEsClusterInstancesRetryWith creates a MoveEsClusterInstancesRetryWith with default headers values

func (*MoveEsClusterInstancesRetryWith) Error

func (*MoveEsClusterInstancesRetryWith) GetPayload

type PostEsProxyRequestsNotFound

type PostEsProxyRequestsNotFound struct {
	Payload *models.BasicFailedReply
}
PostEsProxyRequestsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewPostEsProxyRequestsNotFound

func NewPostEsProxyRequestsNotFound() *PostEsProxyRequestsNotFound

NewPostEsProxyRequestsNotFound creates a PostEsProxyRequestsNotFound with default headers values

func (*PostEsProxyRequestsNotFound) Error

func (*PostEsProxyRequestsNotFound) GetPayload

type PostEsProxyRequestsOK

type PostEsProxyRequestsOK struct {
}
PostEsProxyRequestsOK describes a response with status code 200, with default header values.

The request has been processed successfully through the proxy

func NewPostEsProxyRequestsOK

func NewPostEsProxyRequestsOK() *PostEsProxyRequestsOK

NewPostEsProxyRequestsOK creates a PostEsProxyRequestsOK with default headers values

func (*PostEsProxyRequestsOK) Error

func (o *PostEsProxyRequestsOK) Error() string

type PostEsProxyRequestsParams

type PostEsProxyRequestsParams struct {

	/* XManagementRequest.

	   X-Management-Request header value. Needs to be set to true
	*/
	XManagementRequest string

	/* Body.

	   The JSON payload to proxy to the Elasticsearch cluster
	*/
	Body string

	/* ClusterID.

	   Identifier for the Elasticsearch cluster
	*/
	ClusterID string

	/* ElasticsearchPath.

	   The URL part to proxy to the Elasticsearch cluster. Example: _search or _cat/indices?v&h=i,tm&s=tm:desc
	*/
	ElasticsearchPath string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PostEsProxyRequestsParams contains all the parameters to send to the API endpoint

for the post es proxy requests operation.

Typically these are written to a http.Request.

func NewPostEsProxyRequestsParams

func NewPostEsProxyRequestsParams() *PostEsProxyRequestsParams

NewPostEsProxyRequestsParams creates a new PostEsProxyRequestsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPostEsProxyRequestsParamsWithContext

func NewPostEsProxyRequestsParamsWithContext(ctx context.Context) *PostEsProxyRequestsParams

NewPostEsProxyRequestsParamsWithContext creates a new PostEsProxyRequestsParams object with the ability to set a context for a request.

func NewPostEsProxyRequestsParamsWithHTTPClient

func NewPostEsProxyRequestsParamsWithHTTPClient(client *http.Client) *PostEsProxyRequestsParams

NewPostEsProxyRequestsParamsWithHTTPClient creates a new PostEsProxyRequestsParams object with the ability to set a custom HTTPClient for a request.

func NewPostEsProxyRequestsParamsWithTimeout

func NewPostEsProxyRequestsParamsWithTimeout(timeout time.Duration) *PostEsProxyRequestsParams

NewPostEsProxyRequestsParamsWithTimeout creates a new PostEsProxyRequestsParams object with the ability to set a timeout on a request.

func (*PostEsProxyRequestsParams) SetBody

func (o *PostEsProxyRequestsParams) SetBody(body string)

SetBody adds the body to the post es proxy requests params

func (*PostEsProxyRequestsParams) SetClusterID

func (o *PostEsProxyRequestsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the post es proxy requests params

func (*PostEsProxyRequestsParams) SetContext

func (o *PostEsProxyRequestsParams) SetContext(ctx context.Context)

SetContext adds the context to the post es proxy requests params

func (*PostEsProxyRequestsParams) SetDefaults added in v1.3.0

func (o *PostEsProxyRequestsParams) SetDefaults()

SetDefaults hydrates default values in the post es proxy requests params (not the query body).

All values with no default are reset to their zero value.

func (*PostEsProxyRequestsParams) SetElasticsearchPath

func (o *PostEsProxyRequestsParams) SetElasticsearchPath(elasticsearchPath string)

SetElasticsearchPath adds the elasticsearchPath to the post es proxy requests params

func (*PostEsProxyRequestsParams) SetHTTPClient

func (o *PostEsProxyRequestsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the post es proxy requests params

func (*PostEsProxyRequestsParams) SetTimeout

func (o *PostEsProxyRequestsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the post es proxy requests params

func (*PostEsProxyRequestsParams) SetXManagementRequest

func (o *PostEsProxyRequestsParams) SetXManagementRequest(xManagementRequest string)

SetXManagementRequest adds the xManagementRequest to the post es proxy requests params

func (*PostEsProxyRequestsParams) WithBody

WithBody adds the body to the post es proxy requests params

func (*PostEsProxyRequestsParams) WithClusterID

func (o *PostEsProxyRequestsParams) WithClusterID(clusterID string) *PostEsProxyRequestsParams

WithClusterID adds the clusterID to the post es proxy requests params

func (*PostEsProxyRequestsParams) WithContext

WithContext adds the context to the post es proxy requests params

func (*PostEsProxyRequestsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the post es proxy requests params (not the query body).

All values with no default are reset to their zero value.

func (*PostEsProxyRequestsParams) WithElasticsearchPath

func (o *PostEsProxyRequestsParams) WithElasticsearchPath(elasticsearchPath string) *PostEsProxyRequestsParams

WithElasticsearchPath adds the elasticsearchPath to the post es proxy requests params

func (*PostEsProxyRequestsParams) WithHTTPClient

func (o *PostEsProxyRequestsParams) WithHTTPClient(client *http.Client) *PostEsProxyRequestsParams

WithHTTPClient adds the HTTPClient to the post es proxy requests params

func (*PostEsProxyRequestsParams) WithTimeout

WithTimeout adds the timeout to the post es proxy requests params

func (*PostEsProxyRequestsParams) WithXManagementRequest

func (o *PostEsProxyRequestsParams) WithXManagementRequest(xManagementRequest string) *PostEsProxyRequestsParams

WithXManagementRequest adds the xManagementRequest to the post es proxy requests params

func (*PostEsProxyRequestsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostEsProxyRequestsReader

type PostEsProxyRequestsReader struct {
	// contains filtered or unexported fields
}

PostEsProxyRequestsReader is a Reader for the PostEsProxyRequests structure.

func (*PostEsProxyRequestsReader) ReadResponse

func (o *PostEsProxyRequestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PutEsProxyRequestsNotFound

type PutEsProxyRequestsNotFound struct {
	Payload *models.BasicFailedReply
}
PutEsProxyRequestsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewPutEsProxyRequestsNotFound

func NewPutEsProxyRequestsNotFound() *PutEsProxyRequestsNotFound

NewPutEsProxyRequestsNotFound creates a PutEsProxyRequestsNotFound with default headers values

func (*PutEsProxyRequestsNotFound) Error

func (*PutEsProxyRequestsNotFound) GetPayload

type PutEsProxyRequestsOK

type PutEsProxyRequestsOK struct {
}
PutEsProxyRequestsOK describes a response with status code 200, with default header values.

The request has been processed successfully through the proxy

func NewPutEsProxyRequestsOK

func NewPutEsProxyRequestsOK() *PutEsProxyRequestsOK

NewPutEsProxyRequestsOK creates a PutEsProxyRequestsOK with default headers values

func (*PutEsProxyRequestsOK) Error

func (o *PutEsProxyRequestsOK) Error() string

type PutEsProxyRequestsParams

type PutEsProxyRequestsParams struct {

	/* XManagementRequest.

	   X-Management-Request header value. Needs to be set to true
	*/
	XManagementRequest string

	/* Body.

	   The JSON payload to proxy to the Elasticsearch cluster
	*/
	Body string

	/* ClusterID.

	   Identifier for the Elasticsearch cluster
	*/
	ClusterID string

	/* ElasticsearchPath.

	   The URL part to proxy to the Elasticsearch cluster. Example: _search or _cat/indices?v&h=i,tm&s=tm:desc
	*/
	ElasticsearchPath string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PutEsProxyRequestsParams contains all the parameters to send to the API endpoint

for the put es proxy requests operation.

Typically these are written to a http.Request.

func NewPutEsProxyRequestsParams

func NewPutEsProxyRequestsParams() *PutEsProxyRequestsParams

NewPutEsProxyRequestsParams creates a new PutEsProxyRequestsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPutEsProxyRequestsParamsWithContext

func NewPutEsProxyRequestsParamsWithContext(ctx context.Context) *PutEsProxyRequestsParams

NewPutEsProxyRequestsParamsWithContext creates a new PutEsProxyRequestsParams object with the ability to set a context for a request.

func NewPutEsProxyRequestsParamsWithHTTPClient

func NewPutEsProxyRequestsParamsWithHTTPClient(client *http.Client) *PutEsProxyRequestsParams

NewPutEsProxyRequestsParamsWithHTTPClient creates a new PutEsProxyRequestsParams object with the ability to set a custom HTTPClient for a request.

func NewPutEsProxyRequestsParamsWithTimeout

func NewPutEsProxyRequestsParamsWithTimeout(timeout time.Duration) *PutEsProxyRequestsParams

NewPutEsProxyRequestsParamsWithTimeout creates a new PutEsProxyRequestsParams object with the ability to set a timeout on a request.

func (*PutEsProxyRequestsParams) SetBody

func (o *PutEsProxyRequestsParams) SetBody(body string)

SetBody adds the body to the put es proxy requests params

func (*PutEsProxyRequestsParams) SetClusterID

func (o *PutEsProxyRequestsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the put es proxy requests params

func (*PutEsProxyRequestsParams) SetContext

func (o *PutEsProxyRequestsParams) SetContext(ctx context.Context)

SetContext adds the context to the put es proxy requests params

func (*PutEsProxyRequestsParams) SetDefaults added in v1.3.0

func (o *PutEsProxyRequestsParams) SetDefaults()

SetDefaults hydrates default values in the put es proxy requests params (not the query body).

All values with no default are reset to their zero value.

func (*PutEsProxyRequestsParams) SetElasticsearchPath

func (o *PutEsProxyRequestsParams) SetElasticsearchPath(elasticsearchPath string)

SetElasticsearchPath adds the elasticsearchPath to the put es proxy requests params

func (*PutEsProxyRequestsParams) SetHTTPClient

func (o *PutEsProxyRequestsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the put es proxy requests params

func (*PutEsProxyRequestsParams) SetTimeout

func (o *PutEsProxyRequestsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the put es proxy requests params

func (*PutEsProxyRequestsParams) SetXManagementRequest

func (o *PutEsProxyRequestsParams) SetXManagementRequest(xManagementRequest string)

SetXManagementRequest adds the xManagementRequest to the put es proxy requests params

func (*PutEsProxyRequestsParams) WithBody

WithBody adds the body to the put es proxy requests params

func (*PutEsProxyRequestsParams) WithClusterID

func (o *PutEsProxyRequestsParams) WithClusterID(clusterID string) *PutEsProxyRequestsParams

WithClusterID adds the clusterID to the put es proxy requests params

func (*PutEsProxyRequestsParams) WithContext

WithContext adds the context to the put es proxy requests params

func (*PutEsProxyRequestsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the put es proxy requests params (not the query body).

All values with no default are reset to their zero value.

func (*PutEsProxyRequestsParams) WithElasticsearchPath

func (o *PutEsProxyRequestsParams) WithElasticsearchPath(elasticsearchPath string) *PutEsProxyRequestsParams

WithElasticsearchPath adds the elasticsearchPath to the put es proxy requests params

func (*PutEsProxyRequestsParams) WithHTTPClient

func (o *PutEsProxyRequestsParams) WithHTTPClient(client *http.Client) *PutEsProxyRequestsParams

WithHTTPClient adds the HTTPClient to the put es proxy requests params

func (*PutEsProxyRequestsParams) WithTimeout

WithTimeout adds the timeout to the put es proxy requests params

func (*PutEsProxyRequestsParams) WithXManagementRequest

func (o *PutEsProxyRequestsParams) WithXManagementRequest(xManagementRequest string) *PutEsProxyRequestsParams

WithXManagementRequest adds the xManagementRequest to the put es proxy requests params

func (*PutEsProxyRequestsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutEsProxyRequestsReader

type PutEsProxyRequestsReader struct {
	// contains filtered or unexported fields
}

PutEsProxyRequestsReader is a Reader for the PutEsProxyRequests structure.

func (*PutEsProxyRequestsReader) ReadResponse

func (o *PutEsProxyRequestsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestartEsClusterAccepted

type RestartEsClusterAccepted struct {
	Payload *models.ClusterCommandResponse
}
RestartEsClusterAccepted describes a response with status code 202, with default header values.

The stop command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

func NewRestartEsClusterAccepted

func NewRestartEsClusterAccepted() *RestartEsClusterAccepted

NewRestartEsClusterAccepted creates a RestartEsClusterAccepted with default headers values

func (*RestartEsClusterAccepted) Error

func (o *RestartEsClusterAccepted) Error() string

func (*RestartEsClusterAccepted) GetPayload

type RestartEsClusterBadRequest

type RestartEsClusterBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
RestartEsClusterBadRequest describes a response with status code 400, with default header values.

The cluster specified by {cluster_id} is unable to restart. (code: `clusters.restart.failed`)

func NewRestartEsClusterBadRequest

func NewRestartEsClusterBadRequest() *RestartEsClusterBadRequest

NewRestartEsClusterBadRequest creates a RestartEsClusterBadRequest with default headers values

func (*RestartEsClusterBadRequest) Error

func (*RestartEsClusterBadRequest) GetPayload

type RestartEsClusterNotFound

type RestartEsClusterNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
RestartEsClusterNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewRestartEsClusterNotFound

func NewRestartEsClusterNotFound() *RestartEsClusterNotFound

NewRestartEsClusterNotFound creates a RestartEsClusterNotFound with default headers values

func (*RestartEsClusterNotFound) Error

func (o *RestartEsClusterNotFound) Error() string

func (*RestartEsClusterNotFound) GetPayload

type RestartEsClusterParams

type RestartEsClusterParams struct {

	/* CancelPending.

	   When `true`, cancels the pending plans, then restarts the cluster.
	*/
	CancelPending *bool

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* GroupAttribute.

	   Specifies the properties that divide the instances into groups. To restart all of the instances, use '\_\_all\_\_'. To restart the instances by logical zone, use '\_\_zone\_\_'. To restart one instance at a time, use '\_\_name\_\_', or use a comma-separated list of instance attributes.

	   Default: "__zone__"
	*/
	GroupAttribute *string

	/* RestoreSnapshot.

	   When `true` and restoring from a shutdown, restores the cluster from the last available snapshot.

	   Default: true
	*/
	RestoreSnapshot *bool

	/* ShardInitWaitTime.

	   The time, in seconds, to wait for shards that show no progress of initializing, before rolling the next group (default: 10 minutes)

	   Default: 600
	*/
	ShardInitWaitTime *int64

	/* SkipSnapshot.

	   When `true`, does not capture a snapshot before restarting the cluster.

	   Default: true
	*/
	SkipSnapshot *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RestartEsClusterParams contains all the parameters to send to the API endpoint

for the restart es cluster operation.

Typically these are written to a http.Request.

func NewRestartEsClusterParams

func NewRestartEsClusterParams() *RestartEsClusterParams

NewRestartEsClusterParams creates a new RestartEsClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRestartEsClusterParamsWithContext

func NewRestartEsClusterParamsWithContext(ctx context.Context) *RestartEsClusterParams

NewRestartEsClusterParamsWithContext creates a new RestartEsClusterParams object with the ability to set a context for a request.

func NewRestartEsClusterParamsWithHTTPClient

func NewRestartEsClusterParamsWithHTTPClient(client *http.Client) *RestartEsClusterParams

NewRestartEsClusterParamsWithHTTPClient creates a new RestartEsClusterParams object with the ability to set a custom HTTPClient for a request.

func NewRestartEsClusterParamsWithTimeout

func NewRestartEsClusterParamsWithTimeout(timeout time.Duration) *RestartEsClusterParams

NewRestartEsClusterParamsWithTimeout creates a new RestartEsClusterParams object with the ability to set a timeout on a request.

func (*RestartEsClusterParams) SetCancelPending

func (o *RestartEsClusterParams) SetCancelPending(cancelPending *bool)

SetCancelPending adds the cancelPending to the restart es cluster params

func (*RestartEsClusterParams) SetClusterID

func (o *RestartEsClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the restart es cluster params

func (*RestartEsClusterParams) SetContext

func (o *RestartEsClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the restart es cluster params

func (*RestartEsClusterParams) SetDefaults added in v1.3.0

func (o *RestartEsClusterParams) SetDefaults()

SetDefaults hydrates default values in the restart es cluster params (not the query body).

All values with no default are reset to their zero value.

func (*RestartEsClusterParams) SetGroupAttribute

func (o *RestartEsClusterParams) SetGroupAttribute(groupAttribute *string)

SetGroupAttribute adds the groupAttribute to the restart es cluster params

func (*RestartEsClusterParams) SetHTTPClient

func (o *RestartEsClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the restart es cluster params

func (*RestartEsClusterParams) SetRestoreSnapshot

func (o *RestartEsClusterParams) SetRestoreSnapshot(restoreSnapshot *bool)

SetRestoreSnapshot adds the restoreSnapshot to the restart es cluster params

func (*RestartEsClusterParams) SetShardInitWaitTime

func (o *RestartEsClusterParams) SetShardInitWaitTime(shardInitWaitTime *int64)

SetShardInitWaitTime adds the shardInitWaitTime to the restart es cluster params

func (*RestartEsClusterParams) SetSkipSnapshot

func (o *RestartEsClusterParams) SetSkipSnapshot(skipSnapshot *bool)

SetSkipSnapshot adds the skipSnapshot to the restart es cluster params

func (*RestartEsClusterParams) SetTimeout

func (o *RestartEsClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the restart es cluster params

func (*RestartEsClusterParams) WithCancelPending

func (o *RestartEsClusterParams) WithCancelPending(cancelPending *bool) *RestartEsClusterParams

WithCancelPending adds the cancelPending to the restart es cluster params

func (*RestartEsClusterParams) WithClusterID

func (o *RestartEsClusterParams) WithClusterID(clusterID string) *RestartEsClusterParams

WithClusterID adds the clusterID to the restart es cluster params

func (*RestartEsClusterParams) WithContext

WithContext adds the context to the restart es cluster params

func (*RestartEsClusterParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the restart es cluster params (not the query body).

All values with no default are reset to their zero value.

func (*RestartEsClusterParams) WithGroupAttribute

func (o *RestartEsClusterParams) WithGroupAttribute(groupAttribute *string) *RestartEsClusterParams

WithGroupAttribute adds the groupAttribute to the restart es cluster params

func (*RestartEsClusterParams) WithHTTPClient

func (o *RestartEsClusterParams) WithHTTPClient(client *http.Client) *RestartEsClusterParams

WithHTTPClient adds the HTTPClient to the restart es cluster params

func (*RestartEsClusterParams) WithRestoreSnapshot

func (o *RestartEsClusterParams) WithRestoreSnapshot(restoreSnapshot *bool) *RestartEsClusterParams

WithRestoreSnapshot adds the restoreSnapshot to the restart es cluster params

func (*RestartEsClusterParams) WithShardInitWaitTime

func (o *RestartEsClusterParams) WithShardInitWaitTime(shardInitWaitTime *int64) *RestartEsClusterParams

WithShardInitWaitTime adds the shardInitWaitTime to the restart es cluster params

func (*RestartEsClusterParams) WithSkipSnapshot

func (o *RestartEsClusterParams) WithSkipSnapshot(skipSnapshot *bool) *RestartEsClusterParams

WithSkipSnapshot adds the skipSnapshot to the restart es cluster params

func (*RestartEsClusterParams) WithTimeout

WithTimeout adds the timeout to the restart es cluster params

func (*RestartEsClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RestartEsClusterPreconditionFailed

type RestartEsClusterPreconditionFailed struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
RestartEsClusterPreconditionFailed describes a response with status code 412, with default header values.

The command sent to a cluster found the cluster in an illegal state, the error message gives more details. (code: `clusters.cluster_plan_state_error`)

func NewRestartEsClusterPreconditionFailed

func NewRestartEsClusterPreconditionFailed() *RestartEsClusterPreconditionFailed

NewRestartEsClusterPreconditionFailed creates a RestartEsClusterPreconditionFailed with default headers values

func (*RestartEsClusterPreconditionFailed) Error

func (*RestartEsClusterPreconditionFailed) GetPayload

type RestartEsClusterReader

type RestartEsClusterReader struct {
	// contains filtered or unexported fields
}

RestartEsClusterReader is a Reader for the RestartEsCluster structure.

func (*RestartEsClusterReader) ReadResponse

func (o *RestartEsClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RestartEsClusterRetryWith

type RestartEsClusterRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
RestartEsClusterRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewRestartEsClusterRetryWith

func NewRestartEsClusterRetryWith() *RestartEsClusterRetryWith

NewRestartEsClusterRetryWith creates a RestartEsClusterRetryWith with default headers values

func (*RestartEsClusterRetryWith) Error

func (o *RestartEsClusterRetryWith) Error() string

func (*RestartEsClusterRetryWith) GetPayload

type ResyncEsClusterInternalServerError

type ResyncEsClusterInternalServerError struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
ResyncEsClusterInternalServerError describes a response with status code 500, with default header values.

The cluster resync operation failed for cluster {cluster_id}. (code: `clusters.resync_failed`)

func NewResyncEsClusterInternalServerError

func NewResyncEsClusterInternalServerError() *ResyncEsClusterInternalServerError

NewResyncEsClusterInternalServerError creates a ResyncEsClusterInternalServerError with default headers values

func (*ResyncEsClusterInternalServerError) Error

func (*ResyncEsClusterInternalServerError) GetPayload

type ResyncEsClusterOK

type ResyncEsClusterOK struct {
	Payload models.EmptyResponse
}
ResyncEsClusterOK describes a response with status code 200, with default header values.

The cluster resync operation executed successfully

func NewResyncEsClusterOK

func NewResyncEsClusterOK() *ResyncEsClusterOK

NewResyncEsClusterOK creates a ResyncEsClusterOK with default headers values

func (*ResyncEsClusterOK) Error

func (o *ResyncEsClusterOK) Error() string

func (*ResyncEsClusterOK) GetPayload

func (o *ResyncEsClusterOK) GetPayload() models.EmptyResponse

type ResyncEsClusterParams

type ResyncEsClusterParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResyncEsClusterParams contains all the parameters to send to the API endpoint

for the resync es cluster operation.

Typically these are written to a http.Request.

func NewResyncEsClusterParams

func NewResyncEsClusterParams() *ResyncEsClusterParams

NewResyncEsClusterParams creates a new ResyncEsClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewResyncEsClusterParamsWithContext

func NewResyncEsClusterParamsWithContext(ctx context.Context) *ResyncEsClusterParams

NewResyncEsClusterParamsWithContext creates a new ResyncEsClusterParams object with the ability to set a context for a request.

func NewResyncEsClusterParamsWithHTTPClient

func NewResyncEsClusterParamsWithHTTPClient(client *http.Client) *ResyncEsClusterParams

NewResyncEsClusterParamsWithHTTPClient creates a new ResyncEsClusterParams object with the ability to set a custom HTTPClient for a request.

func NewResyncEsClusterParamsWithTimeout

func NewResyncEsClusterParamsWithTimeout(timeout time.Duration) *ResyncEsClusterParams

NewResyncEsClusterParamsWithTimeout creates a new ResyncEsClusterParams object with the ability to set a timeout on a request.

func (*ResyncEsClusterParams) SetClusterID

func (o *ResyncEsClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the resync es cluster params

func (*ResyncEsClusterParams) SetContext

func (o *ResyncEsClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the resync es cluster params

func (*ResyncEsClusterParams) SetDefaults added in v1.3.0

func (o *ResyncEsClusterParams) SetDefaults()

SetDefaults hydrates default values in the resync es cluster params (not the query body).

All values with no default are reset to their zero value.

func (*ResyncEsClusterParams) SetHTTPClient

func (o *ResyncEsClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the resync es cluster params

func (*ResyncEsClusterParams) SetTimeout

func (o *ResyncEsClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the resync es cluster params

func (*ResyncEsClusterParams) WithClusterID

func (o *ResyncEsClusterParams) WithClusterID(clusterID string) *ResyncEsClusterParams

WithClusterID adds the clusterID to the resync es cluster params

func (*ResyncEsClusterParams) WithContext

WithContext adds the context to the resync es cluster params

func (*ResyncEsClusterParams) WithDefaults added in v1.3.0

func (o *ResyncEsClusterParams) WithDefaults() *ResyncEsClusterParams

WithDefaults hydrates default values in the resync es cluster params (not the query body).

All values with no default are reset to their zero value.

func (*ResyncEsClusterParams) WithHTTPClient

func (o *ResyncEsClusterParams) WithHTTPClient(client *http.Client) *ResyncEsClusterParams

WithHTTPClient adds the HTTPClient to the resync es cluster params

func (*ResyncEsClusterParams) WithTimeout

func (o *ResyncEsClusterParams) WithTimeout(timeout time.Duration) *ResyncEsClusterParams

WithTimeout adds the timeout to the resync es cluster params

func (*ResyncEsClusterParams) WriteToRequest

func (o *ResyncEsClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ResyncEsClusterReader

type ResyncEsClusterReader struct {
	// contains filtered or unexported fields
}

ResyncEsClusterReader is a Reader for the ResyncEsCluster structure.

func (*ResyncEsClusterReader) ReadResponse

func (o *ResyncEsClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResyncEsClusterRetryWith

type ResyncEsClusterRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
ResyncEsClusterRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewResyncEsClusterRetryWith

func NewResyncEsClusterRetryWith() *ResyncEsClusterRetryWith

NewResyncEsClusterRetryWith creates a ResyncEsClusterRetryWith with default headers values

func (*ResyncEsClusterRetryWith) Error

func (o *ResyncEsClusterRetryWith) Error() string

func (*ResyncEsClusterRetryWith) GetPayload

type ResyncEsClustersAccepted

type ResyncEsClustersAccepted struct {
	Payload *models.ModelVersionIndexSynchronizationResults
}
ResyncEsClustersAccepted describes a response with status code 202, with default header values.

The ids of documents, organized by model version, that will be synchronized.

func NewResyncEsClustersAccepted

func NewResyncEsClustersAccepted() *ResyncEsClustersAccepted

NewResyncEsClustersAccepted creates a ResyncEsClustersAccepted with default headers values

func (*ResyncEsClustersAccepted) Error

func (o *ResyncEsClustersAccepted) Error() string

func (*ResyncEsClustersAccepted) GetPayload

type ResyncEsClustersParams

type ResyncEsClustersParams struct {

	/* SkipMatchingVersion.

	   When true, skips the document indexing when the version matches the in-memory copy.

	   Default: true
	*/
	SkipMatchingVersion *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResyncEsClustersParams contains all the parameters to send to the API endpoint

for the resync es clusters operation.

Typically these are written to a http.Request.

func NewResyncEsClustersParams

func NewResyncEsClustersParams() *ResyncEsClustersParams

NewResyncEsClustersParams creates a new ResyncEsClustersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewResyncEsClustersParamsWithContext

func NewResyncEsClustersParamsWithContext(ctx context.Context) *ResyncEsClustersParams

NewResyncEsClustersParamsWithContext creates a new ResyncEsClustersParams object with the ability to set a context for a request.

func NewResyncEsClustersParamsWithHTTPClient

func NewResyncEsClustersParamsWithHTTPClient(client *http.Client) *ResyncEsClustersParams

NewResyncEsClustersParamsWithHTTPClient creates a new ResyncEsClustersParams object with the ability to set a custom HTTPClient for a request.

func NewResyncEsClustersParamsWithTimeout

func NewResyncEsClustersParamsWithTimeout(timeout time.Duration) *ResyncEsClustersParams

NewResyncEsClustersParamsWithTimeout creates a new ResyncEsClustersParams object with the ability to set a timeout on a request.

func (*ResyncEsClustersParams) SetContext

func (o *ResyncEsClustersParams) SetContext(ctx context.Context)

SetContext adds the context to the resync es clusters params

func (*ResyncEsClustersParams) SetDefaults added in v1.3.0

func (o *ResyncEsClustersParams) SetDefaults()

SetDefaults hydrates default values in the resync es clusters params (not the query body).

All values with no default are reset to their zero value.

func (*ResyncEsClustersParams) SetHTTPClient

func (o *ResyncEsClustersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the resync es clusters params

func (*ResyncEsClustersParams) SetSkipMatchingVersion

func (o *ResyncEsClustersParams) SetSkipMatchingVersion(skipMatchingVersion *bool)

SetSkipMatchingVersion adds the skipMatchingVersion to the resync es clusters params

func (*ResyncEsClustersParams) SetTimeout

func (o *ResyncEsClustersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the resync es clusters params

func (*ResyncEsClustersParams) WithContext

WithContext adds the context to the resync es clusters params

func (*ResyncEsClustersParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the resync es clusters params (not the query body).

All values with no default are reset to their zero value.

func (*ResyncEsClustersParams) WithHTTPClient

func (o *ResyncEsClustersParams) WithHTTPClient(client *http.Client) *ResyncEsClustersParams

WithHTTPClient adds the HTTPClient to the resync es clusters params

func (*ResyncEsClustersParams) WithSkipMatchingVersion

func (o *ResyncEsClustersParams) WithSkipMatchingVersion(skipMatchingVersion *bool) *ResyncEsClustersParams

WithSkipMatchingVersion adds the skipMatchingVersion to the resync es clusters params

func (*ResyncEsClustersParams) WithTimeout

WithTimeout adds the timeout to the resync es clusters params

func (*ResyncEsClustersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResyncEsClustersReader

type ResyncEsClustersReader struct {
	// contains filtered or unexported fields
}

ResyncEsClustersReader is a Reader for the ResyncEsClusters structure.

func (*ResyncEsClustersReader) ReadResponse

func (o *ResyncEsClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResyncEsClustersRetryWith

type ResyncEsClustersRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
ResyncEsClustersRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewResyncEsClustersRetryWith

func NewResyncEsClustersRetryWith() *ResyncEsClustersRetryWith

NewResyncEsClustersRetryWith creates a ResyncEsClustersRetryWith with default headers values

func (*ResyncEsClustersRetryWith) Error

func (o *ResyncEsClustersRetryWith) Error() string

func (*ResyncEsClustersRetryWith) GetPayload

type SearchEsClustersBadRequest

type SearchEsClustersBadRequest struct {
	Payload *models.BasicFailedReply
}
SearchEsClustersBadRequest describes a response with status code 400, with default header values.

The search request failed.

func NewSearchEsClustersBadRequest

func NewSearchEsClustersBadRequest() *SearchEsClustersBadRequest

NewSearchEsClustersBadRequest creates a SearchEsClustersBadRequest with default headers values

func (*SearchEsClustersBadRequest) Error

func (*SearchEsClustersBadRequest) GetPayload

type SearchEsClustersOK

type SearchEsClustersOK struct {
	Payload *models.ElasticsearchClustersInfo
}
SearchEsClustersOK describes a response with status code 200, with default header values.

A list of Elasticsearch clusters that matched the given search query.

func NewSearchEsClustersOK

func NewSearchEsClustersOK() *SearchEsClustersOK

NewSearchEsClustersOK creates a SearchEsClustersOK with default headers values

func (*SearchEsClustersOK) Error

func (o *SearchEsClustersOK) Error() string

func (*SearchEsClustersOK) GetPayload

type SearchEsClustersParams

type SearchEsClustersParams struct {

	/* Body.

	   (Optional) The search query to run. When not specified, all of the clusters are matched.
	*/
	Body *models.SearchRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SearchEsClustersParams contains all the parameters to send to the API endpoint

for the search es clusters operation.

Typically these are written to a http.Request.

func NewSearchEsClustersParams

func NewSearchEsClustersParams() *SearchEsClustersParams

NewSearchEsClustersParams creates a new SearchEsClustersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSearchEsClustersParamsWithContext

func NewSearchEsClustersParamsWithContext(ctx context.Context) *SearchEsClustersParams

NewSearchEsClustersParamsWithContext creates a new SearchEsClustersParams object with the ability to set a context for a request.

func NewSearchEsClustersParamsWithHTTPClient

func NewSearchEsClustersParamsWithHTTPClient(client *http.Client) *SearchEsClustersParams

NewSearchEsClustersParamsWithHTTPClient creates a new SearchEsClustersParams object with the ability to set a custom HTTPClient for a request.

func NewSearchEsClustersParamsWithTimeout

func NewSearchEsClustersParamsWithTimeout(timeout time.Duration) *SearchEsClustersParams

NewSearchEsClustersParamsWithTimeout creates a new SearchEsClustersParams object with the ability to set a timeout on a request.

func (*SearchEsClustersParams) SetBody

func (o *SearchEsClustersParams) SetBody(body *models.SearchRequest)

SetBody adds the body to the search es clusters params

func (*SearchEsClustersParams) SetContext

func (o *SearchEsClustersParams) SetContext(ctx context.Context)

SetContext adds the context to the search es clusters params

func (*SearchEsClustersParams) SetDefaults added in v1.3.0

func (o *SearchEsClustersParams) SetDefaults()

SetDefaults hydrates default values in the search es clusters params (not the query body).

All values with no default are reset to their zero value.

func (*SearchEsClustersParams) SetHTTPClient

func (o *SearchEsClustersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the search es clusters params

func (*SearchEsClustersParams) SetTimeout

func (o *SearchEsClustersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the search es clusters params

func (*SearchEsClustersParams) WithBody

WithBody adds the body to the search es clusters params

func (*SearchEsClustersParams) WithContext

WithContext adds the context to the search es clusters params

func (*SearchEsClustersParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the search es clusters params (not the query body).

All values with no default are reset to their zero value.

func (*SearchEsClustersParams) WithHTTPClient

func (o *SearchEsClustersParams) WithHTTPClient(client *http.Client) *SearchEsClustersParams

WithHTTPClient adds the HTTPClient to the search es clusters params

func (*SearchEsClustersParams) WithTimeout

WithTimeout adds the timeout to the search es clusters params

func (*SearchEsClustersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SearchEsClustersReader

type SearchEsClustersReader struct {
	// contains filtered or unexported fields
}

SearchEsClustersReader is a Reader for the SearchEsClusters structure.

func (*SearchEsClustersReader) ReadResponse

func (o *SearchEsClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetEsClusterCcsSettingsAccepted

type SetEsClusterCcsSettingsAccepted struct {
	Payload models.EmptyResponse
}
SetEsClusterCcsSettingsAccepted describes a response with status code 202, with default header values.

The configuration for remote clusters was updated

func NewSetEsClusterCcsSettingsAccepted

func NewSetEsClusterCcsSettingsAccepted() *SetEsClusterCcsSettingsAccepted

NewSetEsClusterCcsSettingsAccepted creates a SetEsClusterCcsSettingsAccepted with default headers values

func (*SetEsClusterCcsSettingsAccepted) Error

func (*SetEsClusterCcsSettingsAccepted) GetPayload

type SetEsClusterCcsSettingsNotFound

type SetEsClusterCcsSettingsNotFound struct {
	Payload *models.BasicFailedReply
}
SetEsClusterCcsSettingsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} or a remote cluster cannot be found (code: 'clusters.cluster_not_found')

func NewSetEsClusterCcsSettingsNotFound

func NewSetEsClusterCcsSettingsNotFound() *SetEsClusterCcsSettingsNotFound

NewSetEsClusterCcsSettingsNotFound creates a SetEsClusterCcsSettingsNotFound with default headers values

func (*SetEsClusterCcsSettingsNotFound) Error

func (*SetEsClusterCcsSettingsNotFound) GetPayload

type SetEsClusterCcsSettingsParams

type SetEsClusterCcsSettingsParams struct {

	/* Body.

	   Remote clusters for cross-cluster search
	*/
	Body *models.CrossClusterSearchSettings

	/* ClusterID.

	   Elasticsearch cluster identifier
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetEsClusterCcsSettingsParams contains all the parameters to send to the API endpoint

for the set es cluster ccs settings operation.

Typically these are written to a http.Request.

func NewSetEsClusterCcsSettingsParams

func NewSetEsClusterCcsSettingsParams() *SetEsClusterCcsSettingsParams

NewSetEsClusterCcsSettingsParams creates a new SetEsClusterCcsSettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSetEsClusterCcsSettingsParamsWithContext

func NewSetEsClusterCcsSettingsParamsWithContext(ctx context.Context) *SetEsClusterCcsSettingsParams

NewSetEsClusterCcsSettingsParamsWithContext creates a new SetEsClusterCcsSettingsParams object with the ability to set a context for a request.

func NewSetEsClusterCcsSettingsParamsWithHTTPClient

func NewSetEsClusterCcsSettingsParamsWithHTTPClient(client *http.Client) *SetEsClusterCcsSettingsParams

NewSetEsClusterCcsSettingsParamsWithHTTPClient creates a new SetEsClusterCcsSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewSetEsClusterCcsSettingsParamsWithTimeout

func NewSetEsClusterCcsSettingsParamsWithTimeout(timeout time.Duration) *SetEsClusterCcsSettingsParams

NewSetEsClusterCcsSettingsParamsWithTimeout creates a new SetEsClusterCcsSettingsParams object with the ability to set a timeout on a request.

func (*SetEsClusterCcsSettingsParams) SetBody

SetBody adds the body to the set es cluster ccs settings params

func (*SetEsClusterCcsSettingsParams) SetClusterID

func (o *SetEsClusterCcsSettingsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the set es cluster ccs settings params

func (*SetEsClusterCcsSettingsParams) SetContext

func (o *SetEsClusterCcsSettingsParams) SetContext(ctx context.Context)

SetContext adds the context to the set es cluster ccs settings params

func (*SetEsClusterCcsSettingsParams) SetDefaults added in v1.3.0

func (o *SetEsClusterCcsSettingsParams) SetDefaults()

SetDefaults hydrates default values in the set es cluster ccs settings params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterCcsSettingsParams) SetHTTPClient

func (o *SetEsClusterCcsSettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set es cluster ccs settings params

func (*SetEsClusterCcsSettingsParams) SetTimeout

func (o *SetEsClusterCcsSettingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the set es cluster ccs settings params

func (*SetEsClusterCcsSettingsParams) WithBody

WithBody adds the body to the set es cluster ccs settings params

func (*SetEsClusterCcsSettingsParams) WithClusterID

WithClusterID adds the clusterID to the set es cluster ccs settings params

func (*SetEsClusterCcsSettingsParams) WithContext

WithContext adds the context to the set es cluster ccs settings params

func (*SetEsClusterCcsSettingsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the set es cluster ccs settings params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterCcsSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set es cluster ccs settings params

func (*SetEsClusterCcsSettingsParams) WithTimeout

WithTimeout adds the timeout to the set es cluster ccs settings params

func (*SetEsClusterCcsSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetEsClusterCcsSettingsReader

type SetEsClusterCcsSettingsReader struct {
	// contains filtered or unexported fields
}

SetEsClusterCcsSettingsReader is a Reader for the SetEsClusterCcsSettings structure.

func (*SetEsClusterCcsSettingsReader) ReadResponse

func (o *SetEsClusterCcsSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetEsClusterInstancesAllSettingsOverridesNotFound

type SetEsClusterInstancesAllSettingsOverridesNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
SetEsClusterInstancesAllSettingsOverridesNotFound describes a response with status code 404, with default header values.

The cluster specified at {cluster_id} could not be found. (code: `clusters.cluster_not_found`)

func NewSetEsClusterInstancesAllSettingsOverridesNotFound

func NewSetEsClusterInstancesAllSettingsOverridesNotFound() *SetEsClusterInstancesAllSettingsOverridesNotFound

NewSetEsClusterInstancesAllSettingsOverridesNotFound creates a SetEsClusterInstancesAllSettingsOverridesNotFound with default headers values

func (*SetEsClusterInstancesAllSettingsOverridesNotFound) Error

func (*SetEsClusterInstancesAllSettingsOverridesNotFound) GetPayload

type SetEsClusterInstancesAllSettingsOverridesOK

type SetEsClusterInstancesAllSettingsOverridesOK struct {
	Payload *models.ElasticsearchClusterInstanceSettingsOverrides
}
SetEsClusterInstancesAllSettingsOverridesOK describes a response with status code 200, with default header values.

Returns the updated settings overrides for the specified instances

func NewSetEsClusterInstancesAllSettingsOverridesOK

func NewSetEsClusterInstancesAllSettingsOverridesOK() *SetEsClusterInstancesAllSettingsOverridesOK

NewSetEsClusterInstancesAllSettingsOverridesOK creates a SetEsClusterInstancesAllSettingsOverridesOK with default headers values

func (*SetEsClusterInstancesAllSettingsOverridesOK) Error

func (*SetEsClusterInstancesAllSettingsOverridesOK) GetPayload

type SetEsClusterInstancesAllSettingsOverridesParams

type SetEsClusterInstancesAllSettingsOverridesParams struct {

	/* Body.

	   The settings to override for the instances
	*/
	Body *models.ElasticsearchClusterInstanceSettingsOverrides

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* RestartAfterUpdate.

	   After overrides are applied, restarts the instances.
	*/
	RestartAfterUpdate *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetEsClusterInstancesAllSettingsOverridesParams contains all the parameters to send to the API endpoint

for the set es cluster instances all settings overrides operation.

Typically these are written to a http.Request.

func NewSetEsClusterInstancesAllSettingsOverridesParams

func NewSetEsClusterInstancesAllSettingsOverridesParams() *SetEsClusterInstancesAllSettingsOverridesParams

NewSetEsClusterInstancesAllSettingsOverridesParams creates a new SetEsClusterInstancesAllSettingsOverridesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSetEsClusterInstancesAllSettingsOverridesParamsWithContext

func NewSetEsClusterInstancesAllSettingsOverridesParamsWithContext(ctx context.Context) *SetEsClusterInstancesAllSettingsOverridesParams

NewSetEsClusterInstancesAllSettingsOverridesParamsWithContext creates a new SetEsClusterInstancesAllSettingsOverridesParams object with the ability to set a context for a request.

func NewSetEsClusterInstancesAllSettingsOverridesParamsWithHTTPClient

func NewSetEsClusterInstancesAllSettingsOverridesParamsWithHTTPClient(client *http.Client) *SetEsClusterInstancesAllSettingsOverridesParams

NewSetEsClusterInstancesAllSettingsOverridesParamsWithHTTPClient creates a new SetEsClusterInstancesAllSettingsOverridesParams object with the ability to set a custom HTTPClient for a request.

func NewSetEsClusterInstancesAllSettingsOverridesParamsWithTimeout

func NewSetEsClusterInstancesAllSettingsOverridesParamsWithTimeout(timeout time.Duration) *SetEsClusterInstancesAllSettingsOverridesParams

NewSetEsClusterInstancesAllSettingsOverridesParamsWithTimeout creates a new SetEsClusterInstancesAllSettingsOverridesParams object with the ability to set a timeout on a request.

func (*SetEsClusterInstancesAllSettingsOverridesParams) SetBody

SetBody adds the body to the set es cluster instances all settings overrides params

func (*SetEsClusterInstancesAllSettingsOverridesParams) SetClusterID

func (o *SetEsClusterInstancesAllSettingsOverridesParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the set es cluster instances all settings overrides params

func (*SetEsClusterInstancesAllSettingsOverridesParams) SetContext

SetContext adds the context to the set es cluster instances all settings overrides params

func (*SetEsClusterInstancesAllSettingsOverridesParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the set es cluster instances all settings overrides params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterInstancesAllSettingsOverridesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the set es cluster instances all settings overrides params

func (*SetEsClusterInstancesAllSettingsOverridesParams) SetRestartAfterUpdate

func (o *SetEsClusterInstancesAllSettingsOverridesParams) SetRestartAfterUpdate(restartAfterUpdate *bool)

SetRestartAfterUpdate adds the restartAfterUpdate to the set es cluster instances all settings overrides params

func (*SetEsClusterInstancesAllSettingsOverridesParams) SetTimeout

SetTimeout adds the timeout to the set es cluster instances all settings overrides params

func (*SetEsClusterInstancesAllSettingsOverridesParams) WithBody

WithBody adds the body to the set es cluster instances all settings overrides params

func (*SetEsClusterInstancesAllSettingsOverridesParams) WithClusterID

WithClusterID adds the clusterID to the set es cluster instances all settings overrides params

func (*SetEsClusterInstancesAllSettingsOverridesParams) WithContext

WithContext adds the context to the set es cluster instances all settings overrides params

func (*SetEsClusterInstancesAllSettingsOverridesParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the set es cluster instances all settings overrides params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterInstancesAllSettingsOverridesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set es cluster instances all settings overrides params

func (*SetEsClusterInstancesAllSettingsOverridesParams) WithRestartAfterUpdate

WithRestartAfterUpdate adds the restartAfterUpdate to the set es cluster instances all settings overrides params

func (*SetEsClusterInstancesAllSettingsOverridesParams) WithTimeout

WithTimeout adds the timeout to the set es cluster instances all settings overrides params

func (*SetEsClusterInstancesAllSettingsOverridesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetEsClusterInstancesAllSettingsOverridesReader

type SetEsClusterInstancesAllSettingsOverridesReader struct {
	// contains filtered or unexported fields
}

SetEsClusterInstancesAllSettingsOverridesReader is a Reader for the SetEsClusterInstancesAllSettingsOverrides structure.

func (*SetEsClusterInstancesAllSettingsOverridesReader) ReadResponse

func (o *SetEsClusterInstancesAllSettingsOverridesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetEsClusterInstancesAllSettingsOverridesRetryWith

type SetEsClusterInstancesAllSettingsOverridesRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
SetEsClusterInstancesAllSettingsOverridesRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewSetEsClusterInstancesAllSettingsOverridesRetryWith

func NewSetEsClusterInstancesAllSettingsOverridesRetryWith() *SetEsClusterInstancesAllSettingsOverridesRetryWith

NewSetEsClusterInstancesAllSettingsOverridesRetryWith creates a SetEsClusterInstancesAllSettingsOverridesRetryWith with default headers values

func (*SetEsClusterInstancesAllSettingsOverridesRetryWith) Error

func (*SetEsClusterInstancesAllSettingsOverridesRetryWith) GetPayload

type SetEsClusterInstancesSettingsOverridesNotFound

type SetEsClusterInstancesSettingsOverridesNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
SetEsClusterInstancesSettingsOverridesNotFound describes a response with status code 404, with default header values.

One or more of the instances specified at {instance_ids} could not be found. (code: `clusters.instances_not_found`)

func NewSetEsClusterInstancesSettingsOverridesNotFound

func NewSetEsClusterInstancesSettingsOverridesNotFound() *SetEsClusterInstancesSettingsOverridesNotFound

NewSetEsClusterInstancesSettingsOverridesNotFound creates a SetEsClusterInstancesSettingsOverridesNotFound with default headers values

func (*SetEsClusterInstancesSettingsOverridesNotFound) Error

func (*SetEsClusterInstancesSettingsOverridesNotFound) GetPayload

type SetEsClusterInstancesSettingsOverridesOK

type SetEsClusterInstancesSettingsOverridesOK struct {
	Payload *models.ElasticsearchClusterInstanceSettingsOverrides
}
SetEsClusterInstancesSettingsOverridesOK describes a response with status code 200, with default header values.

Returns the updated settings overrides for the specified instances

func NewSetEsClusterInstancesSettingsOverridesOK

func NewSetEsClusterInstancesSettingsOverridesOK() *SetEsClusterInstancesSettingsOverridesOK

NewSetEsClusterInstancesSettingsOverridesOK creates a SetEsClusterInstancesSettingsOverridesOK with default headers values

func (*SetEsClusterInstancesSettingsOverridesOK) Error

func (*SetEsClusterInstancesSettingsOverridesOK) GetPayload

type SetEsClusterInstancesSettingsOverridesParams

type SetEsClusterInstancesSettingsOverridesParams struct {

	/* Body.

	   The settings to override for the specified instances.
	*/
	Body *models.ElasticsearchClusterInstanceSettingsOverrides

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* IgnoreMissing.

	   When `true` and the instance does not exist, proceeds to the next instance, or treats the instance as an error.
	*/
	IgnoreMissing *bool

	/* InstanceIds.

	   A comma-separated list of instance identifiers.
	*/
	InstanceIds []string

	/* RestartAfterUpdate.

	   After overrides are applied, restarts the instances.
	*/
	RestartAfterUpdate *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetEsClusterInstancesSettingsOverridesParams contains all the parameters to send to the API endpoint

for the set es cluster instances settings overrides operation.

Typically these are written to a http.Request.

func NewSetEsClusterInstancesSettingsOverridesParams

func NewSetEsClusterInstancesSettingsOverridesParams() *SetEsClusterInstancesSettingsOverridesParams

NewSetEsClusterInstancesSettingsOverridesParams creates a new SetEsClusterInstancesSettingsOverridesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSetEsClusterInstancesSettingsOverridesParamsWithContext

func NewSetEsClusterInstancesSettingsOverridesParamsWithContext(ctx context.Context) *SetEsClusterInstancesSettingsOverridesParams

NewSetEsClusterInstancesSettingsOverridesParamsWithContext creates a new SetEsClusterInstancesSettingsOverridesParams object with the ability to set a context for a request.

func NewSetEsClusterInstancesSettingsOverridesParamsWithHTTPClient

func NewSetEsClusterInstancesSettingsOverridesParamsWithHTTPClient(client *http.Client) *SetEsClusterInstancesSettingsOverridesParams

NewSetEsClusterInstancesSettingsOverridesParamsWithHTTPClient creates a new SetEsClusterInstancesSettingsOverridesParams object with the ability to set a custom HTTPClient for a request.

func NewSetEsClusterInstancesSettingsOverridesParamsWithTimeout

func NewSetEsClusterInstancesSettingsOverridesParamsWithTimeout(timeout time.Duration) *SetEsClusterInstancesSettingsOverridesParams

NewSetEsClusterInstancesSettingsOverridesParamsWithTimeout creates a new SetEsClusterInstancesSettingsOverridesParams object with the ability to set a timeout on a request.

func (*SetEsClusterInstancesSettingsOverridesParams) SetBody

SetBody adds the body to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) SetClusterID

func (o *SetEsClusterInstancesSettingsOverridesParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) SetContext

SetContext adds the context to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the set es cluster instances settings overrides params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterInstancesSettingsOverridesParams) SetHTTPClient

func (o *SetEsClusterInstancesSettingsOverridesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) SetIgnoreMissing

func (o *SetEsClusterInstancesSettingsOverridesParams) SetIgnoreMissing(ignoreMissing *bool)

SetIgnoreMissing adds the ignoreMissing to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) SetInstanceIds

func (o *SetEsClusterInstancesSettingsOverridesParams) SetInstanceIds(instanceIds []string)

SetInstanceIds adds the instanceIds to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) SetRestartAfterUpdate

func (o *SetEsClusterInstancesSettingsOverridesParams) SetRestartAfterUpdate(restartAfterUpdate *bool)

SetRestartAfterUpdate adds the restartAfterUpdate to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) SetTimeout

SetTimeout adds the timeout to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) WithBody

WithBody adds the body to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) WithClusterID

WithClusterID adds the clusterID to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) WithContext

WithContext adds the context to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the set es cluster instances settings overrides params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterInstancesSettingsOverridesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) WithIgnoreMissing

WithIgnoreMissing adds the ignoreMissing to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) WithInstanceIds

WithInstanceIds adds the instanceIds to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) WithRestartAfterUpdate

WithRestartAfterUpdate adds the restartAfterUpdate to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) WithTimeout

WithTimeout adds the timeout to the set es cluster instances settings overrides params

func (*SetEsClusterInstancesSettingsOverridesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetEsClusterInstancesSettingsOverridesReader

type SetEsClusterInstancesSettingsOverridesReader struct {
	// contains filtered or unexported fields
}

SetEsClusterInstancesSettingsOverridesReader is a Reader for the SetEsClusterInstancesSettingsOverrides structure.

func (*SetEsClusterInstancesSettingsOverridesReader) ReadResponse

func (o *SetEsClusterInstancesSettingsOverridesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetEsClusterInstancesSettingsOverridesRetryWith

type SetEsClusterInstancesSettingsOverridesRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
SetEsClusterInstancesSettingsOverridesRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewSetEsClusterInstancesSettingsOverridesRetryWith

func NewSetEsClusterInstancesSettingsOverridesRetryWith() *SetEsClusterInstancesSettingsOverridesRetryWith

NewSetEsClusterInstancesSettingsOverridesRetryWith creates a SetEsClusterInstancesSettingsOverridesRetryWith with default headers values

func (*SetEsClusterInstancesSettingsOverridesRetryWith) Error

func (*SetEsClusterInstancesSettingsOverridesRetryWith) GetPayload

type SetEsClusterKeystoreAccepted

type SetEsClusterKeystoreAccepted struct {
	Payload *models.KeystoreContents
}
SetEsClusterKeystoreAccepted describes a response with status code 202, with default header values.

The keystore will be updated

func NewSetEsClusterKeystoreAccepted

func NewSetEsClusterKeystoreAccepted() *SetEsClusterKeystoreAccepted

NewSetEsClusterKeystoreAccepted creates a SetEsClusterKeystoreAccepted with default headers values

func (*SetEsClusterKeystoreAccepted) Error

func (*SetEsClusterKeystoreAccepted) GetPayload

type SetEsClusterKeystoreNotFound

type SetEsClusterKeystoreNotFound struct {
	Payload *models.BasicFailedReply
}
SetEsClusterKeystoreNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewSetEsClusterKeystoreNotFound

func NewSetEsClusterKeystoreNotFound() *SetEsClusterKeystoreNotFound

NewSetEsClusterKeystoreNotFound creates a SetEsClusterKeystoreNotFound with default headers values

func (*SetEsClusterKeystoreNotFound) Error

func (*SetEsClusterKeystoreNotFound) GetPayload

type SetEsClusterKeystoreParams

type SetEsClusterKeystoreParams struct {

	/* Body.

	   Keystore settings to update
	*/
	Body *models.KeystoreContents

	/* ClusterID.

	   Identifier for the Elasticsearch cluster
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetEsClusterKeystoreParams contains all the parameters to send to the API endpoint

for the set es cluster keystore operation.

Typically these are written to a http.Request.

func NewSetEsClusterKeystoreParams

func NewSetEsClusterKeystoreParams() *SetEsClusterKeystoreParams

NewSetEsClusterKeystoreParams creates a new SetEsClusterKeystoreParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSetEsClusterKeystoreParamsWithContext

func NewSetEsClusterKeystoreParamsWithContext(ctx context.Context) *SetEsClusterKeystoreParams

NewSetEsClusterKeystoreParamsWithContext creates a new SetEsClusterKeystoreParams object with the ability to set a context for a request.

func NewSetEsClusterKeystoreParamsWithHTTPClient

func NewSetEsClusterKeystoreParamsWithHTTPClient(client *http.Client) *SetEsClusterKeystoreParams

NewSetEsClusterKeystoreParamsWithHTTPClient creates a new SetEsClusterKeystoreParams object with the ability to set a custom HTTPClient for a request.

func NewSetEsClusterKeystoreParamsWithTimeout

func NewSetEsClusterKeystoreParamsWithTimeout(timeout time.Duration) *SetEsClusterKeystoreParams

NewSetEsClusterKeystoreParamsWithTimeout creates a new SetEsClusterKeystoreParams object with the ability to set a timeout on a request.

func (*SetEsClusterKeystoreParams) SetBody

SetBody adds the body to the set es cluster keystore params

func (*SetEsClusterKeystoreParams) SetClusterID

func (o *SetEsClusterKeystoreParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the set es cluster keystore params

func (*SetEsClusterKeystoreParams) SetContext

func (o *SetEsClusterKeystoreParams) SetContext(ctx context.Context)

SetContext adds the context to the set es cluster keystore params

func (*SetEsClusterKeystoreParams) SetDefaults added in v1.3.0

func (o *SetEsClusterKeystoreParams) SetDefaults()

SetDefaults hydrates default values in the set es cluster keystore params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterKeystoreParams) SetHTTPClient

func (o *SetEsClusterKeystoreParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set es cluster keystore params

func (*SetEsClusterKeystoreParams) SetTimeout

func (o *SetEsClusterKeystoreParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the set es cluster keystore params

func (*SetEsClusterKeystoreParams) WithBody

WithBody adds the body to the set es cluster keystore params

func (*SetEsClusterKeystoreParams) WithClusterID

func (o *SetEsClusterKeystoreParams) WithClusterID(clusterID string) *SetEsClusterKeystoreParams

WithClusterID adds the clusterID to the set es cluster keystore params

func (*SetEsClusterKeystoreParams) WithContext

WithContext adds the context to the set es cluster keystore params

func (*SetEsClusterKeystoreParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the set es cluster keystore params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterKeystoreParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set es cluster keystore params

func (*SetEsClusterKeystoreParams) WithTimeout

WithTimeout adds the timeout to the set es cluster keystore params

func (*SetEsClusterKeystoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetEsClusterKeystoreReader

type SetEsClusterKeystoreReader struct {
	// contains filtered or unexported fields
}

SetEsClusterKeystoreReader is a Reader for the SetEsClusterKeystore structure.

func (*SetEsClusterKeystoreReader) ReadResponse

func (o *SetEsClusterKeystoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetEsClusterKeystoreRetryWith

type SetEsClusterKeystoreRetryWith struct {
	Payload *models.BasicFailedReply
}
SetEsClusterKeystoreRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')

func NewSetEsClusterKeystoreRetryWith

func NewSetEsClusterKeystoreRetryWith() *SetEsClusterKeystoreRetryWith

NewSetEsClusterKeystoreRetryWith creates a SetEsClusterKeystoreRetryWith with default headers values

func (*SetEsClusterKeystoreRetryWith) Error

func (*SetEsClusterKeystoreRetryWith) GetPayload

type SetEsClusterLegacySecuritySettingsNotFound

type SetEsClusterLegacySecuritySettingsNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
SetEsClusterLegacySecuritySettingsNotFound describes a response with status code 404, with default header values.

The cluster specified at {cluster_id} could not be found. (code: `clusters.cluster_not_found`)

func NewSetEsClusterLegacySecuritySettingsNotFound

func NewSetEsClusterLegacySecuritySettingsNotFound() *SetEsClusterLegacySecuritySettingsNotFound

NewSetEsClusterLegacySecuritySettingsNotFound creates a SetEsClusterLegacySecuritySettingsNotFound with default headers values

func (*SetEsClusterLegacySecuritySettingsNotFound) Error

func (*SetEsClusterLegacySecuritySettingsNotFound) GetPayload

type SetEsClusterLegacySecuritySettingsOK

type SetEsClusterLegacySecuritySettingsOK struct {
	Payload *models.LegacySecuritySettings
}
SetEsClusterLegacySecuritySettingsOK describes a response with status code 200, with default header values.

Returns the updated legacy security settings for the specified cluster

func NewSetEsClusterLegacySecuritySettingsOK

func NewSetEsClusterLegacySecuritySettingsOK() *SetEsClusterLegacySecuritySettingsOK

NewSetEsClusterLegacySecuritySettingsOK creates a SetEsClusterLegacySecuritySettingsOK with default headers values

func (*SetEsClusterLegacySecuritySettingsOK) Error

func (*SetEsClusterLegacySecuritySettingsOK) GetPayload

type SetEsClusterLegacySecuritySettingsParams

type SetEsClusterLegacySecuritySettingsParams struct {

	/* Body.

	   The legacy security settings
	*/
	Body *models.LegacySecuritySettings

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetEsClusterLegacySecuritySettingsParams contains all the parameters to send to the API endpoint

for the set es cluster legacy security settings operation.

Typically these are written to a http.Request.

func NewSetEsClusterLegacySecuritySettingsParams

func NewSetEsClusterLegacySecuritySettingsParams() *SetEsClusterLegacySecuritySettingsParams

NewSetEsClusterLegacySecuritySettingsParams creates a new SetEsClusterLegacySecuritySettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSetEsClusterLegacySecuritySettingsParamsWithContext

func NewSetEsClusterLegacySecuritySettingsParamsWithContext(ctx context.Context) *SetEsClusterLegacySecuritySettingsParams

NewSetEsClusterLegacySecuritySettingsParamsWithContext creates a new SetEsClusterLegacySecuritySettingsParams object with the ability to set a context for a request.

func NewSetEsClusterLegacySecuritySettingsParamsWithHTTPClient

func NewSetEsClusterLegacySecuritySettingsParamsWithHTTPClient(client *http.Client) *SetEsClusterLegacySecuritySettingsParams

NewSetEsClusterLegacySecuritySettingsParamsWithHTTPClient creates a new SetEsClusterLegacySecuritySettingsParams object with the ability to set a custom HTTPClient for a request.

func NewSetEsClusterLegacySecuritySettingsParamsWithTimeout

func NewSetEsClusterLegacySecuritySettingsParamsWithTimeout(timeout time.Duration) *SetEsClusterLegacySecuritySettingsParams

NewSetEsClusterLegacySecuritySettingsParamsWithTimeout creates a new SetEsClusterLegacySecuritySettingsParams object with the ability to set a timeout on a request.

func (*SetEsClusterLegacySecuritySettingsParams) SetBody

SetBody adds the body to the set es cluster legacy security settings params

func (*SetEsClusterLegacySecuritySettingsParams) SetClusterID

func (o *SetEsClusterLegacySecuritySettingsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the set es cluster legacy security settings params

func (*SetEsClusterLegacySecuritySettingsParams) SetContext

SetContext adds the context to the set es cluster legacy security settings params

func (*SetEsClusterLegacySecuritySettingsParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the set es cluster legacy security settings params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterLegacySecuritySettingsParams) SetHTTPClient

func (o *SetEsClusterLegacySecuritySettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set es cluster legacy security settings params

func (*SetEsClusterLegacySecuritySettingsParams) SetTimeout

SetTimeout adds the timeout to the set es cluster legacy security settings params

func (*SetEsClusterLegacySecuritySettingsParams) WithBody

WithBody adds the body to the set es cluster legacy security settings params

func (*SetEsClusterLegacySecuritySettingsParams) WithClusterID

WithClusterID adds the clusterID to the set es cluster legacy security settings params

func (*SetEsClusterLegacySecuritySettingsParams) WithContext

WithContext adds the context to the set es cluster legacy security settings params

func (*SetEsClusterLegacySecuritySettingsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the set es cluster legacy security settings params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterLegacySecuritySettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set es cluster legacy security settings params

func (*SetEsClusterLegacySecuritySettingsParams) WithTimeout

WithTimeout adds the timeout to the set es cluster legacy security settings params

func (*SetEsClusterLegacySecuritySettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetEsClusterLegacySecuritySettingsReader

type SetEsClusterLegacySecuritySettingsReader struct {
	// contains filtered or unexported fields
}

SetEsClusterLegacySecuritySettingsReader is a Reader for the SetEsClusterLegacySecuritySettings structure.

func (*SetEsClusterLegacySecuritySettingsReader) ReadResponse

func (o *SetEsClusterLegacySecuritySettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetEsClusterLegacySecuritySettingsRetryWith

type SetEsClusterLegacySecuritySettingsRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
SetEsClusterLegacySecuritySettingsRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewSetEsClusterLegacySecuritySettingsRetryWith

func NewSetEsClusterLegacySecuritySettingsRetryWith() *SetEsClusterLegacySecuritySettingsRetryWith

NewSetEsClusterLegacySecuritySettingsRetryWith creates a SetEsClusterLegacySecuritySettingsRetryWith with default headers values

func (*SetEsClusterLegacySecuritySettingsRetryWith) Error

func (*SetEsClusterLegacySecuritySettingsRetryWith) GetPayload

type SetEsClusterMetadataRawNotFound

type SetEsClusterMetadataRawNotFound struct {
	Payload *models.BasicFailedReply
}
SetEsClusterMetadataRawNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewSetEsClusterMetadataRawNotFound

func NewSetEsClusterMetadataRawNotFound() *SetEsClusterMetadataRawNotFound

NewSetEsClusterMetadataRawNotFound creates a SetEsClusterMetadataRawNotFound with default headers values

func (*SetEsClusterMetadataRawNotFound) Error

func (*SetEsClusterMetadataRawNotFound) GetPayload

type SetEsClusterMetadataRawOK

type SetEsClusterMetadataRawOK struct {

	/* The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string

	/* The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string

	/* The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload interface{}
}
SetEsClusterMetadataRawOK describes a response with status code 200, with default header values.

The cluster metadata was successfully changed (the updated JSON is returned)

func NewSetEsClusterMetadataRawOK

func NewSetEsClusterMetadataRawOK() *SetEsClusterMetadataRawOK

NewSetEsClusterMetadataRawOK creates a SetEsClusterMetadataRawOK with default headers values

func (*SetEsClusterMetadataRawOK) Error

func (o *SetEsClusterMetadataRawOK) Error() string

func (*SetEsClusterMetadataRawOK) GetPayload

func (o *SetEsClusterMetadataRawOK) GetPayload() interface{}

type SetEsClusterMetadataRawParams

type SetEsClusterMetadataRawParams struct {

	/* Body.

	   The freeform JSON for the cluster (should always be based on the current version retrieved from the GET)
	*/
	Body string

	/* ClusterID.

	   Elasticsearch cluster identifier
	*/
	ClusterID string

	/* Version.

	   Checks for conflicts against the metadata version, then returns the value in the `x-cloud-resource-version` header.
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetEsClusterMetadataRawParams contains all the parameters to send to the API endpoint

for the set es cluster metadata raw operation.

Typically these are written to a http.Request.

func NewSetEsClusterMetadataRawParams

func NewSetEsClusterMetadataRawParams() *SetEsClusterMetadataRawParams

NewSetEsClusterMetadataRawParams creates a new SetEsClusterMetadataRawParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSetEsClusterMetadataRawParamsWithContext

func NewSetEsClusterMetadataRawParamsWithContext(ctx context.Context) *SetEsClusterMetadataRawParams

NewSetEsClusterMetadataRawParamsWithContext creates a new SetEsClusterMetadataRawParams object with the ability to set a context for a request.

func NewSetEsClusterMetadataRawParamsWithHTTPClient

func NewSetEsClusterMetadataRawParamsWithHTTPClient(client *http.Client) *SetEsClusterMetadataRawParams

NewSetEsClusterMetadataRawParamsWithHTTPClient creates a new SetEsClusterMetadataRawParams object with the ability to set a custom HTTPClient for a request.

func NewSetEsClusterMetadataRawParamsWithTimeout

func NewSetEsClusterMetadataRawParamsWithTimeout(timeout time.Duration) *SetEsClusterMetadataRawParams

NewSetEsClusterMetadataRawParamsWithTimeout creates a new SetEsClusterMetadataRawParams object with the ability to set a timeout on a request.

func (*SetEsClusterMetadataRawParams) SetBody

func (o *SetEsClusterMetadataRawParams) SetBody(body string)

SetBody adds the body to the set es cluster metadata raw params

func (*SetEsClusterMetadataRawParams) SetClusterID

func (o *SetEsClusterMetadataRawParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the set es cluster metadata raw params

func (*SetEsClusterMetadataRawParams) SetContext

func (o *SetEsClusterMetadataRawParams) SetContext(ctx context.Context)

SetContext adds the context to the set es cluster metadata raw params

func (*SetEsClusterMetadataRawParams) SetDefaults added in v1.3.0

func (o *SetEsClusterMetadataRawParams) SetDefaults()

SetDefaults hydrates default values in the set es cluster metadata raw params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterMetadataRawParams) SetHTTPClient

func (o *SetEsClusterMetadataRawParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set es cluster metadata raw params

func (*SetEsClusterMetadataRawParams) SetTimeout

func (o *SetEsClusterMetadataRawParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the set es cluster metadata raw params

func (*SetEsClusterMetadataRawParams) SetVersion

func (o *SetEsClusterMetadataRawParams) SetVersion(version *int64)

SetVersion adds the version to the set es cluster metadata raw params

func (*SetEsClusterMetadataRawParams) WithBody

WithBody adds the body to the set es cluster metadata raw params

func (*SetEsClusterMetadataRawParams) WithClusterID

WithClusterID adds the clusterID to the set es cluster metadata raw params

func (*SetEsClusterMetadataRawParams) WithContext

WithContext adds the context to the set es cluster metadata raw params

func (*SetEsClusterMetadataRawParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the set es cluster metadata raw params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterMetadataRawParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set es cluster metadata raw params

func (*SetEsClusterMetadataRawParams) WithTimeout

WithTimeout adds the timeout to the set es cluster metadata raw params

func (*SetEsClusterMetadataRawParams) WithVersion

WithVersion adds the version to the set es cluster metadata raw params

func (*SetEsClusterMetadataRawParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetEsClusterMetadataRawReader

type SetEsClusterMetadataRawReader struct {
	// contains filtered or unexported fields
}

SetEsClusterMetadataRawReader is a Reader for the SetEsClusterMetadataRaw structure.

func (*SetEsClusterMetadataRawReader) ReadResponse

func (o *SetEsClusterMetadataRawReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetEsClusterMetadataRawRetryWith

type SetEsClusterMetadataRawRetryWith struct {
	Payload *models.BasicFailedReply
}
SetEsClusterMetadataRawRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')

func NewSetEsClusterMetadataRawRetryWith

func NewSetEsClusterMetadataRawRetryWith() *SetEsClusterMetadataRawRetryWith

NewSetEsClusterMetadataRawRetryWith creates a SetEsClusterMetadataRawRetryWith with default headers values

func (*SetEsClusterMetadataRawRetryWith) Error

func (*SetEsClusterMetadataRawRetryWith) GetPayload

type SetEsClusterMonitoringAccepted

type SetEsClusterMonitoringAccepted struct {
	Payload models.EmptyResponse
}
SetEsClusterMonitoringAccepted describes a response with status code 202, with default header values.

The destination monitoring cluster creation/overwrite request was initiated

func NewSetEsClusterMonitoringAccepted

func NewSetEsClusterMonitoringAccepted() *SetEsClusterMonitoringAccepted

NewSetEsClusterMonitoringAccepted creates a SetEsClusterMonitoringAccepted with default headers values

func (*SetEsClusterMonitoringAccepted) Error

func (*SetEsClusterMonitoringAccepted) GetPayload

type SetEsClusterMonitoringNotFound

type SetEsClusterMonitoringNotFound struct {
	Payload *models.BasicFailedReply
}
SetEsClusterMonitoringNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewSetEsClusterMonitoringNotFound

func NewSetEsClusterMonitoringNotFound() *SetEsClusterMonitoringNotFound

NewSetEsClusterMonitoringNotFound creates a SetEsClusterMonitoringNotFound with default headers values

func (*SetEsClusterMonitoringNotFound) Error

func (*SetEsClusterMonitoringNotFound) GetPayload

type SetEsClusterMonitoringParams

type SetEsClusterMonitoringParams struct {

	/* ClusterID.

	   Elasticsearch cluster identifier
	*/
	ClusterID string

	/* DestClusterID.

	   The Elasticsearch cluster identifier for the monitoring destination.
	*/
	DestClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetEsClusterMonitoringParams contains all the parameters to send to the API endpoint

for the set es cluster monitoring operation.

Typically these are written to a http.Request.

func NewSetEsClusterMonitoringParams

func NewSetEsClusterMonitoringParams() *SetEsClusterMonitoringParams

NewSetEsClusterMonitoringParams creates a new SetEsClusterMonitoringParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSetEsClusterMonitoringParamsWithContext

func NewSetEsClusterMonitoringParamsWithContext(ctx context.Context) *SetEsClusterMonitoringParams

NewSetEsClusterMonitoringParamsWithContext creates a new SetEsClusterMonitoringParams object with the ability to set a context for a request.

func NewSetEsClusterMonitoringParamsWithHTTPClient

func NewSetEsClusterMonitoringParamsWithHTTPClient(client *http.Client) *SetEsClusterMonitoringParams

NewSetEsClusterMonitoringParamsWithHTTPClient creates a new SetEsClusterMonitoringParams object with the ability to set a custom HTTPClient for a request.

func NewSetEsClusterMonitoringParamsWithTimeout

func NewSetEsClusterMonitoringParamsWithTimeout(timeout time.Duration) *SetEsClusterMonitoringParams

NewSetEsClusterMonitoringParamsWithTimeout creates a new SetEsClusterMonitoringParams object with the ability to set a timeout on a request.

func (*SetEsClusterMonitoringParams) SetClusterID

func (o *SetEsClusterMonitoringParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the set es cluster monitoring params

func (*SetEsClusterMonitoringParams) SetContext

func (o *SetEsClusterMonitoringParams) SetContext(ctx context.Context)

SetContext adds the context to the set es cluster monitoring params

func (*SetEsClusterMonitoringParams) SetDefaults added in v1.3.0

func (o *SetEsClusterMonitoringParams) SetDefaults()

SetDefaults hydrates default values in the set es cluster monitoring params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterMonitoringParams) SetDestClusterID

func (o *SetEsClusterMonitoringParams) SetDestClusterID(destClusterID string)

SetDestClusterID adds the destClusterId to the set es cluster monitoring params

func (*SetEsClusterMonitoringParams) SetHTTPClient

func (o *SetEsClusterMonitoringParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set es cluster monitoring params

func (*SetEsClusterMonitoringParams) SetTimeout

func (o *SetEsClusterMonitoringParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the set es cluster monitoring params

func (*SetEsClusterMonitoringParams) WithClusterID

WithClusterID adds the clusterID to the set es cluster monitoring params

func (*SetEsClusterMonitoringParams) WithContext

WithContext adds the context to the set es cluster monitoring params

func (*SetEsClusterMonitoringParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the set es cluster monitoring params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterMonitoringParams) WithDestClusterID

func (o *SetEsClusterMonitoringParams) WithDestClusterID(destClusterID string) *SetEsClusterMonitoringParams

WithDestClusterID adds the destClusterID to the set es cluster monitoring params

func (*SetEsClusterMonitoringParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the set es cluster monitoring params

func (*SetEsClusterMonitoringParams) WithTimeout

WithTimeout adds the timeout to the set es cluster monitoring params

func (*SetEsClusterMonitoringParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetEsClusterMonitoringReader

type SetEsClusterMonitoringReader struct {
	// contains filtered or unexported fields
}

SetEsClusterMonitoringReader is a Reader for the SetEsClusterMonitoring structure.

func (*SetEsClusterMonitoringReader) ReadResponse

func (o *SetEsClusterMonitoringReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetEsClusterMonitoringRetryWith

type SetEsClusterMonitoringRetryWith struct {
	Payload *models.BasicFailedReply
}
SetEsClusterMonitoringRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')

func NewSetEsClusterMonitoringRetryWith

func NewSetEsClusterMonitoringRetryWith() *SetEsClusterMonitoringRetryWith

NewSetEsClusterMonitoringRetryWith creates a SetEsClusterMonitoringRetryWith with default headers values

func (*SetEsClusterMonitoringRetryWith) Error

func (*SetEsClusterMonitoringRetryWith) GetPayload

type SetEsClusterNameNotFound

type SetEsClusterNameNotFound struct {
	Payload *models.BasicFailedReply
}
SetEsClusterNameNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewSetEsClusterNameNotFound

func NewSetEsClusterNameNotFound() *SetEsClusterNameNotFound

NewSetEsClusterNameNotFound creates a SetEsClusterNameNotFound with default headers values

func (*SetEsClusterNameNotFound) Error

func (o *SetEsClusterNameNotFound) Error() string

func (*SetEsClusterNameNotFound) GetPayload

type SetEsClusterNameOK

type SetEsClusterNameOK struct {
	Payload models.EmptyResponse
}
SetEsClusterNameOK describes a response with status code 200, with default header values.

The cluster name was successfully changed

func NewSetEsClusterNameOK

func NewSetEsClusterNameOK() *SetEsClusterNameOK

NewSetEsClusterNameOK creates a SetEsClusterNameOK with default headers values

func (*SetEsClusterNameOK) Error

func (o *SetEsClusterNameOK) Error() string

func (*SetEsClusterNameOK) GetPayload

func (o *SetEsClusterNameOK) GetPayload() models.EmptyResponse

type SetEsClusterNameParams

type SetEsClusterNameParams struct {

	/* ClusterID.

	   Elasticsearch cluster identifier
	*/
	ClusterID string

	/* NewName.

	   The new name for the cluster.
	*/
	NewName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SetEsClusterNameParams contains all the parameters to send to the API endpoint

for the set es cluster name operation.

Typically these are written to a http.Request.

func NewSetEsClusterNameParams

func NewSetEsClusterNameParams() *SetEsClusterNameParams

NewSetEsClusterNameParams creates a new SetEsClusterNameParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSetEsClusterNameParamsWithContext

func NewSetEsClusterNameParamsWithContext(ctx context.Context) *SetEsClusterNameParams

NewSetEsClusterNameParamsWithContext creates a new SetEsClusterNameParams object with the ability to set a context for a request.

func NewSetEsClusterNameParamsWithHTTPClient

func NewSetEsClusterNameParamsWithHTTPClient(client *http.Client) *SetEsClusterNameParams

NewSetEsClusterNameParamsWithHTTPClient creates a new SetEsClusterNameParams object with the ability to set a custom HTTPClient for a request.

func NewSetEsClusterNameParamsWithTimeout

func NewSetEsClusterNameParamsWithTimeout(timeout time.Duration) *SetEsClusterNameParams

NewSetEsClusterNameParamsWithTimeout creates a new SetEsClusterNameParams object with the ability to set a timeout on a request.

func (*SetEsClusterNameParams) SetClusterID

func (o *SetEsClusterNameParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the set es cluster name params

func (*SetEsClusterNameParams) SetContext

func (o *SetEsClusterNameParams) SetContext(ctx context.Context)

SetContext adds the context to the set es cluster name params

func (*SetEsClusterNameParams) SetDefaults added in v1.3.0

func (o *SetEsClusterNameParams) SetDefaults()

SetDefaults hydrates default values in the set es cluster name params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterNameParams) SetHTTPClient

func (o *SetEsClusterNameParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the set es cluster name params

func (*SetEsClusterNameParams) SetNewName

func (o *SetEsClusterNameParams) SetNewName(newName string)

SetNewName adds the newName to the set es cluster name params

func (*SetEsClusterNameParams) SetTimeout

func (o *SetEsClusterNameParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the set es cluster name params

func (*SetEsClusterNameParams) WithClusterID

func (o *SetEsClusterNameParams) WithClusterID(clusterID string) *SetEsClusterNameParams

WithClusterID adds the clusterID to the set es cluster name params

func (*SetEsClusterNameParams) WithContext

WithContext adds the context to the set es cluster name params

func (*SetEsClusterNameParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the set es cluster name params (not the query body).

All values with no default are reset to their zero value.

func (*SetEsClusterNameParams) WithHTTPClient

func (o *SetEsClusterNameParams) WithHTTPClient(client *http.Client) *SetEsClusterNameParams

WithHTTPClient adds the HTTPClient to the set es cluster name params

func (*SetEsClusterNameParams) WithNewName

func (o *SetEsClusterNameParams) WithNewName(newName string) *SetEsClusterNameParams

WithNewName adds the newName to the set es cluster name params

func (*SetEsClusterNameParams) WithTimeout

WithTimeout adds the timeout to the set es cluster name params

func (*SetEsClusterNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetEsClusterNameReader

type SetEsClusterNameReader struct {
	// contains filtered or unexported fields
}

SetEsClusterNameReader is a Reader for the SetEsClusterName structure.

func (*SetEsClusterNameReader) ReadResponse

func (o *SetEsClusterNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SetEsClusterNameRetryWith

type SetEsClusterNameRetryWith struct {
	Payload *models.BasicFailedReply
}
SetEsClusterNameRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')

func NewSetEsClusterNameRetryWith

func NewSetEsClusterNameRetryWith() *SetEsClusterNameRetryWith

NewSetEsClusterNameRetryWith creates a SetEsClusterNameRetryWith with default headers values

func (*SetEsClusterNameRetryWith) Error

func (o *SetEsClusterNameRetryWith) Error() string

func (*SetEsClusterNameRetryWith) GetPayload

type ShutdownEsClusterAccepted

type ShutdownEsClusterAccepted struct {
	Payload *models.ClusterCommandResponse
}
ShutdownEsClusterAccepted describes a response with status code 202, with default header values.

The shutdown command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

func NewShutdownEsClusterAccepted

func NewShutdownEsClusterAccepted() *ShutdownEsClusterAccepted

NewShutdownEsClusterAccepted creates a ShutdownEsClusterAccepted with default headers values

func (*ShutdownEsClusterAccepted) Error

func (o *ShutdownEsClusterAccepted) Error() string

func (*ShutdownEsClusterAccepted) GetPayload

type ShutdownEsClusterNotFound

type ShutdownEsClusterNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
ShutdownEsClusterNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewShutdownEsClusterNotFound

func NewShutdownEsClusterNotFound() *ShutdownEsClusterNotFound

NewShutdownEsClusterNotFound creates a ShutdownEsClusterNotFound with default headers values

func (*ShutdownEsClusterNotFound) Error

func (o *ShutdownEsClusterNotFound) Error() string

func (*ShutdownEsClusterNotFound) GetPayload

type ShutdownEsClusterParams

type ShutdownEsClusterParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* Hide.

	   Hides the clusters during shutdown. NOTE: By default, hidden clusters are not listed.
	*/
	Hide *bool

	/* SkipSnapshot.

	   When `true`, skips the snapshot when the cluster is shut down.
	*/
	SkipSnapshot *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ShutdownEsClusterParams contains all the parameters to send to the API endpoint

for the shutdown es cluster operation.

Typically these are written to a http.Request.

func NewShutdownEsClusterParams

func NewShutdownEsClusterParams() *ShutdownEsClusterParams

NewShutdownEsClusterParams creates a new ShutdownEsClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewShutdownEsClusterParamsWithContext

func NewShutdownEsClusterParamsWithContext(ctx context.Context) *ShutdownEsClusterParams

NewShutdownEsClusterParamsWithContext creates a new ShutdownEsClusterParams object with the ability to set a context for a request.

func NewShutdownEsClusterParamsWithHTTPClient

func NewShutdownEsClusterParamsWithHTTPClient(client *http.Client) *ShutdownEsClusterParams

NewShutdownEsClusterParamsWithHTTPClient creates a new ShutdownEsClusterParams object with the ability to set a custom HTTPClient for a request.

func NewShutdownEsClusterParamsWithTimeout

func NewShutdownEsClusterParamsWithTimeout(timeout time.Duration) *ShutdownEsClusterParams

NewShutdownEsClusterParamsWithTimeout creates a new ShutdownEsClusterParams object with the ability to set a timeout on a request.

func (*ShutdownEsClusterParams) SetClusterID

func (o *ShutdownEsClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the shutdown es cluster params

func (*ShutdownEsClusterParams) SetContext

func (o *ShutdownEsClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the shutdown es cluster params

func (*ShutdownEsClusterParams) SetDefaults added in v1.3.0

func (o *ShutdownEsClusterParams) SetDefaults()

SetDefaults hydrates default values in the shutdown es cluster params (not the query body).

All values with no default are reset to their zero value.

func (*ShutdownEsClusterParams) SetHTTPClient

func (o *ShutdownEsClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the shutdown es cluster params

func (*ShutdownEsClusterParams) SetHide

func (o *ShutdownEsClusterParams) SetHide(hide *bool)

SetHide adds the hide to the shutdown es cluster params

func (*ShutdownEsClusterParams) SetSkipSnapshot

func (o *ShutdownEsClusterParams) SetSkipSnapshot(skipSnapshot *bool)

SetSkipSnapshot adds the skipSnapshot to the shutdown es cluster params

func (*ShutdownEsClusterParams) SetTimeout

func (o *ShutdownEsClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the shutdown es cluster params

func (*ShutdownEsClusterParams) WithClusterID

func (o *ShutdownEsClusterParams) WithClusterID(clusterID string) *ShutdownEsClusterParams

WithClusterID adds the clusterID to the shutdown es cluster params

func (*ShutdownEsClusterParams) WithContext

WithContext adds the context to the shutdown es cluster params

func (*ShutdownEsClusterParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the shutdown es cluster params (not the query body).

All values with no default are reset to their zero value.

func (*ShutdownEsClusterParams) WithHTTPClient

func (o *ShutdownEsClusterParams) WithHTTPClient(client *http.Client) *ShutdownEsClusterParams

WithHTTPClient adds the HTTPClient to the shutdown es cluster params

func (*ShutdownEsClusterParams) WithHide

WithHide adds the hide to the shutdown es cluster params

func (*ShutdownEsClusterParams) WithSkipSnapshot

func (o *ShutdownEsClusterParams) WithSkipSnapshot(skipSnapshot *bool) *ShutdownEsClusterParams

WithSkipSnapshot adds the skipSnapshot to the shutdown es cluster params

func (*ShutdownEsClusterParams) WithTimeout

WithTimeout adds the timeout to the shutdown es cluster params

func (*ShutdownEsClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ShutdownEsClusterReader

type ShutdownEsClusterReader struct {
	// contains filtered or unexported fields
}

ShutdownEsClusterReader is a Reader for the ShutdownEsCluster structure.

func (*ShutdownEsClusterReader) ReadResponse

func (o *ShutdownEsClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ShutdownEsClusterRetryWith

type ShutdownEsClusterRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
ShutdownEsClusterRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewShutdownEsClusterRetryWith

func NewShutdownEsClusterRetryWith() *ShutdownEsClusterRetryWith

NewShutdownEsClusterRetryWith creates a ShutdownEsClusterRetryWith with default headers values

func (*ShutdownEsClusterRetryWith) Error

func (*ShutdownEsClusterRetryWith) GetPayload

type SnapshotEsClusterAccepted

type SnapshotEsClusterAccepted struct {
	Payload *models.ClusterSnapshotResponse
}
SnapshotEsClusterAccepted describes a response with status code 202, with default header values.

The create command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

func NewSnapshotEsClusterAccepted

func NewSnapshotEsClusterAccepted() *SnapshotEsClusterAccepted

NewSnapshotEsClusterAccepted creates a SnapshotEsClusterAccepted with default headers values

func (*SnapshotEsClusterAccepted) Error

func (o *SnapshotEsClusterAccepted) Error() string

func (*SnapshotEsClusterAccepted) GetPayload

type SnapshotEsClusterConflict

type SnapshotEsClusterConflict struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
SnapshotEsClusterConflict describes a response with status code 409, with default header values.

The cluster name specified is already in use. (code: `clusters.snapshot.name_conflict`)

func NewSnapshotEsClusterConflict

func NewSnapshotEsClusterConflict() *SnapshotEsClusterConflict

NewSnapshotEsClusterConflict creates a SnapshotEsClusterConflict with default headers values

func (*SnapshotEsClusterConflict) Error

func (o *SnapshotEsClusterConflict) Error() string

func (*SnapshotEsClusterConflict) GetPayload

type SnapshotEsClusterInternalServerError

type SnapshotEsClusterInternalServerError struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
SnapshotEsClusterInternalServerError describes a response with status code 500, with default header values.

* The snapshot request failed. (code: `clusters.snapshot.failed`)

* The snapshot request failed. (code: `clusters.snapshot.repository_not_found`)

func NewSnapshotEsClusterInternalServerError

func NewSnapshotEsClusterInternalServerError() *SnapshotEsClusterInternalServerError

NewSnapshotEsClusterInternalServerError creates a SnapshotEsClusterInternalServerError with default headers values

func (*SnapshotEsClusterInternalServerError) Error

func (*SnapshotEsClusterInternalServerError) GetPayload

type SnapshotEsClusterNotFound

type SnapshotEsClusterNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
SnapshotEsClusterNotFound describes a response with status code 404, with default header values.

* The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

* The snapshot repository was not found. (code: `clusters.snapshot.repository_not_found`)

func NewSnapshotEsClusterNotFound

func NewSnapshotEsClusterNotFound() *SnapshotEsClusterNotFound

NewSnapshotEsClusterNotFound creates a SnapshotEsClusterNotFound with default headers values

func (*SnapshotEsClusterNotFound) Error

func (o *SnapshotEsClusterNotFound) Error() string

func (*SnapshotEsClusterNotFound) GetPayload

type SnapshotEsClusterParams

type SnapshotEsClusterParams struct {

	/* Body.

	   Overrides default settings for the snapshot
	*/
	Body *models.ClusterSnapshotRequest

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SnapshotEsClusterParams contains all the parameters to send to the API endpoint

for the snapshot es cluster operation.

Typically these are written to a http.Request.

func NewSnapshotEsClusterParams

func NewSnapshotEsClusterParams() *SnapshotEsClusterParams

NewSnapshotEsClusterParams creates a new SnapshotEsClusterParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSnapshotEsClusterParamsWithContext

func NewSnapshotEsClusterParamsWithContext(ctx context.Context) *SnapshotEsClusterParams

NewSnapshotEsClusterParamsWithContext creates a new SnapshotEsClusterParams object with the ability to set a context for a request.

func NewSnapshotEsClusterParamsWithHTTPClient

func NewSnapshotEsClusterParamsWithHTTPClient(client *http.Client) *SnapshotEsClusterParams

NewSnapshotEsClusterParamsWithHTTPClient creates a new SnapshotEsClusterParams object with the ability to set a custom HTTPClient for a request.

func NewSnapshotEsClusterParamsWithTimeout

func NewSnapshotEsClusterParamsWithTimeout(timeout time.Duration) *SnapshotEsClusterParams

NewSnapshotEsClusterParamsWithTimeout creates a new SnapshotEsClusterParams object with the ability to set a timeout on a request.

func (*SnapshotEsClusterParams) SetBody

SetBody adds the body to the snapshot es cluster params

func (*SnapshotEsClusterParams) SetClusterID

func (o *SnapshotEsClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the snapshot es cluster params

func (*SnapshotEsClusterParams) SetContext

func (o *SnapshotEsClusterParams) SetContext(ctx context.Context)

SetContext adds the context to the snapshot es cluster params

func (*SnapshotEsClusterParams) SetDefaults added in v1.3.0

func (o *SnapshotEsClusterParams) SetDefaults()

SetDefaults hydrates default values in the snapshot es cluster params (not the query body).

All values with no default are reset to their zero value.

func (*SnapshotEsClusterParams) SetHTTPClient

func (o *SnapshotEsClusterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the snapshot es cluster params

func (*SnapshotEsClusterParams) SetTimeout

func (o *SnapshotEsClusterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the snapshot es cluster params

func (*SnapshotEsClusterParams) WithBody

WithBody adds the body to the snapshot es cluster params

func (*SnapshotEsClusterParams) WithClusterID

func (o *SnapshotEsClusterParams) WithClusterID(clusterID string) *SnapshotEsClusterParams

WithClusterID adds the clusterID to the snapshot es cluster params

func (*SnapshotEsClusterParams) WithContext

WithContext adds the context to the snapshot es cluster params

func (*SnapshotEsClusterParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the snapshot es cluster params (not the query body).

All values with no default are reset to their zero value.

func (*SnapshotEsClusterParams) WithHTTPClient

func (o *SnapshotEsClusterParams) WithHTTPClient(client *http.Client) *SnapshotEsClusterParams

WithHTTPClient adds the HTTPClient to the snapshot es cluster params

func (*SnapshotEsClusterParams) WithTimeout

WithTimeout adds the timeout to the snapshot es cluster params

func (*SnapshotEsClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SnapshotEsClusterReader

type SnapshotEsClusterReader struct {
	// contains filtered or unexported fields
}

SnapshotEsClusterReader is a Reader for the SnapshotEsCluster structure.

func (*SnapshotEsClusterReader) ReadResponse

func (o *SnapshotEsClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SnapshotEsClusterRetryWith

type SnapshotEsClusterRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
SnapshotEsClusterRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewSnapshotEsClusterRetryWith

func NewSnapshotEsClusterRetryWith() *SnapshotEsClusterRetryWith

NewSnapshotEsClusterRetryWith creates a SnapshotEsClusterRetryWith with default headers values

func (*SnapshotEsClusterRetryWith) Error

func (*SnapshotEsClusterRetryWith) GetPayload

type SnapshotEsClusterUnauthorized

type SnapshotEsClusterUnauthorized struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
SnapshotEsClusterUnauthorized describes a response with status code 401, with default header values.

The supplied credentials for the snapshot repository are invalid. (code: `clusters.snapshot.invalid_credentials`)

func NewSnapshotEsClusterUnauthorized

func NewSnapshotEsClusterUnauthorized() *SnapshotEsClusterUnauthorized

NewSnapshotEsClusterUnauthorized creates a SnapshotEsClusterUnauthorized with default headers values

func (*SnapshotEsClusterUnauthorized) Error

func (*SnapshotEsClusterUnauthorized) GetPayload

type StartEsClusterInstancesAccepted

type StartEsClusterInstancesAccepted struct {
	Payload *models.ClusterCommandResponse
}
StartEsClusterInstancesAccepted describes a response with status code 202, with default header values.

The start command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

func NewStartEsClusterInstancesAccepted

func NewStartEsClusterInstancesAccepted() *StartEsClusterInstancesAccepted

NewStartEsClusterInstancesAccepted creates a StartEsClusterInstancesAccepted with default headers values

func (*StartEsClusterInstancesAccepted) Error

func (*StartEsClusterInstancesAccepted) GetPayload

type StartEsClusterInstancesAllAccepted

type StartEsClusterInstancesAllAccepted struct {
	Payload *models.ClusterCommandResponse
}
StartEsClusterInstancesAllAccepted describes a response with status code 202, with default header values.

The start command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

func NewStartEsClusterInstancesAllAccepted

func NewStartEsClusterInstancesAllAccepted() *StartEsClusterInstancesAllAccepted

NewStartEsClusterInstancesAllAccepted creates a StartEsClusterInstancesAllAccepted with default headers values

func (*StartEsClusterInstancesAllAccepted) Error

func (*StartEsClusterInstancesAllAccepted) GetPayload

type StartEsClusterInstancesAllForbidden

type StartEsClusterInstancesAllForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StartEsClusterInstancesAllForbidden describes a response with status code 403, with default header values.

The start command was prohibited for the given cluster. (code: `clusters.command_prohibited`)

func NewStartEsClusterInstancesAllForbidden

func NewStartEsClusterInstancesAllForbidden() *StartEsClusterInstancesAllForbidden

NewStartEsClusterInstancesAllForbidden creates a StartEsClusterInstancesAllForbidden with default headers values

func (*StartEsClusterInstancesAllForbidden) Error

func (*StartEsClusterInstancesAllForbidden) GetPayload

type StartEsClusterInstancesAllMaintenanceModeAccepted

type StartEsClusterInstancesAllMaintenanceModeAccepted struct {
	Payload *models.ClusterCommandResponse
}
StartEsClusterInstancesAllMaintenanceModeAccepted describes a response with status code 202, with default header values.

The start maintenance mode command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

func NewStartEsClusterInstancesAllMaintenanceModeAccepted

func NewStartEsClusterInstancesAllMaintenanceModeAccepted() *StartEsClusterInstancesAllMaintenanceModeAccepted

NewStartEsClusterInstancesAllMaintenanceModeAccepted creates a StartEsClusterInstancesAllMaintenanceModeAccepted with default headers values

func (*StartEsClusterInstancesAllMaintenanceModeAccepted) Error

func (*StartEsClusterInstancesAllMaintenanceModeAccepted) GetPayload

type StartEsClusterInstancesAllMaintenanceModeForbidden

type StartEsClusterInstancesAllMaintenanceModeForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StartEsClusterInstancesAllMaintenanceModeForbidden describes a response with status code 403, with default header values.

The start maintenance mode command was prohibited for the given cluster. (code: `clusters.command_prohibited`)

func NewStartEsClusterInstancesAllMaintenanceModeForbidden

func NewStartEsClusterInstancesAllMaintenanceModeForbidden() *StartEsClusterInstancesAllMaintenanceModeForbidden

NewStartEsClusterInstancesAllMaintenanceModeForbidden creates a StartEsClusterInstancesAllMaintenanceModeForbidden with default headers values

func (*StartEsClusterInstancesAllMaintenanceModeForbidden) Error

func (*StartEsClusterInstancesAllMaintenanceModeForbidden) GetPayload

type StartEsClusterInstancesAllMaintenanceModeNotFound

type StartEsClusterInstancesAllMaintenanceModeNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StartEsClusterInstancesAllMaintenanceModeNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewStartEsClusterInstancesAllMaintenanceModeNotFound

func NewStartEsClusterInstancesAllMaintenanceModeNotFound() *StartEsClusterInstancesAllMaintenanceModeNotFound

NewStartEsClusterInstancesAllMaintenanceModeNotFound creates a StartEsClusterInstancesAllMaintenanceModeNotFound with default headers values

func (*StartEsClusterInstancesAllMaintenanceModeNotFound) Error

func (*StartEsClusterInstancesAllMaintenanceModeNotFound) GetPayload

type StartEsClusterInstancesAllMaintenanceModeParams

type StartEsClusterInstancesAllMaintenanceModeParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StartEsClusterInstancesAllMaintenanceModeParams contains all the parameters to send to the API endpoint

for the start es cluster instances all maintenance mode operation.

Typically these are written to a http.Request.

func NewStartEsClusterInstancesAllMaintenanceModeParams

func NewStartEsClusterInstancesAllMaintenanceModeParams() *StartEsClusterInstancesAllMaintenanceModeParams

NewStartEsClusterInstancesAllMaintenanceModeParams creates a new StartEsClusterInstancesAllMaintenanceModeParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStartEsClusterInstancesAllMaintenanceModeParamsWithContext

func NewStartEsClusterInstancesAllMaintenanceModeParamsWithContext(ctx context.Context) *StartEsClusterInstancesAllMaintenanceModeParams

NewStartEsClusterInstancesAllMaintenanceModeParamsWithContext creates a new StartEsClusterInstancesAllMaintenanceModeParams object with the ability to set a context for a request.

func NewStartEsClusterInstancesAllMaintenanceModeParamsWithHTTPClient

func NewStartEsClusterInstancesAllMaintenanceModeParamsWithHTTPClient(client *http.Client) *StartEsClusterInstancesAllMaintenanceModeParams

NewStartEsClusterInstancesAllMaintenanceModeParamsWithHTTPClient creates a new StartEsClusterInstancesAllMaintenanceModeParams object with the ability to set a custom HTTPClient for a request.

func NewStartEsClusterInstancesAllMaintenanceModeParamsWithTimeout

func NewStartEsClusterInstancesAllMaintenanceModeParamsWithTimeout(timeout time.Duration) *StartEsClusterInstancesAllMaintenanceModeParams

NewStartEsClusterInstancesAllMaintenanceModeParamsWithTimeout creates a new StartEsClusterInstancesAllMaintenanceModeParams object with the ability to set a timeout on a request.

func (*StartEsClusterInstancesAllMaintenanceModeParams) SetClusterID

func (o *StartEsClusterInstancesAllMaintenanceModeParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the start es cluster instances all maintenance mode params

func (*StartEsClusterInstancesAllMaintenanceModeParams) SetContext

SetContext adds the context to the start es cluster instances all maintenance mode params

func (*StartEsClusterInstancesAllMaintenanceModeParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the start es cluster instances all maintenance mode params (not the query body).

All values with no default are reset to their zero value.

func (*StartEsClusterInstancesAllMaintenanceModeParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the start es cluster instances all maintenance mode params

func (*StartEsClusterInstancesAllMaintenanceModeParams) SetTimeout

SetTimeout adds the timeout to the start es cluster instances all maintenance mode params

func (*StartEsClusterInstancesAllMaintenanceModeParams) WithClusterID

WithClusterID adds the clusterID to the start es cluster instances all maintenance mode params

func (*StartEsClusterInstancesAllMaintenanceModeParams) WithContext

WithContext adds the context to the start es cluster instances all maintenance mode params

func (*StartEsClusterInstancesAllMaintenanceModeParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the start es cluster instances all maintenance mode params (not the query body).

All values with no default are reset to their zero value.

func (*StartEsClusterInstancesAllMaintenanceModeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the start es cluster instances all maintenance mode params

func (*StartEsClusterInstancesAllMaintenanceModeParams) WithTimeout

WithTimeout adds the timeout to the start es cluster instances all maintenance mode params

func (*StartEsClusterInstancesAllMaintenanceModeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StartEsClusterInstancesAllMaintenanceModeReader

type StartEsClusterInstancesAllMaintenanceModeReader struct {
	// contains filtered or unexported fields
}

StartEsClusterInstancesAllMaintenanceModeReader is a Reader for the StartEsClusterInstancesAllMaintenanceMode structure.

func (*StartEsClusterInstancesAllMaintenanceModeReader) ReadResponse

func (o *StartEsClusterInstancesAllMaintenanceModeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StartEsClusterInstancesAllMaintenanceModeRetryWith

type StartEsClusterInstancesAllMaintenanceModeRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StartEsClusterInstancesAllMaintenanceModeRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewStartEsClusterInstancesAllMaintenanceModeRetryWith

func NewStartEsClusterInstancesAllMaintenanceModeRetryWith() *StartEsClusterInstancesAllMaintenanceModeRetryWith

NewStartEsClusterInstancesAllMaintenanceModeRetryWith creates a StartEsClusterInstancesAllMaintenanceModeRetryWith with default headers values

func (*StartEsClusterInstancesAllMaintenanceModeRetryWith) Error

func (*StartEsClusterInstancesAllMaintenanceModeRetryWith) GetPayload

type StartEsClusterInstancesAllNotFound

type StartEsClusterInstancesAllNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StartEsClusterInstancesAllNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewStartEsClusterInstancesAllNotFound

func NewStartEsClusterInstancesAllNotFound() *StartEsClusterInstancesAllNotFound

NewStartEsClusterInstancesAllNotFound creates a StartEsClusterInstancesAllNotFound with default headers values

func (*StartEsClusterInstancesAllNotFound) Error

func (*StartEsClusterInstancesAllNotFound) GetPayload

type StartEsClusterInstancesAllParams

type StartEsClusterInstancesAllParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StartEsClusterInstancesAllParams contains all the parameters to send to the API endpoint

for the start es cluster instances all operation.

Typically these are written to a http.Request.

func NewStartEsClusterInstancesAllParams

func NewStartEsClusterInstancesAllParams() *StartEsClusterInstancesAllParams

NewStartEsClusterInstancesAllParams creates a new StartEsClusterInstancesAllParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStartEsClusterInstancesAllParamsWithContext

func NewStartEsClusterInstancesAllParamsWithContext(ctx context.Context) *StartEsClusterInstancesAllParams

NewStartEsClusterInstancesAllParamsWithContext creates a new StartEsClusterInstancesAllParams object with the ability to set a context for a request.

func NewStartEsClusterInstancesAllParamsWithHTTPClient

func NewStartEsClusterInstancesAllParamsWithHTTPClient(client *http.Client) *StartEsClusterInstancesAllParams

NewStartEsClusterInstancesAllParamsWithHTTPClient creates a new StartEsClusterInstancesAllParams object with the ability to set a custom HTTPClient for a request.

func NewStartEsClusterInstancesAllParamsWithTimeout

func NewStartEsClusterInstancesAllParamsWithTimeout(timeout time.Duration) *StartEsClusterInstancesAllParams

NewStartEsClusterInstancesAllParamsWithTimeout creates a new StartEsClusterInstancesAllParams object with the ability to set a timeout on a request.

func (*StartEsClusterInstancesAllParams) SetClusterID

func (o *StartEsClusterInstancesAllParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the start es cluster instances all params

func (*StartEsClusterInstancesAllParams) SetContext

SetContext adds the context to the start es cluster instances all params

func (*StartEsClusterInstancesAllParams) SetDefaults added in v1.3.0

func (o *StartEsClusterInstancesAllParams) SetDefaults()

SetDefaults hydrates default values in the start es cluster instances all params (not the query body).

All values with no default are reset to their zero value.

func (*StartEsClusterInstancesAllParams) SetHTTPClient

func (o *StartEsClusterInstancesAllParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the start es cluster instances all params

func (*StartEsClusterInstancesAllParams) SetTimeout

func (o *StartEsClusterInstancesAllParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the start es cluster instances all params

func (*StartEsClusterInstancesAllParams) WithClusterID

WithClusterID adds the clusterID to the start es cluster instances all params

func (*StartEsClusterInstancesAllParams) WithContext

WithContext adds the context to the start es cluster instances all params

func (*StartEsClusterInstancesAllParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the start es cluster instances all params (not the query body).

All values with no default are reset to their zero value.

func (*StartEsClusterInstancesAllParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the start es cluster instances all params

func (*StartEsClusterInstancesAllParams) WithTimeout

WithTimeout adds the timeout to the start es cluster instances all params

func (*StartEsClusterInstancesAllParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StartEsClusterInstancesAllReader

type StartEsClusterInstancesAllReader struct {
	// contains filtered or unexported fields
}

StartEsClusterInstancesAllReader is a Reader for the StartEsClusterInstancesAll structure.

func (*StartEsClusterInstancesAllReader) ReadResponse

func (o *StartEsClusterInstancesAllReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StartEsClusterInstancesAllRetryWith

type StartEsClusterInstancesAllRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StartEsClusterInstancesAllRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewStartEsClusterInstancesAllRetryWith

func NewStartEsClusterInstancesAllRetryWith() *StartEsClusterInstancesAllRetryWith

NewStartEsClusterInstancesAllRetryWith creates a StartEsClusterInstancesAllRetryWith with default headers values

func (*StartEsClusterInstancesAllRetryWith) Error

func (*StartEsClusterInstancesAllRetryWith) GetPayload

type StartEsClusterInstancesForbidden

type StartEsClusterInstancesForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StartEsClusterInstancesForbidden describes a response with status code 403, with default header values.

The start command was prohibited for the given cluster. (code: `clusters.command_prohibited`)

func NewStartEsClusterInstancesForbidden

func NewStartEsClusterInstancesForbidden() *StartEsClusterInstancesForbidden

NewStartEsClusterInstancesForbidden creates a StartEsClusterInstancesForbidden with default headers values

func (*StartEsClusterInstancesForbidden) Error

func (*StartEsClusterInstancesForbidden) GetPayload

type StartEsClusterInstancesNotFound

type StartEsClusterInstancesNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StartEsClusterInstancesNotFound describes a response with status code 404, with default header values.

* The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

* One or more of the instances specified at {instance_ids} could not be found. (code: `clusters.instances_not_found`)

func NewStartEsClusterInstancesNotFound

func NewStartEsClusterInstancesNotFound() *StartEsClusterInstancesNotFound

NewStartEsClusterInstancesNotFound creates a StartEsClusterInstancesNotFound with default headers values

func (*StartEsClusterInstancesNotFound) Error

func (*StartEsClusterInstancesNotFound) GetPayload

type StartEsClusterInstancesParams

type StartEsClusterInstancesParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* IgnoreMissing.

	   When `true` and the instance does not exist, proceeds to the next instance, or treats the instance as an error.
	*/
	IgnoreMissing *bool

	/* InstanceIds.

	   A comma-separated list of instance identifiers.
	*/
	InstanceIds []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StartEsClusterInstancesParams contains all the parameters to send to the API endpoint

for the start es cluster instances operation.

Typically these are written to a http.Request.

func NewStartEsClusterInstancesParams

func NewStartEsClusterInstancesParams() *StartEsClusterInstancesParams

NewStartEsClusterInstancesParams creates a new StartEsClusterInstancesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStartEsClusterInstancesParamsWithContext

func NewStartEsClusterInstancesParamsWithContext(ctx context.Context) *StartEsClusterInstancesParams

NewStartEsClusterInstancesParamsWithContext creates a new StartEsClusterInstancesParams object with the ability to set a context for a request.

func NewStartEsClusterInstancesParamsWithHTTPClient

func NewStartEsClusterInstancesParamsWithHTTPClient(client *http.Client) *StartEsClusterInstancesParams

NewStartEsClusterInstancesParamsWithHTTPClient creates a new StartEsClusterInstancesParams object with the ability to set a custom HTTPClient for a request.

func NewStartEsClusterInstancesParamsWithTimeout

func NewStartEsClusterInstancesParamsWithTimeout(timeout time.Duration) *StartEsClusterInstancesParams

NewStartEsClusterInstancesParamsWithTimeout creates a new StartEsClusterInstancesParams object with the ability to set a timeout on a request.

func (*StartEsClusterInstancesParams) SetClusterID

func (o *StartEsClusterInstancesParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the start es cluster instances params

func (*StartEsClusterInstancesParams) SetContext

func (o *StartEsClusterInstancesParams) SetContext(ctx context.Context)

SetContext adds the context to the start es cluster instances params

func (*StartEsClusterInstancesParams) SetDefaults added in v1.3.0

func (o *StartEsClusterInstancesParams) SetDefaults()

SetDefaults hydrates default values in the start es cluster instances params (not the query body).

All values with no default are reset to their zero value.

func (*StartEsClusterInstancesParams) SetHTTPClient

func (o *StartEsClusterInstancesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the start es cluster instances params

func (*StartEsClusterInstancesParams) SetIgnoreMissing

func (o *StartEsClusterInstancesParams) SetIgnoreMissing(ignoreMissing *bool)

SetIgnoreMissing adds the ignoreMissing to the start es cluster instances params

func (*StartEsClusterInstancesParams) SetInstanceIds

func (o *StartEsClusterInstancesParams) SetInstanceIds(instanceIds []string)

SetInstanceIds adds the instanceIds to the start es cluster instances params

func (*StartEsClusterInstancesParams) SetTimeout

func (o *StartEsClusterInstancesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the start es cluster instances params

func (*StartEsClusterInstancesParams) WithClusterID

WithClusterID adds the clusterID to the start es cluster instances params

func (*StartEsClusterInstancesParams) WithContext

WithContext adds the context to the start es cluster instances params

func (*StartEsClusterInstancesParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the start es cluster instances params (not the query body).

All values with no default are reset to their zero value.

func (*StartEsClusterInstancesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the start es cluster instances params

func (*StartEsClusterInstancesParams) WithIgnoreMissing

func (o *StartEsClusterInstancesParams) WithIgnoreMissing(ignoreMissing *bool) *StartEsClusterInstancesParams

WithIgnoreMissing adds the ignoreMissing to the start es cluster instances params

func (*StartEsClusterInstancesParams) WithInstanceIds

func (o *StartEsClusterInstancesParams) WithInstanceIds(instanceIds []string) *StartEsClusterInstancesParams

WithInstanceIds adds the instanceIds to the start es cluster instances params

func (*StartEsClusterInstancesParams) WithTimeout

WithTimeout adds the timeout to the start es cluster instances params

func (*StartEsClusterInstancesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StartEsClusterInstancesReader

type StartEsClusterInstancesReader struct {
	// contains filtered or unexported fields
}

StartEsClusterInstancesReader is a Reader for the StartEsClusterInstances structure.

func (*StartEsClusterInstancesReader) ReadResponse

func (o *StartEsClusterInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StartEsClusterInstancesRetryWith

type StartEsClusterInstancesRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StartEsClusterInstancesRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewStartEsClusterInstancesRetryWith

func NewStartEsClusterInstancesRetryWith() *StartEsClusterInstancesRetryWith

NewStartEsClusterInstancesRetryWith creates a StartEsClusterInstancesRetryWith with default headers values

func (*StartEsClusterInstancesRetryWith) Error

func (*StartEsClusterInstancesRetryWith) GetPayload

type StartEsClusterMaintenanceModeAccepted

type StartEsClusterMaintenanceModeAccepted struct {
	Payload *models.ClusterCommandResponse
}
StartEsClusterMaintenanceModeAccepted describes a response with status code 202, with default header values.

The start maintenance mode command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

func NewStartEsClusterMaintenanceModeAccepted

func NewStartEsClusterMaintenanceModeAccepted() *StartEsClusterMaintenanceModeAccepted

NewStartEsClusterMaintenanceModeAccepted creates a StartEsClusterMaintenanceModeAccepted with default headers values

func (*StartEsClusterMaintenanceModeAccepted) Error

func (*StartEsClusterMaintenanceModeAccepted) GetPayload

type StartEsClusterMaintenanceModeForbidden

type StartEsClusterMaintenanceModeForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StartEsClusterMaintenanceModeForbidden describes a response with status code 403, with default header values.

The start maintenance mode command was prohibited for the given cluster. (code: `clusters.command_prohibited`)

func NewStartEsClusterMaintenanceModeForbidden

func NewStartEsClusterMaintenanceModeForbidden() *StartEsClusterMaintenanceModeForbidden

NewStartEsClusterMaintenanceModeForbidden creates a StartEsClusterMaintenanceModeForbidden with default headers values

func (*StartEsClusterMaintenanceModeForbidden) Error

func (*StartEsClusterMaintenanceModeForbidden) GetPayload

type StartEsClusterMaintenanceModeNotFound

type StartEsClusterMaintenanceModeNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StartEsClusterMaintenanceModeNotFound describes a response with status code 404, with default header values.

* The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

* One or more of the instances specified at {instance_ids} could not be found. (code: `clusters.instances_not_found`)

func NewStartEsClusterMaintenanceModeNotFound

func NewStartEsClusterMaintenanceModeNotFound() *StartEsClusterMaintenanceModeNotFound

NewStartEsClusterMaintenanceModeNotFound creates a StartEsClusterMaintenanceModeNotFound with default headers values

func (*StartEsClusterMaintenanceModeNotFound) Error

func (*StartEsClusterMaintenanceModeNotFound) GetPayload

type StartEsClusterMaintenanceModeParams

type StartEsClusterMaintenanceModeParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* IgnoreMissing.

	   When `true` and the instance does not exist, proceeds to the next instance, or treats the instance as an error.
	*/
	IgnoreMissing *bool

	/* InstanceIds.

	   A comma-separated list of instance identifiers.
	*/
	InstanceIds []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StartEsClusterMaintenanceModeParams contains all the parameters to send to the API endpoint

for the start es cluster maintenance mode operation.

Typically these are written to a http.Request.

func NewStartEsClusterMaintenanceModeParams

func NewStartEsClusterMaintenanceModeParams() *StartEsClusterMaintenanceModeParams

NewStartEsClusterMaintenanceModeParams creates a new StartEsClusterMaintenanceModeParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStartEsClusterMaintenanceModeParamsWithContext

func NewStartEsClusterMaintenanceModeParamsWithContext(ctx context.Context) *StartEsClusterMaintenanceModeParams

NewStartEsClusterMaintenanceModeParamsWithContext creates a new StartEsClusterMaintenanceModeParams object with the ability to set a context for a request.

func NewStartEsClusterMaintenanceModeParamsWithHTTPClient

func NewStartEsClusterMaintenanceModeParamsWithHTTPClient(client *http.Client) *StartEsClusterMaintenanceModeParams

NewStartEsClusterMaintenanceModeParamsWithHTTPClient creates a new StartEsClusterMaintenanceModeParams object with the ability to set a custom HTTPClient for a request.

func NewStartEsClusterMaintenanceModeParamsWithTimeout

func NewStartEsClusterMaintenanceModeParamsWithTimeout(timeout time.Duration) *StartEsClusterMaintenanceModeParams

NewStartEsClusterMaintenanceModeParamsWithTimeout creates a new StartEsClusterMaintenanceModeParams object with the ability to set a timeout on a request.

func (*StartEsClusterMaintenanceModeParams) SetClusterID

func (o *StartEsClusterMaintenanceModeParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the start es cluster maintenance mode params

func (*StartEsClusterMaintenanceModeParams) SetContext

SetContext adds the context to the start es cluster maintenance mode params

func (*StartEsClusterMaintenanceModeParams) SetDefaults added in v1.3.0

func (o *StartEsClusterMaintenanceModeParams) SetDefaults()

SetDefaults hydrates default values in the start es cluster maintenance mode params (not the query body).

All values with no default are reset to their zero value.

func (*StartEsClusterMaintenanceModeParams) SetHTTPClient

func (o *StartEsClusterMaintenanceModeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the start es cluster maintenance mode params

func (*StartEsClusterMaintenanceModeParams) SetIgnoreMissing

func (o *StartEsClusterMaintenanceModeParams) SetIgnoreMissing(ignoreMissing *bool)

SetIgnoreMissing adds the ignoreMissing to the start es cluster maintenance mode params

func (*StartEsClusterMaintenanceModeParams) SetInstanceIds

func (o *StartEsClusterMaintenanceModeParams) SetInstanceIds(instanceIds []string)

SetInstanceIds adds the instanceIds to the start es cluster maintenance mode params

func (*StartEsClusterMaintenanceModeParams) SetTimeout

func (o *StartEsClusterMaintenanceModeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the start es cluster maintenance mode params

func (*StartEsClusterMaintenanceModeParams) WithClusterID

WithClusterID adds the clusterID to the start es cluster maintenance mode params

func (*StartEsClusterMaintenanceModeParams) WithContext

WithContext adds the context to the start es cluster maintenance mode params

func (*StartEsClusterMaintenanceModeParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the start es cluster maintenance mode params (not the query body).

All values with no default are reset to their zero value.

func (*StartEsClusterMaintenanceModeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the start es cluster maintenance mode params

func (*StartEsClusterMaintenanceModeParams) WithIgnoreMissing

WithIgnoreMissing adds the ignoreMissing to the start es cluster maintenance mode params

func (*StartEsClusterMaintenanceModeParams) WithInstanceIds

WithInstanceIds adds the instanceIds to the start es cluster maintenance mode params

func (*StartEsClusterMaintenanceModeParams) WithTimeout

WithTimeout adds the timeout to the start es cluster maintenance mode params

func (*StartEsClusterMaintenanceModeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StartEsClusterMaintenanceModeReader

type StartEsClusterMaintenanceModeReader struct {
	// contains filtered or unexported fields
}

StartEsClusterMaintenanceModeReader is a Reader for the StartEsClusterMaintenanceMode structure.

func (*StartEsClusterMaintenanceModeReader) ReadResponse

func (o *StartEsClusterMaintenanceModeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StartEsClusterMaintenanceModeRetryWith

type StartEsClusterMaintenanceModeRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StartEsClusterMaintenanceModeRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewStartEsClusterMaintenanceModeRetryWith

func NewStartEsClusterMaintenanceModeRetryWith() *StartEsClusterMaintenanceModeRetryWith

NewStartEsClusterMaintenanceModeRetryWith creates a StartEsClusterMaintenanceModeRetryWith with default headers values

func (*StartEsClusterMaintenanceModeRetryWith) Error

func (*StartEsClusterMaintenanceModeRetryWith) GetPayload

type StopEsClusterInstancesAccepted

type StopEsClusterInstancesAccepted struct {
	Payload *models.ClusterCommandResponse
}
StopEsClusterInstancesAccepted describes a response with status code 202, with default header values.

The stop command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

func NewStopEsClusterInstancesAccepted

func NewStopEsClusterInstancesAccepted() *StopEsClusterInstancesAccepted

NewStopEsClusterInstancesAccepted creates a StopEsClusterInstancesAccepted with default headers values

func (*StopEsClusterInstancesAccepted) Error

func (*StopEsClusterInstancesAccepted) GetPayload

type StopEsClusterInstancesAllAccepted

type StopEsClusterInstancesAllAccepted struct {
	Payload *models.ClusterCommandResponse
}
StopEsClusterInstancesAllAccepted describes a response with status code 202, with default header values.

The stop command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

func NewStopEsClusterInstancesAllAccepted

func NewStopEsClusterInstancesAllAccepted() *StopEsClusterInstancesAllAccepted

NewStopEsClusterInstancesAllAccepted creates a StopEsClusterInstancesAllAccepted with default headers values

func (*StopEsClusterInstancesAllAccepted) Error

func (*StopEsClusterInstancesAllAccepted) GetPayload

type StopEsClusterInstancesAllForbidden

type StopEsClusterInstancesAllForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StopEsClusterInstancesAllForbidden describes a response with status code 403, with default header values.

The stop command was prohibited for the given cluster. (code: `clusters.command_prohibited`)

func NewStopEsClusterInstancesAllForbidden

func NewStopEsClusterInstancesAllForbidden() *StopEsClusterInstancesAllForbidden

NewStopEsClusterInstancesAllForbidden creates a StopEsClusterInstancesAllForbidden with default headers values

func (*StopEsClusterInstancesAllForbidden) Error

func (*StopEsClusterInstancesAllForbidden) GetPayload

type StopEsClusterInstancesAllMaintenanceModeAccepted

type StopEsClusterInstancesAllMaintenanceModeAccepted struct {
	Payload *models.ClusterCommandResponse
}
StopEsClusterInstancesAllMaintenanceModeAccepted describes a response with status code 202, with default header values.

The stop maintenance mode command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

func NewStopEsClusterInstancesAllMaintenanceModeAccepted

func NewStopEsClusterInstancesAllMaintenanceModeAccepted() *StopEsClusterInstancesAllMaintenanceModeAccepted

NewStopEsClusterInstancesAllMaintenanceModeAccepted creates a StopEsClusterInstancesAllMaintenanceModeAccepted with default headers values

func (*StopEsClusterInstancesAllMaintenanceModeAccepted) Error

func (*StopEsClusterInstancesAllMaintenanceModeAccepted) GetPayload

type StopEsClusterInstancesAllMaintenanceModeForbidden

type StopEsClusterInstancesAllMaintenanceModeForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StopEsClusterInstancesAllMaintenanceModeForbidden describes a response with status code 403, with default header values.

The stop maintenance mode command was prohibited for the given cluster. (code: `clusters.command_prohibited`)

func NewStopEsClusterInstancesAllMaintenanceModeForbidden

func NewStopEsClusterInstancesAllMaintenanceModeForbidden() *StopEsClusterInstancesAllMaintenanceModeForbidden

NewStopEsClusterInstancesAllMaintenanceModeForbidden creates a StopEsClusterInstancesAllMaintenanceModeForbidden with default headers values

func (*StopEsClusterInstancesAllMaintenanceModeForbidden) Error

func (*StopEsClusterInstancesAllMaintenanceModeForbidden) GetPayload

type StopEsClusterInstancesAllMaintenanceModeNotFound

type StopEsClusterInstancesAllMaintenanceModeNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StopEsClusterInstancesAllMaintenanceModeNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewStopEsClusterInstancesAllMaintenanceModeNotFound

func NewStopEsClusterInstancesAllMaintenanceModeNotFound() *StopEsClusterInstancesAllMaintenanceModeNotFound

NewStopEsClusterInstancesAllMaintenanceModeNotFound creates a StopEsClusterInstancesAllMaintenanceModeNotFound with default headers values

func (*StopEsClusterInstancesAllMaintenanceModeNotFound) Error

func (*StopEsClusterInstancesAllMaintenanceModeNotFound) GetPayload

type StopEsClusterInstancesAllMaintenanceModeParams

type StopEsClusterInstancesAllMaintenanceModeParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StopEsClusterInstancesAllMaintenanceModeParams contains all the parameters to send to the API endpoint

for the stop es cluster instances all maintenance mode operation.

Typically these are written to a http.Request.

func NewStopEsClusterInstancesAllMaintenanceModeParams

func NewStopEsClusterInstancesAllMaintenanceModeParams() *StopEsClusterInstancesAllMaintenanceModeParams

NewStopEsClusterInstancesAllMaintenanceModeParams creates a new StopEsClusterInstancesAllMaintenanceModeParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStopEsClusterInstancesAllMaintenanceModeParamsWithContext

func NewStopEsClusterInstancesAllMaintenanceModeParamsWithContext(ctx context.Context) *StopEsClusterInstancesAllMaintenanceModeParams

NewStopEsClusterInstancesAllMaintenanceModeParamsWithContext creates a new StopEsClusterInstancesAllMaintenanceModeParams object with the ability to set a context for a request.

func NewStopEsClusterInstancesAllMaintenanceModeParamsWithHTTPClient

func NewStopEsClusterInstancesAllMaintenanceModeParamsWithHTTPClient(client *http.Client) *StopEsClusterInstancesAllMaintenanceModeParams

NewStopEsClusterInstancesAllMaintenanceModeParamsWithHTTPClient creates a new StopEsClusterInstancesAllMaintenanceModeParams object with the ability to set a custom HTTPClient for a request.

func NewStopEsClusterInstancesAllMaintenanceModeParamsWithTimeout

func NewStopEsClusterInstancesAllMaintenanceModeParamsWithTimeout(timeout time.Duration) *StopEsClusterInstancesAllMaintenanceModeParams

NewStopEsClusterInstancesAllMaintenanceModeParamsWithTimeout creates a new StopEsClusterInstancesAllMaintenanceModeParams object with the ability to set a timeout on a request.

func (*StopEsClusterInstancesAllMaintenanceModeParams) SetClusterID

func (o *StopEsClusterInstancesAllMaintenanceModeParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the stop es cluster instances all maintenance mode params

func (*StopEsClusterInstancesAllMaintenanceModeParams) SetContext

SetContext adds the context to the stop es cluster instances all maintenance mode params

func (*StopEsClusterInstancesAllMaintenanceModeParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the stop es cluster instances all maintenance mode params (not the query body).

All values with no default are reset to their zero value.

func (*StopEsClusterInstancesAllMaintenanceModeParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the stop es cluster instances all maintenance mode params

func (*StopEsClusterInstancesAllMaintenanceModeParams) SetTimeout

SetTimeout adds the timeout to the stop es cluster instances all maintenance mode params

func (*StopEsClusterInstancesAllMaintenanceModeParams) WithClusterID

WithClusterID adds the clusterID to the stop es cluster instances all maintenance mode params

func (*StopEsClusterInstancesAllMaintenanceModeParams) WithContext

WithContext adds the context to the stop es cluster instances all maintenance mode params

func (*StopEsClusterInstancesAllMaintenanceModeParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the stop es cluster instances all maintenance mode params (not the query body).

All values with no default are reset to their zero value.

func (*StopEsClusterInstancesAllMaintenanceModeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stop es cluster instances all maintenance mode params

func (*StopEsClusterInstancesAllMaintenanceModeParams) WithTimeout

WithTimeout adds the timeout to the stop es cluster instances all maintenance mode params

func (*StopEsClusterInstancesAllMaintenanceModeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StopEsClusterInstancesAllMaintenanceModeReader

type StopEsClusterInstancesAllMaintenanceModeReader struct {
	// contains filtered or unexported fields
}

StopEsClusterInstancesAllMaintenanceModeReader is a Reader for the StopEsClusterInstancesAllMaintenanceMode structure.

func (*StopEsClusterInstancesAllMaintenanceModeReader) ReadResponse

func (o *StopEsClusterInstancesAllMaintenanceModeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StopEsClusterInstancesAllMaintenanceModeRetryWith

type StopEsClusterInstancesAllMaintenanceModeRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StopEsClusterInstancesAllMaintenanceModeRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewStopEsClusterInstancesAllMaintenanceModeRetryWith

func NewStopEsClusterInstancesAllMaintenanceModeRetryWith() *StopEsClusterInstancesAllMaintenanceModeRetryWith

NewStopEsClusterInstancesAllMaintenanceModeRetryWith creates a StopEsClusterInstancesAllMaintenanceModeRetryWith with default headers values

func (*StopEsClusterInstancesAllMaintenanceModeRetryWith) Error

func (*StopEsClusterInstancesAllMaintenanceModeRetryWith) GetPayload

type StopEsClusterInstancesAllNotFound

type StopEsClusterInstancesAllNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StopEsClusterInstancesAllNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewStopEsClusterInstancesAllNotFound

func NewStopEsClusterInstancesAllNotFound() *StopEsClusterInstancesAllNotFound

NewStopEsClusterInstancesAllNotFound creates a StopEsClusterInstancesAllNotFound with default headers values

func (*StopEsClusterInstancesAllNotFound) Error

func (*StopEsClusterInstancesAllNotFound) GetPayload

type StopEsClusterInstancesAllParams

type StopEsClusterInstancesAllParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StopEsClusterInstancesAllParams contains all the parameters to send to the API endpoint

for the stop es cluster instances all operation.

Typically these are written to a http.Request.

func NewStopEsClusterInstancesAllParams

func NewStopEsClusterInstancesAllParams() *StopEsClusterInstancesAllParams

NewStopEsClusterInstancesAllParams creates a new StopEsClusterInstancesAllParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStopEsClusterInstancesAllParamsWithContext

func NewStopEsClusterInstancesAllParamsWithContext(ctx context.Context) *StopEsClusterInstancesAllParams

NewStopEsClusterInstancesAllParamsWithContext creates a new StopEsClusterInstancesAllParams object with the ability to set a context for a request.

func NewStopEsClusterInstancesAllParamsWithHTTPClient

func NewStopEsClusterInstancesAllParamsWithHTTPClient(client *http.Client) *StopEsClusterInstancesAllParams

NewStopEsClusterInstancesAllParamsWithHTTPClient creates a new StopEsClusterInstancesAllParams object with the ability to set a custom HTTPClient for a request.

func NewStopEsClusterInstancesAllParamsWithTimeout

func NewStopEsClusterInstancesAllParamsWithTimeout(timeout time.Duration) *StopEsClusterInstancesAllParams

NewStopEsClusterInstancesAllParamsWithTimeout creates a new StopEsClusterInstancesAllParams object with the ability to set a timeout on a request.

func (*StopEsClusterInstancesAllParams) SetClusterID

func (o *StopEsClusterInstancesAllParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the stop es cluster instances all params

func (*StopEsClusterInstancesAllParams) SetContext

func (o *StopEsClusterInstancesAllParams) SetContext(ctx context.Context)

SetContext adds the context to the stop es cluster instances all params

func (*StopEsClusterInstancesAllParams) SetDefaults added in v1.3.0

func (o *StopEsClusterInstancesAllParams) SetDefaults()

SetDefaults hydrates default values in the stop es cluster instances all params (not the query body).

All values with no default are reset to their zero value.

func (*StopEsClusterInstancesAllParams) SetHTTPClient

func (o *StopEsClusterInstancesAllParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the stop es cluster instances all params

func (*StopEsClusterInstancesAllParams) SetTimeout

func (o *StopEsClusterInstancesAllParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the stop es cluster instances all params

func (*StopEsClusterInstancesAllParams) WithClusterID

WithClusterID adds the clusterID to the stop es cluster instances all params

func (*StopEsClusterInstancesAllParams) WithContext

WithContext adds the context to the stop es cluster instances all params

func (*StopEsClusterInstancesAllParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the stop es cluster instances all params (not the query body).

All values with no default are reset to their zero value.

func (*StopEsClusterInstancesAllParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stop es cluster instances all params

func (*StopEsClusterInstancesAllParams) WithTimeout

WithTimeout adds the timeout to the stop es cluster instances all params

func (*StopEsClusterInstancesAllParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StopEsClusterInstancesAllReader

type StopEsClusterInstancesAllReader struct {
	// contains filtered or unexported fields
}

StopEsClusterInstancesAllReader is a Reader for the StopEsClusterInstancesAll structure.

func (*StopEsClusterInstancesAllReader) ReadResponse

func (o *StopEsClusterInstancesAllReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StopEsClusterInstancesAllRetryWith

type StopEsClusterInstancesAllRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StopEsClusterInstancesAllRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewStopEsClusterInstancesAllRetryWith

func NewStopEsClusterInstancesAllRetryWith() *StopEsClusterInstancesAllRetryWith

NewStopEsClusterInstancesAllRetryWith creates a StopEsClusterInstancesAllRetryWith with default headers values

func (*StopEsClusterInstancesAllRetryWith) Error

func (*StopEsClusterInstancesAllRetryWith) GetPayload

type StopEsClusterInstancesForbidden

type StopEsClusterInstancesForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StopEsClusterInstancesForbidden describes a response with status code 403, with default header values.

The stop command was prohibited for the given cluster. (code: `clusters.command_prohibited`)

func NewStopEsClusterInstancesForbidden

func NewStopEsClusterInstancesForbidden() *StopEsClusterInstancesForbidden

NewStopEsClusterInstancesForbidden creates a StopEsClusterInstancesForbidden with default headers values

func (*StopEsClusterInstancesForbidden) Error

func (*StopEsClusterInstancesForbidden) GetPayload

type StopEsClusterInstancesNotFound

type StopEsClusterInstancesNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StopEsClusterInstancesNotFound describes a response with status code 404, with default header values.

* The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

* One or more of the instances specified at {instance_ids} could not be found. (code: `clusters.instances_not_found`)

func NewStopEsClusterInstancesNotFound

func NewStopEsClusterInstancesNotFound() *StopEsClusterInstancesNotFound

NewStopEsClusterInstancesNotFound creates a StopEsClusterInstancesNotFound with default headers values

func (*StopEsClusterInstancesNotFound) Error

func (*StopEsClusterInstancesNotFound) GetPayload

type StopEsClusterInstancesParams

type StopEsClusterInstancesParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* IgnoreMissing.

	   When `true` and the instance does not exist, proceeds to the next instance, or treats the instance as an error.
	*/
	IgnoreMissing *bool

	/* InstanceIds.

	   A comma-separated list of instance identifiers.
	*/
	InstanceIds []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StopEsClusterInstancesParams contains all the parameters to send to the API endpoint

for the stop es cluster instances operation.

Typically these are written to a http.Request.

func NewStopEsClusterInstancesParams

func NewStopEsClusterInstancesParams() *StopEsClusterInstancesParams

NewStopEsClusterInstancesParams creates a new StopEsClusterInstancesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStopEsClusterInstancesParamsWithContext

func NewStopEsClusterInstancesParamsWithContext(ctx context.Context) *StopEsClusterInstancesParams

NewStopEsClusterInstancesParamsWithContext creates a new StopEsClusterInstancesParams object with the ability to set a context for a request.

func NewStopEsClusterInstancesParamsWithHTTPClient

func NewStopEsClusterInstancesParamsWithHTTPClient(client *http.Client) *StopEsClusterInstancesParams

NewStopEsClusterInstancesParamsWithHTTPClient creates a new StopEsClusterInstancesParams object with the ability to set a custom HTTPClient for a request.

func NewStopEsClusterInstancesParamsWithTimeout

func NewStopEsClusterInstancesParamsWithTimeout(timeout time.Duration) *StopEsClusterInstancesParams

NewStopEsClusterInstancesParamsWithTimeout creates a new StopEsClusterInstancesParams object with the ability to set a timeout on a request.

func (*StopEsClusterInstancesParams) SetClusterID

func (o *StopEsClusterInstancesParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the stop es cluster instances params

func (*StopEsClusterInstancesParams) SetContext

func (o *StopEsClusterInstancesParams) SetContext(ctx context.Context)

SetContext adds the context to the stop es cluster instances params

func (*StopEsClusterInstancesParams) SetDefaults added in v1.3.0

func (o *StopEsClusterInstancesParams) SetDefaults()

SetDefaults hydrates default values in the stop es cluster instances params (not the query body).

All values with no default are reset to their zero value.

func (*StopEsClusterInstancesParams) SetHTTPClient

func (o *StopEsClusterInstancesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the stop es cluster instances params

func (*StopEsClusterInstancesParams) SetIgnoreMissing

func (o *StopEsClusterInstancesParams) SetIgnoreMissing(ignoreMissing *bool)

SetIgnoreMissing adds the ignoreMissing to the stop es cluster instances params

func (*StopEsClusterInstancesParams) SetInstanceIds

func (o *StopEsClusterInstancesParams) SetInstanceIds(instanceIds []string)

SetInstanceIds adds the instanceIds to the stop es cluster instances params

func (*StopEsClusterInstancesParams) SetTimeout

func (o *StopEsClusterInstancesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the stop es cluster instances params

func (*StopEsClusterInstancesParams) WithClusterID

WithClusterID adds the clusterID to the stop es cluster instances params

func (*StopEsClusterInstancesParams) WithContext

WithContext adds the context to the stop es cluster instances params

func (*StopEsClusterInstancesParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the stop es cluster instances params (not the query body).

All values with no default are reset to their zero value.

func (*StopEsClusterInstancesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stop es cluster instances params

func (*StopEsClusterInstancesParams) WithIgnoreMissing

func (o *StopEsClusterInstancesParams) WithIgnoreMissing(ignoreMissing *bool) *StopEsClusterInstancesParams

WithIgnoreMissing adds the ignoreMissing to the stop es cluster instances params

func (*StopEsClusterInstancesParams) WithInstanceIds

func (o *StopEsClusterInstancesParams) WithInstanceIds(instanceIds []string) *StopEsClusterInstancesParams

WithInstanceIds adds the instanceIds to the stop es cluster instances params

func (*StopEsClusterInstancesParams) WithTimeout

WithTimeout adds the timeout to the stop es cluster instances params

func (*StopEsClusterInstancesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StopEsClusterInstancesReader

type StopEsClusterInstancesReader struct {
	// contains filtered or unexported fields
}

StopEsClusterInstancesReader is a Reader for the StopEsClusterInstances structure.

func (*StopEsClusterInstancesReader) ReadResponse

func (o *StopEsClusterInstancesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StopEsClusterInstancesRetryWith

type StopEsClusterInstancesRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StopEsClusterInstancesRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewStopEsClusterInstancesRetryWith

func NewStopEsClusterInstancesRetryWith() *StopEsClusterInstancesRetryWith

NewStopEsClusterInstancesRetryWith creates a StopEsClusterInstancesRetryWith with default headers values

func (*StopEsClusterInstancesRetryWith) Error

func (*StopEsClusterInstancesRetryWith) GetPayload

type StopEsClusterMaintenanceModeAccepted

type StopEsClusterMaintenanceModeAccepted struct {
	Payload *models.ClusterCommandResponse
}
StopEsClusterMaintenanceModeAccepted describes a response with status code 202, with default header values.

The stop maintenance mode command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

func NewStopEsClusterMaintenanceModeAccepted

func NewStopEsClusterMaintenanceModeAccepted() *StopEsClusterMaintenanceModeAccepted

NewStopEsClusterMaintenanceModeAccepted creates a StopEsClusterMaintenanceModeAccepted with default headers values

func (*StopEsClusterMaintenanceModeAccepted) Error

func (*StopEsClusterMaintenanceModeAccepted) GetPayload

type StopEsClusterMaintenanceModeForbidden

type StopEsClusterMaintenanceModeForbidden struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StopEsClusterMaintenanceModeForbidden describes a response with status code 403, with default header values.

The stop maintenance mode command was prohibited for the given cluster. (code: `clusters.command_prohibited`)

func NewStopEsClusterMaintenanceModeForbidden

func NewStopEsClusterMaintenanceModeForbidden() *StopEsClusterMaintenanceModeForbidden

NewStopEsClusterMaintenanceModeForbidden creates a StopEsClusterMaintenanceModeForbidden with default headers values

func (*StopEsClusterMaintenanceModeForbidden) Error

func (*StopEsClusterMaintenanceModeForbidden) GetPayload

type StopEsClusterMaintenanceModeNotFound

type StopEsClusterMaintenanceModeNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StopEsClusterMaintenanceModeNotFound describes a response with status code 404, with default header values.

* The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

* One or more of the instances specified at {instance_ids} could not be found. (code: `clusters.instances_not_found`)

func NewStopEsClusterMaintenanceModeNotFound

func NewStopEsClusterMaintenanceModeNotFound() *StopEsClusterMaintenanceModeNotFound

NewStopEsClusterMaintenanceModeNotFound creates a StopEsClusterMaintenanceModeNotFound with default headers values

func (*StopEsClusterMaintenanceModeNotFound) Error

func (*StopEsClusterMaintenanceModeNotFound) GetPayload

type StopEsClusterMaintenanceModeParams

type StopEsClusterMaintenanceModeParams struct {

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* IgnoreMissing.

	   When `true` and the instance does not exist, proceeds to the next instance, or treats the instance as an error.
	*/
	IgnoreMissing *bool

	/* InstanceIds.

	   A comma-separated list of instance identifiers.
	*/
	InstanceIds []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StopEsClusterMaintenanceModeParams contains all the parameters to send to the API endpoint

for the stop es cluster maintenance mode operation.

Typically these are written to a http.Request.

func NewStopEsClusterMaintenanceModeParams

func NewStopEsClusterMaintenanceModeParams() *StopEsClusterMaintenanceModeParams

NewStopEsClusterMaintenanceModeParams creates a new StopEsClusterMaintenanceModeParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStopEsClusterMaintenanceModeParamsWithContext

func NewStopEsClusterMaintenanceModeParamsWithContext(ctx context.Context) *StopEsClusterMaintenanceModeParams

NewStopEsClusterMaintenanceModeParamsWithContext creates a new StopEsClusterMaintenanceModeParams object with the ability to set a context for a request.

func NewStopEsClusterMaintenanceModeParamsWithHTTPClient

func NewStopEsClusterMaintenanceModeParamsWithHTTPClient(client *http.Client) *StopEsClusterMaintenanceModeParams

NewStopEsClusterMaintenanceModeParamsWithHTTPClient creates a new StopEsClusterMaintenanceModeParams object with the ability to set a custom HTTPClient for a request.

func NewStopEsClusterMaintenanceModeParamsWithTimeout

func NewStopEsClusterMaintenanceModeParamsWithTimeout(timeout time.Duration) *StopEsClusterMaintenanceModeParams

NewStopEsClusterMaintenanceModeParamsWithTimeout creates a new StopEsClusterMaintenanceModeParams object with the ability to set a timeout on a request.

func (*StopEsClusterMaintenanceModeParams) SetClusterID

func (o *StopEsClusterMaintenanceModeParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the stop es cluster maintenance mode params

func (*StopEsClusterMaintenanceModeParams) SetContext

SetContext adds the context to the stop es cluster maintenance mode params

func (*StopEsClusterMaintenanceModeParams) SetDefaults added in v1.3.0

func (o *StopEsClusterMaintenanceModeParams) SetDefaults()

SetDefaults hydrates default values in the stop es cluster maintenance mode params (not the query body).

All values with no default are reset to their zero value.

func (*StopEsClusterMaintenanceModeParams) SetHTTPClient

func (o *StopEsClusterMaintenanceModeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the stop es cluster maintenance mode params

func (*StopEsClusterMaintenanceModeParams) SetIgnoreMissing

func (o *StopEsClusterMaintenanceModeParams) SetIgnoreMissing(ignoreMissing *bool)

SetIgnoreMissing adds the ignoreMissing to the stop es cluster maintenance mode params

func (*StopEsClusterMaintenanceModeParams) SetInstanceIds

func (o *StopEsClusterMaintenanceModeParams) SetInstanceIds(instanceIds []string)

SetInstanceIds adds the instanceIds to the stop es cluster maintenance mode params

func (*StopEsClusterMaintenanceModeParams) SetTimeout

func (o *StopEsClusterMaintenanceModeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the stop es cluster maintenance mode params

func (*StopEsClusterMaintenanceModeParams) WithClusterID

WithClusterID adds the clusterID to the stop es cluster maintenance mode params

func (*StopEsClusterMaintenanceModeParams) WithContext

WithContext adds the context to the stop es cluster maintenance mode params

func (*StopEsClusterMaintenanceModeParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the stop es cluster maintenance mode params (not the query body).

All values with no default are reset to their zero value.

func (*StopEsClusterMaintenanceModeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stop es cluster maintenance mode params

func (*StopEsClusterMaintenanceModeParams) WithIgnoreMissing

func (o *StopEsClusterMaintenanceModeParams) WithIgnoreMissing(ignoreMissing *bool) *StopEsClusterMaintenanceModeParams

WithIgnoreMissing adds the ignoreMissing to the stop es cluster maintenance mode params

func (*StopEsClusterMaintenanceModeParams) WithInstanceIds

WithInstanceIds adds the instanceIds to the stop es cluster maintenance mode params

func (*StopEsClusterMaintenanceModeParams) WithTimeout

WithTimeout adds the timeout to the stop es cluster maintenance mode params

func (*StopEsClusterMaintenanceModeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StopEsClusterMaintenanceModeReader

type StopEsClusterMaintenanceModeReader struct {
	// contains filtered or unexported fields
}

StopEsClusterMaintenanceModeReader is a Reader for the StopEsClusterMaintenanceMode structure.

func (*StopEsClusterMaintenanceModeReader) ReadResponse

func (o *StopEsClusterMaintenanceModeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StopEsClusterMaintenanceModeRetryWith

type StopEsClusterMaintenanceModeRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
StopEsClusterMaintenanceModeRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewStopEsClusterMaintenanceModeRetryWith

func NewStopEsClusterMaintenanceModeRetryWith() *StopEsClusterMaintenanceModeRetryWith

NewStopEsClusterMaintenanceModeRetryWith creates a StopEsClusterMaintenanceModeRetryWith with default headers values

func (*StopEsClusterMaintenanceModeRetryWith) Error

func (*StopEsClusterMaintenanceModeRetryWith) GetPayload

type UpdateEsClusterCurationSettingsForbidden

type UpdateEsClusterCurationSettingsForbidden struct {
	Payload *models.BasicFailedReply
}
UpdateEsClusterCurationSettingsForbidden describes a response with status code 403, with default header values.

The provided action was prohibited for the given cluster.

func NewUpdateEsClusterCurationSettingsForbidden

func NewUpdateEsClusterCurationSettingsForbidden() *UpdateEsClusterCurationSettingsForbidden

NewUpdateEsClusterCurationSettingsForbidden creates a UpdateEsClusterCurationSettingsForbidden with default headers values

func (*UpdateEsClusterCurationSettingsForbidden) Error

func (*UpdateEsClusterCurationSettingsForbidden) GetPayload

type UpdateEsClusterCurationSettingsNotFound

type UpdateEsClusterCurationSettingsNotFound struct {
	Payload *models.BasicFailedReply
}
UpdateEsClusterCurationSettingsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewUpdateEsClusterCurationSettingsNotFound

func NewUpdateEsClusterCurationSettingsNotFound() *UpdateEsClusterCurationSettingsNotFound

NewUpdateEsClusterCurationSettingsNotFound creates a UpdateEsClusterCurationSettingsNotFound with default headers values

func (*UpdateEsClusterCurationSettingsNotFound) Error

func (*UpdateEsClusterCurationSettingsNotFound) GetPayload

type UpdateEsClusterCurationSettingsOK

type UpdateEsClusterCurationSettingsOK struct {

	/* The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string

	/* The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string

	/* The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.ClusterCurationSettings
}
UpdateEsClusterCurationSettingsOK describes a response with status code 200, with default header values.

The cluster curation settings were successfully updated

func NewUpdateEsClusterCurationSettingsOK

func NewUpdateEsClusterCurationSettingsOK() *UpdateEsClusterCurationSettingsOK

NewUpdateEsClusterCurationSettingsOK creates a UpdateEsClusterCurationSettingsOK with default headers values

func (*UpdateEsClusterCurationSettingsOK) Error

func (*UpdateEsClusterCurationSettingsOK) GetPayload

type UpdateEsClusterCurationSettingsParams

type UpdateEsClusterCurationSettingsParams struct {

	/* Body.

	   The cluster curation settings including updated values
	*/
	Body *models.ClusterCurationSettings

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* Version.

	   If specified then checks for conflicts against the version of the cluster curation settings (returned in 'x-cloud-resource-version' of the GET request)
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateEsClusterCurationSettingsParams contains all the parameters to send to the API endpoint

for the update es cluster curation settings operation.

Typically these are written to a http.Request.

func NewUpdateEsClusterCurationSettingsParams

func NewUpdateEsClusterCurationSettingsParams() *UpdateEsClusterCurationSettingsParams

NewUpdateEsClusterCurationSettingsParams creates a new UpdateEsClusterCurationSettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateEsClusterCurationSettingsParamsWithContext

func NewUpdateEsClusterCurationSettingsParamsWithContext(ctx context.Context) *UpdateEsClusterCurationSettingsParams

NewUpdateEsClusterCurationSettingsParamsWithContext creates a new UpdateEsClusterCurationSettingsParams object with the ability to set a context for a request.

func NewUpdateEsClusterCurationSettingsParamsWithHTTPClient

func NewUpdateEsClusterCurationSettingsParamsWithHTTPClient(client *http.Client) *UpdateEsClusterCurationSettingsParams

NewUpdateEsClusterCurationSettingsParamsWithHTTPClient creates a new UpdateEsClusterCurationSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateEsClusterCurationSettingsParamsWithTimeout

func NewUpdateEsClusterCurationSettingsParamsWithTimeout(timeout time.Duration) *UpdateEsClusterCurationSettingsParams

NewUpdateEsClusterCurationSettingsParamsWithTimeout creates a new UpdateEsClusterCurationSettingsParams object with the ability to set a timeout on a request.

func (*UpdateEsClusterCurationSettingsParams) SetBody

SetBody adds the body to the update es cluster curation settings params

func (*UpdateEsClusterCurationSettingsParams) SetClusterID

func (o *UpdateEsClusterCurationSettingsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the update es cluster curation settings params

func (*UpdateEsClusterCurationSettingsParams) SetContext

SetContext adds the context to the update es cluster curation settings params

func (*UpdateEsClusterCurationSettingsParams) SetDefaults added in v1.3.0

func (o *UpdateEsClusterCurationSettingsParams) SetDefaults()

SetDefaults hydrates default values in the update es cluster curation settings params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateEsClusterCurationSettingsParams) SetHTTPClient

func (o *UpdateEsClusterCurationSettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update es cluster curation settings params

func (*UpdateEsClusterCurationSettingsParams) SetTimeout

func (o *UpdateEsClusterCurationSettingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update es cluster curation settings params

func (*UpdateEsClusterCurationSettingsParams) SetVersion

func (o *UpdateEsClusterCurationSettingsParams) SetVersion(version *int64)

SetVersion adds the version to the update es cluster curation settings params

func (*UpdateEsClusterCurationSettingsParams) WithBody

WithBody adds the body to the update es cluster curation settings params

func (*UpdateEsClusterCurationSettingsParams) WithClusterID

WithClusterID adds the clusterID to the update es cluster curation settings params

func (*UpdateEsClusterCurationSettingsParams) WithContext

WithContext adds the context to the update es cluster curation settings params

func (*UpdateEsClusterCurationSettingsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the update es cluster curation settings params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateEsClusterCurationSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update es cluster curation settings params

func (*UpdateEsClusterCurationSettingsParams) WithTimeout

WithTimeout adds the timeout to the update es cluster curation settings params

func (*UpdateEsClusterCurationSettingsParams) WithVersion

WithVersion adds the version to the update es cluster curation settings params

func (*UpdateEsClusterCurationSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateEsClusterCurationSettingsReader

type UpdateEsClusterCurationSettingsReader struct {
	// contains filtered or unexported fields
}

UpdateEsClusterCurationSettingsReader is a Reader for the UpdateEsClusterCurationSettings structure.

func (*UpdateEsClusterCurationSettingsReader) ReadResponse

func (o *UpdateEsClusterCurationSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateEsClusterCurationSettingsRetryWith

type UpdateEsClusterCurationSettingsRetryWith struct {
	Payload *models.BasicFailedReply
}
UpdateEsClusterCurationSettingsRetryWith describes a response with status code 449, with default header values.

elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')

func NewUpdateEsClusterCurationSettingsRetryWith

func NewUpdateEsClusterCurationSettingsRetryWith() *UpdateEsClusterCurationSettingsRetryWith

NewUpdateEsClusterCurationSettingsRetryWith creates a UpdateEsClusterCurationSettingsRetryWith with default headers values

func (*UpdateEsClusterCurationSettingsRetryWith) Error

func (*UpdateEsClusterCurationSettingsRetryWith) GetPayload

type UpdateEsClusterMetadataSettingsForbidden

type UpdateEsClusterMetadataSettingsForbidden struct {
	Payload *models.BasicFailedReply
}
UpdateEsClusterMetadataSettingsForbidden describes a response with status code 403, with default header values.

The provided action was prohibited for the given cluster

func NewUpdateEsClusterMetadataSettingsForbidden

func NewUpdateEsClusterMetadataSettingsForbidden() *UpdateEsClusterMetadataSettingsForbidden

NewUpdateEsClusterMetadataSettingsForbidden creates a UpdateEsClusterMetadataSettingsForbidden with default headers values

func (*UpdateEsClusterMetadataSettingsForbidden) Error

func (*UpdateEsClusterMetadataSettingsForbidden) GetPayload

type UpdateEsClusterMetadataSettingsNotFound

type UpdateEsClusterMetadataSettingsNotFound struct {
	Payload *models.BasicFailedReply
}
UpdateEsClusterMetadataSettingsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewUpdateEsClusterMetadataSettingsNotFound

func NewUpdateEsClusterMetadataSettingsNotFound() *UpdateEsClusterMetadataSettingsNotFound

NewUpdateEsClusterMetadataSettingsNotFound creates a UpdateEsClusterMetadataSettingsNotFound with default headers values

func (*UpdateEsClusterMetadataSettingsNotFound) Error

func (*UpdateEsClusterMetadataSettingsNotFound) GetPayload

type UpdateEsClusterMetadataSettingsOK

type UpdateEsClusterMetadataSettingsOK struct {

	/* The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string

	/* The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string

	/* The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.ClusterMetadataSettings
}
UpdateEsClusterMetadataSettingsOK describes a response with status code 200, with default header values.

The cluster metadata was successfully updated

func NewUpdateEsClusterMetadataSettingsOK

func NewUpdateEsClusterMetadataSettingsOK() *UpdateEsClusterMetadataSettingsOK

NewUpdateEsClusterMetadataSettingsOK creates a UpdateEsClusterMetadataSettingsOK with default headers values

func (*UpdateEsClusterMetadataSettingsOK) Error

func (*UpdateEsClusterMetadataSettingsOK) GetPayload

type UpdateEsClusterMetadataSettingsParams

type UpdateEsClusterMetadataSettingsParams struct {

	/* Body.

	   The cluster settings including updated values
	*/
	Body *models.ClusterMetadataSettings

	/* ClusterID.

	   Elasticsearch cluster identifier
	*/
	ClusterID string

	/* Version.

	   Checks for conflicts against the metadata version, then returns the value in the `x-cloud-resource-version` header.
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateEsClusterMetadataSettingsParams contains all the parameters to send to the API endpoint

for the update es cluster metadata settings operation.

Typically these are written to a http.Request.

func NewUpdateEsClusterMetadataSettingsParams

func NewUpdateEsClusterMetadataSettingsParams() *UpdateEsClusterMetadataSettingsParams

NewUpdateEsClusterMetadataSettingsParams creates a new UpdateEsClusterMetadataSettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateEsClusterMetadataSettingsParamsWithContext

func NewUpdateEsClusterMetadataSettingsParamsWithContext(ctx context.Context) *UpdateEsClusterMetadataSettingsParams

NewUpdateEsClusterMetadataSettingsParamsWithContext creates a new UpdateEsClusterMetadataSettingsParams object with the ability to set a context for a request.

func NewUpdateEsClusterMetadataSettingsParamsWithHTTPClient

func NewUpdateEsClusterMetadataSettingsParamsWithHTTPClient(client *http.Client) *UpdateEsClusterMetadataSettingsParams

NewUpdateEsClusterMetadataSettingsParamsWithHTTPClient creates a new UpdateEsClusterMetadataSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateEsClusterMetadataSettingsParamsWithTimeout

func NewUpdateEsClusterMetadataSettingsParamsWithTimeout(timeout time.Duration) *UpdateEsClusterMetadataSettingsParams

NewUpdateEsClusterMetadataSettingsParamsWithTimeout creates a new UpdateEsClusterMetadataSettingsParams object with the ability to set a timeout on a request.

func (*UpdateEsClusterMetadataSettingsParams) SetBody

SetBody adds the body to the update es cluster metadata settings params

func (*UpdateEsClusterMetadataSettingsParams) SetClusterID

func (o *UpdateEsClusterMetadataSettingsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the update es cluster metadata settings params

func (*UpdateEsClusterMetadataSettingsParams) SetContext

SetContext adds the context to the update es cluster metadata settings params

func (*UpdateEsClusterMetadataSettingsParams) SetDefaults added in v1.3.0

func (o *UpdateEsClusterMetadataSettingsParams) SetDefaults()

SetDefaults hydrates default values in the update es cluster metadata settings params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateEsClusterMetadataSettingsParams) SetHTTPClient

func (o *UpdateEsClusterMetadataSettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update es cluster metadata settings params

func (*UpdateEsClusterMetadataSettingsParams) SetTimeout

func (o *UpdateEsClusterMetadataSettingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update es cluster metadata settings params

func (*UpdateEsClusterMetadataSettingsParams) SetVersion

func (o *UpdateEsClusterMetadataSettingsParams) SetVersion(version *int64)

SetVersion adds the version to the update es cluster metadata settings params

func (*UpdateEsClusterMetadataSettingsParams) WithBody

WithBody adds the body to the update es cluster metadata settings params

func (*UpdateEsClusterMetadataSettingsParams) WithClusterID

WithClusterID adds the clusterID to the update es cluster metadata settings params

func (*UpdateEsClusterMetadataSettingsParams) WithContext

WithContext adds the context to the update es cluster metadata settings params

func (*UpdateEsClusterMetadataSettingsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the update es cluster metadata settings params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateEsClusterMetadataSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update es cluster metadata settings params

func (*UpdateEsClusterMetadataSettingsParams) WithTimeout

WithTimeout adds the timeout to the update es cluster metadata settings params

func (*UpdateEsClusterMetadataSettingsParams) WithVersion

WithVersion adds the version to the update es cluster metadata settings params

func (*UpdateEsClusterMetadataSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateEsClusterMetadataSettingsReader

type UpdateEsClusterMetadataSettingsReader struct {
	// contains filtered or unexported fields
}

UpdateEsClusterMetadataSettingsReader is a Reader for the UpdateEsClusterMetadataSettings structure.

func (*UpdateEsClusterMetadataSettingsReader) ReadResponse

func (o *UpdateEsClusterMetadataSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateEsClusterMetadataSettingsRetryWith

type UpdateEsClusterMetadataSettingsRetryWith struct {
	Payload *models.BasicFailedReply
}
UpdateEsClusterMetadataSettingsRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')

func NewUpdateEsClusterMetadataSettingsRetryWith

func NewUpdateEsClusterMetadataSettingsRetryWith() *UpdateEsClusterMetadataSettingsRetryWith

NewUpdateEsClusterMetadataSettingsRetryWith creates a UpdateEsClusterMetadataSettingsRetryWith with default headers values

func (*UpdateEsClusterMetadataSettingsRetryWith) Error

func (*UpdateEsClusterMetadataSettingsRetryWith) GetPayload

type UpdateEsClusterPlanAccepted

type UpdateEsClusterPlanAccepted struct {
	Payload *models.ClusterCrudResponse
}
UpdateEsClusterPlanAccepted describes a response with status code 202, with default header values.

The plan definition was valid and the updated plan is in progress

func NewUpdateEsClusterPlanAccepted

func NewUpdateEsClusterPlanAccepted() *UpdateEsClusterPlanAccepted

NewUpdateEsClusterPlanAccepted creates a UpdateEsClusterPlanAccepted with default headers values

func (*UpdateEsClusterPlanAccepted) Error

func (*UpdateEsClusterPlanAccepted) GetPayload

type UpdateEsClusterPlanBadRequest

type UpdateEsClusterPlanBadRequest struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
UpdateEsClusterPlanBadRequest describes a response with status code 400, with default header values.

* The cluster definition contained errors. (code: `clusters.cluster_invalid_plan`)

* The features used in the cluster definition have not been implemented yet. (code: `clusters.plan_feature_not_implemented`)

func NewUpdateEsClusterPlanBadRequest

func NewUpdateEsClusterPlanBadRequest() *UpdateEsClusterPlanBadRequest

NewUpdateEsClusterPlanBadRequest creates a UpdateEsClusterPlanBadRequest with default headers values

func (*UpdateEsClusterPlanBadRequest) Error

func (*UpdateEsClusterPlanBadRequest) GetPayload

type UpdateEsClusterPlanNotFound

type UpdateEsClusterPlanNotFound struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
UpdateEsClusterPlanNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found. (code: `clusters.cluster_not_found`)

func NewUpdateEsClusterPlanNotFound

func NewUpdateEsClusterPlanNotFound() *UpdateEsClusterPlanNotFound

NewUpdateEsClusterPlanNotFound creates a UpdateEsClusterPlanNotFound with default headers values

func (*UpdateEsClusterPlanNotFound) Error

func (*UpdateEsClusterPlanNotFound) GetPayload

type UpdateEsClusterPlanOK

type UpdateEsClusterPlanOK struct {
	Payload *models.ClusterCrudResponse
}
UpdateEsClusterPlanOK describes a response with status code 200, with default header values.

The cluster definition was valid - no further action was requested. The return object contains an internal representation of the plan, for use in debugging

func NewUpdateEsClusterPlanOK

func NewUpdateEsClusterPlanOK() *UpdateEsClusterPlanOK

NewUpdateEsClusterPlanOK creates a UpdateEsClusterPlanOK with default headers values

func (*UpdateEsClusterPlanOK) Error

func (o *UpdateEsClusterPlanOK) Error() string

func (*UpdateEsClusterPlanOK) GetPayload

type UpdateEsClusterPlanParams

type UpdateEsClusterPlanParams struct {

	/* Body.

	   The update plan definition
	*/
	Body *models.ElasticsearchClusterPlan

	/* ClusterID.

	   The Elasticsearch cluster identifier.
	*/
	ClusterID string

	/* ValidateOnly.

	   When `true`, validates the cluster definition without performing the update.
	*/
	ValidateOnly *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateEsClusterPlanParams contains all the parameters to send to the API endpoint

for the update es cluster plan operation.

Typically these are written to a http.Request.

func NewUpdateEsClusterPlanParams

func NewUpdateEsClusterPlanParams() *UpdateEsClusterPlanParams

NewUpdateEsClusterPlanParams creates a new UpdateEsClusterPlanParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateEsClusterPlanParamsWithContext

func NewUpdateEsClusterPlanParamsWithContext(ctx context.Context) *UpdateEsClusterPlanParams

NewUpdateEsClusterPlanParamsWithContext creates a new UpdateEsClusterPlanParams object with the ability to set a context for a request.

func NewUpdateEsClusterPlanParamsWithHTTPClient

func NewUpdateEsClusterPlanParamsWithHTTPClient(client *http.Client) *UpdateEsClusterPlanParams

NewUpdateEsClusterPlanParamsWithHTTPClient creates a new UpdateEsClusterPlanParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateEsClusterPlanParamsWithTimeout

func NewUpdateEsClusterPlanParamsWithTimeout(timeout time.Duration) *UpdateEsClusterPlanParams

NewUpdateEsClusterPlanParamsWithTimeout creates a new UpdateEsClusterPlanParams object with the ability to set a timeout on a request.

func (*UpdateEsClusterPlanParams) SetBody

SetBody adds the body to the update es cluster plan params

func (*UpdateEsClusterPlanParams) SetClusterID

func (o *UpdateEsClusterPlanParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the update es cluster plan params

func (*UpdateEsClusterPlanParams) SetContext

func (o *UpdateEsClusterPlanParams) SetContext(ctx context.Context)

SetContext adds the context to the update es cluster plan params

func (*UpdateEsClusterPlanParams) SetDefaults added in v1.3.0

func (o *UpdateEsClusterPlanParams) SetDefaults()

SetDefaults hydrates default values in the update es cluster plan params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateEsClusterPlanParams) SetHTTPClient

func (o *UpdateEsClusterPlanParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update es cluster plan params

func (*UpdateEsClusterPlanParams) SetTimeout

func (o *UpdateEsClusterPlanParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update es cluster plan params

func (*UpdateEsClusterPlanParams) SetValidateOnly

func (o *UpdateEsClusterPlanParams) SetValidateOnly(validateOnly *bool)

SetValidateOnly adds the validateOnly to the update es cluster plan params

func (*UpdateEsClusterPlanParams) WithBody

WithBody adds the body to the update es cluster plan params

func (*UpdateEsClusterPlanParams) WithClusterID

func (o *UpdateEsClusterPlanParams) WithClusterID(clusterID string) *UpdateEsClusterPlanParams

WithClusterID adds the clusterID to the update es cluster plan params

func (*UpdateEsClusterPlanParams) WithContext

WithContext adds the context to the update es cluster plan params

func (*UpdateEsClusterPlanParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the update es cluster plan params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateEsClusterPlanParams) WithHTTPClient

func (o *UpdateEsClusterPlanParams) WithHTTPClient(client *http.Client) *UpdateEsClusterPlanParams

WithHTTPClient adds the HTTPClient to the update es cluster plan params

func (*UpdateEsClusterPlanParams) WithTimeout

WithTimeout adds the timeout to the update es cluster plan params

func (*UpdateEsClusterPlanParams) WithValidateOnly

func (o *UpdateEsClusterPlanParams) WithValidateOnly(validateOnly *bool) *UpdateEsClusterPlanParams

WithValidateOnly adds the validateOnly to the update es cluster plan params

func (*UpdateEsClusterPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateEsClusterPlanPreconditionFailed

type UpdateEsClusterPlanPreconditionFailed struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
UpdateEsClusterPlanPreconditionFailed describes a response with status code 412, with default header values.

Potential risky settings have been specified. (code: `clusters.cluster_plan_state_error`)

func NewUpdateEsClusterPlanPreconditionFailed

func NewUpdateEsClusterPlanPreconditionFailed() *UpdateEsClusterPlanPreconditionFailed

NewUpdateEsClusterPlanPreconditionFailed creates a UpdateEsClusterPlanPreconditionFailed with default headers values

func (*UpdateEsClusterPlanPreconditionFailed) Error

func (*UpdateEsClusterPlanPreconditionFailed) GetPayload

type UpdateEsClusterPlanReader

type UpdateEsClusterPlanReader struct {
	// contains filtered or unexported fields
}

UpdateEsClusterPlanReader is a Reader for the UpdateEsClusterPlan structure.

func (*UpdateEsClusterPlanReader) ReadResponse

func (o *UpdateEsClusterPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateEsClusterPlanRetryWith

type UpdateEsClusterPlanRetryWith struct {

	/* The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}
UpdateEsClusterPlanRetryWith describes a response with status code 449, with default header values.

Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)

func NewUpdateEsClusterPlanRetryWith

func NewUpdateEsClusterPlanRetryWith() *UpdateEsClusterPlanRetryWith

NewUpdateEsClusterPlanRetryWith creates a UpdateEsClusterPlanRetryWith with default headers values

func (*UpdateEsClusterPlanRetryWith) Error

func (*UpdateEsClusterPlanRetryWith) GetPayload

type UpdateEsClusterSnapshotSettingsForbidden

type UpdateEsClusterSnapshotSettingsForbidden struct {
	Payload *models.BasicFailedReply
}
UpdateEsClusterSnapshotSettingsForbidden describes a response with status code 403, with default header values.

The provided action was prohibited for the given cluster.

func NewUpdateEsClusterSnapshotSettingsForbidden

func NewUpdateEsClusterSnapshotSettingsForbidden() *UpdateEsClusterSnapshotSettingsForbidden

NewUpdateEsClusterSnapshotSettingsForbidden creates a UpdateEsClusterSnapshotSettingsForbidden with default headers values

func (*UpdateEsClusterSnapshotSettingsForbidden) Error

func (*UpdateEsClusterSnapshotSettingsForbidden) GetPayload

type UpdateEsClusterSnapshotSettingsNotFound

type UpdateEsClusterSnapshotSettingsNotFound struct {
	Payload *models.BasicFailedReply
}
UpdateEsClusterSnapshotSettingsNotFound describes a response with status code 404, with default header values.

The cluster specified by {cluster_id} cannot be found (code: 'clusters.cluster_not_found')

func NewUpdateEsClusterSnapshotSettingsNotFound

func NewUpdateEsClusterSnapshotSettingsNotFound() *UpdateEsClusterSnapshotSettingsNotFound

NewUpdateEsClusterSnapshotSettingsNotFound creates a UpdateEsClusterSnapshotSettingsNotFound with default headers values

func (*UpdateEsClusterSnapshotSettingsNotFound) Error

func (*UpdateEsClusterSnapshotSettingsNotFound) GetPayload

type UpdateEsClusterSnapshotSettingsOK

type UpdateEsClusterSnapshotSettingsOK struct {

	/* The date-time when the resource was created (ISO format relative to UTC)
	 */
	XCloudResourceCreated string

	/* The date-time when the resource was last modified (ISO format relative to UTC)
	 */
	XCloudResourceLastModified string

	/* The resource version, which is used to avoid update conflicts with concurrent operations
	 */
	XCloudResourceVersion string

	Payload *models.ClusterSnapshotSettings
}
UpdateEsClusterSnapshotSettingsOK describes a response with status code 200, with default header values.

The cluster snapshot settings were successfully updated

func NewUpdateEsClusterSnapshotSettingsOK

func NewUpdateEsClusterSnapshotSettingsOK() *UpdateEsClusterSnapshotSettingsOK

NewUpdateEsClusterSnapshotSettingsOK creates a UpdateEsClusterSnapshotSettingsOK with default headers values

func (*UpdateEsClusterSnapshotSettingsOK) Error

func (*UpdateEsClusterSnapshotSettingsOK) GetPayload

type UpdateEsClusterSnapshotSettingsParams

type UpdateEsClusterSnapshotSettingsParams struct {

	/* Body.

	   The cluster snapshot settings including updated values
	*/
	Body *models.ClusterSnapshotSettings

	/* ClusterID.

	   Identifier for the Elasticsearch cluster
	*/
	ClusterID string

	/* Version.

	   If specified then checks for conflicts against the version of the cluster snapshot settings (returned in 'x-cloud-resource-version' of the GET request)
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateEsClusterSnapshotSettingsParams contains all the parameters to send to the API endpoint

for the update es cluster snapshot settings operation.

Typically these are written to a http.Request.

func NewUpdateEsClusterSnapshotSettingsParams

func NewUpdateEsClusterSnapshotSettingsParams() *UpdateEsClusterSnapshotSettingsParams

NewUpdateEsClusterSnapshotSettingsParams creates a new UpdateEsClusterSnapshotSettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateEsClusterSnapshotSettingsParamsWithContext

func NewUpdateEsClusterSnapshotSettingsParamsWithContext(ctx context.Context) *UpdateEsClusterSnapshotSettingsParams

NewUpdateEsClusterSnapshotSettingsParamsWithContext creates a new UpdateEsClusterSnapshotSettingsParams object with the ability to set a context for a request.

func NewUpdateEsClusterSnapshotSettingsParamsWithHTTPClient

func NewUpdateEsClusterSnapshotSettingsParamsWithHTTPClient(client *http.Client) *UpdateEsClusterSnapshotSettingsParams

NewUpdateEsClusterSnapshotSettingsParamsWithHTTPClient creates a new UpdateEsClusterSnapshotSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateEsClusterSnapshotSettingsParamsWithTimeout

func NewUpdateEsClusterSnapshotSettingsParamsWithTimeout(timeout time.Duration) *UpdateEsClusterSnapshotSettingsParams

NewUpdateEsClusterSnapshotSettingsParamsWithTimeout creates a new UpdateEsClusterSnapshotSettingsParams object with the ability to set a timeout on a request.

func (*UpdateEsClusterSnapshotSettingsParams) SetBody

SetBody adds the body to the update es cluster snapshot settings params

func (*UpdateEsClusterSnapshotSettingsParams) SetClusterID

func (o *UpdateEsClusterSnapshotSettingsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the update es cluster snapshot settings params

func (*UpdateEsClusterSnapshotSettingsParams) SetContext

SetContext adds the context to the update es cluster snapshot settings params

func (*UpdateEsClusterSnapshotSettingsParams) SetDefaults added in v1.3.0

func (o *UpdateEsClusterSnapshotSettingsParams) SetDefaults()

SetDefaults hydrates default values in the update es cluster snapshot settings params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateEsClusterSnapshotSettingsParams) SetHTTPClient

func (o *UpdateEsClusterSnapshotSettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update es cluster snapshot settings params

func (*UpdateEsClusterSnapshotSettingsParams) SetTimeout

func (o *UpdateEsClusterSnapshotSettingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update es cluster snapshot settings params

func (*UpdateEsClusterSnapshotSettingsParams) SetVersion

func (o *UpdateEsClusterSnapshotSettingsParams) SetVersion(version *int64)

SetVersion adds the version to the update es cluster snapshot settings params

func (*UpdateEsClusterSnapshotSettingsParams) WithBody

WithBody adds the body to the update es cluster snapshot settings params

func (*UpdateEsClusterSnapshotSettingsParams) WithClusterID

WithClusterID adds the clusterID to the update es cluster snapshot settings params

func (*UpdateEsClusterSnapshotSettingsParams) WithContext

WithContext adds the context to the update es cluster snapshot settings params

func (*UpdateEsClusterSnapshotSettingsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the update es cluster snapshot settings params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateEsClusterSnapshotSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update es cluster snapshot settings params

func (*UpdateEsClusterSnapshotSettingsParams) WithTimeout

WithTimeout adds the timeout to the update es cluster snapshot settings params

func (*UpdateEsClusterSnapshotSettingsParams) WithVersion

WithVersion adds the version to the update es cluster snapshot settings params

func (*UpdateEsClusterSnapshotSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateEsClusterSnapshotSettingsReader

type UpdateEsClusterSnapshotSettingsReader struct {
	// contains filtered or unexported fields
}

UpdateEsClusterSnapshotSettingsReader is a Reader for the UpdateEsClusterSnapshotSettings structure.

func (*UpdateEsClusterSnapshotSettingsReader) ReadResponse

func (o *UpdateEsClusterSnapshotSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateEsClusterSnapshotSettingsRetryWith

type UpdateEsClusterSnapshotSettingsRetryWith struct {
	Payload *models.BasicFailedReply
}
UpdateEsClusterSnapshotSettingsRetryWith describes a response with status code 449, with default header values.

elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')

func NewUpdateEsClusterSnapshotSettingsRetryWith

func NewUpdateEsClusterSnapshotSettingsRetryWith() *UpdateEsClusterSnapshotSettingsRetryWith

NewUpdateEsClusterSnapshotSettingsRetryWith creates a UpdateEsClusterSnapshotSettingsRetryWith with default headers values

func (*UpdateEsClusterSnapshotSettingsRetryWith) Error

func (*UpdateEsClusterSnapshotSettingsRetryWith) GetPayload

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL