clusters_apm

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 CancelApmPendingPlanNotFound

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

The {cluster_id} can't be found. (code: 'clusters.cluster_not_found')

func NewCancelApmPendingPlanNotFound

func NewCancelApmPendingPlanNotFound() *CancelApmPendingPlanNotFound

NewCancelApmPendingPlanNotFound creates a CancelApmPendingPlanNotFound with default headers values

func (*CancelApmPendingPlanNotFound) Error

func (*CancelApmPendingPlanNotFound) GetPayload

type CancelApmPendingPlanOK

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

The pending plan is cancelled.

func NewCancelApmPendingPlanOK

func NewCancelApmPendingPlanOK() *CancelApmPendingPlanOK

NewCancelApmPendingPlanOK creates a CancelApmPendingPlanOK with default headers values

func (*CancelApmPendingPlanOK) Error

func (o *CancelApmPendingPlanOK) Error() string

func (*CancelApmPendingPlanOK) GetPayload

type CancelApmPendingPlanParams

type CancelApmPendingPlanParams struct {

	/* ClusterID.

	   The APM deployment 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
}

CancelApmPendingPlanParams contains all the parameters to send to the API endpoint

for the cancel apm pending plan operation.

Typically these are written to a http.Request.

func NewCancelApmPendingPlanParams

func NewCancelApmPendingPlanParams() *CancelApmPendingPlanParams

NewCancelApmPendingPlanParams creates a new CancelApmPendingPlanParams 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 NewCancelApmPendingPlanParamsWithContext

func NewCancelApmPendingPlanParamsWithContext(ctx context.Context) *CancelApmPendingPlanParams

NewCancelApmPendingPlanParamsWithContext creates a new CancelApmPendingPlanParams object with the ability to set a context for a request.

func NewCancelApmPendingPlanParamsWithHTTPClient

func NewCancelApmPendingPlanParamsWithHTTPClient(client *http.Client) *CancelApmPendingPlanParams

NewCancelApmPendingPlanParamsWithHTTPClient creates a new CancelApmPendingPlanParams object with the ability to set a custom HTTPClient for a request.

func NewCancelApmPendingPlanParamsWithTimeout

func NewCancelApmPendingPlanParamsWithTimeout(timeout time.Duration) *CancelApmPendingPlanParams

NewCancelApmPendingPlanParamsWithTimeout creates a new CancelApmPendingPlanParams object with the ability to set a timeout on a request.

func (*CancelApmPendingPlanParams) SetClusterID

func (o *CancelApmPendingPlanParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the cancel apm pending plan params

func (*CancelApmPendingPlanParams) SetContext

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

SetContext adds the context to the cancel apm pending plan params

func (*CancelApmPendingPlanParams) SetDefaults added in v1.3.0

func (o *CancelApmPendingPlanParams) SetDefaults()

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

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

func (*CancelApmPendingPlanParams) SetForceDelete

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

SetForceDelete adds the forceDelete to the cancel apm pending plan params

func (*CancelApmPendingPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the cancel apm pending plan params

func (*CancelApmPendingPlanParams) SetIgnoreMissing

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

SetIgnoreMissing adds the ignoreMissing to the cancel apm pending plan params

func (*CancelApmPendingPlanParams) SetTimeout

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

SetTimeout adds the timeout to the cancel apm pending plan params

func (*CancelApmPendingPlanParams) WithClusterID

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

WithClusterID adds the clusterID to the cancel apm pending plan params

func (*CancelApmPendingPlanParams) WithContext

WithContext adds the context to the cancel apm pending plan params

func (*CancelApmPendingPlanParams) WithDefaults added in v1.3.0

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

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

func (*CancelApmPendingPlanParams) WithForceDelete

func (o *CancelApmPendingPlanParams) WithForceDelete(forceDelete *bool) *CancelApmPendingPlanParams

WithForceDelete adds the forceDelete to the cancel apm pending plan params

func (*CancelApmPendingPlanParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cancel apm pending plan params

func (*CancelApmPendingPlanParams) WithIgnoreMissing

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

WithIgnoreMissing adds the ignoreMissing to the cancel apm pending plan params

func (*CancelApmPendingPlanParams) WithTimeout

WithTimeout adds the timeout to the cancel apm pending plan params

func (*CancelApmPendingPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CancelApmPendingPlanPreconditionFailed

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

The APM server is unable to finish provisioning, or the provisioning failed. Apply a plan, then try again. (code: 'clusters.cluster_plan_state_error')

func NewCancelApmPendingPlanPreconditionFailed

func NewCancelApmPendingPlanPreconditionFailed() *CancelApmPendingPlanPreconditionFailed

NewCancelApmPendingPlanPreconditionFailed creates a CancelApmPendingPlanPreconditionFailed with default headers values

func (*CancelApmPendingPlanPreconditionFailed) Error

func (*CancelApmPendingPlanPreconditionFailed) GetPayload

type CancelApmPendingPlanReader

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

CancelApmPendingPlanReader is a Reader for the CancelApmPendingPlan structure.

func (*CancelApmPendingPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CancelApmPendingPlanRetryWith

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

Elevated permissions are required. (code: '"root.needs_elevated_permissions"')

func NewCancelApmPendingPlanRetryWith

func NewCancelApmPendingPlanRetryWith() *CancelApmPendingPlanRetryWith

NewCancelApmPendingPlanRetryWith creates a CancelApmPendingPlanRetryWith with default headers values

func (*CancelApmPendingPlanRetryWith) Error

func (*CancelApmPendingPlanRetryWith) GetPayload

type Client

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

Client for clusters apm API

func (*Client) CancelApmPendingPlan

func (a *Client) CancelApmPendingPlan(params *CancelApmPendingPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelApmPendingPlanOK, error)
CancelApmPendingPlan 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 an APM cluster.

func (*Client) CreateApm

func (a *Client) CreateApm(params *CreateApmParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateApmOK, *CreateApmCreated, error)
CreateApm creates cluster

> WARNING

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

Creates an APM cluster for a given Elasticsearch cluster.

func (*Client) DeleteApm

func (a *Client) DeleteApm(params *DeleteApmParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteApmOK, error)
DeleteApm deletes cluster

> WARNING

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

Deletes an APM cluster.<br>Requires that you have already successfully issued `_shutdown` command against the cluster.

func (*Client) GetApmCluster

func (a *Client) GetApmCluster(params *GetApmClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApmClusterOK, error)
GetApmCluster gets cluster

> WARNING

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

Retrieves cluster information for a APM cluster.

func (*Client) GetApmClusterPlanActivity

func (a *Client) GetApmClusterPlanActivity(params *GetApmClusterPlanActivityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApmClusterPlanActivityOK, error)
GetApmClusterPlanActivity 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 current and historical plan information for a APM cluster.

func (*Client) GetApmClusters

func (a *Client) GetApmClusters(params *GetApmClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApmClustersOK, error)
GetApmClusters gets clusters

> WARNING

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

Retrieves cluster information for all APM clusters.

func (*Client) GetApmMetadataRaw

func (a *Client) GetApmMetadataRaw(params *GetApmMetadataRawParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApmMetadataRawOK, error)
GetApmMetadataRaw 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 metadata, in free-form JSON, for the APM instance.

func (*Client) GetApmMetadataSettings

func (a *Client) GetApmMetadataSettings(params *GetApmMetadataSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApmMetadataSettingsOK, error)
GetApmMetadataSettings 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) GetApmPendingPlan

func (a *Client) GetApmPendingPlan(params *GetApmPendingPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApmPendingPlanOK, error)
GetApmPendingPlan 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 an APM cluster.

func (*Client) GetApmPlan

func (a *Client) GetApmPlan(params *GetApmPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApmPlanOK, error)
GetApmPlan 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 an APM 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) MoveApmInstances

func (a *Client) MoveApmInstances(params *MoveApmInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveApmInstancesAccepted, error)
MoveApmInstances moves instances

> WARNING

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

Moves one or more instances belonging to a Apm cluster.

func (*Client) MoveApmInstancesAdvanced

func (a *Client) MoveApmInstancesAdvanced(params *MoveApmInstancesAdvancedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveApmInstancesAdvancedAccepted, error)
MoveApmInstancesAdvanced moves instances advanced

> WARNING

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

Moves instances belonging to a Apm cluster, with custom configuration posted in the body.

func (*Client) ResetApmSecretToken

func (a *Client) ResetApmSecretToken(params *ResetApmSecretTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetApmSecretTokenOK, error)
ResetApmSecretToken resets token

> WARNING

> This endpoint is deprecated and scheduled to be removed in the next major version. Use [reset APM resource token](#deployment-apm-reset-secret-token) instead.

Resets the secret token for a given APM cluster.

func (*Client) RestartApm

func (a *Client) RestartApm(params *RestartApmParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartApmAccepted, error)
RestartApm restarts cluster

> WARNING

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

Restarts a Apm cluster. If a cluster is active: this command re-applies the existing plan but applies a "cluster_reboot", which issues a Apm restart command and waits for it to complete. If a cluster is inactive: this command starts it up with the most recent successful plan.

func (*Client) ResyncApmCluster

func (a *Client) ResyncApmCluster(params *ResyncApmClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResyncApmClusterOK, error)
ResyncApmCluster 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 APM cluster.

func (*Client) ResyncApmClusters

func (a *Client) ResyncApmClusters(params *ResyncApmClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResyncApmClustersAccepted, error)
ResyncApmClusters 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 APM clusters.

func (*Client) SearchApms

func (a *Client) SearchApms(params *SearchApmsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchApmsOK, error)
SearchApms searches clusters

> WARNING

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

Retrieves cluster information for all Apm clusters that match a given query.

func (*Client) SetApmMetadataRaw

func (a *Client) SetApmMetadataRaw(params *SetApmMetadataRawParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetApmMetadataRawOK, error)
SetApmMetadataRaw 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 APM instance. Only use the parameters to set the modified JSON that is returned from the get version of the metadata.

func (*Client) SetApmName

func (a *Client) SetApmName(params *SetApmNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetApmNameOK, error)
SetApmName 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 APM instance.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) ShutdownApm

func (a *Client) ShutdownApm(params *ShutdownApmParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShutdownApmAccepted, error)
ShutdownApm shuts down cluster

> WARNING

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

Shuts down a running cluster and removes all nodes belonging to the cluster. The cluster definition is retained. Warning: this will lose all cluster data that is not saved in a snapshot repository.

func (*Client) StartApmInstances

func (a *Client) StartApmInstances(params *StartApmInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartApmInstancesAccepted, error)
StartApmInstances 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 belonging to a Apm cluster.

func (*Client) StartApmInstancesAll

func (a *Client) StartApmInstancesAll(params *StartApmInstancesAllParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartApmInstancesAllAccepted, error)
StartApmInstancesAll 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 the instances belonging to a Apm cluster.

func (*Client) StartApmInstancesAllMaintenanceMode

StartApmInstancesAllMaintenanceMode 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 all resource instances](#start-deployment-resource-instances-all-maintenance-mode) instead.

Starts maintenance mode of all instances belonging to a Apm cluster.

func (*Client) StartApmMaintenanceMode

func (a *Client) StartApmMaintenanceMode(params *StartApmMaintenanceModeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartApmMaintenanceModeAccepted, error)
StartApmMaintenanceMode starts maintenance mode

> 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 of instances belonging to a Apm cluster.

func (*Client) StopApmInstances

func (a *Client) StopApmInstances(params *StopApmInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopApmInstancesAccepted, error)
StopApmInstances 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 belonging to a Apm cluster.

func (*Client) StopApmInstancesAll

func (a *Client) StopApmInstancesAll(params *StopApmInstancesAllParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopApmInstancesAllAccepted, error)
StopApmInstancesAll 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 the instances belonging to a Apm cluster.

func (*Client) StopApmInstancesAllMaintenanceMode

StopApmInstancesAllMaintenanceMode 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 of all instances belonging to a Apm cluster.

func (*Client) StopApmMaintenanceMode

func (a *Client) StopApmMaintenanceMode(params *StopApmMaintenanceModeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopApmMaintenanceModeAccepted, error)
StopApmMaintenanceMode 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 of instances belonging to a Apm cluster.

func (*Client) UpdateApmMetadataSettings

func (a *Client) UpdateApmMetadataSettings(params *UpdateApmMetadataSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateApmMetadataSettingsOK, error)
UpdateApmMetadataSettings 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) UpdateApmPlan

UpdateApmPlan 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 an existing Apm cluster.

func (*Client) UpgradeApm

func (a *Client) UpgradeApm(params *UpgradeApmParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeApmAccepted, error)
UpgradeApm upgrades cluster

> WARNING

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

Upgrades a running cluster.

type ClientOption added in v1.3.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CancelApmPendingPlan(params *CancelApmPendingPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CancelApmPendingPlanOK, error)

	CreateApm(params *CreateApmParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateApmOK, *CreateApmCreated, error)

	DeleteApm(params *DeleteApmParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteApmOK, error)

	GetApmCluster(params *GetApmClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApmClusterOK, error)

	GetApmClusterPlanActivity(params *GetApmClusterPlanActivityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApmClusterPlanActivityOK, error)

	GetApmClusters(params *GetApmClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApmClustersOK, error)

	GetApmMetadataRaw(params *GetApmMetadataRawParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApmMetadataRawOK, error)

	GetApmMetadataSettings(params *GetApmMetadataSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApmMetadataSettingsOK, error)

	GetApmPendingPlan(params *GetApmPendingPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApmPendingPlanOK, error)

	GetApmPlan(params *GetApmPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApmPlanOK, error)

	MoveApmInstances(params *MoveApmInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveApmInstancesAccepted, error)

	MoveApmInstancesAdvanced(params *MoveApmInstancesAdvancedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MoveApmInstancesAdvancedAccepted, error)

	ResetApmSecretToken(params *ResetApmSecretTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResetApmSecretTokenOK, error)

	RestartApm(params *RestartApmParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RestartApmAccepted, error)

	ResyncApmCluster(params *ResyncApmClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResyncApmClusterOK, error)

	ResyncApmClusters(params *ResyncApmClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResyncApmClustersAccepted, error)

	SearchApms(params *SearchApmsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchApmsOK, error)

	SetApmMetadataRaw(params *SetApmMetadataRawParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetApmMetadataRawOK, error)

	SetApmName(params *SetApmNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetApmNameOK, error)

	ShutdownApm(params *ShutdownApmParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ShutdownApmAccepted, error)

	StartApmInstances(params *StartApmInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartApmInstancesAccepted, error)

	StartApmInstancesAll(params *StartApmInstancesAllParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartApmInstancesAllAccepted, error)

	StartApmInstancesAllMaintenanceMode(params *StartApmInstancesAllMaintenanceModeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartApmInstancesAllMaintenanceModeAccepted, error)

	StartApmMaintenanceMode(params *StartApmMaintenanceModeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartApmMaintenanceModeAccepted, error)

	StopApmInstances(params *StopApmInstancesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopApmInstancesAccepted, error)

	StopApmInstancesAll(params *StopApmInstancesAllParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopApmInstancesAllAccepted, error)

	StopApmInstancesAllMaintenanceMode(params *StopApmInstancesAllMaintenanceModeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopApmInstancesAllMaintenanceModeAccepted, error)

	StopApmMaintenanceMode(params *StopApmMaintenanceModeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopApmMaintenanceModeAccepted, error)

	UpdateApmMetadataSettings(params *UpdateApmMetadataSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateApmMetadataSettingsOK, error)

	UpdateApmPlan(params *UpdateApmPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateApmPlanOK, *UpdateApmPlanAccepted, error)

	UpgradeApm(params *UpgradeApmParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpgradeApmAccepted, 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 apm API client.

type CreateApmBadRequest

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

The APM server plan contains errors. (code: 'clusters.cluster_invalid_plan' and 'clusters.plan_feature_not_implemented')

func NewCreateApmBadRequest

func NewCreateApmBadRequest() *CreateApmBadRequest

NewCreateApmBadRequest creates a CreateApmBadRequest with default headers values

func (*CreateApmBadRequest) Error

func (o *CreateApmBadRequest) Error() string

func (*CreateApmBadRequest) GetPayload

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

type CreateApmCreated

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

The APM server plan is valid and the creation process has started.

func NewCreateApmCreated

func NewCreateApmCreated() *CreateApmCreated

NewCreateApmCreated creates a CreateApmCreated with default headers values

func (*CreateApmCreated) Error

func (o *CreateApmCreated) Error() string

func (*CreateApmCreated) GetPayload

func (o *CreateApmCreated) GetPayload() *models.ApmCrudResponse

type CreateApmOK

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

The APM server plan is valid. The return object contains an internal representation of the plan that you can use for debugging.

func NewCreateApmOK

func NewCreateApmOK() *CreateApmOK

NewCreateApmOK creates a CreateApmOK with default headers values

func (*CreateApmOK) Error

func (o *CreateApmOK) Error() string

func (*CreateApmOK) GetPayload

func (o *CreateApmOK) GetPayload() *models.ApmCrudResponse

type CreateApmParams

type CreateApmParams struct {

	/* Body.

	   The cluster definition
	*/
	Body *models.CreateApmRequest

	/* ValidateOnly.

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

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

CreateApmParams contains all the parameters to send to the API endpoint

for the create apm operation.

Typically these are written to a http.Request.

func NewCreateApmParams

func NewCreateApmParams() *CreateApmParams

NewCreateApmParams creates a new CreateApmParams 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 NewCreateApmParamsWithContext

func NewCreateApmParamsWithContext(ctx context.Context) *CreateApmParams

NewCreateApmParamsWithContext creates a new CreateApmParams object with the ability to set a context for a request.

func NewCreateApmParamsWithHTTPClient

func NewCreateApmParamsWithHTTPClient(client *http.Client) *CreateApmParams

NewCreateApmParamsWithHTTPClient creates a new CreateApmParams object with the ability to set a custom HTTPClient for a request.

func NewCreateApmParamsWithTimeout

func NewCreateApmParamsWithTimeout(timeout time.Duration) *CreateApmParams

NewCreateApmParamsWithTimeout creates a new CreateApmParams object with the ability to set a timeout on a request.

func (*CreateApmParams) SetBody

func (o *CreateApmParams) SetBody(body *models.CreateApmRequest)

SetBody adds the body to the create apm params

func (*CreateApmParams) SetContext

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

SetContext adds the context to the create apm params

func (*CreateApmParams) SetDefaults added in v1.3.0

func (o *CreateApmParams) SetDefaults()

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

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

func (*CreateApmParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create apm params

func (*CreateApmParams) SetTimeout

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

SetTimeout adds the timeout to the create apm params

func (*CreateApmParams) SetValidateOnly

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

SetValidateOnly adds the validateOnly to the create apm params

func (*CreateApmParams) WithBody

WithBody adds the body to the create apm params

func (*CreateApmParams) WithContext

func (o *CreateApmParams) WithContext(ctx context.Context) *CreateApmParams

WithContext adds the context to the create apm params

func (*CreateApmParams) WithDefaults added in v1.3.0

func (o *CreateApmParams) WithDefaults() *CreateApmParams

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

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

func (*CreateApmParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create apm params

func (*CreateApmParams) WithTimeout

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

WithTimeout adds the timeout to the create apm params

func (*CreateApmParams) WithValidateOnly

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

WithValidateOnly adds the validateOnly to the create apm params

func (*CreateApmParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateApmReader

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

CreateApmReader is a Reader for the CreateApm structure.

func (*CreateApmReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateApmRetryWith

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

Elevated permissions are required. (code: '"root.needs_elevated_permissions"')

func NewCreateApmRetryWith

func NewCreateApmRetryWith() *CreateApmRetryWith

NewCreateApmRetryWith creates a CreateApmRetryWith with default headers values

func (*CreateApmRetryWith) Error

func (o *CreateApmRetryWith) Error() string

func (*CreateApmRetryWith) GetPayload

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

type DeleteApmNotFound

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

The {cluster_id} can't be found. (code: 'clusters.cluster_not_found')

func NewDeleteApmNotFound

func NewDeleteApmNotFound() *DeleteApmNotFound

NewDeleteApmNotFound creates a DeleteApmNotFound with default headers values

func (*DeleteApmNotFound) Error

func (o *DeleteApmNotFound) Error() string

func (*DeleteApmNotFound) GetPayload

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

type DeleteApmOK

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

The APM server is deleted.

func NewDeleteApmOK

func NewDeleteApmOK() *DeleteApmOK

NewDeleteApmOK creates a DeleteApmOK with default headers values

func (*DeleteApmOK) Error

func (o *DeleteApmOK) Error() string

func (*DeleteApmOK) GetPayload

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

type DeleteApmParams

type DeleteApmParams struct {

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

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

DeleteApmParams contains all the parameters to send to the API endpoint

for the delete apm operation.

Typically these are written to a http.Request.

func NewDeleteApmParams

func NewDeleteApmParams() *DeleteApmParams

NewDeleteApmParams creates a new DeleteApmParams 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 NewDeleteApmParamsWithContext

func NewDeleteApmParamsWithContext(ctx context.Context) *DeleteApmParams

NewDeleteApmParamsWithContext creates a new DeleteApmParams object with the ability to set a context for a request.

func NewDeleteApmParamsWithHTTPClient

func NewDeleteApmParamsWithHTTPClient(client *http.Client) *DeleteApmParams

NewDeleteApmParamsWithHTTPClient creates a new DeleteApmParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteApmParamsWithTimeout

func NewDeleteApmParamsWithTimeout(timeout time.Duration) *DeleteApmParams

NewDeleteApmParamsWithTimeout creates a new DeleteApmParams object with the ability to set a timeout on a request.

func (*DeleteApmParams) SetClusterID

func (o *DeleteApmParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the delete apm params

func (*DeleteApmParams) SetContext

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

SetContext adds the context to the delete apm params

func (*DeleteApmParams) SetDefaults added in v1.3.0

func (o *DeleteApmParams) SetDefaults()

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

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

func (*DeleteApmParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete apm params

func (*DeleteApmParams) SetTimeout

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

SetTimeout adds the timeout to the delete apm params

func (*DeleteApmParams) WithClusterID

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

WithClusterID adds the clusterID to the delete apm params

func (*DeleteApmParams) WithContext

func (o *DeleteApmParams) WithContext(ctx context.Context) *DeleteApmParams

WithContext adds the context to the delete apm params

func (*DeleteApmParams) WithDefaults added in v1.3.0

func (o *DeleteApmParams) WithDefaults() *DeleteApmParams

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

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

func (*DeleteApmParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete apm params

func (*DeleteApmParams) WithTimeout

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

WithTimeout adds the timeout to the delete apm params

func (*DeleteApmParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteApmPreconditionFailed

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

To delete the APM server, you must first shut it down. (code: 'clusters.cluster_plan_state_error')

func NewDeleteApmPreconditionFailed

func NewDeleteApmPreconditionFailed() *DeleteApmPreconditionFailed

NewDeleteApmPreconditionFailed creates a DeleteApmPreconditionFailed with default headers values

func (*DeleteApmPreconditionFailed) Error

func (*DeleteApmPreconditionFailed) GetPayload

type DeleteApmReader

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

DeleteApmReader is a Reader for the DeleteApm structure.

func (*DeleteApmReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteApmRetryWith

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

Elevated permissions are required. (code: '"root.needs_elevated_permissions"')

func NewDeleteApmRetryWith

func NewDeleteApmRetryWith() *DeleteApmRetryWith

NewDeleteApmRetryWith creates a DeleteApmRetryWith with default headers values

func (*DeleteApmRetryWith) Error

func (o *DeleteApmRetryWith) Error() string

func (*DeleteApmRetryWith) GetPayload

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

type GetApmClusterNotFound

type GetApmClusterNotFound struct {

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

	Payload *models.BasicFailedReply
}
GetApmClusterNotFound 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 NewGetApmClusterNotFound

func NewGetApmClusterNotFound() *GetApmClusterNotFound

NewGetApmClusterNotFound creates a GetApmClusterNotFound with default headers values

func (*GetApmClusterNotFound) Error

func (o *GetApmClusterNotFound) Error() string

func (*GetApmClusterNotFound) GetPayload

type GetApmClusterOK

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

Returning the information for the specified APM cluster

func NewGetApmClusterOK

func NewGetApmClusterOK() *GetApmClusterOK

NewGetApmClusterOK creates a GetApmClusterOK with default headers values

func (*GetApmClusterOK) Error

func (o *GetApmClusterOK) Error() string

func (*GetApmClusterOK) GetPayload

func (o *GetApmClusterOK) GetPayload() *models.ApmInfo

type GetApmClusterParams

type GetApmClusterParams struct {

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

	/* 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

	/* ShowSettings.

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

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

GetApmClusterParams contains all the parameters to send to the API endpoint

for the get apm cluster operation.

Typically these are written to a http.Request.

func NewGetApmClusterParams

func NewGetApmClusterParams() *GetApmClusterParams

NewGetApmClusterParams creates a new GetApmClusterParams 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 NewGetApmClusterParamsWithContext

func NewGetApmClusterParamsWithContext(ctx context.Context) *GetApmClusterParams

NewGetApmClusterParamsWithContext creates a new GetApmClusterParams object with the ability to set a context for a request.

func NewGetApmClusterParamsWithHTTPClient

func NewGetApmClusterParamsWithHTTPClient(client *http.Client) *GetApmClusterParams

NewGetApmClusterParamsWithHTTPClient creates a new GetApmClusterParams object with the ability to set a custom HTTPClient for a request.

func NewGetApmClusterParamsWithTimeout

func NewGetApmClusterParamsWithTimeout(timeout time.Duration) *GetApmClusterParams

NewGetApmClusterParamsWithTimeout creates a new GetApmClusterParams object with the ability to set a timeout on a request.

func (*GetApmClusterParams) SetClusterID

func (o *GetApmClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get apm cluster params

func (*GetApmClusterParams) SetContext

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

SetContext adds the context to the get apm cluster params

func (*GetApmClusterParams) SetDefaults added in v1.3.0

func (o *GetApmClusterParams) SetDefaults()

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

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

func (*GetApmClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get apm cluster params

func (*GetApmClusterParams) SetShowMetadata

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

SetShowMetadata adds the showMetadata to the get apm cluster params

func (*GetApmClusterParams) SetShowPlanDefaults

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

SetShowPlanDefaults adds the showPlanDefaults to the get apm cluster params

func (*GetApmClusterParams) SetShowPlanLogs

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

SetShowPlanLogs adds the showPlanLogs to the get apm cluster params

func (*GetApmClusterParams) SetShowPlans

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

SetShowPlans adds the showPlans to the get apm cluster params

func (*GetApmClusterParams) SetShowSettings

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

SetShowSettings adds the showSettings to the get apm cluster params

func (*GetApmClusterParams) SetTimeout

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

SetTimeout adds the timeout to the get apm cluster params

func (*GetApmClusterParams) WithClusterID

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

WithClusterID adds the clusterID to the get apm cluster params

func (*GetApmClusterParams) WithContext

WithContext adds the context to the get apm cluster params

func (*GetApmClusterParams) WithDefaults added in v1.3.0

func (o *GetApmClusterParams) WithDefaults() *GetApmClusterParams

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

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

func (*GetApmClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get apm cluster params

func (*GetApmClusterParams) WithShowMetadata

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

WithShowMetadata adds the showMetadata to the get apm cluster params

func (*GetApmClusterParams) WithShowPlanDefaults

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

WithShowPlanDefaults adds the showPlanDefaults to the get apm cluster params

func (*GetApmClusterParams) WithShowPlanLogs

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

WithShowPlanLogs adds the showPlanLogs to the get apm cluster params

func (*GetApmClusterParams) WithShowPlans

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

WithShowPlans adds the showPlans to the get apm cluster params

func (*GetApmClusterParams) WithShowSettings

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

WithShowSettings adds the showSettings to the get apm cluster params

func (*GetApmClusterParams) WithTimeout

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

WithTimeout adds the timeout to the get apm cluster params

func (*GetApmClusterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetApmClusterPlanActivityNotFound

type GetApmClusterPlanActivityNotFound struct {

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

	Payload *models.BasicFailedReply
}
GetApmClusterPlanActivityNotFound 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 NewGetApmClusterPlanActivityNotFound

func NewGetApmClusterPlanActivityNotFound() *GetApmClusterPlanActivityNotFound

NewGetApmClusterPlanActivityNotFound creates a GetApmClusterPlanActivityNotFound with default headers values

func (*GetApmClusterPlanActivityNotFound) Error

func (*GetApmClusterPlanActivityNotFound) GetPayload

type GetApmClusterPlanActivityOK

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

Returning the plan activity for the specified APM cluster

func NewGetApmClusterPlanActivityOK

func NewGetApmClusterPlanActivityOK() *GetApmClusterPlanActivityOK

NewGetApmClusterPlanActivityOK creates a GetApmClusterPlanActivityOK with default headers values

func (*GetApmClusterPlanActivityOK) Error

func (*GetApmClusterPlanActivityOK) GetPayload

type GetApmClusterPlanActivityParams

type GetApmClusterPlanActivityParams struct {

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

	/* 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
}

GetApmClusterPlanActivityParams contains all the parameters to send to the API endpoint

for the get apm cluster plan activity operation.

Typically these are written to a http.Request.

func NewGetApmClusterPlanActivityParams

func NewGetApmClusterPlanActivityParams() *GetApmClusterPlanActivityParams

NewGetApmClusterPlanActivityParams creates a new GetApmClusterPlanActivityParams 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 NewGetApmClusterPlanActivityParamsWithContext

func NewGetApmClusterPlanActivityParamsWithContext(ctx context.Context) *GetApmClusterPlanActivityParams

NewGetApmClusterPlanActivityParamsWithContext creates a new GetApmClusterPlanActivityParams object with the ability to set a context for a request.

func NewGetApmClusterPlanActivityParamsWithHTTPClient

func NewGetApmClusterPlanActivityParamsWithHTTPClient(client *http.Client) *GetApmClusterPlanActivityParams

NewGetApmClusterPlanActivityParamsWithHTTPClient creates a new GetApmClusterPlanActivityParams object with the ability to set a custom HTTPClient for a request.

func NewGetApmClusterPlanActivityParamsWithTimeout

func NewGetApmClusterPlanActivityParamsWithTimeout(timeout time.Duration) *GetApmClusterPlanActivityParams

NewGetApmClusterPlanActivityParamsWithTimeout creates a new GetApmClusterPlanActivityParams object with the ability to set a timeout on a request.

func (*GetApmClusterPlanActivityParams) SetClusterID

func (o *GetApmClusterPlanActivityParams) SetClusterID(clusterID string)

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

func (*GetApmClusterPlanActivityParams) SetContext

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

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

func (*GetApmClusterPlanActivityParams) SetDefaults added in v1.3.0

func (o *GetApmClusterPlanActivityParams) SetDefaults()

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

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

func (*GetApmClusterPlanActivityParams) SetHTTPClient

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

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

func (*GetApmClusterPlanActivityParams) SetShowPlanDefaults

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

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

func (*GetApmClusterPlanActivityParams) SetShowPlanLogs

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

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

func (*GetApmClusterPlanActivityParams) SetTimeout

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

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

func (*GetApmClusterPlanActivityParams) WithClusterID

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

func (*GetApmClusterPlanActivityParams) WithContext

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

func (*GetApmClusterPlanActivityParams) WithDefaults added in v1.3.0

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

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

func (*GetApmClusterPlanActivityParams) WithHTTPClient

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

func (*GetApmClusterPlanActivityParams) WithShowPlanDefaults

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

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

func (*GetApmClusterPlanActivityParams) WithShowPlanLogs

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

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

func (*GetApmClusterPlanActivityParams) WithTimeout

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

func (*GetApmClusterPlanActivityParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetApmClusterPlanActivityReader

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

GetApmClusterPlanActivityReader is a Reader for the GetApmClusterPlanActivity structure.

func (*GetApmClusterPlanActivityReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApmClusterReader

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

GetApmClusterReader is a Reader for the GetApmCluster structure.

func (*GetApmClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApmClustersOK

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

The information for the APM server is retrieved.

func NewGetApmClustersOK

func NewGetApmClustersOK() *GetApmClustersOK

NewGetApmClustersOK creates a GetApmClustersOK with default headers values

func (*GetApmClustersOK) Error

func (o *GetApmClustersOK) Error() string

func (*GetApmClustersOK) GetPayload

func (o *GetApmClustersOK) GetPayload() *models.ApmsInfo

type GetApmClustersParams

type GetApmClustersParams struct {

	/* From.

	   The number of clusters to skip.
	*/
	From *int64

	/* Q.

	   An optional query to filter APM 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

	/* ShowSettings.

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

	/* Size.

	   The maximum number of clusters to include in the response. For all clusters, use -1. NOTE: This option can result in large responses.

	   Default: 100
	*/
	Size *int64

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

GetApmClustersParams contains all the parameters to send to the API endpoint

for the get apm clusters operation.

Typically these are written to a http.Request.

func NewGetApmClustersParams

func NewGetApmClustersParams() *GetApmClustersParams

NewGetApmClustersParams creates a new GetApmClustersParams 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 NewGetApmClustersParamsWithContext

func NewGetApmClustersParamsWithContext(ctx context.Context) *GetApmClustersParams

NewGetApmClustersParamsWithContext creates a new GetApmClustersParams object with the ability to set a context for a request.

func NewGetApmClustersParamsWithHTTPClient

func NewGetApmClustersParamsWithHTTPClient(client *http.Client) *GetApmClustersParams

NewGetApmClustersParamsWithHTTPClient creates a new GetApmClustersParams object with the ability to set a custom HTTPClient for a request.

func NewGetApmClustersParamsWithTimeout

func NewGetApmClustersParamsWithTimeout(timeout time.Duration) *GetApmClustersParams

NewGetApmClustersParamsWithTimeout creates a new GetApmClustersParams object with the ability to set a timeout on a request.

func (*GetApmClustersParams) SetContext

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

SetContext adds the context to the get apm clusters params

func (*GetApmClustersParams) SetDefaults added in v1.3.0

func (o *GetApmClustersParams) SetDefaults()

SetDefaults hydrates default values in the get apm clusters params (not the query body).

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

func (*GetApmClustersParams) SetFrom

func (o *GetApmClustersParams) SetFrom(from *int64)

SetFrom adds the from to the get apm clusters params

func (*GetApmClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get apm clusters params

func (*GetApmClustersParams) SetQ

func (o *GetApmClustersParams) SetQ(q *string)

SetQ adds the q to the get apm clusters params

func (*GetApmClustersParams) SetShowHidden

func (o *GetApmClustersParams) SetShowHidden(showHidden *bool)

SetShowHidden adds the showHidden to the get apm clusters params

func (*GetApmClustersParams) SetShowMetadata

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

SetShowMetadata adds the showMetadata to the get apm clusters params

func (*GetApmClustersParams) SetShowPlanDefaults

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

SetShowPlanDefaults adds the showPlanDefaults to the get apm clusters params

func (*GetApmClustersParams) SetShowPlans

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

SetShowPlans adds the showPlans to the get apm clusters params

func (*GetApmClustersParams) SetShowSettings

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

SetShowSettings adds the showSettings to the get apm clusters params

func (*GetApmClustersParams) SetSize

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

SetSize adds the size to the get apm clusters params

func (*GetApmClustersParams) SetTimeout

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

SetTimeout adds the timeout to the get apm clusters params

func (*GetApmClustersParams) WithContext

WithContext adds the context to the get apm clusters params

func (*GetApmClustersParams) WithDefaults added in v1.3.0

func (o *GetApmClustersParams) WithDefaults() *GetApmClustersParams

WithDefaults hydrates default values in the get apm clusters params (not the query body).

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

func (*GetApmClustersParams) WithFrom

func (o *GetApmClustersParams) WithFrom(from *int64) *GetApmClustersParams

WithFrom adds the from to the get apm clusters params

func (*GetApmClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get apm clusters params

func (*GetApmClustersParams) WithQ

WithQ adds the q to the get apm clusters params

func (*GetApmClustersParams) WithShowHidden

func (o *GetApmClustersParams) WithShowHidden(showHidden *bool) *GetApmClustersParams

WithShowHidden adds the showHidden to the get apm clusters params

func (*GetApmClustersParams) WithShowMetadata

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

WithShowMetadata adds the showMetadata to the get apm clusters params

func (*GetApmClustersParams) WithShowPlanDefaults

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

WithShowPlanDefaults adds the showPlanDefaults to the get apm clusters params

func (*GetApmClustersParams) WithShowPlans

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

WithShowPlans adds the showPlans to the get apm clusters params

func (*GetApmClustersParams) WithShowSettings

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

WithShowSettings adds the showSettings to the get apm clusters params

func (*GetApmClustersParams) WithSize

func (o *GetApmClustersParams) WithSize(size *int64) *GetApmClustersParams

WithSize adds the size to the get apm clusters params

func (*GetApmClustersParams) WithTimeout

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

WithTimeout adds the timeout to the get apm clusters params

func (*GetApmClustersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetApmClustersReader

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

GetApmClustersReader is a Reader for the GetApmClusters structure.

func (*GetApmClustersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApmMetadataRawNotFound

type GetApmMetadataRawNotFound struct {
	Payload *models.BasicFailedReply
}
GetApmMetadataRawNotFound 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 NewGetApmMetadataRawNotFound

func NewGetApmMetadataRawNotFound() *GetApmMetadataRawNotFound

NewGetApmMetadataRawNotFound creates a GetApmMetadataRawNotFound with default headers values

func (*GetApmMetadataRawNotFound) Error

func (o *GetApmMetadataRawNotFound) Error() string

func (*GetApmMetadataRawNotFound) GetPayload

type GetApmMetadataRawOK

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

The cluster metadata was successfully returned

func NewGetApmMetadataRawOK

func NewGetApmMetadataRawOK() *GetApmMetadataRawOK

NewGetApmMetadataRawOK creates a GetApmMetadataRawOK with default headers values

func (*GetApmMetadataRawOK) Error

func (o *GetApmMetadataRawOK) Error() string

func (*GetApmMetadataRawOK) GetPayload

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

type GetApmMetadataRawParams

type GetApmMetadataRawParams struct {

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

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

GetApmMetadataRawParams contains all the parameters to send to the API endpoint

for the get apm metadata raw operation.

Typically these are written to a http.Request.

func NewGetApmMetadataRawParams

func NewGetApmMetadataRawParams() *GetApmMetadataRawParams

NewGetApmMetadataRawParams creates a new GetApmMetadataRawParams 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 NewGetApmMetadataRawParamsWithContext

func NewGetApmMetadataRawParamsWithContext(ctx context.Context) *GetApmMetadataRawParams

NewGetApmMetadataRawParamsWithContext creates a new GetApmMetadataRawParams object with the ability to set a context for a request.

func NewGetApmMetadataRawParamsWithHTTPClient

func NewGetApmMetadataRawParamsWithHTTPClient(client *http.Client) *GetApmMetadataRawParams

NewGetApmMetadataRawParamsWithHTTPClient creates a new GetApmMetadataRawParams object with the ability to set a custom HTTPClient for a request.

func NewGetApmMetadataRawParamsWithTimeout

func NewGetApmMetadataRawParamsWithTimeout(timeout time.Duration) *GetApmMetadataRawParams

NewGetApmMetadataRawParamsWithTimeout creates a new GetApmMetadataRawParams object with the ability to set a timeout on a request.

func (*GetApmMetadataRawParams) SetClusterID

func (o *GetApmMetadataRawParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get apm metadata raw params

func (*GetApmMetadataRawParams) SetContext

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

SetContext adds the context to the get apm metadata raw params

func (*GetApmMetadataRawParams) SetDefaults added in v1.3.0

func (o *GetApmMetadataRawParams) SetDefaults()

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

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

func (*GetApmMetadataRawParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get apm metadata raw params

func (*GetApmMetadataRawParams) SetTimeout

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

SetTimeout adds the timeout to the get apm metadata raw params

func (*GetApmMetadataRawParams) WithClusterID

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

WithClusterID adds the clusterID to the get apm metadata raw params

func (*GetApmMetadataRawParams) WithContext

WithContext adds the context to the get apm metadata raw params

func (*GetApmMetadataRawParams) WithDefaults added in v1.3.0

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

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

func (*GetApmMetadataRawParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get apm metadata raw params

func (*GetApmMetadataRawParams) WithTimeout

WithTimeout adds the timeout to the get apm metadata raw params

func (*GetApmMetadataRawParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetApmMetadataRawReader

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

GetApmMetadataRawReader is a Reader for the GetApmMetadataRaw structure.

func (*GetApmMetadataRawReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApmMetadataSettingsNotFound

type GetApmMetadataSettingsNotFound struct {
	Payload *models.BasicFailedReply
}
GetApmMetadataSettingsNotFound 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 NewGetApmMetadataSettingsNotFound

func NewGetApmMetadataSettingsNotFound() *GetApmMetadataSettingsNotFound

NewGetApmMetadataSettingsNotFound creates a GetApmMetadataSettingsNotFound with default headers values

func (*GetApmMetadataSettingsNotFound) Error

func (*GetApmMetadataSettingsNotFound) GetPayload

type GetApmMetadataSettingsOK

type GetApmMetadataSettingsOK 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
}
GetApmMetadataSettingsOK describes a response with status code 200, with default header values.

The cluster metadata was successfully returned

func NewGetApmMetadataSettingsOK

func NewGetApmMetadataSettingsOK() *GetApmMetadataSettingsOK

NewGetApmMetadataSettingsOK creates a GetApmMetadataSettingsOK with default headers values

func (*GetApmMetadataSettingsOK) Error

func (o *GetApmMetadataSettingsOK) Error() string

func (*GetApmMetadataSettingsOK) GetPayload

type GetApmMetadataSettingsParams

type GetApmMetadataSettingsParams struct {

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

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

GetApmMetadataSettingsParams contains all the parameters to send to the API endpoint

for the get apm metadata settings operation.

Typically these are written to a http.Request.

func NewGetApmMetadataSettingsParams

func NewGetApmMetadataSettingsParams() *GetApmMetadataSettingsParams

NewGetApmMetadataSettingsParams creates a new GetApmMetadataSettingsParams 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 NewGetApmMetadataSettingsParamsWithContext

func NewGetApmMetadataSettingsParamsWithContext(ctx context.Context) *GetApmMetadataSettingsParams

NewGetApmMetadataSettingsParamsWithContext creates a new GetApmMetadataSettingsParams object with the ability to set a context for a request.

func NewGetApmMetadataSettingsParamsWithHTTPClient

func NewGetApmMetadataSettingsParamsWithHTTPClient(client *http.Client) *GetApmMetadataSettingsParams

NewGetApmMetadataSettingsParamsWithHTTPClient creates a new GetApmMetadataSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetApmMetadataSettingsParamsWithTimeout

func NewGetApmMetadataSettingsParamsWithTimeout(timeout time.Duration) *GetApmMetadataSettingsParams

NewGetApmMetadataSettingsParamsWithTimeout creates a new GetApmMetadataSettingsParams object with the ability to set a timeout on a request.

func (*GetApmMetadataSettingsParams) SetClusterID

func (o *GetApmMetadataSettingsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get apm metadata settings params

func (*GetApmMetadataSettingsParams) SetContext

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

SetContext adds the context to the get apm metadata settings params

func (*GetApmMetadataSettingsParams) SetDefaults added in v1.3.0

func (o *GetApmMetadataSettingsParams) SetDefaults()

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

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

func (*GetApmMetadataSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get apm metadata settings params

func (*GetApmMetadataSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get apm metadata settings params

func (*GetApmMetadataSettingsParams) WithClusterID

WithClusterID adds the clusterID to the get apm metadata settings params

func (*GetApmMetadataSettingsParams) WithContext

WithContext adds the context to the get apm metadata settings params

func (*GetApmMetadataSettingsParams) WithDefaults added in v1.3.0

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

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

func (*GetApmMetadataSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get apm metadata settings params

func (*GetApmMetadataSettingsParams) WithTimeout

WithTimeout adds the timeout to the get apm metadata settings params

func (*GetApmMetadataSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetApmMetadataSettingsReader

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

GetApmMetadataSettingsReader is a Reader for the GetApmMetadataSettings structure.

func (*GetApmMetadataSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApmPendingPlanNotFound

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

The {cluster_id} can't be found. (code: 'clusters.cluster_not_found')

func NewGetApmPendingPlanNotFound

func NewGetApmPendingPlanNotFound() *GetApmPendingPlanNotFound

NewGetApmPendingPlanNotFound creates a GetApmPendingPlanNotFound with default headers values

func (*GetApmPendingPlanNotFound) Error

func (o *GetApmPendingPlanNotFound) Error() string

func (*GetApmPendingPlanNotFound) GetPayload

type GetApmPendingPlanOK

type GetApmPendingPlanOK 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.ApmPlan
}
GetApmPendingPlanOK describes a response with status code 200, with default header values.

The pending plan is applied to the APM server.

func NewGetApmPendingPlanOK

func NewGetApmPendingPlanOK() *GetApmPendingPlanOK

NewGetApmPendingPlanOK creates a GetApmPendingPlanOK with default headers values

func (*GetApmPendingPlanOK) Error

func (o *GetApmPendingPlanOK) Error() string

func (*GetApmPendingPlanOK) GetPayload

func (o *GetApmPendingPlanOK) GetPayload() *models.ApmPlan

type GetApmPendingPlanParams

type GetApmPendingPlanParams struct {

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

	/* 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
}

GetApmPendingPlanParams contains all the parameters to send to the API endpoint

for the get apm pending plan operation.

Typically these are written to a http.Request.

func NewGetApmPendingPlanParams

func NewGetApmPendingPlanParams() *GetApmPendingPlanParams

NewGetApmPendingPlanParams creates a new GetApmPendingPlanParams 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 NewGetApmPendingPlanParamsWithContext

func NewGetApmPendingPlanParamsWithContext(ctx context.Context) *GetApmPendingPlanParams

NewGetApmPendingPlanParamsWithContext creates a new GetApmPendingPlanParams object with the ability to set a context for a request.

func NewGetApmPendingPlanParamsWithHTTPClient

func NewGetApmPendingPlanParamsWithHTTPClient(client *http.Client) *GetApmPendingPlanParams

NewGetApmPendingPlanParamsWithHTTPClient creates a new GetApmPendingPlanParams object with the ability to set a custom HTTPClient for a request.

func NewGetApmPendingPlanParamsWithTimeout

func NewGetApmPendingPlanParamsWithTimeout(timeout time.Duration) *GetApmPendingPlanParams

NewGetApmPendingPlanParamsWithTimeout creates a new GetApmPendingPlanParams object with the ability to set a timeout on a request.

func (*GetApmPendingPlanParams) SetClusterID

func (o *GetApmPendingPlanParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get apm pending plan params

func (*GetApmPendingPlanParams) SetContext

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

SetContext adds the context to the get apm pending plan params

func (*GetApmPendingPlanParams) SetDefaults added in v1.3.0

func (o *GetApmPendingPlanParams) SetDefaults()

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

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

func (*GetApmPendingPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get apm pending plan params

func (*GetApmPendingPlanParams) SetShowPlanDefaults

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

SetShowPlanDefaults adds the showPlanDefaults to the get apm pending plan params

func (*GetApmPendingPlanParams) SetTimeout

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

SetTimeout adds the timeout to the get apm pending plan params

func (*GetApmPendingPlanParams) WithClusterID

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

WithClusterID adds the clusterID to the get apm pending plan params

func (*GetApmPendingPlanParams) WithContext

WithContext adds the context to the get apm pending plan params

func (*GetApmPendingPlanParams) WithDefaults added in v1.3.0

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

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

func (*GetApmPendingPlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get apm pending plan params

func (*GetApmPendingPlanParams) WithShowPlanDefaults

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

WithShowPlanDefaults adds the showPlanDefaults to the get apm pending plan params

func (*GetApmPendingPlanParams) WithTimeout

WithTimeout adds the timeout to the get apm pending plan params

func (*GetApmPendingPlanParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetApmPendingPlanPreconditionFailed

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

The APM server is unable to finish provisioning, or the provisioning failed. Apply a plan, then try again. (code: 'clusters.cluster_plan_state_error')

func NewGetApmPendingPlanPreconditionFailed

func NewGetApmPendingPlanPreconditionFailed() *GetApmPendingPlanPreconditionFailed

NewGetApmPendingPlanPreconditionFailed creates a GetApmPendingPlanPreconditionFailed with default headers values

func (*GetApmPendingPlanPreconditionFailed) Error

func (*GetApmPendingPlanPreconditionFailed) GetPayload

type GetApmPendingPlanReader

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

GetApmPendingPlanReader is a Reader for the GetApmPendingPlan structure.

func (*GetApmPendingPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApmPlanNotFound

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

The {cluster_id} can't be found. (code: 'clusters.cluster_not_found')

func NewGetApmPlanNotFound

func NewGetApmPlanNotFound() *GetApmPlanNotFound

NewGetApmPlanNotFound creates a GetApmPlanNotFound with default headers values

func (*GetApmPlanNotFound) Error

func (o *GetApmPlanNotFound) Error() string

func (*GetApmPlanNotFound) GetPayload

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

type GetApmPlanOK

type GetApmPlanOK 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.ApmPlan
}
GetApmPlanOK describes a response with status code 200, with default header values.

The pending plan is applied to the APM server.

func NewGetApmPlanOK

func NewGetApmPlanOK() *GetApmPlanOK

NewGetApmPlanOK creates a GetApmPlanOK with default headers values

func (*GetApmPlanOK) Error

func (o *GetApmPlanOK) Error() string

func (*GetApmPlanOK) GetPayload

func (o *GetApmPlanOK) GetPayload() *models.ApmPlan

type GetApmPlanParams

type GetApmPlanParams struct {

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

	/* 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
}

GetApmPlanParams contains all the parameters to send to the API endpoint

for the get apm plan operation.

Typically these are written to a http.Request.

func NewGetApmPlanParams

func NewGetApmPlanParams() *GetApmPlanParams

NewGetApmPlanParams creates a new GetApmPlanParams 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 NewGetApmPlanParamsWithContext

func NewGetApmPlanParamsWithContext(ctx context.Context) *GetApmPlanParams

NewGetApmPlanParamsWithContext creates a new GetApmPlanParams object with the ability to set a context for a request.

func NewGetApmPlanParamsWithHTTPClient

func NewGetApmPlanParamsWithHTTPClient(client *http.Client) *GetApmPlanParams

NewGetApmPlanParamsWithHTTPClient creates a new GetApmPlanParams object with the ability to set a custom HTTPClient for a request.

func NewGetApmPlanParamsWithTimeout

func NewGetApmPlanParamsWithTimeout(timeout time.Duration) *GetApmPlanParams

NewGetApmPlanParamsWithTimeout creates a new GetApmPlanParams object with the ability to set a timeout on a request.

func (*GetApmPlanParams) SetClusterID

func (o *GetApmPlanParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the get apm plan params

func (*GetApmPlanParams) SetContext

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

SetContext adds the context to the get apm plan params

func (*GetApmPlanParams) SetDefaults added in v1.3.0

func (o *GetApmPlanParams) SetDefaults()

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

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

func (*GetApmPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get apm plan params

func (*GetApmPlanParams) SetShowPlanDefaults

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

SetShowPlanDefaults adds the showPlanDefaults to the get apm plan params

func (*GetApmPlanParams) SetTimeout

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

SetTimeout adds the timeout to the get apm plan params

func (*GetApmPlanParams) WithClusterID

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

WithClusterID adds the clusterID to the get apm plan params

func (*GetApmPlanParams) WithContext

func (o *GetApmPlanParams) WithContext(ctx context.Context) *GetApmPlanParams

WithContext adds the context to the get apm plan params

func (*GetApmPlanParams) WithDefaults added in v1.3.0

func (o *GetApmPlanParams) WithDefaults() *GetApmPlanParams

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

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

func (*GetApmPlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get apm plan params

func (*GetApmPlanParams) WithShowPlanDefaults

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

WithShowPlanDefaults adds the showPlanDefaults to the get apm plan params

func (*GetApmPlanParams) WithTimeout

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

WithTimeout adds the timeout to the get apm plan params

func (*GetApmPlanParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetApmPlanPreconditionFailed

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

The APM server is unable to finish provisioning, or the provisioning failed. Apply a plan, then try again. (code: 'clusters.cluster_plan_state_error')

func NewGetApmPlanPreconditionFailed

func NewGetApmPlanPreconditionFailed() *GetApmPlanPreconditionFailed

NewGetApmPlanPreconditionFailed creates a GetApmPlanPreconditionFailed with default headers values

func (*GetApmPlanPreconditionFailed) Error

func (*GetApmPlanPreconditionFailed) GetPayload

type GetApmPlanReader

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

GetApmPlanReader is a Reader for the GetApmPlan structure.

func (*GetApmPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MoveApmInstancesAccepted

type MoveApmInstancesAccepted struct {
	Payload *models.ClusterCommandResponse
}
MoveApmInstancesAccepted 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 NewMoveApmInstancesAccepted

func NewMoveApmInstancesAccepted() *MoveApmInstancesAccepted

NewMoveApmInstancesAccepted creates a MoveApmInstancesAccepted with default headers values

func (*MoveApmInstancesAccepted) Error

func (o *MoveApmInstancesAccepted) Error() string

func (*MoveApmInstancesAccepted) GetPayload

type MoveApmInstancesAdvancedAccepted

type MoveApmInstancesAdvancedAccepted struct {
	Payload *models.ClusterCommandResponse
}
MoveApmInstancesAdvancedAccepted 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 NewMoveApmInstancesAdvancedAccepted

func NewMoveApmInstancesAdvancedAccepted() *MoveApmInstancesAdvancedAccepted

NewMoveApmInstancesAdvancedAccepted creates a MoveApmInstancesAdvancedAccepted with default headers values

func (*MoveApmInstancesAdvancedAccepted) Error

func (*MoveApmInstancesAdvancedAccepted) GetPayload

type MoveApmInstancesAdvancedBadRequest

type MoveApmInstancesAdvancedBadRequest struct {

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

	Payload *models.BasicFailedReply
}
MoveApmInstancesAdvancedBadRequest 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 NewMoveApmInstancesAdvancedBadRequest

func NewMoveApmInstancesAdvancedBadRequest() *MoveApmInstancesAdvancedBadRequest

NewMoveApmInstancesAdvancedBadRequest creates a MoveApmInstancesAdvancedBadRequest with default headers values

func (*MoveApmInstancesAdvancedBadRequest) Error

func (*MoveApmInstancesAdvancedBadRequest) GetPayload

type MoveApmInstancesAdvancedForbidden

type MoveApmInstancesAdvancedForbidden struct {

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

	Payload *models.BasicFailedReply
}
MoveApmInstancesAdvancedForbidden 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 NewMoveApmInstancesAdvancedForbidden

func NewMoveApmInstancesAdvancedForbidden() *MoveApmInstancesAdvancedForbidden

NewMoveApmInstancesAdvancedForbidden creates a MoveApmInstancesAdvancedForbidden with default headers values

func (*MoveApmInstancesAdvancedForbidden) Error

func (*MoveApmInstancesAdvancedForbidden) GetPayload

type MoveApmInstancesAdvancedNotFound

type MoveApmInstancesAdvancedNotFound struct {

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

	Payload *models.BasicFailedReply
}
MoveApmInstancesAdvancedNotFound 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 NewMoveApmInstancesAdvancedNotFound

func NewMoveApmInstancesAdvancedNotFound() *MoveApmInstancesAdvancedNotFound

NewMoveApmInstancesAdvancedNotFound creates a MoveApmInstancesAdvancedNotFound with default headers values

func (*MoveApmInstancesAdvancedNotFound) Error

func (*MoveApmInstancesAdvancedNotFound) GetPayload

type MoveApmInstancesAdvancedParams

type MoveApmInstancesAdvancedParams struct {

	/* Body.

	   Overrides defaults for the move, including setting the configuration of instances specified in the path
	*/
	Body *models.TransientApmPlanConfiguration

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

	/* ForceUpdate.

	   When `true`, cancels and overwrites the pending plans, or treats the instance as an error.
	*/
	ForceUpdate *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
}

MoveApmInstancesAdvancedParams contains all the parameters to send to the API endpoint

for the move apm instances advanced operation.

Typically these are written to a http.Request.

func NewMoveApmInstancesAdvancedParams

func NewMoveApmInstancesAdvancedParams() *MoveApmInstancesAdvancedParams

NewMoveApmInstancesAdvancedParams creates a new MoveApmInstancesAdvancedParams 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 NewMoveApmInstancesAdvancedParamsWithContext

func NewMoveApmInstancesAdvancedParamsWithContext(ctx context.Context) *MoveApmInstancesAdvancedParams

NewMoveApmInstancesAdvancedParamsWithContext creates a new MoveApmInstancesAdvancedParams object with the ability to set a context for a request.

func NewMoveApmInstancesAdvancedParamsWithHTTPClient

func NewMoveApmInstancesAdvancedParamsWithHTTPClient(client *http.Client) *MoveApmInstancesAdvancedParams

NewMoveApmInstancesAdvancedParamsWithHTTPClient creates a new MoveApmInstancesAdvancedParams object with the ability to set a custom HTTPClient for a request.

func NewMoveApmInstancesAdvancedParamsWithTimeout

func NewMoveApmInstancesAdvancedParamsWithTimeout(timeout time.Duration) *MoveApmInstancesAdvancedParams

NewMoveApmInstancesAdvancedParamsWithTimeout creates a new MoveApmInstancesAdvancedParams object with the ability to set a timeout on a request.

func (*MoveApmInstancesAdvancedParams) SetBody

SetBody adds the body to the move apm instances advanced params

func (*MoveApmInstancesAdvancedParams) SetClusterID

func (o *MoveApmInstancesAdvancedParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the move apm instances advanced params

func (*MoveApmInstancesAdvancedParams) SetContext

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

SetContext adds the context to the move apm instances advanced params

func (*MoveApmInstancesAdvancedParams) SetDefaults added in v1.3.0

func (o *MoveApmInstancesAdvancedParams) SetDefaults()

SetDefaults hydrates default values in the move apm instances advanced params (not the query body).

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

func (*MoveApmInstancesAdvancedParams) SetForceUpdate

func (o *MoveApmInstancesAdvancedParams) SetForceUpdate(forceUpdate *bool)

SetForceUpdate adds the forceUpdate to the move apm instances advanced params

func (*MoveApmInstancesAdvancedParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the move apm instances advanced params

func (*MoveApmInstancesAdvancedParams) SetTimeout

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

SetTimeout adds the timeout to the move apm instances advanced params

func (*MoveApmInstancesAdvancedParams) SetValidateOnly

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

SetValidateOnly adds the validateOnly to the move apm instances advanced params

func (*MoveApmInstancesAdvancedParams) WithBody

WithBody adds the body to the move apm instances advanced params

func (*MoveApmInstancesAdvancedParams) WithClusterID

WithClusterID adds the clusterID to the move apm instances advanced params

func (*MoveApmInstancesAdvancedParams) WithContext

WithContext adds the context to the move apm instances advanced params

func (*MoveApmInstancesAdvancedParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the move apm instances advanced params (not the query body).

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

func (*MoveApmInstancesAdvancedParams) WithForceUpdate

func (o *MoveApmInstancesAdvancedParams) WithForceUpdate(forceUpdate *bool) *MoveApmInstancesAdvancedParams

WithForceUpdate adds the forceUpdate to the move apm instances advanced params

func (*MoveApmInstancesAdvancedParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the move apm instances advanced params

func (*MoveApmInstancesAdvancedParams) WithTimeout

WithTimeout adds the timeout to the move apm instances advanced params

func (*MoveApmInstancesAdvancedParams) WithValidateOnly

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

WithValidateOnly adds the validateOnly to the move apm instances advanced params

func (*MoveApmInstancesAdvancedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MoveApmInstancesAdvancedReader

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

MoveApmInstancesAdvancedReader is a Reader for the MoveApmInstancesAdvanced structure.

func (*MoveApmInstancesAdvancedReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MoveApmInstancesAdvancedRetryWith

type MoveApmInstancesAdvancedRetryWith struct {

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

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

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

func NewMoveApmInstancesAdvancedRetryWith

func NewMoveApmInstancesAdvancedRetryWith() *MoveApmInstancesAdvancedRetryWith

NewMoveApmInstancesAdvancedRetryWith creates a MoveApmInstancesAdvancedRetryWith with default headers values

func (*MoveApmInstancesAdvancedRetryWith) Error

func (*MoveApmInstancesAdvancedRetryWith) GetPayload

type MoveApmInstancesBadRequest

type MoveApmInstancesBadRequest struct {

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

	Payload *models.BasicFailedReply
}
MoveApmInstancesBadRequest 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 NewMoveApmInstancesBadRequest

func NewMoveApmInstancesBadRequest() *MoveApmInstancesBadRequest

NewMoveApmInstancesBadRequest creates a MoveApmInstancesBadRequest with default headers values

func (*MoveApmInstancesBadRequest) Error

func (*MoveApmInstancesBadRequest) GetPayload

type MoveApmInstancesForbidden

type MoveApmInstancesForbidden struct {

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

	Payload *models.BasicFailedReply
}
MoveApmInstancesForbidden 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 NewMoveApmInstancesForbidden

func NewMoveApmInstancesForbidden() *MoveApmInstancesForbidden

NewMoveApmInstancesForbidden creates a MoveApmInstancesForbidden with default headers values

func (*MoveApmInstancesForbidden) Error

func (o *MoveApmInstancesForbidden) Error() string

func (*MoveApmInstancesForbidden) GetPayload

type MoveApmInstancesNotFound

type MoveApmInstancesNotFound struct {

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

	Payload *models.BasicFailedReply
}
MoveApmInstancesNotFound 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 NewMoveApmInstancesNotFound

func NewMoveApmInstancesNotFound() *MoveApmInstancesNotFound

NewMoveApmInstancesNotFound creates a MoveApmInstancesNotFound with default headers values

func (*MoveApmInstancesNotFound) Error

func (o *MoveApmInstancesNotFound) Error() string

func (*MoveApmInstancesNotFound) GetPayload

type MoveApmInstancesParams

type MoveApmInstancesParams struct {

	/* Body.

	   Overrides defaults for the move, including setting the configuration of instances specified in the path
	*/
	Body *models.TransientApmPlanConfiguration

	/* ClusterID.

	   The APM deployment 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

	/* 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
}

MoveApmInstancesParams contains all the parameters to send to the API endpoint

for the move apm instances operation.

Typically these are written to a http.Request.

func NewMoveApmInstancesParams

func NewMoveApmInstancesParams() *MoveApmInstancesParams

NewMoveApmInstancesParams creates a new MoveApmInstancesParams 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 NewMoveApmInstancesParamsWithContext

func NewMoveApmInstancesParamsWithContext(ctx context.Context) *MoveApmInstancesParams

NewMoveApmInstancesParamsWithContext creates a new MoveApmInstancesParams object with the ability to set a context for a request.

func NewMoveApmInstancesParamsWithHTTPClient

func NewMoveApmInstancesParamsWithHTTPClient(client *http.Client) *MoveApmInstancesParams

NewMoveApmInstancesParamsWithHTTPClient creates a new MoveApmInstancesParams object with the ability to set a custom HTTPClient for a request.

func NewMoveApmInstancesParamsWithTimeout

func NewMoveApmInstancesParamsWithTimeout(timeout time.Duration) *MoveApmInstancesParams

NewMoveApmInstancesParamsWithTimeout creates a new MoveApmInstancesParams object with the ability to set a timeout on a request.

func (*MoveApmInstancesParams) SetBody

SetBody adds the body to the move apm instances params

func (*MoveApmInstancesParams) SetClusterID

func (o *MoveApmInstancesParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the move apm instances params

func (*MoveApmInstancesParams) SetContext

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

SetContext adds the context to the move apm instances params

func (*MoveApmInstancesParams) SetDefaults added in v1.3.0

func (o *MoveApmInstancesParams) SetDefaults()

SetDefaults hydrates default values in the move apm instances params (not the query body).

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

func (*MoveApmInstancesParams) SetForceUpdate

func (o *MoveApmInstancesParams) SetForceUpdate(forceUpdate *bool)

SetForceUpdate adds the forceUpdate to the move apm instances params

func (*MoveApmInstancesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the move apm instances params

func (*MoveApmInstancesParams) SetIgnoreMissing

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

SetIgnoreMissing adds the ignoreMissing to the move apm instances params

func (*MoveApmInstancesParams) SetInstanceIds

func (o *MoveApmInstancesParams) SetInstanceIds(instanceIds []string)

SetInstanceIds adds the instanceIds to the move apm instances params

func (*MoveApmInstancesParams) SetTimeout

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

SetTimeout adds the timeout to the move apm instances params

func (*MoveApmInstancesParams) SetValidateOnly

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

SetValidateOnly adds the validateOnly to the move apm instances params

func (*MoveApmInstancesParams) WithBody

WithBody adds the body to the move apm instances params

func (*MoveApmInstancesParams) WithClusterID

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

WithClusterID adds the clusterID to the move apm instances params

func (*MoveApmInstancesParams) WithContext

WithContext adds the context to the move apm instances params

func (*MoveApmInstancesParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the move apm instances params (not the query body).

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

func (*MoveApmInstancesParams) WithForceUpdate

func (o *MoveApmInstancesParams) WithForceUpdate(forceUpdate *bool) *MoveApmInstancesParams

WithForceUpdate adds the forceUpdate to the move apm instances params

func (*MoveApmInstancesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the move apm instances params

func (*MoveApmInstancesParams) WithIgnoreMissing

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

WithIgnoreMissing adds the ignoreMissing to the move apm instances params

func (*MoveApmInstancesParams) WithInstanceIds

func (o *MoveApmInstancesParams) WithInstanceIds(instanceIds []string) *MoveApmInstancesParams

WithInstanceIds adds the instanceIds to the move apm instances params

func (*MoveApmInstancesParams) WithTimeout

WithTimeout adds the timeout to the move apm instances params

func (*MoveApmInstancesParams) WithValidateOnly

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

WithValidateOnly adds the validateOnly to the move apm instances params

func (*MoveApmInstancesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MoveApmInstancesReader

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

MoveApmInstancesReader is a Reader for the MoveApmInstances structure.

func (*MoveApmInstancesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MoveApmInstancesRetryWith

type MoveApmInstancesRetryWith struct {

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

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

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

func NewMoveApmInstancesRetryWith

func NewMoveApmInstancesRetryWith() *MoveApmInstancesRetryWith

NewMoveApmInstancesRetryWith creates a MoveApmInstancesRetryWith with default headers values

func (*MoveApmInstancesRetryWith) Error

func (o *MoveApmInstancesRetryWith) Error() string

func (*MoveApmInstancesRetryWith) GetPayload

type ResetApmSecretTokenNotFound

type ResetApmSecretTokenNotFound struct {
	Payload *models.BasicFailedReply
}
ResetApmSecretTokenNotFound 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 NewResetApmSecretTokenNotFound

func NewResetApmSecretTokenNotFound() *ResetApmSecretTokenNotFound

NewResetApmSecretTokenNotFound creates a ResetApmSecretTokenNotFound with default headers values

func (*ResetApmSecretTokenNotFound) Error

func (*ResetApmSecretTokenNotFound) GetPayload

type ResetApmSecretTokenOK

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

The token was successfully reset

func NewResetApmSecretTokenOK

func NewResetApmSecretTokenOK() *ResetApmSecretTokenOK

NewResetApmSecretTokenOK creates a ResetApmSecretTokenOK with default headers values

func (*ResetApmSecretTokenOK) Error

func (o *ResetApmSecretTokenOK) Error() string

func (*ResetApmSecretTokenOK) GetPayload

func (o *ResetApmSecretTokenOK) GetPayload() *models.ApmCrudResponse

type ResetApmSecretTokenParams

type ResetApmSecretTokenParams struct {

	/* ClusterID.

	   APM instance identifier
	*/
	ClusterID string

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

ResetApmSecretTokenParams contains all the parameters to send to the API endpoint

for the reset apm secret token operation.

Typically these are written to a http.Request.

func NewResetApmSecretTokenParams

func NewResetApmSecretTokenParams() *ResetApmSecretTokenParams

NewResetApmSecretTokenParams creates a new ResetApmSecretTokenParams 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 NewResetApmSecretTokenParamsWithContext

func NewResetApmSecretTokenParamsWithContext(ctx context.Context) *ResetApmSecretTokenParams

NewResetApmSecretTokenParamsWithContext creates a new ResetApmSecretTokenParams object with the ability to set a context for a request.

func NewResetApmSecretTokenParamsWithHTTPClient

func NewResetApmSecretTokenParamsWithHTTPClient(client *http.Client) *ResetApmSecretTokenParams

NewResetApmSecretTokenParamsWithHTTPClient creates a new ResetApmSecretTokenParams object with the ability to set a custom HTTPClient for a request.

func NewResetApmSecretTokenParamsWithTimeout

func NewResetApmSecretTokenParamsWithTimeout(timeout time.Duration) *ResetApmSecretTokenParams

NewResetApmSecretTokenParamsWithTimeout creates a new ResetApmSecretTokenParams object with the ability to set a timeout on a request.

func (*ResetApmSecretTokenParams) SetClusterID

func (o *ResetApmSecretTokenParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the reset apm secret token params

func (*ResetApmSecretTokenParams) SetContext

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

SetContext adds the context to the reset apm secret token params

func (*ResetApmSecretTokenParams) SetDefaults added in v1.3.0

func (o *ResetApmSecretTokenParams) SetDefaults()

SetDefaults hydrates default values in the reset apm secret token params (not the query body).

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

func (*ResetApmSecretTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reset apm secret token params

func (*ResetApmSecretTokenParams) SetTimeout

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

SetTimeout adds the timeout to the reset apm secret token params

func (*ResetApmSecretTokenParams) WithClusterID

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

WithClusterID adds the clusterID to the reset apm secret token params

func (*ResetApmSecretTokenParams) WithContext

WithContext adds the context to the reset apm secret token params

func (*ResetApmSecretTokenParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the reset apm secret token params (not the query body).

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

func (*ResetApmSecretTokenParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the reset apm secret token params

func (*ResetApmSecretTokenParams) WithTimeout

WithTimeout adds the timeout to the reset apm secret token params

func (*ResetApmSecretTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResetApmSecretTokenPreconditionFailed

type ResetApmSecretTokenPreconditionFailed struct {
	Payload *models.BasicFailedReply
}
ResetApmSecretTokenPreconditionFailed 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 NewResetApmSecretTokenPreconditionFailed

func NewResetApmSecretTokenPreconditionFailed() *ResetApmSecretTokenPreconditionFailed

NewResetApmSecretTokenPreconditionFailed creates a ResetApmSecretTokenPreconditionFailed with default headers values

func (*ResetApmSecretTokenPreconditionFailed) Error

func (*ResetApmSecretTokenPreconditionFailed) GetPayload

type ResetApmSecretTokenReader

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

ResetApmSecretTokenReader is a Reader for the ResetApmSecretToken structure.

func (*ResetApmSecretTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResetApmSecretTokenRetryWith

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

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

func NewResetApmSecretTokenRetryWith

func NewResetApmSecretTokenRetryWith() *ResetApmSecretTokenRetryWith

NewResetApmSecretTokenRetryWith creates a ResetApmSecretTokenRetryWith with default headers values

func (*ResetApmSecretTokenRetryWith) Error

func (*ResetApmSecretTokenRetryWith) GetPayload

type RestartApmAccepted

type RestartApmAccepted struct {
	Payload *models.ClusterCommandResponse
}
RestartApmAccepted 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 NewRestartApmAccepted

func NewRestartApmAccepted() *RestartApmAccepted

NewRestartApmAccepted creates a RestartApmAccepted with default headers values

func (*RestartApmAccepted) Error

func (o *RestartApmAccepted) Error() string

func (*RestartApmAccepted) GetPayload

type RestartApmNotFound

type RestartApmNotFound struct {

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

	Payload *models.BasicFailedReply
}
RestartApmNotFound 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 NewRestartApmNotFound

func NewRestartApmNotFound() *RestartApmNotFound

NewRestartApmNotFound creates a RestartApmNotFound with default headers values

func (*RestartApmNotFound) Error

func (o *RestartApmNotFound) Error() string

func (*RestartApmNotFound) GetPayload

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

type RestartApmParams

type RestartApmParams struct {

	/* CancelPending.

	   When `true`, cancels the pending plans, then restarts the cluster.
	*/
	CancelPending *bool

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

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

RestartApmParams contains all the parameters to send to the API endpoint

for the restart apm operation.

Typically these are written to a http.Request.

func NewRestartApmParams

func NewRestartApmParams() *RestartApmParams

NewRestartApmParams creates a new RestartApmParams 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 NewRestartApmParamsWithContext

func NewRestartApmParamsWithContext(ctx context.Context) *RestartApmParams

NewRestartApmParamsWithContext creates a new RestartApmParams object with the ability to set a context for a request.

func NewRestartApmParamsWithHTTPClient

func NewRestartApmParamsWithHTTPClient(client *http.Client) *RestartApmParams

NewRestartApmParamsWithHTTPClient creates a new RestartApmParams object with the ability to set a custom HTTPClient for a request.

func NewRestartApmParamsWithTimeout

func NewRestartApmParamsWithTimeout(timeout time.Duration) *RestartApmParams

NewRestartApmParamsWithTimeout creates a new RestartApmParams object with the ability to set a timeout on a request.

func (*RestartApmParams) SetCancelPending

func (o *RestartApmParams) SetCancelPending(cancelPending *bool)

SetCancelPending adds the cancelPending to the restart apm params

func (*RestartApmParams) SetClusterID

func (o *RestartApmParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the restart apm params

func (*RestartApmParams) SetContext

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

SetContext adds the context to the restart apm params

func (*RestartApmParams) SetDefaults added in v1.3.0

func (o *RestartApmParams) SetDefaults()

SetDefaults hydrates default values in the restart apm params (not the query body).

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

func (*RestartApmParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the restart apm params

func (*RestartApmParams) SetTimeout

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

SetTimeout adds the timeout to the restart apm params

func (*RestartApmParams) WithCancelPending

func (o *RestartApmParams) WithCancelPending(cancelPending *bool) *RestartApmParams

WithCancelPending adds the cancelPending to the restart apm params

func (*RestartApmParams) WithClusterID

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

WithClusterID adds the clusterID to the restart apm params

func (*RestartApmParams) WithContext

func (o *RestartApmParams) WithContext(ctx context.Context) *RestartApmParams

WithContext adds the context to the restart apm params

func (*RestartApmParams) WithDefaults added in v1.3.0

func (o *RestartApmParams) WithDefaults() *RestartApmParams

WithDefaults hydrates default values in the restart apm params (not the query body).

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

func (*RestartApmParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the restart apm params

func (*RestartApmParams) WithTimeout

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

WithTimeout adds the timeout to the restart apm params

func (*RestartApmParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RestartApmPreconditionFailed

type RestartApmPreconditionFailed struct {

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

	Payload *models.BasicFailedReply
}
RestartApmPreconditionFailed 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 NewRestartApmPreconditionFailed

func NewRestartApmPreconditionFailed() *RestartApmPreconditionFailed

NewRestartApmPreconditionFailed creates a RestartApmPreconditionFailed with default headers values

func (*RestartApmPreconditionFailed) Error

func (*RestartApmPreconditionFailed) GetPayload

type RestartApmReader

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

RestartApmReader is a Reader for the RestartApm structure.

func (*RestartApmReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestartApmRetryWith

type RestartApmRetryWith struct {

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

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

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

func NewRestartApmRetryWith

func NewRestartApmRetryWith() *RestartApmRetryWith

NewRestartApmRetryWith creates a RestartApmRetryWith with default headers values

func (*RestartApmRetryWith) Error

func (o *RestartApmRetryWith) Error() string

func (*RestartApmRetryWith) GetPayload

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

type ResyncApmClusterInternalServerError

type ResyncApmClusterInternalServerError struct {

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

	Payload *models.BasicFailedReply
}
ResyncApmClusterInternalServerError 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 NewResyncApmClusterInternalServerError

func NewResyncApmClusterInternalServerError() *ResyncApmClusterInternalServerError

NewResyncApmClusterInternalServerError creates a ResyncApmClusterInternalServerError with default headers values

func (*ResyncApmClusterInternalServerError) Error

func (*ResyncApmClusterInternalServerError) GetPayload

type ResyncApmClusterOK

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

The cluster resync operation executed successfully

func NewResyncApmClusterOK

func NewResyncApmClusterOK() *ResyncApmClusterOK

NewResyncApmClusterOK creates a ResyncApmClusterOK with default headers values

func (*ResyncApmClusterOK) Error

func (o *ResyncApmClusterOK) Error() string

func (*ResyncApmClusterOK) GetPayload

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

type ResyncApmClusterParams

type ResyncApmClusterParams struct {

	/* ClusterID.

	   The APM cluster identifier.
	*/
	ClusterID string

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

ResyncApmClusterParams contains all the parameters to send to the API endpoint

for the resync apm cluster operation.

Typically these are written to a http.Request.

func NewResyncApmClusterParams

func NewResyncApmClusterParams() *ResyncApmClusterParams

NewResyncApmClusterParams creates a new ResyncApmClusterParams 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 NewResyncApmClusterParamsWithContext

func NewResyncApmClusterParamsWithContext(ctx context.Context) *ResyncApmClusterParams

NewResyncApmClusterParamsWithContext creates a new ResyncApmClusterParams object with the ability to set a context for a request.

func NewResyncApmClusterParamsWithHTTPClient

func NewResyncApmClusterParamsWithHTTPClient(client *http.Client) *ResyncApmClusterParams

NewResyncApmClusterParamsWithHTTPClient creates a new ResyncApmClusterParams object with the ability to set a custom HTTPClient for a request.

func NewResyncApmClusterParamsWithTimeout

func NewResyncApmClusterParamsWithTimeout(timeout time.Duration) *ResyncApmClusterParams

NewResyncApmClusterParamsWithTimeout creates a new ResyncApmClusterParams object with the ability to set a timeout on a request.

func (*ResyncApmClusterParams) SetClusterID

func (o *ResyncApmClusterParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the resync apm cluster params

func (*ResyncApmClusterParams) SetContext

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

SetContext adds the context to the resync apm cluster params

func (*ResyncApmClusterParams) SetDefaults added in v1.3.0

func (o *ResyncApmClusterParams) SetDefaults()

SetDefaults hydrates default values in the resync apm cluster params (not the query body).

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

func (*ResyncApmClusterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resync apm cluster params

func (*ResyncApmClusterParams) SetTimeout

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

SetTimeout adds the timeout to the resync apm cluster params

func (*ResyncApmClusterParams) WithClusterID

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

WithClusterID adds the clusterID to the resync apm cluster params

func (*ResyncApmClusterParams) WithContext

WithContext adds the context to the resync apm cluster params

func (*ResyncApmClusterParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the resync apm cluster params (not the query body).

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

func (*ResyncApmClusterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the resync apm cluster params

func (*ResyncApmClusterParams) WithTimeout

WithTimeout adds the timeout to the resync apm cluster params

func (*ResyncApmClusterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResyncApmClusterReader

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

ResyncApmClusterReader is a Reader for the ResyncApmCluster structure.

func (*ResyncApmClusterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResyncApmClusterRetryWith

type ResyncApmClusterRetryWith struct {

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

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

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

func NewResyncApmClusterRetryWith

func NewResyncApmClusterRetryWith() *ResyncApmClusterRetryWith

NewResyncApmClusterRetryWith creates a ResyncApmClusterRetryWith with default headers values

func (*ResyncApmClusterRetryWith) Error

func (o *ResyncApmClusterRetryWith) Error() string

func (*ResyncApmClusterRetryWith) GetPayload

type ResyncApmClustersAccepted

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

The ids of documents, organized by model version, that will be synchronized.

func NewResyncApmClustersAccepted

func NewResyncApmClustersAccepted() *ResyncApmClustersAccepted

NewResyncApmClustersAccepted creates a ResyncApmClustersAccepted with default headers values

func (*ResyncApmClustersAccepted) Error

func (o *ResyncApmClustersAccepted) Error() string

func (*ResyncApmClustersAccepted) GetPayload

type ResyncApmClustersParams

type ResyncApmClustersParams 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
}

ResyncApmClustersParams contains all the parameters to send to the API endpoint

for the resync apm clusters operation.

Typically these are written to a http.Request.

func NewResyncApmClustersParams

func NewResyncApmClustersParams() *ResyncApmClustersParams

NewResyncApmClustersParams creates a new ResyncApmClustersParams 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 NewResyncApmClustersParamsWithContext

func NewResyncApmClustersParamsWithContext(ctx context.Context) *ResyncApmClustersParams

NewResyncApmClustersParamsWithContext creates a new ResyncApmClustersParams object with the ability to set a context for a request.

func NewResyncApmClustersParamsWithHTTPClient

func NewResyncApmClustersParamsWithHTTPClient(client *http.Client) *ResyncApmClustersParams

NewResyncApmClustersParamsWithHTTPClient creates a new ResyncApmClustersParams object with the ability to set a custom HTTPClient for a request.

func NewResyncApmClustersParamsWithTimeout

func NewResyncApmClustersParamsWithTimeout(timeout time.Duration) *ResyncApmClustersParams

NewResyncApmClustersParamsWithTimeout creates a new ResyncApmClustersParams object with the ability to set a timeout on a request.

func (*ResyncApmClustersParams) SetContext

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

SetContext adds the context to the resync apm clusters params

func (*ResyncApmClustersParams) SetDefaults added in v1.3.0

func (o *ResyncApmClustersParams) SetDefaults()

SetDefaults hydrates default values in the resync apm clusters params (not the query body).

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

func (*ResyncApmClustersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resync apm clusters params

func (*ResyncApmClustersParams) SetSkipMatchingVersion

func (o *ResyncApmClustersParams) SetSkipMatchingVersion(skipMatchingVersion *bool)

SetSkipMatchingVersion adds the skipMatchingVersion to the resync apm clusters params

func (*ResyncApmClustersParams) SetTimeout

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

SetTimeout adds the timeout to the resync apm clusters params

func (*ResyncApmClustersParams) WithContext

WithContext adds the context to the resync apm clusters params

func (*ResyncApmClustersParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the resync apm clusters params (not the query body).

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

func (*ResyncApmClustersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the resync apm clusters params

func (*ResyncApmClustersParams) WithSkipMatchingVersion

func (o *ResyncApmClustersParams) WithSkipMatchingVersion(skipMatchingVersion *bool) *ResyncApmClustersParams

WithSkipMatchingVersion adds the skipMatchingVersion to the resync apm clusters params

func (*ResyncApmClustersParams) WithTimeout

WithTimeout adds the timeout to the resync apm clusters params

func (*ResyncApmClustersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResyncApmClustersReader

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

ResyncApmClustersReader is a Reader for the ResyncApmClusters structure.

func (*ResyncApmClustersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResyncApmClustersRetryWith

type ResyncApmClustersRetryWith struct {

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

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

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

func NewResyncApmClustersRetryWith

func NewResyncApmClustersRetryWith() *ResyncApmClustersRetryWith

NewResyncApmClustersRetryWith creates a ResyncApmClustersRetryWith with default headers values

func (*ResyncApmClustersRetryWith) Error

func (*ResyncApmClustersRetryWith) GetPayload

type SearchApmsBadRequest

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

The search request failed.

func NewSearchApmsBadRequest

func NewSearchApmsBadRequest() *SearchApmsBadRequest

NewSearchApmsBadRequest creates a SearchApmsBadRequest with default headers values

func (*SearchApmsBadRequest) Error

func (o *SearchApmsBadRequest) Error() string

func (*SearchApmsBadRequest) GetPayload

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

type SearchApmsOK

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

The search request succeeded.

func NewSearchApmsOK

func NewSearchApmsOK() *SearchApmsOK

NewSearchApmsOK creates a SearchApmsOK with default headers values

func (*SearchApmsOK) Error

func (o *SearchApmsOK) Error() string

func (*SearchApmsOK) GetPayload

func (o *SearchApmsOK) GetPayload() *models.ApmsInfo

type SearchApmsParams

type SearchApmsParams 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
}

SearchApmsParams contains all the parameters to send to the API endpoint

for the search apms operation.

Typically these are written to a http.Request.

func NewSearchApmsParams

func NewSearchApmsParams() *SearchApmsParams

NewSearchApmsParams creates a new SearchApmsParams 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 NewSearchApmsParamsWithContext

func NewSearchApmsParamsWithContext(ctx context.Context) *SearchApmsParams

NewSearchApmsParamsWithContext creates a new SearchApmsParams object with the ability to set a context for a request.

func NewSearchApmsParamsWithHTTPClient

func NewSearchApmsParamsWithHTTPClient(client *http.Client) *SearchApmsParams

NewSearchApmsParamsWithHTTPClient creates a new SearchApmsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchApmsParamsWithTimeout

func NewSearchApmsParamsWithTimeout(timeout time.Duration) *SearchApmsParams

NewSearchApmsParamsWithTimeout creates a new SearchApmsParams object with the ability to set a timeout on a request.

func (*SearchApmsParams) SetBody

func (o *SearchApmsParams) SetBody(body *models.SearchRequest)

SetBody adds the body to the search apms params

func (*SearchApmsParams) SetContext

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

SetContext adds the context to the search apms params

func (*SearchApmsParams) SetDefaults added in v1.3.0

func (o *SearchApmsParams) SetDefaults()

SetDefaults hydrates default values in the search apms params (not the query body).

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

func (*SearchApmsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search apms params

func (*SearchApmsParams) SetTimeout

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

SetTimeout adds the timeout to the search apms params

func (*SearchApmsParams) WithBody

WithBody adds the body to the search apms params

func (*SearchApmsParams) WithContext

func (o *SearchApmsParams) WithContext(ctx context.Context) *SearchApmsParams

WithContext adds the context to the search apms params

func (*SearchApmsParams) WithDefaults added in v1.3.0

func (o *SearchApmsParams) WithDefaults() *SearchApmsParams

WithDefaults hydrates default values in the search apms params (not the query body).

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

func (*SearchApmsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search apms params

func (*SearchApmsParams) WithTimeout

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

WithTimeout adds the timeout to the search apms params

func (*SearchApmsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchApmsReader

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

SearchApmsReader is a Reader for the SearchApms structure.

func (*SearchApmsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetApmMetadataRawNotFound

type SetApmMetadataRawNotFound struct {
	Payload *models.BasicFailedReply
}
SetApmMetadataRawNotFound 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 NewSetApmMetadataRawNotFound

func NewSetApmMetadataRawNotFound() *SetApmMetadataRawNotFound

NewSetApmMetadataRawNotFound creates a SetApmMetadataRawNotFound with default headers values

func (*SetApmMetadataRawNotFound) Error

func (o *SetApmMetadataRawNotFound) Error() string

func (*SetApmMetadataRawNotFound) GetPayload

type SetApmMetadataRawOK

type SetApmMetadataRawOK 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{}
}
SetApmMetadataRawOK describes a response with status code 200, with default header values.

The cluster metadata was successfully changed (the updated JSON is returned)

func NewSetApmMetadataRawOK

func NewSetApmMetadataRawOK() *SetApmMetadataRawOK

NewSetApmMetadataRawOK creates a SetApmMetadataRawOK with default headers values

func (*SetApmMetadataRawOK) Error

func (o *SetApmMetadataRawOK) Error() string

func (*SetApmMetadataRawOK) GetPayload

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

type SetApmMetadataRawParams

type SetApmMetadataRawParams struct {

	/* Body.

	   The freeform JSON for the cluster (should always be based on the current version retrieved from the GET)
	*/
	Body string

	/* ClusterID.

	   The APM deployment 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
}

SetApmMetadataRawParams contains all the parameters to send to the API endpoint

for the set apm metadata raw operation.

Typically these are written to a http.Request.

func NewSetApmMetadataRawParams

func NewSetApmMetadataRawParams() *SetApmMetadataRawParams

NewSetApmMetadataRawParams creates a new SetApmMetadataRawParams 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 NewSetApmMetadataRawParamsWithContext

func NewSetApmMetadataRawParamsWithContext(ctx context.Context) *SetApmMetadataRawParams

NewSetApmMetadataRawParamsWithContext creates a new SetApmMetadataRawParams object with the ability to set a context for a request.

func NewSetApmMetadataRawParamsWithHTTPClient

func NewSetApmMetadataRawParamsWithHTTPClient(client *http.Client) *SetApmMetadataRawParams

NewSetApmMetadataRawParamsWithHTTPClient creates a new SetApmMetadataRawParams object with the ability to set a custom HTTPClient for a request.

func NewSetApmMetadataRawParamsWithTimeout

func NewSetApmMetadataRawParamsWithTimeout(timeout time.Duration) *SetApmMetadataRawParams

NewSetApmMetadataRawParamsWithTimeout creates a new SetApmMetadataRawParams object with the ability to set a timeout on a request.

func (*SetApmMetadataRawParams) SetBody

func (o *SetApmMetadataRawParams) SetBody(body string)

SetBody adds the body to the set apm metadata raw params

func (*SetApmMetadataRawParams) SetClusterID

func (o *SetApmMetadataRawParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the set apm metadata raw params

func (*SetApmMetadataRawParams) SetContext

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

SetContext adds the context to the set apm metadata raw params

func (*SetApmMetadataRawParams) SetDefaults added in v1.3.0

func (o *SetApmMetadataRawParams) SetDefaults()

SetDefaults hydrates default values in the set apm metadata raw params (not the query body).

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

func (*SetApmMetadataRawParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set apm metadata raw params

func (*SetApmMetadataRawParams) SetTimeout

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

SetTimeout adds the timeout to the set apm metadata raw params

func (*SetApmMetadataRawParams) SetVersion

func (o *SetApmMetadataRawParams) SetVersion(version *int64)

SetVersion adds the version to the set apm metadata raw params

func (*SetApmMetadataRawParams) WithBody

WithBody adds the body to the set apm metadata raw params

func (*SetApmMetadataRawParams) WithClusterID

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

WithClusterID adds the clusterID to the set apm metadata raw params

func (*SetApmMetadataRawParams) WithContext

WithContext adds the context to the set apm metadata raw params

func (*SetApmMetadataRawParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the set apm metadata raw params (not the query body).

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

func (*SetApmMetadataRawParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set apm metadata raw params

func (*SetApmMetadataRawParams) WithTimeout

WithTimeout adds the timeout to the set apm metadata raw params

func (*SetApmMetadataRawParams) WithVersion

func (o *SetApmMetadataRawParams) WithVersion(version *int64) *SetApmMetadataRawParams

WithVersion adds the version to the set apm metadata raw params

func (*SetApmMetadataRawParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetApmMetadataRawReader

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

SetApmMetadataRawReader is a Reader for the SetApmMetadataRaw structure.

func (*SetApmMetadataRawReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetApmMetadataRawRetryWith

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

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

func NewSetApmMetadataRawRetryWith

func NewSetApmMetadataRawRetryWith() *SetApmMetadataRawRetryWith

NewSetApmMetadataRawRetryWith creates a SetApmMetadataRawRetryWith with default headers values

func (*SetApmMetadataRawRetryWith) Error

func (*SetApmMetadataRawRetryWith) GetPayload

type SetApmNameNotFound

type SetApmNameNotFound struct {
	Payload *models.BasicFailedReply
}
SetApmNameNotFound 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 NewSetApmNameNotFound

func NewSetApmNameNotFound() *SetApmNameNotFound

NewSetApmNameNotFound creates a SetApmNameNotFound with default headers values

func (*SetApmNameNotFound) Error

func (o *SetApmNameNotFound) Error() string

func (*SetApmNameNotFound) GetPayload

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

type SetApmNameOK

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

The cluster name was successfully changed

func NewSetApmNameOK

func NewSetApmNameOK() *SetApmNameOK

NewSetApmNameOK creates a SetApmNameOK with default headers values

func (*SetApmNameOK) Error

func (o *SetApmNameOK) Error() string

func (*SetApmNameOK) GetPayload

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

type SetApmNameParams

type SetApmNameParams struct {

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

	/* NewName.

	   The new name for the cluster.
	*/
	NewName string

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

SetApmNameParams contains all the parameters to send to the API endpoint

for the set apm name operation.

Typically these are written to a http.Request.

func NewSetApmNameParams

func NewSetApmNameParams() *SetApmNameParams

NewSetApmNameParams creates a new SetApmNameParams 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 NewSetApmNameParamsWithContext

func NewSetApmNameParamsWithContext(ctx context.Context) *SetApmNameParams

NewSetApmNameParamsWithContext creates a new SetApmNameParams object with the ability to set a context for a request.

func NewSetApmNameParamsWithHTTPClient

func NewSetApmNameParamsWithHTTPClient(client *http.Client) *SetApmNameParams

NewSetApmNameParamsWithHTTPClient creates a new SetApmNameParams object with the ability to set a custom HTTPClient for a request.

func NewSetApmNameParamsWithTimeout

func NewSetApmNameParamsWithTimeout(timeout time.Duration) *SetApmNameParams

NewSetApmNameParamsWithTimeout creates a new SetApmNameParams object with the ability to set a timeout on a request.

func (*SetApmNameParams) SetClusterID

func (o *SetApmNameParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the set apm name params

func (*SetApmNameParams) SetContext

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

SetContext adds the context to the set apm name params

func (*SetApmNameParams) SetDefaults added in v1.3.0

func (o *SetApmNameParams) SetDefaults()

SetDefaults hydrates default values in the set apm name params (not the query body).

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

func (*SetApmNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set apm name params

func (*SetApmNameParams) SetNewName

func (o *SetApmNameParams) SetNewName(newName string)

SetNewName adds the newName to the set apm name params

func (*SetApmNameParams) SetTimeout

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

SetTimeout adds the timeout to the set apm name params

func (*SetApmNameParams) WithClusterID

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

WithClusterID adds the clusterID to the set apm name params

func (*SetApmNameParams) WithContext

func (o *SetApmNameParams) WithContext(ctx context.Context) *SetApmNameParams

WithContext adds the context to the set apm name params

func (*SetApmNameParams) WithDefaults added in v1.3.0

func (o *SetApmNameParams) WithDefaults() *SetApmNameParams

WithDefaults hydrates default values in the set apm name params (not the query body).

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

func (*SetApmNameParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set apm name params

func (*SetApmNameParams) WithNewName

func (o *SetApmNameParams) WithNewName(newName string) *SetApmNameParams

WithNewName adds the newName to the set apm name params

func (*SetApmNameParams) WithTimeout

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

WithTimeout adds the timeout to the set apm name params

func (*SetApmNameParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SetApmNameReader

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

SetApmNameReader is a Reader for the SetApmName structure.

func (*SetApmNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetApmNameRetryWith

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

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

func NewSetApmNameRetryWith

func NewSetApmNameRetryWith() *SetApmNameRetryWith

NewSetApmNameRetryWith creates a SetApmNameRetryWith with default headers values

func (*SetApmNameRetryWith) Error

func (o *SetApmNameRetryWith) Error() string

func (*SetApmNameRetryWith) GetPayload

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

type ShutdownApmAccepted

type ShutdownApmAccepted struct {
	Payload *models.ClusterCommandResponse
}
ShutdownApmAccepted 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 NewShutdownApmAccepted

func NewShutdownApmAccepted() *ShutdownApmAccepted

NewShutdownApmAccepted creates a ShutdownApmAccepted with default headers values

func (*ShutdownApmAccepted) Error

func (o *ShutdownApmAccepted) Error() string

func (*ShutdownApmAccepted) GetPayload

type ShutdownApmNotFound

type ShutdownApmNotFound struct {

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

	Payload *models.BasicFailedReply
}
ShutdownApmNotFound 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 NewShutdownApmNotFound

func NewShutdownApmNotFound() *ShutdownApmNotFound

NewShutdownApmNotFound creates a ShutdownApmNotFound with default headers values

func (*ShutdownApmNotFound) Error

func (o *ShutdownApmNotFound) Error() string

func (*ShutdownApmNotFound) GetPayload

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

type ShutdownApmParams

type ShutdownApmParams struct {

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

	/* Hide.

	   Hides the clusters during shutdown. NOTE: By default, hidden clusters are not listed.
	*/
	Hide *bool

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

ShutdownApmParams contains all the parameters to send to the API endpoint

for the shutdown apm operation.

Typically these are written to a http.Request.

func NewShutdownApmParams

func NewShutdownApmParams() *ShutdownApmParams

NewShutdownApmParams creates a new ShutdownApmParams 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 NewShutdownApmParamsWithContext

func NewShutdownApmParamsWithContext(ctx context.Context) *ShutdownApmParams

NewShutdownApmParamsWithContext creates a new ShutdownApmParams object with the ability to set a context for a request.

func NewShutdownApmParamsWithHTTPClient

func NewShutdownApmParamsWithHTTPClient(client *http.Client) *ShutdownApmParams

NewShutdownApmParamsWithHTTPClient creates a new ShutdownApmParams object with the ability to set a custom HTTPClient for a request.

func NewShutdownApmParamsWithTimeout

func NewShutdownApmParamsWithTimeout(timeout time.Duration) *ShutdownApmParams

NewShutdownApmParamsWithTimeout creates a new ShutdownApmParams object with the ability to set a timeout on a request.

func (*ShutdownApmParams) SetClusterID

func (o *ShutdownApmParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the shutdown apm params

func (*ShutdownApmParams) SetContext

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

SetContext adds the context to the shutdown apm params

func (*ShutdownApmParams) SetDefaults added in v1.3.0

func (o *ShutdownApmParams) SetDefaults()

SetDefaults hydrates default values in the shutdown apm params (not the query body).

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

func (*ShutdownApmParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the shutdown apm params

func (*ShutdownApmParams) SetHide

func (o *ShutdownApmParams) SetHide(hide *bool)

SetHide adds the hide to the shutdown apm params

func (*ShutdownApmParams) SetTimeout

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

SetTimeout adds the timeout to the shutdown apm params

func (*ShutdownApmParams) WithClusterID

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

WithClusterID adds the clusterID to the shutdown apm params

func (*ShutdownApmParams) WithContext

func (o *ShutdownApmParams) WithContext(ctx context.Context) *ShutdownApmParams

WithContext adds the context to the shutdown apm params

func (*ShutdownApmParams) WithDefaults added in v1.3.0

func (o *ShutdownApmParams) WithDefaults() *ShutdownApmParams

WithDefaults hydrates default values in the shutdown apm params (not the query body).

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

func (*ShutdownApmParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the shutdown apm params

func (*ShutdownApmParams) WithHide

func (o *ShutdownApmParams) WithHide(hide *bool) *ShutdownApmParams

WithHide adds the hide to the shutdown apm params

func (*ShutdownApmParams) WithTimeout

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

WithTimeout adds the timeout to the shutdown apm params

func (*ShutdownApmParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ShutdownApmReader

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

ShutdownApmReader is a Reader for the ShutdownApm structure.

func (*ShutdownApmReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ShutdownApmRetryWith

type ShutdownApmRetryWith struct {

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

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

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

func NewShutdownApmRetryWith

func NewShutdownApmRetryWith() *ShutdownApmRetryWith

NewShutdownApmRetryWith creates a ShutdownApmRetryWith with default headers values

func (*ShutdownApmRetryWith) Error

func (o *ShutdownApmRetryWith) Error() string

func (*ShutdownApmRetryWith) GetPayload

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

type StartApmInstancesAccepted

type StartApmInstancesAccepted struct {
	Payload *models.ClusterCommandResponse
}
StartApmInstancesAccepted 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 NewStartApmInstancesAccepted

func NewStartApmInstancesAccepted() *StartApmInstancesAccepted

NewStartApmInstancesAccepted creates a StartApmInstancesAccepted with default headers values

func (*StartApmInstancesAccepted) Error

func (o *StartApmInstancesAccepted) Error() string

func (*StartApmInstancesAccepted) GetPayload

type StartApmInstancesAllAccepted

type StartApmInstancesAllAccepted struct {
	Payload *models.ClusterCommandResponse
}
StartApmInstancesAllAccepted 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 NewStartApmInstancesAllAccepted

func NewStartApmInstancesAllAccepted() *StartApmInstancesAllAccepted

NewStartApmInstancesAllAccepted creates a StartApmInstancesAllAccepted with default headers values

func (*StartApmInstancesAllAccepted) Error

func (*StartApmInstancesAllAccepted) GetPayload

type StartApmInstancesAllForbidden

type StartApmInstancesAllForbidden struct {

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

	Payload *models.BasicFailedReply
}
StartApmInstancesAllForbidden 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 NewStartApmInstancesAllForbidden

func NewStartApmInstancesAllForbidden() *StartApmInstancesAllForbidden

NewStartApmInstancesAllForbidden creates a StartApmInstancesAllForbidden with default headers values

func (*StartApmInstancesAllForbidden) Error

func (*StartApmInstancesAllForbidden) GetPayload

type StartApmInstancesAllMaintenanceModeAccepted

type StartApmInstancesAllMaintenanceModeAccepted struct {
	Payload *models.ClusterCommandResponse
}
StartApmInstancesAllMaintenanceModeAccepted 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 NewStartApmInstancesAllMaintenanceModeAccepted

func NewStartApmInstancesAllMaintenanceModeAccepted() *StartApmInstancesAllMaintenanceModeAccepted

NewStartApmInstancesAllMaintenanceModeAccepted creates a StartApmInstancesAllMaintenanceModeAccepted with default headers values

func (*StartApmInstancesAllMaintenanceModeAccepted) Error

func (*StartApmInstancesAllMaintenanceModeAccepted) GetPayload

type StartApmInstancesAllMaintenanceModeForbidden

type StartApmInstancesAllMaintenanceModeForbidden struct {

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

	Payload *models.BasicFailedReply
}
StartApmInstancesAllMaintenanceModeForbidden 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 NewStartApmInstancesAllMaintenanceModeForbidden

func NewStartApmInstancesAllMaintenanceModeForbidden() *StartApmInstancesAllMaintenanceModeForbidden

NewStartApmInstancesAllMaintenanceModeForbidden creates a StartApmInstancesAllMaintenanceModeForbidden with default headers values

func (*StartApmInstancesAllMaintenanceModeForbidden) Error

func (*StartApmInstancesAllMaintenanceModeForbidden) GetPayload

type StartApmInstancesAllMaintenanceModeNotFound

type StartApmInstancesAllMaintenanceModeNotFound struct {

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

	Payload *models.BasicFailedReply
}
StartApmInstancesAllMaintenanceModeNotFound 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 NewStartApmInstancesAllMaintenanceModeNotFound

func NewStartApmInstancesAllMaintenanceModeNotFound() *StartApmInstancesAllMaintenanceModeNotFound

NewStartApmInstancesAllMaintenanceModeNotFound creates a StartApmInstancesAllMaintenanceModeNotFound with default headers values

func (*StartApmInstancesAllMaintenanceModeNotFound) Error

func (*StartApmInstancesAllMaintenanceModeNotFound) GetPayload

type StartApmInstancesAllMaintenanceModeParams

type StartApmInstancesAllMaintenanceModeParams struct {

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

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

StartApmInstancesAllMaintenanceModeParams contains all the parameters to send to the API endpoint

for the start apm instances all maintenance mode operation.

Typically these are written to a http.Request.

func NewStartApmInstancesAllMaintenanceModeParams

func NewStartApmInstancesAllMaintenanceModeParams() *StartApmInstancesAllMaintenanceModeParams

NewStartApmInstancesAllMaintenanceModeParams creates a new StartApmInstancesAllMaintenanceModeParams 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 NewStartApmInstancesAllMaintenanceModeParamsWithContext

func NewStartApmInstancesAllMaintenanceModeParamsWithContext(ctx context.Context) *StartApmInstancesAllMaintenanceModeParams

NewStartApmInstancesAllMaintenanceModeParamsWithContext creates a new StartApmInstancesAllMaintenanceModeParams object with the ability to set a context for a request.

func NewStartApmInstancesAllMaintenanceModeParamsWithHTTPClient

func NewStartApmInstancesAllMaintenanceModeParamsWithHTTPClient(client *http.Client) *StartApmInstancesAllMaintenanceModeParams

NewStartApmInstancesAllMaintenanceModeParamsWithHTTPClient creates a new StartApmInstancesAllMaintenanceModeParams object with the ability to set a custom HTTPClient for a request.

func NewStartApmInstancesAllMaintenanceModeParamsWithTimeout

func NewStartApmInstancesAllMaintenanceModeParamsWithTimeout(timeout time.Duration) *StartApmInstancesAllMaintenanceModeParams

NewStartApmInstancesAllMaintenanceModeParamsWithTimeout creates a new StartApmInstancesAllMaintenanceModeParams object with the ability to set a timeout on a request.

func (*StartApmInstancesAllMaintenanceModeParams) SetClusterID

func (o *StartApmInstancesAllMaintenanceModeParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the start apm instances all maintenance mode params

func (*StartApmInstancesAllMaintenanceModeParams) SetContext

SetContext adds the context to the start apm instances all maintenance mode params

func (*StartApmInstancesAllMaintenanceModeParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the start apm instances all maintenance mode params (not the query body).

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

func (*StartApmInstancesAllMaintenanceModeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start apm instances all maintenance mode params

func (*StartApmInstancesAllMaintenanceModeParams) SetTimeout

SetTimeout adds the timeout to the start apm instances all maintenance mode params

func (*StartApmInstancesAllMaintenanceModeParams) WithClusterID

WithClusterID adds the clusterID to the start apm instances all maintenance mode params

func (*StartApmInstancesAllMaintenanceModeParams) WithContext

WithContext adds the context to the start apm instances all maintenance mode params

func (*StartApmInstancesAllMaintenanceModeParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the start apm instances all maintenance mode params (not the query body).

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

func (*StartApmInstancesAllMaintenanceModeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the start apm instances all maintenance mode params

func (*StartApmInstancesAllMaintenanceModeParams) WithTimeout

WithTimeout adds the timeout to the start apm instances all maintenance mode params

func (*StartApmInstancesAllMaintenanceModeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StartApmInstancesAllMaintenanceModeReader

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

StartApmInstancesAllMaintenanceModeReader is a Reader for the StartApmInstancesAllMaintenanceMode structure.

func (*StartApmInstancesAllMaintenanceModeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StartApmInstancesAllMaintenanceModeRetryWith

type StartApmInstancesAllMaintenanceModeRetryWith struct {

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

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

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

func NewStartApmInstancesAllMaintenanceModeRetryWith

func NewStartApmInstancesAllMaintenanceModeRetryWith() *StartApmInstancesAllMaintenanceModeRetryWith

NewStartApmInstancesAllMaintenanceModeRetryWith creates a StartApmInstancesAllMaintenanceModeRetryWith with default headers values

func (*StartApmInstancesAllMaintenanceModeRetryWith) Error

func (*StartApmInstancesAllMaintenanceModeRetryWith) GetPayload

type StartApmInstancesAllNotFound

type StartApmInstancesAllNotFound struct {

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

	Payload *models.BasicFailedReply
}
StartApmInstancesAllNotFound 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 NewStartApmInstancesAllNotFound

func NewStartApmInstancesAllNotFound() *StartApmInstancesAllNotFound

NewStartApmInstancesAllNotFound creates a StartApmInstancesAllNotFound with default headers values

func (*StartApmInstancesAllNotFound) Error

func (*StartApmInstancesAllNotFound) GetPayload

type StartApmInstancesAllParams

type StartApmInstancesAllParams struct {

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

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

StartApmInstancesAllParams contains all the parameters to send to the API endpoint

for the start apm instances all operation.

Typically these are written to a http.Request.

func NewStartApmInstancesAllParams

func NewStartApmInstancesAllParams() *StartApmInstancesAllParams

NewStartApmInstancesAllParams creates a new StartApmInstancesAllParams 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 NewStartApmInstancesAllParamsWithContext

func NewStartApmInstancesAllParamsWithContext(ctx context.Context) *StartApmInstancesAllParams

NewStartApmInstancesAllParamsWithContext creates a new StartApmInstancesAllParams object with the ability to set a context for a request.

func NewStartApmInstancesAllParamsWithHTTPClient

func NewStartApmInstancesAllParamsWithHTTPClient(client *http.Client) *StartApmInstancesAllParams

NewStartApmInstancesAllParamsWithHTTPClient creates a new StartApmInstancesAllParams object with the ability to set a custom HTTPClient for a request.

func NewStartApmInstancesAllParamsWithTimeout

func NewStartApmInstancesAllParamsWithTimeout(timeout time.Duration) *StartApmInstancesAllParams

NewStartApmInstancesAllParamsWithTimeout creates a new StartApmInstancesAllParams object with the ability to set a timeout on a request.

func (*StartApmInstancesAllParams) SetClusterID

func (o *StartApmInstancesAllParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the start apm instances all params

func (*StartApmInstancesAllParams) SetContext

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

SetContext adds the context to the start apm instances all params

func (*StartApmInstancesAllParams) SetDefaults added in v1.3.0

func (o *StartApmInstancesAllParams) SetDefaults()

SetDefaults hydrates default values in the start apm instances all params (not the query body).

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

func (*StartApmInstancesAllParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start apm instances all params

func (*StartApmInstancesAllParams) SetTimeout

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

SetTimeout adds the timeout to the start apm instances all params

func (*StartApmInstancesAllParams) WithClusterID

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

WithClusterID adds the clusterID to the start apm instances all params

func (*StartApmInstancesAllParams) WithContext

WithContext adds the context to the start apm instances all params

func (*StartApmInstancesAllParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the start apm instances all params (not the query body).

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

func (*StartApmInstancesAllParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the start apm instances all params

func (*StartApmInstancesAllParams) WithTimeout

WithTimeout adds the timeout to the start apm instances all params

func (*StartApmInstancesAllParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StartApmInstancesAllReader

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

StartApmInstancesAllReader is a Reader for the StartApmInstancesAll structure.

func (*StartApmInstancesAllReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StartApmInstancesAllRetryWith

type StartApmInstancesAllRetryWith struct {

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

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

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

func NewStartApmInstancesAllRetryWith

func NewStartApmInstancesAllRetryWith() *StartApmInstancesAllRetryWith

NewStartApmInstancesAllRetryWith creates a StartApmInstancesAllRetryWith with default headers values

func (*StartApmInstancesAllRetryWith) Error

func (*StartApmInstancesAllRetryWith) GetPayload

type StartApmInstancesForbidden

type StartApmInstancesForbidden struct {

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

	Payload *models.BasicFailedReply
}
StartApmInstancesForbidden 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 NewStartApmInstancesForbidden

func NewStartApmInstancesForbidden() *StartApmInstancesForbidden

NewStartApmInstancesForbidden creates a StartApmInstancesForbidden with default headers values

func (*StartApmInstancesForbidden) Error

func (*StartApmInstancesForbidden) GetPayload

type StartApmInstancesNotFound

type StartApmInstancesNotFound struct {

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

	Payload *models.BasicFailedReply
}
StartApmInstancesNotFound 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 NewStartApmInstancesNotFound

func NewStartApmInstancesNotFound() *StartApmInstancesNotFound

NewStartApmInstancesNotFound creates a StartApmInstancesNotFound with default headers values

func (*StartApmInstancesNotFound) Error

func (o *StartApmInstancesNotFound) Error() string

func (*StartApmInstancesNotFound) GetPayload

type StartApmInstancesParams

type StartApmInstancesParams struct {

	/* ClusterID.

	   The APM deployment 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
}

StartApmInstancesParams contains all the parameters to send to the API endpoint

for the start apm instances operation.

Typically these are written to a http.Request.

func NewStartApmInstancesParams

func NewStartApmInstancesParams() *StartApmInstancesParams

NewStartApmInstancesParams creates a new StartApmInstancesParams 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 NewStartApmInstancesParamsWithContext

func NewStartApmInstancesParamsWithContext(ctx context.Context) *StartApmInstancesParams

NewStartApmInstancesParamsWithContext creates a new StartApmInstancesParams object with the ability to set a context for a request.

func NewStartApmInstancesParamsWithHTTPClient

func NewStartApmInstancesParamsWithHTTPClient(client *http.Client) *StartApmInstancesParams

NewStartApmInstancesParamsWithHTTPClient creates a new StartApmInstancesParams object with the ability to set a custom HTTPClient for a request.

func NewStartApmInstancesParamsWithTimeout

func NewStartApmInstancesParamsWithTimeout(timeout time.Duration) *StartApmInstancesParams

NewStartApmInstancesParamsWithTimeout creates a new StartApmInstancesParams object with the ability to set a timeout on a request.

func (*StartApmInstancesParams) SetClusterID

func (o *StartApmInstancesParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the start apm instances params

func (*StartApmInstancesParams) SetContext

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

SetContext adds the context to the start apm instances params

func (*StartApmInstancesParams) SetDefaults added in v1.3.0

func (o *StartApmInstancesParams) SetDefaults()

SetDefaults hydrates default values in the start apm instances params (not the query body).

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

func (*StartApmInstancesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start apm instances params

func (*StartApmInstancesParams) SetIgnoreMissing

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

SetIgnoreMissing adds the ignoreMissing to the start apm instances params

func (*StartApmInstancesParams) SetInstanceIds

func (o *StartApmInstancesParams) SetInstanceIds(instanceIds []string)

SetInstanceIds adds the instanceIds to the start apm instances params

func (*StartApmInstancesParams) SetTimeout

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

SetTimeout adds the timeout to the start apm instances params

func (*StartApmInstancesParams) WithClusterID

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

WithClusterID adds the clusterID to the start apm instances params

func (*StartApmInstancesParams) WithContext

WithContext adds the context to the start apm instances params

func (*StartApmInstancesParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the start apm instances params (not the query body).

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

func (*StartApmInstancesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the start apm instances params

func (*StartApmInstancesParams) WithIgnoreMissing

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

WithIgnoreMissing adds the ignoreMissing to the start apm instances params

func (*StartApmInstancesParams) WithInstanceIds

func (o *StartApmInstancesParams) WithInstanceIds(instanceIds []string) *StartApmInstancesParams

WithInstanceIds adds the instanceIds to the start apm instances params

func (*StartApmInstancesParams) WithTimeout

WithTimeout adds the timeout to the start apm instances params

func (*StartApmInstancesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StartApmInstancesReader

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

StartApmInstancesReader is a Reader for the StartApmInstances structure.

func (*StartApmInstancesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StartApmInstancesRetryWith

type StartApmInstancesRetryWith struct {

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

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

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

func NewStartApmInstancesRetryWith

func NewStartApmInstancesRetryWith() *StartApmInstancesRetryWith

NewStartApmInstancesRetryWith creates a StartApmInstancesRetryWith with default headers values

func (*StartApmInstancesRetryWith) Error

func (*StartApmInstancesRetryWith) GetPayload

type StartApmMaintenanceModeAccepted

type StartApmMaintenanceModeAccepted struct {
	Payload *models.ClusterCommandResponse
}
StartApmMaintenanceModeAccepted 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 NewStartApmMaintenanceModeAccepted

func NewStartApmMaintenanceModeAccepted() *StartApmMaintenanceModeAccepted

NewStartApmMaintenanceModeAccepted creates a StartApmMaintenanceModeAccepted with default headers values

func (*StartApmMaintenanceModeAccepted) Error

func (*StartApmMaintenanceModeAccepted) GetPayload

type StartApmMaintenanceModeForbidden

type StartApmMaintenanceModeForbidden struct {

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

	Payload *models.BasicFailedReply
}
StartApmMaintenanceModeForbidden 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 NewStartApmMaintenanceModeForbidden

func NewStartApmMaintenanceModeForbidden() *StartApmMaintenanceModeForbidden

NewStartApmMaintenanceModeForbidden creates a StartApmMaintenanceModeForbidden with default headers values

func (*StartApmMaintenanceModeForbidden) Error

func (*StartApmMaintenanceModeForbidden) GetPayload

type StartApmMaintenanceModeNotFound

type StartApmMaintenanceModeNotFound struct {

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

	Payload *models.BasicFailedReply
}
StartApmMaintenanceModeNotFound 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 NewStartApmMaintenanceModeNotFound

func NewStartApmMaintenanceModeNotFound() *StartApmMaintenanceModeNotFound

NewStartApmMaintenanceModeNotFound creates a StartApmMaintenanceModeNotFound with default headers values

func (*StartApmMaintenanceModeNotFound) Error

func (*StartApmMaintenanceModeNotFound) GetPayload

type StartApmMaintenanceModeParams

type StartApmMaintenanceModeParams struct {

	/* ClusterID.

	   The APM deployment 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
}

StartApmMaintenanceModeParams contains all the parameters to send to the API endpoint

for the start apm maintenance mode operation.

Typically these are written to a http.Request.

func NewStartApmMaintenanceModeParams

func NewStartApmMaintenanceModeParams() *StartApmMaintenanceModeParams

NewStartApmMaintenanceModeParams creates a new StartApmMaintenanceModeParams 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 NewStartApmMaintenanceModeParamsWithContext

func NewStartApmMaintenanceModeParamsWithContext(ctx context.Context) *StartApmMaintenanceModeParams

NewStartApmMaintenanceModeParamsWithContext creates a new StartApmMaintenanceModeParams object with the ability to set a context for a request.

func NewStartApmMaintenanceModeParamsWithHTTPClient

func NewStartApmMaintenanceModeParamsWithHTTPClient(client *http.Client) *StartApmMaintenanceModeParams

NewStartApmMaintenanceModeParamsWithHTTPClient creates a new StartApmMaintenanceModeParams object with the ability to set a custom HTTPClient for a request.

func NewStartApmMaintenanceModeParamsWithTimeout

func NewStartApmMaintenanceModeParamsWithTimeout(timeout time.Duration) *StartApmMaintenanceModeParams

NewStartApmMaintenanceModeParamsWithTimeout creates a new StartApmMaintenanceModeParams object with the ability to set a timeout on a request.

func (*StartApmMaintenanceModeParams) SetClusterID

func (o *StartApmMaintenanceModeParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the start apm maintenance mode params

func (*StartApmMaintenanceModeParams) SetContext

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

SetContext adds the context to the start apm maintenance mode params

func (*StartApmMaintenanceModeParams) SetDefaults added in v1.3.0

func (o *StartApmMaintenanceModeParams) SetDefaults()

SetDefaults hydrates default values in the start apm maintenance mode params (not the query body).

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

func (*StartApmMaintenanceModeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start apm maintenance mode params

func (*StartApmMaintenanceModeParams) SetIgnoreMissing

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

SetIgnoreMissing adds the ignoreMissing to the start apm maintenance mode params

func (*StartApmMaintenanceModeParams) SetInstanceIds

func (o *StartApmMaintenanceModeParams) SetInstanceIds(instanceIds []string)

SetInstanceIds adds the instanceIds to the start apm maintenance mode params

func (*StartApmMaintenanceModeParams) SetTimeout

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

SetTimeout adds the timeout to the start apm maintenance mode params

func (*StartApmMaintenanceModeParams) WithClusterID

WithClusterID adds the clusterID to the start apm maintenance mode params

func (*StartApmMaintenanceModeParams) WithContext

WithContext adds the context to the start apm maintenance mode params

func (*StartApmMaintenanceModeParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the start apm maintenance mode params (not the query body).

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

func (*StartApmMaintenanceModeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the start apm maintenance mode params

func (*StartApmMaintenanceModeParams) WithIgnoreMissing

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

WithIgnoreMissing adds the ignoreMissing to the start apm maintenance mode params

func (*StartApmMaintenanceModeParams) WithInstanceIds

func (o *StartApmMaintenanceModeParams) WithInstanceIds(instanceIds []string) *StartApmMaintenanceModeParams

WithInstanceIds adds the instanceIds to the start apm maintenance mode params

func (*StartApmMaintenanceModeParams) WithTimeout

WithTimeout adds the timeout to the start apm maintenance mode params

func (*StartApmMaintenanceModeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StartApmMaintenanceModeReader

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

StartApmMaintenanceModeReader is a Reader for the StartApmMaintenanceMode structure.

func (*StartApmMaintenanceModeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StartApmMaintenanceModeRetryWith

type StartApmMaintenanceModeRetryWith struct {

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

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

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

func NewStartApmMaintenanceModeRetryWith

func NewStartApmMaintenanceModeRetryWith() *StartApmMaintenanceModeRetryWith

NewStartApmMaintenanceModeRetryWith creates a StartApmMaintenanceModeRetryWith with default headers values

func (*StartApmMaintenanceModeRetryWith) Error

func (*StartApmMaintenanceModeRetryWith) GetPayload

type StopApmInstancesAccepted

type StopApmInstancesAccepted struct {
	Payload *models.ClusterCommandResponse
}
StopApmInstancesAccepted 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 NewStopApmInstancesAccepted

func NewStopApmInstancesAccepted() *StopApmInstancesAccepted

NewStopApmInstancesAccepted creates a StopApmInstancesAccepted with default headers values

func (*StopApmInstancesAccepted) Error

func (o *StopApmInstancesAccepted) Error() string

func (*StopApmInstancesAccepted) GetPayload

type StopApmInstancesAllAccepted

type StopApmInstancesAllAccepted struct {
	Payload *models.ClusterCommandResponse
}
StopApmInstancesAllAccepted 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 NewStopApmInstancesAllAccepted

func NewStopApmInstancesAllAccepted() *StopApmInstancesAllAccepted

NewStopApmInstancesAllAccepted creates a StopApmInstancesAllAccepted with default headers values

func (*StopApmInstancesAllAccepted) Error

func (*StopApmInstancesAllAccepted) GetPayload

type StopApmInstancesAllForbidden

type StopApmInstancesAllForbidden struct {

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

	Payload *models.BasicFailedReply
}
StopApmInstancesAllForbidden 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 NewStopApmInstancesAllForbidden

func NewStopApmInstancesAllForbidden() *StopApmInstancesAllForbidden

NewStopApmInstancesAllForbidden creates a StopApmInstancesAllForbidden with default headers values

func (*StopApmInstancesAllForbidden) Error

func (*StopApmInstancesAllForbidden) GetPayload

type StopApmInstancesAllMaintenanceModeAccepted

type StopApmInstancesAllMaintenanceModeAccepted struct {
	Payload *models.ClusterCommandResponse
}
StopApmInstancesAllMaintenanceModeAccepted 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 NewStopApmInstancesAllMaintenanceModeAccepted

func NewStopApmInstancesAllMaintenanceModeAccepted() *StopApmInstancesAllMaintenanceModeAccepted

NewStopApmInstancesAllMaintenanceModeAccepted creates a StopApmInstancesAllMaintenanceModeAccepted with default headers values

func (*StopApmInstancesAllMaintenanceModeAccepted) Error

func (*StopApmInstancesAllMaintenanceModeAccepted) GetPayload

type StopApmInstancesAllMaintenanceModeForbidden

type StopApmInstancesAllMaintenanceModeForbidden struct {

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

	Payload *models.BasicFailedReply
}
StopApmInstancesAllMaintenanceModeForbidden 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 NewStopApmInstancesAllMaintenanceModeForbidden

func NewStopApmInstancesAllMaintenanceModeForbidden() *StopApmInstancesAllMaintenanceModeForbidden

NewStopApmInstancesAllMaintenanceModeForbidden creates a StopApmInstancesAllMaintenanceModeForbidden with default headers values

func (*StopApmInstancesAllMaintenanceModeForbidden) Error

func (*StopApmInstancesAllMaintenanceModeForbidden) GetPayload

type StopApmInstancesAllMaintenanceModeNotFound

type StopApmInstancesAllMaintenanceModeNotFound struct {

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

	Payload *models.BasicFailedReply
}
StopApmInstancesAllMaintenanceModeNotFound 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 NewStopApmInstancesAllMaintenanceModeNotFound

func NewStopApmInstancesAllMaintenanceModeNotFound() *StopApmInstancesAllMaintenanceModeNotFound

NewStopApmInstancesAllMaintenanceModeNotFound creates a StopApmInstancesAllMaintenanceModeNotFound with default headers values

func (*StopApmInstancesAllMaintenanceModeNotFound) Error

func (*StopApmInstancesAllMaintenanceModeNotFound) GetPayload

type StopApmInstancesAllMaintenanceModeParams

type StopApmInstancesAllMaintenanceModeParams struct {

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

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

StopApmInstancesAllMaintenanceModeParams contains all the parameters to send to the API endpoint

for the stop apm instances all maintenance mode operation.

Typically these are written to a http.Request.

func NewStopApmInstancesAllMaintenanceModeParams

func NewStopApmInstancesAllMaintenanceModeParams() *StopApmInstancesAllMaintenanceModeParams

NewStopApmInstancesAllMaintenanceModeParams creates a new StopApmInstancesAllMaintenanceModeParams 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 NewStopApmInstancesAllMaintenanceModeParamsWithContext

func NewStopApmInstancesAllMaintenanceModeParamsWithContext(ctx context.Context) *StopApmInstancesAllMaintenanceModeParams

NewStopApmInstancesAllMaintenanceModeParamsWithContext creates a new StopApmInstancesAllMaintenanceModeParams object with the ability to set a context for a request.

func NewStopApmInstancesAllMaintenanceModeParamsWithHTTPClient

func NewStopApmInstancesAllMaintenanceModeParamsWithHTTPClient(client *http.Client) *StopApmInstancesAllMaintenanceModeParams

NewStopApmInstancesAllMaintenanceModeParamsWithHTTPClient creates a new StopApmInstancesAllMaintenanceModeParams object with the ability to set a custom HTTPClient for a request.

func NewStopApmInstancesAllMaintenanceModeParamsWithTimeout

func NewStopApmInstancesAllMaintenanceModeParamsWithTimeout(timeout time.Duration) *StopApmInstancesAllMaintenanceModeParams

NewStopApmInstancesAllMaintenanceModeParamsWithTimeout creates a new StopApmInstancesAllMaintenanceModeParams object with the ability to set a timeout on a request.

func (*StopApmInstancesAllMaintenanceModeParams) SetClusterID

func (o *StopApmInstancesAllMaintenanceModeParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the stop apm instances all maintenance mode params

func (*StopApmInstancesAllMaintenanceModeParams) SetContext

SetContext adds the context to the stop apm instances all maintenance mode params

func (*StopApmInstancesAllMaintenanceModeParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the stop apm instances all maintenance mode params (not the query body).

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

func (*StopApmInstancesAllMaintenanceModeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop apm instances all maintenance mode params

func (*StopApmInstancesAllMaintenanceModeParams) SetTimeout

SetTimeout adds the timeout to the stop apm instances all maintenance mode params

func (*StopApmInstancesAllMaintenanceModeParams) WithClusterID

WithClusterID adds the clusterID to the stop apm instances all maintenance mode params

func (*StopApmInstancesAllMaintenanceModeParams) WithContext

WithContext adds the context to the stop apm instances all maintenance mode params

func (*StopApmInstancesAllMaintenanceModeParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the stop apm instances all maintenance mode params (not the query body).

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

func (*StopApmInstancesAllMaintenanceModeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stop apm instances all maintenance mode params

func (*StopApmInstancesAllMaintenanceModeParams) WithTimeout

WithTimeout adds the timeout to the stop apm instances all maintenance mode params

func (*StopApmInstancesAllMaintenanceModeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StopApmInstancesAllMaintenanceModeReader

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

StopApmInstancesAllMaintenanceModeReader is a Reader for the StopApmInstancesAllMaintenanceMode structure.

func (*StopApmInstancesAllMaintenanceModeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopApmInstancesAllMaintenanceModeRetryWith

type StopApmInstancesAllMaintenanceModeRetryWith struct {

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

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

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

func NewStopApmInstancesAllMaintenanceModeRetryWith

func NewStopApmInstancesAllMaintenanceModeRetryWith() *StopApmInstancesAllMaintenanceModeRetryWith

NewStopApmInstancesAllMaintenanceModeRetryWith creates a StopApmInstancesAllMaintenanceModeRetryWith with default headers values

func (*StopApmInstancesAllMaintenanceModeRetryWith) Error

func (*StopApmInstancesAllMaintenanceModeRetryWith) GetPayload

type StopApmInstancesAllNotFound

type StopApmInstancesAllNotFound struct {

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

	Payload *models.BasicFailedReply
}
StopApmInstancesAllNotFound 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 NewStopApmInstancesAllNotFound

func NewStopApmInstancesAllNotFound() *StopApmInstancesAllNotFound

NewStopApmInstancesAllNotFound creates a StopApmInstancesAllNotFound with default headers values

func (*StopApmInstancesAllNotFound) Error

func (*StopApmInstancesAllNotFound) GetPayload

type StopApmInstancesAllParams

type StopApmInstancesAllParams struct {

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

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

StopApmInstancesAllParams contains all the parameters to send to the API endpoint

for the stop apm instances all operation.

Typically these are written to a http.Request.

func NewStopApmInstancesAllParams

func NewStopApmInstancesAllParams() *StopApmInstancesAllParams

NewStopApmInstancesAllParams creates a new StopApmInstancesAllParams 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 NewStopApmInstancesAllParamsWithContext

func NewStopApmInstancesAllParamsWithContext(ctx context.Context) *StopApmInstancesAllParams

NewStopApmInstancesAllParamsWithContext creates a new StopApmInstancesAllParams object with the ability to set a context for a request.

func NewStopApmInstancesAllParamsWithHTTPClient

func NewStopApmInstancesAllParamsWithHTTPClient(client *http.Client) *StopApmInstancesAllParams

NewStopApmInstancesAllParamsWithHTTPClient creates a new StopApmInstancesAllParams object with the ability to set a custom HTTPClient for a request.

func NewStopApmInstancesAllParamsWithTimeout

func NewStopApmInstancesAllParamsWithTimeout(timeout time.Duration) *StopApmInstancesAllParams

NewStopApmInstancesAllParamsWithTimeout creates a new StopApmInstancesAllParams object with the ability to set a timeout on a request.

func (*StopApmInstancesAllParams) SetClusterID

func (o *StopApmInstancesAllParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the stop apm instances all params

func (*StopApmInstancesAllParams) SetContext

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

SetContext adds the context to the stop apm instances all params

func (*StopApmInstancesAllParams) SetDefaults added in v1.3.0

func (o *StopApmInstancesAllParams) SetDefaults()

SetDefaults hydrates default values in the stop apm instances all params (not the query body).

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

func (*StopApmInstancesAllParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop apm instances all params

func (*StopApmInstancesAllParams) SetTimeout

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

SetTimeout adds the timeout to the stop apm instances all params

func (*StopApmInstancesAllParams) WithClusterID

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

WithClusterID adds the clusterID to the stop apm instances all params

func (*StopApmInstancesAllParams) WithContext

WithContext adds the context to the stop apm instances all params

func (*StopApmInstancesAllParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the stop apm instances all params (not the query body).

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

func (*StopApmInstancesAllParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop apm instances all params

func (*StopApmInstancesAllParams) WithTimeout

WithTimeout adds the timeout to the stop apm instances all params

func (*StopApmInstancesAllParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StopApmInstancesAllReader

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

StopApmInstancesAllReader is a Reader for the StopApmInstancesAll structure.

func (*StopApmInstancesAllReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopApmInstancesAllRetryWith

type StopApmInstancesAllRetryWith struct {

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

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

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

func NewStopApmInstancesAllRetryWith

func NewStopApmInstancesAllRetryWith() *StopApmInstancesAllRetryWith

NewStopApmInstancesAllRetryWith creates a StopApmInstancesAllRetryWith with default headers values

func (*StopApmInstancesAllRetryWith) Error

func (*StopApmInstancesAllRetryWith) GetPayload

type StopApmInstancesForbidden

type StopApmInstancesForbidden struct {

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

	Payload *models.BasicFailedReply
}
StopApmInstancesForbidden 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 NewStopApmInstancesForbidden

func NewStopApmInstancesForbidden() *StopApmInstancesForbidden

NewStopApmInstancesForbidden creates a StopApmInstancesForbidden with default headers values

func (*StopApmInstancesForbidden) Error

func (o *StopApmInstancesForbidden) Error() string

func (*StopApmInstancesForbidden) GetPayload

type StopApmInstancesNotFound

type StopApmInstancesNotFound struct {

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

	Payload *models.BasicFailedReply
}
StopApmInstancesNotFound 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 NewStopApmInstancesNotFound

func NewStopApmInstancesNotFound() *StopApmInstancesNotFound

NewStopApmInstancesNotFound creates a StopApmInstancesNotFound with default headers values

func (*StopApmInstancesNotFound) Error

func (o *StopApmInstancesNotFound) Error() string

func (*StopApmInstancesNotFound) GetPayload

type StopApmInstancesParams

type StopApmInstancesParams struct {

	/* ClusterID.

	   The APM deployment 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
}

StopApmInstancesParams contains all the parameters to send to the API endpoint

for the stop apm instances operation.

Typically these are written to a http.Request.

func NewStopApmInstancesParams

func NewStopApmInstancesParams() *StopApmInstancesParams

NewStopApmInstancesParams creates a new StopApmInstancesParams 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 NewStopApmInstancesParamsWithContext

func NewStopApmInstancesParamsWithContext(ctx context.Context) *StopApmInstancesParams

NewStopApmInstancesParamsWithContext creates a new StopApmInstancesParams object with the ability to set a context for a request.

func NewStopApmInstancesParamsWithHTTPClient

func NewStopApmInstancesParamsWithHTTPClient(client *http.Client) *StopApmInstancesParams

NewStopApmInstancesParamsWithHTTPClient creates a new StopApmInstancesParams object with the ability to set a custom HTTPClient for a request.

func NewStopApmInstancesParamsWithTimeout

func NewStopApmInstancesParamsWithTimeout(timeout time.Duration) *StopApmInstancesParams

NewStopApmInstancesParamsWithTimeout creates a new StopApmInstancesParams object with the ability to set a timeout on a request.

func (*StopApmInstancesParams) SetClusterID

func (o *StopApmInstancesParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the stop apm instances params

func (*StopApmInstancesParams) SetContext

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

SetContext adds the context to the stop apm instances params

func (*StopApmInstancesParams) SetDefaults added in v1.3.0

func (o *StopApmInstancesParams) SetDefaults()

SetDefaults hydrates default values in the stop apm instances params (not the query body).

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

func (*StopApmInstancesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop apm instances params

func (*StopApmInstancesParams) SetIgnoreMissing

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

SetIgnoreMissing adds the ignoreMissing to the stop apm instances params

func (*StopApmInstancesParams) SetInstanceIds

func (o *StopApmInstancesParams) SetInstanceIds(instanceIds []string)

SetInstanceIds adds the instanceIds to the stop apm instances params

func (*StopApmInstancesParams) SetTimeout

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

SetTimeout adds the timeout to the stop apm instances params

func (*StopApmInstancesParams) WithClusterID

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

WithClusterID adds the clusterID to the stop apm instances params

func (*StopApmInstancesParams) WithContext

WithContext adds the context to the stop apm instances params

func (*StopApmInstancesParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the stop apm instances params (not the query body).

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

func (*StopApmInstancesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the stop apm instances params

func (*StopApmInstancesParams) WithIgnoreMissing

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

WithIgnoreMissing adds the ignoreMissing to the stop apm instances params

func (*StopApmInstancesParams) WithInstanceIds

func (o *StopApmInstancesParams) WithInstanceIds(instanceIds []string) *StopApmInstancesParams

WithInstanceIds adds the instanceIds to the stop apm instances params

func (*StopApmInstancesParams) WithTimeout

WithTimeout adds the timeout to the stop apm instances params

func (*StopApmInstancesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StopApmInstancesReader

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

StopApmInstancesReader is a Reader for the StopApmInstances structure.

func (*StopApmInstancesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopApmInstancesRetryWith

type StopApmInstancesRetryWith struct {

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

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

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

func NewStopApmInstancesRetryWith

func NewStopApmInstancesRetryWith() *StopApmInstancesRetryWith

NewStopApmInstancesRetryWith creates a StopApmInstancesRetryWith with default headers values

func (*StopApmInstancesRetryWith) Error

func (o *StopApmInstancesRetryWith) Error() string

func (*StopApmInstancesRetryWith) GetPayload

type StopApmMaintenanceModeAccepted

type StopApmMaintenanceModeAccepted struct {
	Payload *models.ClusterCommandResponse
}
StopApmMaintenanceModeAccepted 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 NewStopApmMaintenanceModeAccepted

func NewStopApmMaintenanceModeAccepted() *StopApmMaintenanceModeAccepted

NewStopApmMaintenanceModeAccepted creates a StopApmMaintenanceModeAccepted with default headers values

func (*StopApmMaintenanceModeAccepted) Error

func (*StopApmMaintenanceModeAccepted) GetPayload

type StopApmMaintenanceModeForbidden

type StopApmMaintenanceModeForbidden struct {

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

	Payload *models.BasicFailedReply
}
StopApmMaintenanceModeForbidden 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 NewStopApmMaintenanceModeForbidden

func NewStopApmMaintenanceModeForbidden() *StopApmMaintenanceModeForbidden

NewStopApmMaintenanceModeForbidden creates a StopApmMaintenanceModeForbidden with default headers values

func (*StopApmMaintenanceModeForbidden) Error

func (*StopApmMaintenanceModeForbidden) GetPayload

type StopApmMaintenanceModeNotFound

type StopApmMaintenanceModeNotFound struct {

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

	Payload *models.BasicFailedReply
}
StopApmMaintenanceModeNotFound 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 NewStopApmMaintenanceModeNotFound

func NewStopApmMaintenanceModeNotFound() *StopApmMaintenanceModeNotFound

NewStopApmMaintenanceModeNotFound creates a StopApmMaintenanceModeNotFound with default headers values

func (*StopApmMaintenanceModeNotFound) Error

func (*StopApmMaintenanceModeNotFound) GetPayload

type StopApmMaintenanceModeParams

type StopApmMaintenanceModeParams struct {

	/* ClusterID.

	   The APM deployment 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
}

StopApmMaintenanceModeParams contains all the parameters to send to the API endpoint

for the stop apm maintenance mode operation.

Typically these are written to a http.Request.

func NewStopApmMaintenanceModeParams

func NewStopApmMaintenanceModeParams() *StopApmMaintenanceModeParams

NewStopApmMaintenanceModeParams creates a new StopApmMaintenanceModeParams 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 NewStopApmMaintenanceModeParamsWithContext

func NewStopApmMaintenanceModeParamsWithContext(ctx context.Context) *StopApmMaintenanceModeParams

NewStopApmMaintenanceModeParamsWithContext creates a new StopApmMaintenanceModeParams object with the ability to set a context for a request.

func NewStopApmMaintenanceModeParamsWithHTTPClient

func NewStopApmMaintenanceModeParamsWithHTTPClient(client *http.Client) *StopApmMaintenanceModeParams

NewStopApmMaintenanceModeParamsWithHTTPClient creates a new StopApmMaintenanceModeParams object with the ability to set a custom HTTPClient for a request.

func NewStopApmMaintenanceModeParamsWithTimeout

func NewStopApmMaintenanceModeParamsWithTimeout(timeout time.Duration) *StopApmMaintenanceModeParams

NewStopApmMaintenanceModeParamsWithTimeout creates a new StopApmMaintenanceModeParams object with the ability to set a timeout on a request.

func (*StopApmMaintenanceModeParams) SetClusterID

func (o *StopApmMaintenanceModeParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the stop apm maintenance mode params

func (*StopApmMaintenanceModeParams) SetContext

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

SetContext adds the context to the stop apm maintenance mode params

func (*StopApmMaintenanceModeParams) SetDefaults added in v1.3.0

func (o *StopApmMaintenanceModeParams) SetDefaults()

SetDefaults hydrates default values in the stop apm maintenance mode params (not the query body).

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

func (*StopApmMaintenanceModeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop apm maintenance mode params

func (*StopApmMaintenanceModeParams) SetIgnoreMissing

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

SetIgnoreMissing adds the ignoreMissing to the stop apm maintenance mode params

func (*StopApmMaintenanceModeParams) SetInstanceIds

func (o *StopApmMaintenanceModeParams) SetInstanceIds(instanceIds []string)

SetInstanceIds adds the instanceIds to the stop apm maintenance mode params

func (*StopApmMaintenanceModeParams) SetTimeout

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

SetTimeout adds the timeout to the stop apm maintenance mode params

func (*StopApmMaintenanceModeParams) WithClusterID

WithClusterID adds the clusterID to the stop apm maintenance mode params

func (*StopApmMaintenanceModeParams) WithContext

WithContext adds the context to the stop apm maintenance mode params

func (*StopApmMaintenanceModeParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the stop apm maintenance mode params (not the query body).

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

func (*StopApmMaintenanceModeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the stop apm maintenance mode params

func (*StopApmMaintenanceModeParams) WithIgnoreMissing

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

WithIgnoreMissing adds the ignoreMissing to the stop apm maintenance mode params

func (*StopApmMaintenanceModeParams) WithInstanceIds

func (o *StopApmMaintenanceModeParams) WithInstanceIds(instanceIds []string) *StopApmMaintenanceModeParams

WithInstanceIds adds the instanceIds to the stop apm maintenance mode params

func (*StopApmMaintenanceModeParams) WithTimeout

WithTimeout adds the timeout to the stop apm maintenance mode params

func (*StopApmMaintenanceModeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StopApmMaintenanceModeReader

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

StopApmMaintenanceModeReader is a Reader for the StopApmMaintenanceMode structure.

func (*StopApmMaintenanceModeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopApmMaintenanceModeRetryWith

type StopApmMaintenanceModeRetryWith struct {

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

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

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

func NewStopApmMaintenanceModeRetryWith

func NewStopApmMaintenanceModeRetryWith() *StopApmMaintenanceModeRetryWith

NewStopApmMaintenanceModeRetryWith creates a StopApmMaintenanceModeRetryWith with default headers values

func (*StopApmMaintenanceModeRetryWith) Error

func (*StopApmMaintenanceModeRetryWith) GetPayload

type UpdateApmMetadataSettingsForbidden

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

The provided action was prohibited for the given cluster.

func NewUpdateApmMetadataSettingsForbidden

func NewUpdateApmMetadataSettingsForbidden() *UpdateApmMetadataSettingsForbidden

NewUpdateApmMetadataSettingsForbidden creates a UpdateApmMetadataSettingsForbidden with default headers values

func (*UpdateApmMetadataSettingsForbidden) Error

func (*UpdateApmMetadataSettingsForbidden) GetPayload

type UpdateApmMetadataSettingsNotFound

type UpdateApmMetadataSettingsNotFound struct {
	Payload *models.BasicFailedReply
}
UpdateApmMetadataSettingsNotFound 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 NewUpdateApmMetadataSettingsNotFound

func NewUpdateApmMetadataSettingsNotFound() *UpdateApmMetadataSettingsNotFound

NewUpdateApmMetadataSettingsNotFound creates a UpdateApmMetadataSettingsNotFound with default headers values

func (*UpdateApmMetadataSettingsNotFound) Error

func (*UpdateApmMetadataSettingsNotFound) GetPayload

type UpdateApmMetadataSettingsOK

type UpdateApmMetadataSettingsOK 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
}
UpdateApmMetadataSettingsOK describes a response with status code 200, with default header values.

The cluster metadata was successfully updated

func NewUpdateApmMetadataSettingsOK

func NewUpdateApmMetadataSettingsOK() *UpdateApmMetadataSettingsOK

NewUpdateApmMetadataSettingsOK creates a UpdateApmMetadataSettingsOK with default headers values

func (*UpdateApmMetadataSettingsOK) Error

func (*UpdateApmMetadataSettingsOK) GetPayload

type UpdateApmMetadataSettingsParams

type UpdateApmMetadataSettingsParams struct {

	/* Body.

	   The cluster settings including updated values
	*/
	Body *models.ClusterMetadataSettings

	/* ClusterID.

	   The APM deployment 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
}

UpdateApmMetadataSettingsParams contains all the parameters to send to the API endpoint

for the update apm metadata settings operation.

Typically these are written to a http.Request.

func NewUpdateApmMetadataSettingsParams

func NewUpdateApmMetadataSettingsParams() *UpdateApmMetadataSettingsParams

NewUpdateApmMetadataSettingsParams creates a new UpdateApmMetadataSettingsParams 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 NewUpdateApmMetadataSettingsParamsWithContext

func NewUpdateApmMetadataSettingsParamsWithContext(ctx context.Context) *UpdateApmMetadataSettingsParams

NewUpdateApmMetadataSettingsParamsWithContext creates a new UpdateApmMetadataSettingsParams object with the ability to set a context for a request.

func NewUpdateApmMetadataSettingsParamsWithHTTPClient

func NewUpdateApmMetadataSettingsParamsWithHTTPClient(client *http.Client) *UpdateApmMetadataSettingsParams

NewUpdateApmMetadataSettingsParamsWithHTTPClient creates a new UpdateApmMetadataSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateApmMetadataSettingsParamsWithTimeout

func NewUpdateApmMetadataSettingsParamsWithTimeout(timeout time.Duration) *UpdateApmMetadataSettingsParams

NewUpdateApmMetadataSettingsParamsWithTimeout creates a new UpdateApmMetadataSettingsParams object with the ability to set a timeout on a request.

func (*UpdateApmMetadataSettingsParams) SetBody

SetBody adds the body to the update apm metadata settings params

func (*UpdateApmMetadataSettingsParams) SetClusterID

func (o *UpdateApmMetadataSettingsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the update apm metadata settings params

func (*UpdateApmMetadataSettingsParams) SetContext

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

SetContext adds the context to the update apm metadata settings params

func (*UpdateApmMetadataSettingsParams) SetDefaults added in v1.3.0

func (o *UpdateApmMetadataSettingsParams) SetDefaults()

SetDefaults hydrates default values in the update apm metadata settings params (not the query body).

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

func (*UpdateApmMetadataSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update apm metadata settings params

func (*UpdateApmMetadataSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the update apm metadata settings params

func (*UpdateApmMetadataSettingsParams) SetVersion

func (o *UpdateApmMetadataSettingsParams) SetVersion(version *int64)

SetVersion adds the version to the update apm metadata settings params

func (*UpdateApmMetadataSettingsParams) WithBody

WithBody adds the body to the update apm metadata settings params

func (*UpdateApmMetadataSettingsParams) WithClusterID

WithClusterID adds the clusterID to the update apm metadata settings params

func (*UpdateApmMetadataSettingsParams) WithContext

WithContext adds the context to the update apm metadata settings params

func (*UpdateApmMetadataSettingsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the update apm metadata settings params (not the query body).

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

func (*UpdateApmMetadataSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update apm metadata settings params

func (*UpdateApmMetadataSettingsParams) WithTimeout

WithTimeout adds the timeout to the update apm metadata settings params

func (*UpdateApmMetadataSettingsParams) WithVersion

WithVersion adds the version to the update apm metadata settings params

func (*UpdateApmMetadataSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateApmMetadataSettingsReader

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

UpdateApmMetadataSettingsReader is a Reader for the UpdateApmMetadataSettings structure.

func (*UpdateApmMetadataSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateApmMetadataSettingsRetryWith

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

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

func NewUpdateApmMetadataSettingsRetryWith

func NewUpdateApmMetadataSettingsRetryWith() *UpdateApmMetadataSettingsRetryWith

NewUpdateApmMetadataSettingsRetryWith creates a UpdateApmMetadataSettingsRetryWith with default headers values

func (*UpdateApmMetadataSettingsRetryWith) Error

func (*UpdateApmMetadataSettingsRetryWith) GetPayload

type UpdateApmPlanAccepted

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

The APM server plan is valid and the plan update is in progress.

func NewUpdateApmPlanAccepted

func NewUpdateApmPlanAccepted() *UpdateApmPlanAccepted

NewUpdateApmPlanAccepted creates a UpdateApmPlanAccepted with default headers values

func (*UpdateApmPlanAccepted) Error

func (o *UpdateApmPlanAccepted) Error() string

func (*UpdateApmPlanAccepted) GetPayload

func (o *UpdateApmPlanAccepted) GetPayload() *models.ApmCrudResponse

type UpdateApmPlanBadRequest

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

The APM server plan contains errors. (code: 'clusters.cluster_invalid_plan' and 'clusters.plan_feature_not_implemented')

func NewUpdateApmPlanBadRequest

func NewUpdateApmPlanBadRequest() *UpdateApmPlanBadRequest

NewUpdateApmPlanBadRequest creates a UpdateApmPlanBadRequest with default headers values

func (*UpdateApmPlanBadRequest) Error

func (o *UpdateApmPlanBadRequest) Error() string

func (*UpdateApmPlanBadRequest) GetPayload

type UpdateApmPlanNotFound

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

The {cluster_id} can't be found. (code: 'clusters.cluster_not_found')

func NewUpdateApmPlanNotFound

func NewUpdateApmPlanNotFound() *UpdateApmPlanNotFound

NewUpdateApmPlanNotFound creates a UpdateApmPlanNotFound with default headers values

func (*UpdateApmPlanNotFound) Error

func (o *UpdateApmPlanNotFound) Error() string

func (*UpdateApmPlanNotFound) GetPayload

type UpdateApmPlanOK

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

The APM server plan is valid. The return object contains an internal representation of the plan that you can use for debugging.

func NewUpdateApmPlanOK

func NewUpdateApmPlanOK() *UpdateApmPlanOK

NewUpdateApmPlanOK creates a UpdateApmPlanOK with default headers values

func (*UpdateApmPlanOK) Error

func (o *UpdateApmPlanOK) Error() string

func (*UpdateApmPlanOK) GetPayload

func (o *UpdateApmPlanOK) GetPayload() *models.ApmCrudResponse

type UpdateApmPlanParams

type UpdateApmPlanParams struct {

	/* Body.

	   The update plan definition
	*/
	Body *models.ApmPlan

	/* ClusterID.

	   The APM deployment 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
}

UpdateApmPlanParams contains all the parameters to send to the API endpoint

for the update apm plan operation.

Typically these are written to a http.Request.

func NewUpdateApmPlanParams

func NewUpdateApmPlanParams() *UpdateApmPlanParams

NewUpdateApmPlanParams creates a new UpdateApmPlanParams 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 NewUpdateApmPlanParamsWithContext

func NewUpdateApmPlanParamsWithContext(ctx context.Context) *UpdateApmPlanParams

NewUpdateApmPlanParamsWithContext creates a new UpdateApmPlanParams object with the ability to set a context for a request.

func NewUpdateApmPlanParamsWithHTTPClient

func NewUpdateApmPlanParamsWithHTTPClient(client *http.Client) *UpdateApmPlanParams

NewUpdateApmPlanParamsWithHTTPClient creates a new UpdateApmPlanParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateApmPlanParamsWithTimeout

func NewUpdateApmPlanParamsWithTimeout(timeout time.Duration) *UpdateApmPlanParams

NewUpdateApmPlanParamsWithTimeout creates a new UpdateApmPlanParams object with the ability to set a timeout on a request.

func (*UpdateApmPlanParams) SetBody

func (o *UpdateApmPlanParams) SetBody(body *models.ApmPlan)

SetBody adds the body to the update apm plan params

func (*UpdateApmPlanParams) SetClusterID

func (o *UpdateApmPlanParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the update apm plan params

func (*UpdateApmPlanParams) SetContext

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

SetContext adds the context to the update apm plan params

func (*UpdateApmPlanParams) SetDefaults added in v1.3.0

func (o *UpdateApmPlanParams) SetDefaults()

SetDefaults hydrates default values in the update apm plan params (not the query body).

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

func (*UpdateApmPlanParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update apm plan params

func (*UpdateApmPlanParams) SetTimeout

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

SetTimeout adds the timeout to the update apm plan params

func (*UpdateApmPlanParams) SetValidateOnly

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

SetValidateOnly adds the validateOnly to the update apm plan params

func (*UpdateApmPlanParams) WithBody

WithBody adds the body to the update apm plan params

func (*UpdateApmPlanParams) WithClusterID

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

WithClusterID adds the clusterID to the update apm plan params

func (*UpdateApmPlanParams) WithContext

WithContext adds the context to the update apm plan params

func (*UpdateApmPlanParams) WithDefaults added in v1.3.0

func (o *UpdateApmPlanParams) WithDefaults() *UpdateApmPlanParams

WithDefaults hydrates default values in the update apm plan params (not the query body).

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

func (*UpdateApmPlanParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update apm plan params

func (*UpdateApmPlanParams) WithTimeout

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

WithTimeout adds the timeout to the update apm plan params

func (*UpdateApmPlanParams) WithValidateOnly

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

WithValidateOnly adds the validateOnly to the update apm plan params

func (*UpdateApmPlanParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateApmPlanReader

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

UpdateApmPlanReader is a Reader for the UpdateApmPlan structure.

func (*UpdateApmPlanReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateApmPlanRetryWith

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

Elevated permissions are required. (code: '"root.needs_elevated_permissions"')

func NewUpdateApmPlanRetryWith

func NewUpdateApmPlanRetryWith() *UpdateApmPlanRetryWith

NewUpdateApmPlanRetryWith creates a UpdateApmPlanRetryWith with default headers values

func (*UpdateApmPlanRetryWith) Error

func (o *UpdateApmPlanRetryWith) Error() string

func (*UpdateApmPlanRetryWith) GetPayload

type UpgradeApmAccepted

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

The upgrade command was issued successfully, use the "GET" command on the /{cluster_id} resource to monitor progress

func NewUpgradeApmAccepted

func NewUpgradeApmAccepted() *UpgradeApmAccepted

NewUpgradeApmAccepted creates a UpgradeApmAccepted with default headers values

func (*UpgradeApmAccepted) Error

func (o *UpgradeApmAccepted) Error() string

func (*UpgradeApmAccepted) GetPayload

func (o *UpgradeApmAccepted) GetPayload() *models.ClusterUpgradeInfo

type UpgradeApmNotFound

type UpgradeApmNotFound struct {

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

	Payload *models.BasicFailedReply
}
UpgradeApmNotFound 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 NewUpgradeApmNotFound

func NewUpgradeApmNotFound() *UpgradeApmNotFound

NewUpgradeApmNotFound creates a UpgradeApmNotFound with default headers values

func (*UpgradeApmNotFound) Error

func (o *UpgradeApmNotFound) Error() string

func (*UpgradeApmNotFound) GetPayload

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

type UpgradeApmParams

type UpgradeApmParams struct {

	/* ClusterID.

	   The APM deployment identifier.
	*/
	ClusterID string

	/* ValidateOnly.

	   When `true`, returns the update version without performing the upgrade
	*/
	ValidateOnly *bool

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

UpgradeApmParams contains all the parameters to send to the API endpoint

for the upgrade apm operation.

Typically these are written to a http.Request.

func NewUpgradeApmParams

func NewUpgradeApmParams() *UpgradeApmParams

NewUpgradeApmParams creates a new UpgradeApmParams 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 NewUpgradeApmParamsWithContext

func NewUpgradeApmParamsWithContext(ctx context.Context) *UpgradeApmParams

NewUpgradeApmParamsWithContext creates a new UpgradeApmParams object with the ability to set a context for a request.

func NewUpgradeApmParamsWithHTTPClient

func NewUpgradeApmParamsWithHTTPClient(client *http.Client) *UpgradeApmParams

NewUpgradeApmParamsWithHTTPClient creates a new UpgradeApmParams object with the ability to set a custom HTTPClient for a request.

func NewUpgradeApmParamsWithTimeout

func NewUpgradeApmParamsWithTimeout(timeout time.Duration) *UpgradeApmParams

NewUpgradeApmParamsWithTimeout creates a new UpgradeApmParams object with the ability to set a timeout on a request.

func (*UpgradeApmParams) SetClusterID

func (o *UpgradeApmParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the upgrade apm params

func (*UpgradeApmParams) SetContext

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

SetContext adds the context to the upgrade apm params

func (*UpgradeApmParams) SetDefaults added in v1.3.0

func (o *UpgradeApmParams) SetDefaults()

SetDefaults hydrates default values in the upgrade apm params (not the query body).

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

func (*UpgradeApmParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upgrade apm params

func (*UpgradeApmParams) SetTimeout

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

SetTimeout adds the timeout to the upgrade apm params

func (*UpgradeApmParams) SetValidateOnly

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

SetValidateOnly adds the validateOnly to the upgrade apm params

func (*UpgradeApmParams) WithClusterID

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

WithClusterID adds the clusterID to the upgrade apm params

func (*UpgradeApmParams) WithContext

func (o *UpgradeApmParams) WithContext(ctx context.Context) *UpgradeApmParams

WithContext adds the context to the upgrade apm params

func (*UpgradeApmParams) WithDefaults added in v1.3.0

func (o *UpgradeApmParams) WithDefaults() *UpgradeApmParams

WithDefaults hydrates default values in the upgrade apm params (not the query body).

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

func (*UpgradeApmParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upgrade apm params

func (*UpgradeApmParams) WithTimeout

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

WithTimeout adds the timeout to the upgrade apm params

func (*UpgradeApmParams) WithValidateOnly

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

WithValidateOnly adds the validateOnly to the upgrade apm params

func (*UpgradeApmParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpgradeApmReader

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

UpgradeApmReader is a Reader for the UpgradeApm structure.

func (*UpgradeApmReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpgradeApmRetryWith

type UpgradeApmRetryWith struct {

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

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

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

func NewUpgradeApmRetryWith

func NewUpgradeApmRetryWith() *UpgradeApmRetryWith

NewUpgradeApmRetryWith creates a UpgradeApmRetryWith with default headers values

func (*UpgradeApmRetryWith) Error

func (o *UpgradeApmRetryWith) Error() string

func (*UpgradeApmRetryWith) GetPayload

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL