Documentation ¶
Index ¶
- type CancelApmPendingPlanNotFound
- type CancelApmPendingPlanOK
- type CancelApmPendingPlanParams
- func NewCancelApmPendingPlanParams() *CancelApmPendingPlanParams
- func NewCancelApmPendingPlanParamsWithContext(ctx context.Context) *CancelApmPendingPlanParams
- func NewCancelApmPendingPlanParamsWithHTTPClient(client *http.Client) *CancelApmPendingPlanParams
- func NewCancelApmPendingPlanParamsWithTimeout(timeout time.Duration) *CancelApmPendingPlanParams
- func (o *CancelApmPendingPlanParams) SetClusterID(clusterID string)
- func (o *CancelApmPendingPlanParams) SetContext(ctx context.Context)
- func (o *CancelApmPendingPlanParams) SetDefaults()
- func (o *CancelApmPendingPlanParams) SetForceDelete(forceDelete *bool)
- func (o *CancelApmPendingPlanParams) SetHTTPClient(client *http.Client)
- func (o *CancelApmPendingPlanParams) SetIgnoreMissing(ignoreMissing *bool)
- func (o *CancelApmPendingPlanParams) SetTimeout(timeout time.Duration)
- func (o *CancelApmPendingPlanParams) WithClusterID(clusterID string) *CancelApmPendingPlanParams
- func (o *CancelApmPendingPlanParams) WithContext(ctx context.Context) *CancelApmPendingPlanParams
- func (o *CancelApmPendingPlanParams) WithDefaults() *CancelApmPendingPlanParams
- func (o *CancelApmPendingPlanParams) WithForceDelete(forceDelete *bool) *CancelApmPendingPlanParams
- func (o *CancelApmPendingPlanParams) WithHTTPClient(client *http.Client) *CancelApmPendingPlanParams
- func (o *CancelApmPendingPlanParams) WithIgnoreMissing(ignoreMissing *bool) *CancelApmPendingPlanParams
- func (o *CancelApmPendingPlanParams) WithTimeout(timeout time.Duration) *CancelApmPendingPlanParams
- func (o *CancelApmPendingPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelApmPendingPlanPreconditionFailed
- type CancelApmPendingPlanReader
- type CancelApmPendingPlanRetryWith
- type Client
- func (a *Client) CancelApmPendingPlan(params *CancelApmPendingPlanParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CancelApmPendingPlanOK, error)
- func (a *Client) CreateApm(params *CreateApmParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateApmOK, *CreateApmCreated, error)
- func (a *Client) DeleteApm(params *DeleteApmParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteApmOK, error)
- func (a *Client) GetApmCluster(params *GetApmClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetApmClusterOK, error)
- func (a *Client) GetApmClusterPlanActivity(params *GetApmClusterPlanActivityParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetApmClusterPlanActivityOK, error)
- func (a *Client) GetApmClusters(params *GetApmClustersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetApmClustersOK, error)
- func (a *Client) GetApmMetadataRaw(params *GetApmMetadataRawParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetApmMetadataRawOK, error)
- func (a *Client) GetApmMetadataSettings(params *GetApmMetadataSettingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetApmMetadataSettingsOK, error)
- func (a *Client) GetApmPendingPlan(params *GetApmPendingPlanParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetApmPendingPlanOK, error)
- func (a *Client) GetApmPlan(params *GetApmPlanParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetApmPlanOK, error)
- func (a *Client) MoveApmInstances(params *MoveApmInstancesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MoveApmInstancesAccepted, error)
- func (a *Client) MoveApmInstancesAdvanced(params *MoveApmInstancesAdvancedParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MoveApmInstancesAdvancedAccepted, error)
- func (a *Client) ResetApmSecretToken(params *ResetApmSecretTokenParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ResetApmSecretTokenOK, error)
- func (a *Client) RestartApm(params *RestartApmParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RestartApmAccepted, error)
- func (a *Client) ResyncApmCluster(params *ResyncApmClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ResyncApmClusterOK, error)
- func (a *Client) ResyncApmClusters(params *ResyncApmClustersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ResyncApmClustersAccepted, error)
- func (a *Client) SearchApms(params *SearchApmsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchApmsOK, error)
- func (a *Client) SetApmMetadataRaw(params *SetApmMetadataRawParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetApmMetadataRawOK, error)
- func (a *Client) SetApmName(params *SetApmNameParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetApmNameOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ShutdownApm(params *ShutdownApmParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ShutdownApmAccepted, error)
- func (a *Client) StartApmInstances(params *StartApmInstancesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StartApmInstancesAccepted, error)
- func (a *Client) StartApmInstancesAll(params *StartApmInstancesAllParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StartApmInstancesAllAccepted, error)
- func (a *Client) StartApmInstancesAllMaintenanceMode(params *StartApmInstancesAllMaintenanceModeParams, ...) (*StartApmInstancesAllMaintenanceModeAccepted, error)
- func (a *Client) StartApmMaintenanceMode(params *StartApmMaintenanceModeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StartApmMaintenanceModeAccepted, error)
- func (a *Client) StopApmInstances(params *StopApmInstancesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StopApmInstancesAccepted, error)
- func (a *Client) StopApmInstancesAll(params *StopApmInstancesAllParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StopApmInstancesAllAccepted, error)
- func (a *Client) StopApmInstancesAllMaintenanceMode(params *StopApmInstancesAllMaintenanceModeParams, ...) (*StopApmInstancesAllMaintenanceModeAccepted, error)
- func (a *Client) StopApmMaintenanceMode(params *StopApmMaintenanceModeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*StopApmMaintenanceModeAccepted, error)
- func (a *Client) UpdateApmMetadataSettings(params *UpdateApmMetadataSettingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateApmMetadataSettingsOK, error)
- func (a *Client) UpdateApmPlan(params *UpdateApmPlanParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateApmPlanOK, *UpdateApmPlanAccepted, error)
- func (a *Client) UpgradeApm(params *UpgradeApmParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpgradeApmAccepted, error)
- type ClientOption
- type ClientService
- type CreateApmBadRequest
- type CreateApmCreated
- type CreateApmOK
- type CreateApmParams
- func (o *CreateApmParams) SetBody(body *models.CreateApmRequest)
- func (o *CreateApmParams) SetContext(ctx context.Context)
- func (o *CreateApmParams) SetDefaults()
- func (o *CreateApmParams) SetHTTPClient(client *http.Client)
- func (o *CreateApmParams) SetTimeout(timeout time.Duration)
- func (o *CreateApmParams) SetValidateOnly(validateOnly *bool)
- func (o *CreateApmParams) WithBody(body *models.CreateApmRequest) *CreateApmParams
- func (o *CreateApmParams) WithContext(ctx context.Context) *CreateApmParams
- func (o *CreateApmParams) WithDefaults() *CreateApmParams
- func (o *CreateApmParams) WithHTTPClient(client *http.Client) *CreateApmParams
- func (o *CreateApmParams) WithTimeout(timeout time.Duration) *CreateApmParams
- func (o *CreateApmParams) WithValidateOnly(validateOnly *bool) *CreateApmParams
- func (o *CreateApmParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateApmReader
- type CreateApmRetryWith
- type DeleteApmNotFound
- type DeleteApmOK
- type DeleteApmParams
- func (o *DeleteApmParams) SetClusterID(clusterID string)
- func (o *DeleteApmParams) SetContext(ctx context.Context)
- func (o *DeleteApmParams) SetDefaults()
- func (o *DeleteApmParams) SetHTTPClient(client *http.Client)
- func (o *DeleteApmParams) SetTimeout(timeout time.Duration)
- func (o *DeleteApmParams) WithClusterID(clusterID string) *DeleteApmParams
- func (o *DeleteApmParams) WithContext(ctx context.Context) *DeleteApmParams
- func (o *DeleteApmParams) WithDefaults() *DeleteApmParams
- func (o *DeleteApmParams) WithHTTPClient(client *http.Client) *DeleteApmParams
- func (o *DeleteApmParams) WithTimeout(timeout time.Duration) *DeleteApmParams
- func (o *DeleteApmParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteApmPreconditionFailed
- type DeleteApmReader
- type DeleteApmRetryWith
- type GetApmClusterNotFound
- type GetApmClusterOK
- type GetApmClusterParams
- func (o *GetApmClusterParams) SetClusterID(clusterID string)
- func (o *GetApmClusterParams) SetContext(ctx context.Context)
- func (o *GetApmClusterParams) SetDefaults()
- func (o *GetApmClusterParams) SetHTTPClient(client *http.Client)
- func (o *GetApmClusterParams) SetShowMetadata(showMetadata *bool)
- func (o *GetApmClusterParams) SetShowPlanDefaults(showPlanDefaults *bool)
- func (o *GetApmClusterParams) SetShowPlanLogs(showPlanLogs *bool)
- func (o *GetApmClusterParams) SetShowPlans(showPlans *bool)
- func (o *GetApmClusterParams) SetShowSettings(showSettings *bool)
- func (o *GetApmClusterParams) SetTimeout(timeout time.Duration)
- func (o *GetApmClusterParams) WithClusterID(clusterID string) *GetApmClusterParams
- func (o *GetApmClusterParams) WithContext(ctx context.Context) *GetApmClusterParams
- func (o *GetApmClusterParams) WithDefaults() *GetApmClusterParams
- func (o *GetApmClusterParams) WithHTTPClient(client *http.Client) *GetApmClusterParams
- func (o *GetApmClusterParams) WithShowMetadata(showMetadata *bool) *GetApmClusterParams
- func (o *GetApmClusterParams) WithShowPlanDefaults(showPlanDefaults *bool) *GetApmClusterParams
- func (o *GetApmClusterParams) WithShowPlanLogs(showPlanLogs *bool) *GetApmClusterParams
- func (o *GetApmClusterParams) WithShowPlans(showPlans *bool) *GetApmClusterParams
- func (o *GetApmClusterParams) WithShowSettings(showSettings *bool) *GetApmClusterParams
- func (o *GetApmClusterParams) WithTimeout(timeout time.Duration) *GetApmClusterParams
- func (o *GetApmClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetApmClusterPlanActivityNotFound
- type GetApmClusterPlanActivityOK
- type GetApmClusterPlanActivityParams
- func NewGetApmClusterPlanActivityParams() *GetApmClusterPlanActivityParams
- func NewGetApmClusterPlanActivityParamsWithContext(ctx context.Context) *GetApmClusterPlanActivityParams
- func NewGetApmClusterPlanActivityParamsWithHTTPClient(client *http.Client) *GetApmClusterPlanActivityParams
- func NewGetApmClusterPlanActivityParamsWithTimeout(timeout time.Duration) *GetApmClusterPlanActivityParams
- func (o *GetApmClusterPlanActivityParams) SetClusterID(clusterID string)
- func (o *GetApmClusterPlanActivityParams) SetContext(ctx context.Context)
- func (o *GetApmClusterPlanActivityParams) SetDefaults()
- func (o *GetApmClusterPlanActivityParams) SetHTTPClient(client *http.Client)
- func (o *GetApmClusterPlanActivityParams) SetShowPlanDefaults(showPlanDefaults *bool)
- func (o *GetApmClusterPlanActivityParams) SetShowPlanLogs(showPlanLogs *bool)
- func (o *GetApmClusterPlanActivityParams) SetTimeout(timeout time.Duration)
- func (o *GetApmClusterPlanActivityParams) WithClusterID(clusterID string) *GetApmClusterPlanActivityParams
- func (o *GetApmClusterPlanActivityParams) WithContext(ctx context.Context) *GetApmClusterPlanActivityParams
- func (o *GetApmClusterPlanActivityParams) WithDefaults() *GetApmClusterPlanActivityParams
- func (o *GetApmClusterPlanActivityParams) WithHTTPClient(client *http.Client) *GetApmClusterPlanActivityParams
- func (o *GetApmClusterPlanActivityParams) WithShowPlanDefaults(showPlanDefaults *bool) *GetApmClusterPlanActivityParams
- func (o *GetApmClusterPlanActivityParams) WithShowPlanLogs(showPlanLogs *bool) *GetApmClusterPlanActivityParams
- func (o *GetApmClusterPlanActivityParams) WithTimeout(timeout time.Duration) *GetApmClusterPlanActivityParams
- func (o *GetApmClusterPlanActivityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetApmClusterPlanActivityReader
- type GetApmClusterReader
- type GetApmClustersOK
- type GetApmClustersParams
- func NewGetApmClustersParams() *GetApmClustersParams
- func NewGetApmClustersParamsWithContext(ctx context.Context) *GetApmClustersParams
- func NewGetApmClustersParamsWithHTTPClient(client *http.Client) *GetApmClustersParams
- func NewGetApmClustersParamsWithTimeout(timeout time.Duration) *GetApmClustersParams
- func (o *GetApmClustersParams) SetContext(ctx context.Context)
- func (o *GetApmClustersParams) SetDefaults()
- func (o *GetApmClustersParams) SetFrom(from *int64)
- func (o *GetApmClustersParams) SetHTTPClient(client *http.Client)
- func (o *GetApmClustersParams) SetQ(q *string)
- func (o *GetApmClustersParams) SetShowHidden(showHidden *bool)
- func (o *GetApmClustersParams) SetShowMetadata(showMetadata *bool)
- func (o *GetApmClustersParams) SetShowPlanDefaults(showPlanDefaults *bool)
- func (o *GetApmClustersParams) SetShowPlans(showPlans *bool)
- func (o *GetApmClustersParams) SetShowSettings(showSettings *bool)
- func (o *GetApmClustersParams) SetSize(size *int64)
- func (o *GetApmClustersParams) SetTimeout(timeout time.Duration)
- func (o *GetApmClustersParams) WithContext(ctx context.Context) *GetApmClustersParams
- func (o *GetApmClustersParams) WithDefaults() *GetApmClustersParams
- func (o *GetApmClustersParams) WithFrom(from *int64) *GetApmClustersParams
- func (o *GetApmClustersParams) WithHTTPClient(client *http.Client) *GetApmClustersParams
- func (o *GetApmClustersParams) WithQ(q *string) *GetApmClustersParams
- func (o *GetApmClustersParams) WithShowHidden(showHidden *bool) *GetApmClustersParams
- func (o *GetApmClustersParams) WithShowMetadata(showMetadata *bool) *GetApmClustersParams
- func (o *GetApmClustersParams) WithShowPlanDefaults(showPlanDefaults *bool) *GetApmClustersParams
- func (o *GetApmClustersParams) WithShowPlans(showPlans *bool) *GetApmClustersParams
- func (o *GetApmClustersParams) WithShowSettings(showSettings *bool) *GetApmClustersParams
- func (o *GetApmClustersParams) WithSize(size *int64) *GetApmClustersParams
- func (o *GetApmClustersParams) WithTimeout(timeout time.Duration) *GetApmClustersParams
- func (o *GetApmClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetApmClustersReader
- type GetApmMetadataRawNotFound
- type GetApmMetadataRawOK
- type GetApmMetadataRawParams
- func NewGetApmMetadataRawParams() *GetApmMetadataRawParams
- func NewGetApmMetadataRawParamsWithContext(ctx context.Context) *GetApmMetadataRawParams
- func NewGetApmMetadataRawParamsWithHTTPClient(client *http.Client) *GetApmMetadataRawParams
- func NewGetApmMetadataRawParamsWithTimeout(timeout time.Duration) *GetApmMetadataRawParams
- func (o *GetApmMetadataRawParams) SetClusterID(clusterID string)
- func (o *GetApmMetadataRawParams) SetContext(ctx context.Context)
- func (o *GetApmMetadataRawParams) SetDefaults()
- func (o *GetApmMetadataRawParams) SetHTTPClient(client *http.Client)
- func (o *GetApmMetadataRawParams) SetTimeout(timeout time.Duration)
- func (o *GetApmMetadataRawParams) WithClusterID(clusterID string) *GetApmMetadataRawParams
- func (o *GetApmMetadataRawParams) WithContext(ctx context.Context) *GetApmMetadataRawParams
- func (o *GetApmMetadataRawParams) WithDefaults() *GetApmMetadataRawParams
- func (o *GetApmMetadataRawParams) WithHTTPClient(client *http.Client) *GetApmMetadataRawParams
- func (o *GetApmMetadataRawParams) WithTimeout(timeout time.Duration) *GetApmMetadataRawParams
- func (o *GetApmMetadataRawParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetApmMetadataRawReader
- type GetApmMetadataSettingsNotFound
- type GetApmMetadataSettingsOK
- type GetApmMetadataSettingsParams
- func NewGetApmMetadataSettingsParams() *GetApmMetadataSettingsParams
- func NewGetApmMetadataSettingsParamsWithContext(ctx context.Context) *GetApmMetadataSettingsParams
- func NewGetApmMetadataSettingsParamsWithHTTPClient(client *http.Client) *GetApmMetadataSettingsParams
- func NewGetApmMetadataSettingsParamsWithTimeout(timeout time.Duration) *GetApmMetadataSettingsParams
- func (o *GetApmMetadataSettingsParams) SetClusterID(clusterID string)
- func (o *GetApmMetadataSettingsParams) SetContext(ctx context.Context)
- func (o *GetApmMetadataSettingsParams) SetDefaults()
- func (o *GetApmMetadataSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetApmMetadataSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetApmMetadataSettingsParams) WithClusterID(clusterID string) *GetApmMetadataSettingsParams
- func (o *GetApmMetadataSettingsParams) WithContext(ctx context.Context) *GetApmMetadataSettingsParams
- func (o *GetApmMetadataSettingsParams) WithDefaults() *GetApmMetadataSettingsParams
- func (o *GetApmMetadataSettingsParams) WithHTTPClient(client *http.Client) *GetApmMetadataSettingsParams
- func (o *GetApmMetadataSettingsParams) WithTimeout(timeout time.Duration) *GetApmMetadataSettingsParams
- func (o *GetApmMetadataSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetApmMetadataSettingsReader
- type GetApmPendingPlanNotFound
- type GetApmPendingPlanOK
- type GetApmPendingPlanParams
- func NewGetApmPendingPlanParams() *GetApmPendingPlanParams
- func NewGetApmPendingPlanParamsWithContext(ctx context.Context) *GetApmPendingPlanParams
- func NewGetApmPendingPlanParamsWithHTTPClient(client *http.Client) *GetApmPendingPlanParams
- func NewGetApmPendingPlanParamsWithTimeout(timeout time.Duration) *GetApmPendingPlanParams
- func (o *GetApmPendingPlanParams) SetClusterID(clusterID string)
- func (o *GetApmPendingPlanParams) SetContext(ctx context.Context)
- func (o *GetApmPendingPlanParams) SetDefaults()
- func (o *GetApmPendingPlanParams) SetHTTPClient(client *http.Client)
- func (o *GetApmPendingPlanParams) SetShowPlanDefaults(showPlanDefaults *bool)
- func (o *GetApmPendingPlanParams) SetTimeout(timeout time.Duration)
- func (o *GetApmPendingPlanParams) WithClusterID(clusterID string) *GetApmPendingPlanParams
- func (o *GetApmPendingPlanParams) WithContext(ctx context.Context) *GetApmPendingPlanParams
- func (o *GetApmPendingPlanParams) WithDefaults() *GetApmPendingPlanParams
- func (o *GetApmPendingPlanParams) WithHTTPClient(client *http.Client) *GetApmPendingPlanParams
- func (o *GetApmPendingPlanParams) WithShowPlanDefaults(showPlanDefaults *bool) *GetApmPendingPlanParams
- func (o *GetApmPendingPlanParams) WithTimeout(timeout time.Duration) *GetApmPendingPlanParams
- func (o *GetApmPendingPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetApmPendingPlanPreconditionFailed
- type GetApmPendingPlanReader
- type GetApmPlanNotFound
- type GetApmPlanOK
- type GetApmPlanParams
- func (o *GetApmPlanParams) SetClusterID(clusterID string)
- func (o *GetApmPlanParams) SetContext(ctx context.Context)
- func (o *GetApmPlanParams) SetDefaults()
- func (o *GetApmPlanParams) SetHTTPClient(client *http.Client)
- func (o *GetApmPlanParams) SetShowPlanDefaults(showPlanDefaults *bool)
- func (o *GetApmPlanParams) SetTimeout(timeout time.Duration)
- func (o *GetApmPlanParams) WithClusterID(clusterID string) *GetApmPlanParams
- func (o *GetApmPlanParams) WithContext(ctx context.Context) *GetApmPlanParams
- func (o *GetApmPlanParams) WithDefaults() *GetApmPlanParams
- func (o *GetApmPlanParams) WithHTTPClient(client *http.Client) *GetApmPlanParams
- func (o *GetApmPlanParams) WithShowPlanDefaults(showPlanDefaults *bool) *GetApmPlanParams
- func (o *GetApmPlanParams) WithTimeout(timeout time.Duration) *GetApmPlanParams
- func (o *GetApmPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetApmPlanPreconditionFailed
- type GetApmPlanReader
- type MoveApmInstancesAccepted
- type MoveApmInstancesAdvancedAccepted
- type MoveApmInstancesAdvancedBadRequest
- type MoveApmInstancesAdvancedForbidden
- type MoveApmInstancesAdvancedNotFound
- type MoveApmInstancesAdvancedParams
- func NewMoveApmInstancesAdvancedParams() *MoveApmInstancesAdvancedParams
- func NewMoveApmInstancesAdvancedParamsWithContext(ctx context.Context) *MoveApmInstancesAdvancedParams
- func NewMoveApmInstancesAdvancedParamsWithHTTPClient(client *http.Client) *MoveApmInstancesAdvancedParams
- func NewMoveApmInstancesAdvancedParamsWithTimeout(timeout time.Duration) *MoveApmInstancesAdvancedParams
- func (o *MoveApmInstancesAdvancedParams) SetBody(body *models.TransientApmPlanConfiguration)
- func (o *MoveApmInstancesAdvancedParams) SetClusterID(clusterID string)
- func (o *MoveApmInstancesAdvancedParams) SetContext(ctx context.Context)
- func (o *MoveApmInstancesAdvancedParams) SetDefaults()
- func (o *MoveApmInstancesAdvancedParams) SetForceUpdate(forceUpdate *bool)
- func (o *MoveApmInstancesAdvancedParams) SetHTTPClient(client *http.Client)
- func (o *MoveApmInstancesAdvancedParams) SetTimeout(timeout time.Duration)
- func (o *MoveApmInstancesAdvancedParams) SetValidateOnly(validateOnly *bool)
- func (o *MoveApmInstancesAdvancedParams) WithBody(body *models.TransientApmPlanConfiguration) *MoveApmInstancesAdvancedParams
- func (o *MoveApmInstancesAdvancedParams) WithClusterID(clusterID string) *MoveApmInstancesAdvancedParams
- func (o *MoveApmInstancesAdvancedParams) WithContext(ctx context.Context) *MoveApmInstancesAdvancedParams
- func (o *MoveApmInstancesAdvancedParams) WithDefaults() *MoveApmInstancesAdvancedParams
- func (o *MoveApmInstancesAdvancedParams) WithForceUpdate(forceUpdate *bool) *MoveApmInstancesAdvancedParams
- func (o *MoveApmInstancesAdvancedParams) WithHTTPClient(client *http.Client) *MoveApmInstancesAdvancedParams
- func (o *MoveApmInstancesAdvancedParams) WithTimeout(timeout time.Duration) *MoveApmInstancesAdvancedParams
- func (o *MoveApmInstancesAdvancedParams) WithValidateOnly(validateOnly *bool) *MoveApmInstancesAdvancedParams
- func (o *MoveApmInstancesAdvancedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MoveApmInstancesAdvancedReader
- type MoveApmInstancesAdvancedRetryWith
- type MoveApmInstancesBadRequest
- type MoveApmInstancesForbidden
- type MoveApmInstancesNotFound
- type MoveApmInstancesParams
- func NewMoveApmInstancesParams() *MoveApmInstancesParams
- func NewMoveApmInstancesParamsWithContext(ctx context.Context) *MoveApmInstancesParams
- func NewMoveApmInstancesParamsWithHTTPClient(client *http.Client) *MoveApmInstancesParams
- func NewMoveApmInstancesParamsWithTimeout(timeout time.Duration) *MoveApmInstancesParams
- func (o *MoveApmInstancesParams) SetBody(body *models.TransientApmPlanConfiguration)
- func (o *MoveApmInstancesParams) SetClusterID(clusterID string)
- func (o *MoveApmInstancesParams) SetContext(ctx context.Context)
- func (o *MoveApmInstancesParams) SetDefaults()
- func (o *MoveApmInstancesParams) SetForceUpdate(forceUpdate *bool)
- func (o *MoveApmInstancesParams) SetHTTPClient(client *http.Client)
- func (o *MoveApmInstancesParams) SetIgnoreMissing(ignoreMissing *bool)
- func (o *MoveApmInstancesParams) SetInstanceIds(instanceIds []string)
- func (o *MoveApmInstancesParams) SetTimeout(timeout time.Duration)
- func (o *MoveApmInstancesParams) SetValidateOnly(validateOnly *bool)
- func (o *MoveApmInstancesParams) WithBody(body *models.TransientApmPlanConfiguration) *MoveApmInstancesParams
- func (o *MoveApmInstancesParams) WithClusterID(clusterID string) *MoveApmInstancesParams
- func (o *MoveApmInstancesParams) WithContext(ctx context.Context) *MoveApmInstancesParams
- func (o *MoveApmInstancesParams) WithDefaults() *MoveApmInstancesParams
- func (o *MoveApmInstancesParams) WithForceUpdate(forceUpdate *bool) *MoveApmInstancesParams
- func (o *MoveApmInstancesParams) WithHTTPClient(client *http.Client) *MoveApmInstancesParams
- func (o *MoveApmInstancesParams) WithIgnoreMissing(ignoreMissing *bool) *MoveApmInstancesParams
- func (o *MoveApmInstancesParams) WithInstanceIds(instanceIds []string) *MoveApmInstancesParams
- func (o *MoveApmInstancesParams) WithTimeout(timeout time.Duration) *MoveApmInstancesParams
- func (o *MoveApmInstancesParams) WithValidateOnly(validateOnly *bool) *MoveApmInstancesParams
- func (o *MoveApmInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MoveApmInstancesReader
- type MoveApmInstancesRetryWith
- type ResetApmSecretTokenNotFound
- type ResetApmSecretTokenOK
- type ResetApmSecretTokenParams
- func NewResetApmSecretTokenParams() *ResetApmSecretTokenParams
- func NewResetApmSecretTokenParamsWithContext(ctx context.Context) *ResetApmSecretTokenParams
- func NewResetApmSecretTokenParamsWithHTTPClient(client *http.Client) *ResetApmSecretTokenParams
- func NewResetApmSecretTokenParamsWithTimeout(timeout time.Duration) *ResetApmSecretTokenParams
- func (o *ResetApmSecretTokenParams) SetClusterID(clusterID string)
- func (o *ResetApmSecretTokenParams) SetContext(ctx context.Context)
- func (o *ResetApmSecretTokenParams) SetDefaults()
- func (o *ResetApmSecretTokenParams) SetHTTPClient(client *http.Client)
- func (o *ResetApmSecretTokenParams) SetTimeout(timeout time.Duration)
- func (o *ResetApmSecretTokenParams) WithClusterID(clusterID string) *ResetApmSecretTokenParams
- func (o *ResetApmSecretTokenParams) WithContext(ctx context.Context) *ResetApmSecretTokenParams
- func (o *ResetApmSecretTokenParams) WithDefaults() *ResetApmSecretTokenParams
- func (o *ResetApmSecretTokenParams) WithHTTPClient(client *http.Client) *ResetApmSecretTokenParams
- func (o *ResetApmSecretTokenParams) WithTimeout(timeout time.Duration) *ResetApmSecretTokenParams
- func (o *ResetApmSecretTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetApmSecretTokenPreconditionFailed
- type ResetApmSecretTokenReader
- type ResetApmSecretTokenRetryWith
- type RestartApmAccepted
- type RestartApmNotFound
- type RestartApmParams
- func (o *RestartApmParams) SetCancelPending(cancelPending *bool)
- func (o *RestartApmParams) SetClusterID(clusterID string)
- func (o *RestartApmParams) SetContext(ctx context.Context)
- func (o *RestartApmParams) SetDefaults()
- func (o *RestartApmParams) SetHTTPClient(client *http.Client)
- func (o *RestartApmParams) SetTimeout(timeout time.Duration)
- func (o *RestartApmParams) WithCancelPending(cancelPending *bool) *RestartApmParams
- func (o *RestartApmParams) WithClusterID(clusterID string) *RestartApmParams
- func (o *RestartApmParams) WithContext(ctx context.Context) *RestartApmParams
- func (o *RestartApmParams) WithDefaults() *RestartApmParams
- func (o *RestartApmParams) WithHTTPClient(client *http.Client) *RestartApmParams
- func (o *RestartApmParams) WithTimeout(timeout time.Duration) *RestartApmParams
- func (o *RestartApmParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RestartApmPreconditionFailed
- type RestartApmReader
- type RestartApmRetryWith
- type ResyncApmClusterInternalServerError
- type ResyncApmClusterOK
- type ResyncApmClusterParams
- func NewResyncApmClusterParams() *ResyncApmClusterParams
- func NewResyncApmClusterParamsWithContext(ctx context.Context) *ResyncApmClusterParams
- func NewResyncApmClusterParamsWithHTTPClient(client *http.Client) *ResyncApmClusterParams
- func NewResyncApmClusterParamsWithTimeout(timeout time.Duration) *ResyncApmClusterParams
- func (o *ResyncApmClusterParams) SetClusterID(clusterID string)
- func (o *ResyncApmClusterParams) SetContext(ctx context.Context)
- func (o *ResyncApmClusterParams) SetDefaults()
- func (o *ResyncApmClusterParams) SetHTTPClient(client *http.Client)
- func (o *ResyncApmClusterParams) SetTimeout(timeout time.Duration)
- func (o *ResyncApmClusterParams) WithClusterID(clusterID string) *ResyncApmClusterParams
- func (o *ResyncApmClusterParams) WithContext(ctx context.Context) *ResyncApmClusterParams
- func (o *ResyncApmClusterParams) WithDefaults() *ResyncApmClusterParams
- func (o *ResyncApmClusterParams) WithHTTPClient(client *http.Client) *ResyncApmClusterParams
- func (o *ResyncApmClusterParams) WithTimeout(timeout time.Duration) *ResyncApmClusterParams
- func (o *ResyncApmClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResyncApmClusterReader
- type ResyncApmClusterRetryWith
- type ResyncApmClustersAccepted
- type ResyncApmClustersParams
- func NewResyncApmClustersParams() *ResyncApmClustersParams
- func NewResyncApmClustersParamsWithContext(ctx context.Context) *ResyncApmClustersParams
- func NewResyncApmClustersParamsWithHTTPClient(client *http.Client) *ResyncApmClustersParams
- func NewResyncApmClustersParamsWithTimeout(timeout time.Duration) *ResyncApmClustersParams
- func (o *ResyncApmClustersParams) SetContext(ctx context.Context)
- func (o *ResyncApmClustersParams) SetDefaults()
- func (o *ResyncApmClustersParams) SetHTTPClient(client *http.Client)
- func (o *ResyncApmClustersParams) SetSkipMatchingVersion(skipMatchingVersion *bool)
- func (o *ResyncApmClustersParams) SetTimeout(timeout time.Duration)
- func (o *ResyncApmClustersParams) WithContext(ctx context.Context) *ResyncApmClustersParams
- func (o *ResyncApmClustersParams) WithDefaults() *ResyncApmClustersParams
- func (o *ResyncApmClustersParams) WithHTTPClient(client *http.Client) *ResyncApmClustersParams
- func (o *ResyncApmClustersParams) WithSkipMatchingVersion(skipMatchingVersion *bool) *ResyncApmClustersParams
- func (o *ResyncApmClustersParams) WithTimeout(timeout time.Duration) *ResyncApmClustersParams
- func (o *ResyncApmClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResyncApmClustersReader
- type ResyncApmClustersRetryWith
- type SearchApmsBadRequest
- type SearchApmsOK
- type SearchApmsParams
- func (o *SearchApmsParams) SetBody(body *models.SearchRequest)
- func (o *SearchApmsParams) SetContext(ctx context.Context)
- func (o *SearchApmsParams) SetDefaults()
- func (o *SearchApmsParams) SetHTTPClient(client *http.Client)
- func (o *SearchApmsParams) SetTimeout(timeout time.Duration)
- func (o *SearchApmsParams) WithBody(body *models.SearchRequest) *SearchApmsParams
- func (o *SearchApmsParams) WithContext(ctx context.Context) *SearchApmsParams
- func (o *SearchApmsParams) WithDefaults() *SearchApmsParams
- func (o *SearchApmsParams) WithHTTPClient(client *http.Client) *SearchApmsParams
- func (o *SearchApmsParams) WithTimeout(timeout time.Duration) *SearchApmsParams
- func (o *SearchApmsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchApmsReader
- type SetApmMetadataRawNotFound
- type SetApmMetadataRawOK
- type SetApmMetadataRawParams
- func NewSetApmMetadataRawParams() *SetApmMetadataRawParams
- func NewSetApmMetadataRawParamsWithContext(ctx context.Context) *SetApmMetadataRawParams
- func NewSetApmMetadataRawParamsWithHTTPClient(client *http.Client) *SetApmMetadataRawParams
- func NewSetApmMetadataRawParamsWithTimeout(timeout time.Duration) *SetApmMetadataRawParams
- func (o *SetApmMetadataRawParams) SetBody(body string)
- func (o *SetApmMetadataRawParams) SetClusterID(clusterID string)
- func (o *SetApmMetadataRawParams) SetContext(ctx context.Context)
- func (o *SetApmMetadataRawParams) SetDefaults()
- func (o *SetApmMetadataRawParams) SetHTTPClient(client *http.Client)
- func (o *SetApmMetadataRawParams) SetTimeout(timeout time.Duration)
- func (o *SetApmMetadataRawParams) SetVersion(version *int64)
- func (o *SetApmMetadataRawParams) WithBody(body string) *SetApmMetadataRawParams
- func (o *SetApmMetadataRawParams) WithClusterID(clusterID string) *SetApmMetadataRawParams
- func (o *SetApmMetadataRawParams) WithContext(ctx context.Context) *SetApmMetadataRawParams
- func (o *SetApmMetadataRawParams) WithDefaults() *SetApmMetadataRawParams
- func (o *SetApmMetadataRawParams) WithHTTPClient(client *http.Client) *SetApmMetadataRawParams
- func (o *SetApmMetadataRawParams) WithTimeout(timeout time.Duration) *SetApmMetadataRawParams
- func (o *SetApmMetadataRawParams) WithVersion(version *int64) *SetApmMetadataRawParams
- func (o *SetApmMetadataRawParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetApmMetadataRawReader
- type SetApmMetadataRawRetryWith
- type SetApmNameNotFound
- type SetApmNameOK
- type SetApmNameParams
- func (o *SetApmNameParams) SetClusterID(clusterID string)
- func (o *SetApmNameParams) SetContext(ctx context.Context)
- func (o *SetApmNameParams) SetDefaults()
- func (o *SetApmNameParams) SetHTTPClient(client *http.Client)
- func (o *SetApmNameParams) SetNewName(newName string)
- func (o *SetApmNameParams) SetTimeout(timeout time.Duration)
- func (o *SetApmNameParams) WithClusterID(clusterID string) *SetApmNameParams
- func (o *SetApmNameParams) WithContext(ctx context.Context) *SetApmNameParams
- func (o *SetApmNameParams) WithDefaults() *SetApmNameParams
- func (o *SetApmNameParams) WithHTTPClient(client *http.Client) *SetApmNameParams
- func (o *SetApmNameParams) WithNewName(newName string) *SetApmNameParams
- func (o *SetApmNameParams) WithTimeout(timeout time.Duration) *SetApmNameParams
- func (o *SetApmNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetApmNameReader
- type SetApmNameRetryWith
- type ShutdownApmAccepted
- type ShutdownApmNotFound
- type ShutdownApmParams
- func (o *ShutdownApmParams) SetClusterID(clusterID string)
- func (o *ShutdownApmParams) SetContext(ctx context.Context)
- func (o *ShutdownApmParams) SetDefaults()
- func (o *ShutdownApmParams) SetHTTPClient(client *http.Client)
- func (o *ShutdownApmParams) SetHide(hide *bool)
- func (o *ShutdownApmParams) SetTimeout(timeout time.Duration)
- func (o *ShutdownApmParams) WithClusterID(clusterID string) *ShutdownApmParams
- func (o *ShutdownApmParams) WithContext(ctx context.Context) *ShutdownApmParams
- func (o *ShutdownApmParams) WithDefaults() *ShutdownApmParams
- func (o *ShutdownApmParams) WithHTTPClient(client *http.Client) *ShutdownApmParams
- func (o *ShutdownApmParams) WithHide(hide *bool) *ShutdownApmParams
- func (o *ShutdownApmParams) WithTimeout(timeout time.Duration) *ShutdownApmParams
- func (o *ShutdownApmParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShutdownApmReader
- type ShutdownApmRetryWith
- type StartApmInstancesAccepted
- type StartApmInstancesAllAccepted
- type StartApmInstancesAllForbidden
- type StartApmInstancesAllMaintenanceModeAccepted
- type StartApmInstancesAllMaintenanceModeForbidden
- type StartApmInstancesAllMaintenanceModeNotFound
- type StartApmInstancesAllMaintenanceModeParams
- func NewStartApmInstancesAllMaintenanceModeParams() *StartApmInstancesAllMaintenanceModeParams
- func NewStartApmInstancesAllMaintenanceModeParamsWithContext(ctx context.Context) *StartApmInstancesAllMaintenanceModeParams
- func NewStartApmInstancesAllMaintenanceModeParamsWithHTTPClient(client *http.Client) *StartApmInstancesAllMaintenanceModeParams
- func NewStartApmInstancesAllMaintenanceModeParamsWithTimeout(timeout time.Duration) *StartApmInstancesAllMaintenanceModeParams
- func (o *StartApmInstancesAllMaintenanceModeParams) SetClusterID(clusterID string)
- func (o *StartApmInstancesAllMaintenanceModeParams) SetContext(ctx context.Context)
- func (o *StartApmInstancesAllMaintenanceModeParams) SetDefaults()
- func (o *StartApmInstancesAllMaintenanceModeParams) SetHTTPClient(client *http.Client)
- func (o *StartApmInstancesAllMaintenanceModeParams) SetTimeout(timeout time.Duration)
- func (o *StartApmInstancesAllMaintenanceModeParams) WithClusterID(clusterID string) *StartApmInstancesAllMaintenanceModeParams
- func (o *StartApmInstancesAllMaintenanceModeParams) WithContext(ctx context.Context) *StartApmInstancesAllMaintenanceModeParams
- func (o *StartApmInstancesAllMaintenanceModeParams) WithDefaults() *StartApmInstancesAllMaintenanceModeParams
- func (o *StartApmInstancesAllMaintenanceModeParams) WithHTTPClient(client *http.Client) *StartApmInstancesAllMaintenanceModeParams
- func (o *StartApmInstancesAllMaintenanceModeParams) WithTimeout(timeout time.Duration) *StartApmInstancesAllMaintenanceModeParams
- func (o *StartApmInstancesAllMaintenanceModeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartApmInstancesAllMaintenanceModeReader
- type StartApmInstancesAllMaintenanceModeRetryWith
- type StartApmInstancesAllNotFound
- type StartApmInstancesAllParams
- func NewStartApmInstancesAllParams() *StartApmInstancesAllParams
- func NewStartApmInstancesAllParamsWithContext(ctx context.Context) *StartApmInstancesAllParams
- func NewStartApmInstancesAllParamsWithHTTPClient(client *http.Client) *StartApmInstancesAllParams
- func NewStartApmInstancesAllParamsWithTimeout(timeout time.Duration) *StartApmInstancesAllParams
- func (o *StartApmInstancesAllParams) SetClusterID(clusterID string)
- func (o *StartApmInstancesAllParams) SetContext(ctx context.Context)
- func (o *StartApmInstancesAllParams) SetDefaults()
- func (o *StartApmInstancesAllParams) SetHTTPClient(client *http.Client)
- func (o *StartApmInstancesAllParams) SetTimeout(timeout time.Duration)
- func (o *StartApmInstancesAllParams) WithClusterID(clusterID string) *StartApmInstancesAllParams
- func (o *StartApmInstancesAllParams) WithContext(ctx context.Context) *StartApmInstancesAllParams
- func (o *StartApmInstancesAllParams) WithDefaults() *StartApmInstancesAllParams
- func (o *StartApmInstancesAllParams) WithHTTPClient(client *http.Client) *StartApmInstancesAllParams
- func (o *StartApmInstancesAllParams) WithTimeout(timeout time.Duration) *StartApmInstancesAllParams
- func (o *StartApmInstancesAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartApmInstancesAllReader
- type StartApmInstancesAllRetryWith
- type StartApmInstancesForbidden
- type StartApmInstancesNotFound
- type StartApmInstancesParams
- func NewStartApmInstancesParams() *StartApmInstancesParams
- func NewStartApmInstancesParamsWithContext(ctx context.Context) *StartApmInstancesParams
- func NewStartApmInstancesParamsWithHTTPClient(client *http.Client) *StartApmInstancesParams
- func NewStartApmInstancesParamsWithTimeout(timeout time.Duration) *StartApmInstancesParams
- func (o *StartApmInstancesParams) SetClusterID(clusterID string)
- func (o *StartApmInstancesParams) SetContext(ctx context.Context)
- func (o *StartApmInstancesParams) SetDefaults()
- func (o *StartApmInstancesParams) SetHTTPClient(client *http.Client)
- func (o *StartApmInstancesParams) SetIgnoreMissing(ignoreMissing *bool)
- func (o *StartApmInstancesParams) SetInstanceIds(instanceIds []string)
- func (o *StartApmInstancesParams) SetTimeout(timeout time.Duration)
- func (o *StartApmInstancesParams) WithClusterID(clusterID string) *StartApmInstancesParams
- func (o *StartApmInstancesParams) WithContext(ctx context.Context) *StartApmInstancesParams
- func (o *StartApmInstancesParams) WithDefaults() *StartApmInstancesParams
- func (o *StartApmInstancesParams) WithHTTPClient(client *http.Client) *StartApmInstancesParams
- func (o *StartApmInstancesParams) WithIgnoreMissing(ignoreMissing *bool) *StartApmInstancesParams
- func (o *StartApmInstancesParams) WithInstanceIds(instanceIds []string) *StartApmInstancesParams
- func (o *StartApmInstancesParams) WithTimeout(timeout time.Duration) *StartApmInstancesParams
- func (o *StartApmInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartApmInstancesReader
- type StartApmInstancesRetryWith
- type StartApmMaintenanceModeAccepted
- type StartApmMaintenanceModeForbidden
- type StartApmMaintenanceModeNotFound
- type StartApmMaintenanceModeParams
- func NewStartApmMaintenanceModeParams() *StartApmMaintenanceModeParams
- func NewStartApmMaintenanceModeParamsWithContext(ctx context.Context) *StartApmMaintenanceModeParams
- func NewStartApmMaintenanceModeParamsWithHTTPClient(client *http.Client) *StartApmMaintenanceModeParams
- func NewStartApmMaintenanceModeParamsWithTimeout(timeout time.Duration) *StartApmMaintenanceModeParams
- func (o *StartApmMaintenanceModeParams) SetClusterID(clusterID string)
- func (o *StartApmMaintenanceModeParams) SetContext(ctx context.Context)
- func (o *StartApmMaintenanceModeParams) SetDefaults()
- func (o *StartApmMaintenanceModeParams) SetHTTPClient(client *http.Client)
- func (o *StartApmMaintenanceModeParams) SetIgnoreMissing(ignoreMissing *bool)
- func (o *StartApmMaintenanceModeParams) SetInstanceIds(instanceIds []string)
- func (o *StartApmMaintenanceModeParams) SetTimeout(timeout time.Duration)
- func (o *StartApmMaintenanceModeParams) WithClusterID(clusterID string) *StartApmMaintenanceModeParams
- func (o *StartApmMaintenanceModeParams) WithContext(ctx context.Context) *StartApmMaintenanceModeParams
- func (o *StartApmMaintenanceModeParams) WithDefaults() *StartApmMaintenanceModeParams
- func (o *StartApmMaintenanceModeParams) WithHTTPClient(client *http.Client) *StartApmMaintenanceModeParams
- func (o *StartApmMaintenanceModeParams) WithIgnoreMissing(ignoreMissing *bool) *StartApmMaintenanceModeParams
- func (o *StartApmMaintenanceModeParams) WithInstanceIds(instanceIds []string) *StartApmMaintenanceModeParams
- func (o *StartApmMaintenanceModeParams) WithTimeout(timeout time.Duration) *StartApmMaintenanceModeParams
- func (o *StartApmMaintenanceModeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartApmMaintenanceModeReader
- type StartApmMaintenanceModeRetryWith
- type StopApmInstancesAccepted
- type StopApmInstancesAllAccepted
- type StopApmInstancesAllForbidden
- type StopApmInstancesAllMaintenanceModeAccepted
- type StopApmInstancesAllMaintenanceModeForbidden
- type StopApmInstancesAllMaintenanceModeNotFound
- type StopApmInstancesAllMaintenanceModeParams
- func NewStopApmInstancesAllMaintenanceModeParams() *StopApmInstancesAllMaintenanceModeParams
- func NewStopApmInstancesAllMaintenanceModeParamsWithContext(ctx context.Context) *StopApmInstancesAllMaintenanceModeParams
- func NewStopApmInstancesAllMaintenanceModeParamsWithHTTPClient(client *http.Client) *StopApmInstancesAllMaintenanceModeParams
- func NewStopApmInstancesAllMaintenanceModeParamsWithTimeout(timeout time.Duration) *StopApmInstancesAllMaintenanceModeParams
- func (o *StopApmInstancesAllMaintenanceModeParams) SetClusterID(clusterID string)
- func (o *StopApmInstancesAllMaintenanceModeParams) SetContext(ctx context.Context)
- func (o *StopApmInstancesAllMaintenanceModeParams) SetDefaults()
- func (o *StopApmInstancesAllMaintenanceModeParams) SetHTTPClient(client *http.Client)
- func (o *StopApmInstancesAllMaintenanceModeParams) SetTimeout(timeout time.Duration)
- func (o *StopApmInstancesAllMaintenanceModeParams) WithClusterID(clusterID string) *StopApmInstancesAllMaintenanceModeParams
- func (o *StopApmInstancesAllMaintenanceModeParams) WithContext(ctx context.Context) *StopApmInstancesAllMaintenanceModeParams
- func (o *StopApmInstancesAllMaintenanceModeParams) WithDefaults() *StopApmInstancesAllMaintenanceModeParams
- func (o *StopApmInstancesAllMaintenanceModeParams) WithHTTPClient(client *http.Client) *StopApmInstancesAllMaintenanceModeParams
- func (o *StopApmInstancesAllMaintenanceModeParams) WithTimeout(timeout time.Duration) *StopApmInstancesAllMaintenanceModeParams
- func (o *StopApmInstancesAllMaintenanceModeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopApmInstancesAllMaintenanceModeReader
- type StopApmInstancesAllMaintenanceModeRetryWith
- type StopApmInstancesAllNotFound
- type StopApmInstancesAllParams
- func NewStopApmInstancesAllParams() *StopApmInstancesAllParams
- func NewStopApmInstancesAllParamsWithContext(ctx context.Context) *StopApmInstancesAllParams
- func NewStopApmInstancesAllParamsWithHTTPClient(client *http.Client) *StopApmInstancesAllParams
- func NewStopApmInstancesAllParamsWithTimeout(timeout time.Duration) *StopApmInstancesAllParams
- func (o *StopApmInstancesAllParams) SetClusterID(clusterID string)
- func (o *StopApmInstancesAllParams) SetContext(ctx context.Context)
- func (o *StopApmInstancesAllParams) SetDefaults()
- func (o *StopApmInstancesAllParams) SetHTTPClient(client *http.Client)
- func (o *StopApmInstancesAllParams) SetTimeout(timeout time.Duration)
- func (o *StopApmInstancesAllParams) WithClusterID(clusterID string) *StopApmInstancesAllParams
- func (o *StopApmInstancesAllParams) WithContext(ctx context.Context) *StopApmInstancesAllParams
- func (o *StopApmInstancesAllParams) WithDefaults() *StopApmInstancesAllParams
- func (o *StopApmInstancesAllParams) WithHTTPClient(client *http.Client) *StopApmInstancesAllParams
- func (o *StopApmInstancesAllParams) WithTimeout(timeout time.Duration) *StopApmInstancesAllParams
- func (o *StopApmInstancesAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopApmInstancesAllReader
- type StopApmInstancesAllRetryWith
- type StopApmInstancesForbidden
- type StopApmInstancesNotFound
- type StopApmInstancesParams
- func NewStopApmInstancesParams() *StopApmInstancesParams
- func NewStopApmInstancesParamsWithContext(ctx context.Context) *StopApmInstancesParams
- func NewStopApmInstancesParamsWithHTTPClient(client *http.Client) *StopApmInstancesParams
- func NewStopApmInstancesParamsWithTimeout(timeout time.Duration) *StopApmInstancesParams
- func (o *StopApmInstancesParams) SetClusterID(clusterID string)
- func (o *StopApmInstancesParams) SetContext(ctx context.Context)
- func (o *StopApmInstancesParams) SetDefaults()
- func (o *StopApmInstancesParams) SetHTTPClient(client *http.Client)
- func (o *StopApmInstancesParams) SetIgnoreMissing(ignoreMissing *bool)
- func (o *StopApmInstancesParams) SetInstanceIds(instanceIds []string)
- func (o *StopApmInstancesParams) SetTimeout(timeout time.Duration)
- func (o *StopApmInstancesParams) WithClusterID(clusterID string) *StopApmInstancesParams
- func (o *StopApmInstancesParams) WithContext(ctx context.Context) *StopApmInstancesParams
- func (o *StopApmInstancesParams) WithDefaults() *StopApmInstancesParams
- func (o *StopApmInstancesParams) WithHTTPClient(client *http.Client) *StopApmInstancesParams
- func (o *StopApmInstancesParams) WithIgnoreMissing(ignoreMissing *bool) *StopApmInstancesParams
- func (o *StopApmInstancesParams) WithInstanceIds(instanceIds []string) *StopApmInstancesParams
- func (o *StopApmInstancesParams) WithTimeout(timeout time.Duration) *StopApmInstancesParams
- func (o *StopApmInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopApmInstancesReader
- type StopApmInstancesRetryWith
- type StopApmMaintenanceModeAccepted
- type StopApmMaintenanceModeForbidden
- type StopApmMaintenanceModeNotFound
- type StopApmMaintenanceModeParams
- func NewStopApmMaintenanceModeParams() *StopApmMaintenanceModeParams
- func NewStopApmMaintenanceModeParamsWithContext(ctx context.Context) *StopApmMaintenanceModeParams
- func NewStopApmMaintenanceModeParamsWithHTTPClient(client *http.Client) *StopApmMaintenanceModeParams
- func NewStopApmMaintenanceModeParamsWithTimeout(timeout time.Duration) *StopApmMaintenanceModeParams
- func (o *StopApmMaintenanceModeParams) SetClusterID(clusterID string)
- func (o *StopApmMaintenanceModeParams) SetContext(ctx context.Context)
- func (o *StopApmMaintenanceModeParams) SetDefaults()
- func (o *StopApmMaintenanceModeParams) SetHTTPClient(client *http.Client)
- func (o *StopApmMaintenanceModeParams) SetIgnoreMissing(ignoreMissing *bool)
- func (o *StopApmMaintenanceModeParams) SetInstanceIds(instanceIds []string)
- func (o *StopApmMaintenanceModeParams) SetTimeout(timeout time.Duration)
- func (o *StopApmMaintenanceModeParams) WithClusterID(clusterID string) *StopApmMaintenanceModeParams
- func (o *StopApmMaintenanceModeParams) WithContext(ctx context.Context) *StopApmMaintenanceModeParams
- func (o *StopApmMaintenanceModeParams) WithDefaults() *StopApmMaintenanceModeParams
- func (o *StopApmMaintenanceModeParams) WithHTTPClient(client *http.Client) *StopApmMaintenanceModeParams
- func (o *StopApmMaintenanceModeParams) WithIgnoreMissing(ignoreMissing *bool) *StopApmMaintenanceModeParams
- func (o *StopApmMaintenanceModeParams) WithInstanceIds(instanceIds []string) *StopApmMaintenanceModeParams
- func (o *StopApmMaintenanceModeParams) WithTimeout(timeout time.Duration) *StopApmMaintenanceModeParams
- func (o *StopApmMaintenanceModeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopApmMaintenanceModeReader
- type StopApmMaintenanceModeRetryWith
- type UpdateApmMetadataSettingsForbidden
- type UpdateApmMetadataSettingsNotFound
- type UpdateApmMetadataSettingsOK
- type UpdateApmMetadataSettingsParams
- func NewUpdateApmMetadataSettingsParams() *UpdateApmMetadataSettingsParams
- func NewUpdateApmMetadataSettingsParamsWithContext(ctx context.Context) *UpdateApmMetadataSettingsParams
- func NewUpdateApmMetadataSettingsParamsWithHTTPClient(client *http.Client) *UpdateApmMetadataSettingsParams
- func NewUpdateApmMetadataSettingsParamsWithTimeout(timeout time.Duration) *UpdateApmMetadataSettingsParams
- func (o *UpdateApmMetadataSettingsParams) SetBody(body *models.ClusterMetadataSettings)
- func (o *UpdateApmMetadataSettingsParams) SetClusterID(clusterID string)
- func (o *UpdateApmMetadataSettingsParams) SetContext(ctx context.Context)
- func (o *UpdateApmMetadataSettingsParams) SetDefaults()
- func (o *UpdateApmMetadataSettingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateApmMetadataSettingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateApmMetadataSettingsParams) SetVersion(version *int64)
- func (o *UpdateApmMetadataSettingsParams) WithBody(body *models.ClusterMetadataSettings) *UpdateApmMetadataSettingsParams
- func (o *UpdateApmMetadataSettingsParams) WithClusterID(clusterID string) *UpdateApmMetadataSettingsParams
- func (o *UpdateApmMetadataSettingsParams) WithContext(ctx context.Context) *UpdateApmMetadataSettingsParams
- func (o *UpdateApmMetadataSettingsParams) WithDefaults() *UpdateApmMetadataSettingsParams
- func (o *UpdateApmMetadataSettingsParams) WithHTTPClient(client *http.Client) *UpdateApmMetadataSettingsParams
- func (o *UpdateApmMetadataSettingsParams) WithTimeout(timeout time.Duration) *UpdateApmMetadataSettingsParams
- func (o *UpdateApmMetadataSettingsParams) WithVersion(version *int64) *UpdateApmMetadataSettingsParams
- func (o *UpdateApmMetadataSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateApmMetadataSettingsReader
- type UpdateApmMetadataSettingsRetryWith
- type UpdateApmPlanAccepted
- type UpdateApmPlanBadRequest
- type UpdateApmPlanNotFound
- type UpdateApmPlanOK
- type UpdateApmPlanParams
- func (o *UpdateApmPlanParams) SetBody(body *models.ApmPlan)
- func (o *UpdateApmPlanParams) SetClusterID(clusterID string)
- func (o *UpdateApmPlanParams) SetContext(ctx context.Context)
- func (o *UpdateApmPlanParams) SetDefaults()
- func (o *UpdateApmPlanParams) SetHTTPClient(client *http.Client)
- func (o *UpdateApmPlanParams) SetTimeout(timeout time.Duration)
- func (o *UpdateApmPlanParams) SetValidateOnly(validateOnly *bool)
- func (o *UpdateApmPlanParams) WithBody(body *models.ApmPlan) *UpdateApmPlanParams
- func (o *UpdateApmPlanParams) WithClusterID(clusterID string) *UpdateApmPlanParams
- func (o *UpdateApmPlanParams) WithContext(ctx context.Context) *UpdateApmPlanParams
- func (o *UpdateApmPlanParams) WithDefaults() *UpdateApmPlanParams
- func (o *UpdateApmPlanParams) WithHTTPClient(client *http.Client) *UpdateApmPlanParams
- func (o *UpdateApmPlanParams) WithTimeout(timeout time.Duration) *UpdateApmPlanParams
- func (o *UpdateApmPlanParams) WithValidateOnly(validateOnly *bool) *UpdateApmPlanParams
- func (o *UpdateApmPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateApmPlanReader
- type UpdateApmPlanRetryWith
- type UpgradeApmAccepted
- type UpgradeApmNotFound
- type UpgradeApmParams
- func (o *UpgradeApmParams) SetClusterID(clusterID string)
- func (o *UpgradeApmParams) SetContext(ctx context.Context)
- func (o *UpgradeApmParams) SetDefaults()
- func (o *UpgradeApmParams) SetHTTPClient(client *http.Client)
- func (o *UpgradeApmParams) SetTimeout(timeout time.Duration)
- func (o *UpgradeApmParams) SetValidateOnly(validateOnly *bool)
- func (o *UpgradeApmParams) WithClusterID(clusterID string) *UpgradeApmParams
- func (o *UpgradeApmParams) WithContext(ctx context.Context) *UpgradeApmParams
- func (o *UpgradeApmParams) WithDefaults() *UpgradeApmParams
- func (o *UpgradeApmParams) WithHTTPClient(client *http.Client) *UpgradeApmParams
- func (o *UpgradeApmParams) WithTimeout(timeout time.Duration) *UpgradeApmParams
- func (o *UpgradeApmParams) WithValidateOnly(validateOnly *bool) *UpgradeApmParams
- func (o *UpgradeApmParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpgradeApmReader
- type UpgradeApmRetryWith
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 (o *CancelApmPendingPlanNotFound) Error() string
func (*CancelApmPendingPlanNotFound) GetPayload ¶
func (o *CancelApmPendingPlanNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *CancelApmPendingPlanOK) GetPayload() *models.ApmCrudResponse
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 ¶
func (o *CancelApmPendingPlanParams) WithContext(ctx context.Context) *CancelApmPendingPlanParams
WithContext adds the context to the cancel apm pending plan params
func (*CancelApmPendingPlanParams) WithDefaults ¶ added in v1.3.0
func (o *CancelApmPendingPlanParams) WithDefaults() *CancelApmPendingPlanParams
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 ¶
func (o *CancelApmPendingPlanParams) WithHTTPClient(client *http.Client) *CancelApmPendingPlanParams
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 ¶
func (o *CancelApmPendingPlanParams) WithTimeout(timeout time.Duration) *CancelApmPendingPlanParams
WithTimeout adds the timeout to the cancel apm pending plan params
func (*CancelApmPendingPlanParams) WriteToRequest ¶
func (o *CancelApmPendingPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *CancelApmPendingPlanPreconditionFailed) Error() string
func (*CancelApmPendingPlanPreconditionFailed) GetPayload ¶
func (o *CancelApmPendingPlanPreconditionFailed) GetPayload() *models.BasicFailedReply
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 (o *CancelApmPendingPlanRetryWith) Error() string
func (*CancelApmPendingPlanRetryWith) GetPayload ¶
func (o *CancelApmPendingPlanRetryWith) GetPayload() *models.BasicFailedReply
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 ¶
func (a *Client) StartApmInstancesAllMaintenanceMode(params *StartApmInstancesAllMaintenanceModeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StartApmInstancesAllMaintenanceModeAccepted, error)
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 ¶
func (a *Client) StopApmInstancesAllMaintenanceMode(params *StopApmInstancesAllMaintenanceModeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*StopApmInstancesAllMaintenanceModeAccepted, error)
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 ¶
func (a *Client) UpdateApmPlan(params *UpdateApmPlanParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateApmPlanOK, *UpdateApmPlanAccepted, error)
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 ¶
func (o *CreateApmParams) WithBody(body *models.CreateApmRequest) *CreateApmParams
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 (o *DeleteApmPreconditionFailed) Error() string
func (*DeleteApmPreconditionFailed) GetPayload ¶
func (o *DeleteApmPreconditionFailed) GetPayload() *models.BasicFailedReply
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 ¶
func (o *GetApmClusterNotFound) GetPayload() *models.BasicFailedReply
type GetApmClusterOK ¶
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 ¶
func (o *GetApmClusterParams) WithContext(ctx context.Context) *GetApmClusterParams
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 (o *GetApmClusterPlanActivityNotFound) Error() string
func (*GetApmClusterPlanActivityNotFound) GetPayload ¶
func (o *GetApmClusterPlanActivityNotFound) GetPayload() *models.BasicFailedReply
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 (o *GetApmClusterPlanActivityOK) Error() string
func (*GetApmClusterPlanActivityOK) GetPayload ¶
func (o *GetApmClusterPlanActivityOK) GetPayload() *models.ApmPlansInfo
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 ¶
func (o *GetApmClusterPlanActivityParams) WithClusterID(clusterID string) *GetApmClusterPlanActivityParams
WithClusterID adds the clusterID to the get apm cluster plan activity params
func (*GetApmClusterPlanActivityParams) WithContext ¶
func (o *GetApmClusterPlanActivityParams) WithContext(ctx context.Context) *GetApmClusterPlanActivityParams
WithContext adds the context to the get apm cluster plan activity params
func (*GetApmClusterPlanActivityParams) WithDefaults ¶ added in v1.3.0
func (o *GetApmClusterPlanActivityParams) WithDefaults() *GetApmClusterPlanActivityParams
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 ¶
func (o *GetApmClusterPlanActivityParams) WithHTTPClient(client *http.Client) *GetApmClusterPlanActivityParams
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 ¶
func (o *GetApmClusterPlanActivityParams) WithTimeout(timeout time.Duration) *GetApmClusterPlanActivityParams
WithTimeout adds the timeout to the get apm cluster plan activity params
func (*GetApmClusterPlanActivityParams) WriteToRequest ¶
func (o *GetApmClusterPlanActivityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *GetApmClustersParams) WithContext(ctx context.Context) *GetApmClustersParams
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 ¶
func (o *GetApmClustersParams) WithQ(q *string) *GetApmClustersParams
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 ¶
func (o *GetApmMetadataRawNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *GetApmMetadataRawParams) WithContext(ctx context.Context) *GetApmMetadataRawParams
WithContext adds the context to the get apm metadata raw params
func (*GetApmMetadataRawParams) WithDefaults ¶ added in v1.3.0
func (o *GetApmMetadataRawParams) WithDefaults() *GetApmMetadataRawParams
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 ¶
func (o *GetApmMetadataRawParams) WithTimeout(timeout time.Duration) *GetApmMetadataRawParams
WithTimeout adds the timeout to the get apm metadata raw params
func (*GetApmMetadataRawParams) WriteToRequest ¶
func (o *GetApmMetadataRawParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetApmMetadataSettingsNotFound) Error() string
func (*GetApmMetadataSettingsNotFound) GetPayload ¶
func (o *GetApmMetadataSettingsNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *GetApmMetadataSettingsOK) GetPayload() *models.ClusterMetadataSettings
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 ¶
func (o *GetApmMetadataSettingsParams) WithClusterID(clusterID string) *GetApmMetadataSettingsParams
WithClusterID adds the clusterID to the get apm metadata settings params
func (*GetApmMetadataSettingsParams) WithContext ¶
func (o *GetApmMetadataSettingsParams) WithContext(ctx context.Context) *GetApmMetadataSettingsParams
WithContext adds the context to the get apm metadata settings params
func (*GetApmMetadataSettingsParams) WithDefaults ¶ added in v1.3.0
func (o *GetApmMetadataSettingsParams) WithDefaults() *GetApmMetadataSettingsParams
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 ¶
func (o *GetApmMetadataSettingsParams) WithHTTPClient(client *http.Client) *GetApmMetadataSettingsParams
WithHTTPClient adds the HTTPClient to the get apm metadata settings params
func (*GetApmMetadataSettingsParams) WithTimeout ¶
func (o *GetApmMetadataSettingsParams) WithTimeout(timeout time.Duration) *GetApmMetadataSettingsParams
WithTimeout adds the timeout to the get apm metadata settings params
func (*GetApmMetadataSettingsParams) WriteToRequest ¶
func (o *GetApmMetadataSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetApmPendingPlanNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *GetApmPendingPlanParams) WithContext(ctx context.Context) *GetApmPendingPlanParams
WithContext adds the context to the get apm pending plan params
func (*GetApmPendingPlanParams) WithDefaults ¶ added in v1.3.0
func (o *GetApmPendingPlanParams) WithDefaults() *GetApmPendingPlanParams
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 ¶
func (o *GetApmPendingPlanParams) WithTimeout(timeout time.Duration) *GetApmPendingPlanParams
WithTimeout adds the timeout to the get apm pending plan params
func (*GetApmPendingPlanParams) WriteToRequest ¶
func (o *GetApmPendingPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetApmPendingPlanPreconditionFailed) Error() string
func (*GetApmPendingPlanPreconditionFailed) GetPayload ¶
func (o *GetApmPendingPlanPreconditionFailed) GetPayload() *models.BasicFailedReply
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 (o *GetApmPlanPreconditionFailed) Error() string
func (*GetApmPlanPreconditionFailed) GetPayload ¶
func (o *GetApmPlanPreconditionFailed) GetPayload() *models.BasicFailedReply
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 ¶
func (o *MoveApmInstancesAccepted) GetPayload() *models.ClusterCommandResponse
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 (o *MoveApmInstancesAdvancedAccepted) Error() string
func (*MoveApmInstancesAdvancedAccepted) GetPayload ¶
func (o *MoveApmInstancesAdvancedAccepted) GetPayload() *models.ClusterCommandResponse
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 (o *MoveApmInstancesAdvancedBadRequest) Error() string
func (*MoveApmInstancesAdvancedBadRequest) GetPayload ¶
func (o *MoveApmInstancesAdvancedBadRequest) GetPayload() *models.BasicFailedReply
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 (o *MoveApmInstancesAdvancedForbidden) Error() string
func (*MoveApmInstancesAdvancedForbidden) GetPayload ¶
func (o *MoveApmInstancesAdvancedForbidden) GetPayload() *models.BasicFailedReply
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 (o *MoveApmInstancesAdvancedNotFound) Error() string
func (*MoveApmInstancesAdvancedNotFound) GetPayload ¶
func (o *MoveApmInstancesAdvancedNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *MoveApmInstancesAdvancedParams) SetBody(body *models.TransientApmPlanConfiguration)
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 ¶
func (o *MoveApmInstancesAdvancedParams) WithBody(body *models.TransientApmPlanConfiguration) *MoveApmInstancesAdvancedParams
WithBody adds the body to the move apm instances advanced params
func (*MoveApmInstancesAdvancedParams) WithClusterID ¶
func (o *MoveApmInstancesAdvancedParams) WithClusterID(clusterID string) *MoveApmInstancesAdvancedParams
WithClusterID adds the clusterID to the move apm instances advanced params
func (*MoveApmInstancesAdvancedParams) WithContext ¶
func (o *MoveApmInstancesAdvancedParams) WithContext(ctx context.Context) *MoveApmInstancesAdvancedParams
WithContext adds the context to the move apm instances advanced params
func (*MoveApmInstancesAdvancedParams) WithDefaults ¶ added in v1.3.0
func (o *MoveApmInstancesAdvancedParams) WithDefaults() *MoveApmInstancesAdvancedParams
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 ¶
func (o *MoveApmInstancesAdvancedParams) WithHTTPClient(client *http.Client) *MoveApmInstancesAdvancedParams
WithHTTPClient adds the HTTPClient to the move apm instances advanced params
func (*MoveApmInstancesAdvancedParams) WithTimeout ¶
func (o *MoveApmInstancesAdvancedParams) WithTimeout(timeout time.Duration) *MoveApmInstancesAdvancedParams
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 ¶
func (o *MoveApmInstancesAdvancedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *MoveApmInstancesAdvancedRetryWith) Error() string
func (*MoveApmInstancesAdvancedRetryWith) GetPayload ¶
func (o *MoveApmInstancesAdvancedRetryWith) GetPayload() *models.BasicFailedReply
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 (o *MoveApmInstancesBadRequest) Error() string
func (*MoveApmInstancesBadRequest) GetPayload ¶
func (o *MoveApmInstancesBadRequest) GetPayload() *models.BasicFailedReply
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 ¶
func (o *MoveApmInstancesForbidden) GetPayload() *models.BasicFailedReply
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 ¶
func (o *MoveApmInstancesNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *MoveApmInstancesParams) SetBody(body *models.TransientApmPlanConfiguration)
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 ¶
func (o *MoveApmInstancesParams) WithBody(body *models.TransientApmPlanConfiguration) *MoveApmInstancesParams
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 ¶
func (o *MoveApmInstancesParams) WithContext(ctx context.Context) *MoveApmInstancesParams
WithContext adds the context to the move apm instances params
func (*MoveApmInstancesParams) WithDefaults ¶ added in v1.3.0
func (o *MoveApmInstancesParams) WithDefaults() *MoveApmInstancesParams
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 ¶
func (o *MoveApmInstancesParams) WithTimeout(timeout time.Duration) *MoveApmInstancesParams
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 ¶
func (o *MoveApmInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *MoveApmInstancesRetryWith) GetPayload() *models.BasicFailedReply
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 (o *ResetApmSecretTokenNotFound) Error() string
func (*ResetApmSecretTokenNotFound) GetPayload ¶
func (o *ResetApmSecretTokenNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *ResetApmSecretTokenParams) WithContext(ctx context.Context) *ResetApmSecretTokenParams
WithContext adds the context to the reset apm secret token params
func (*ResetApmSecretTokenParams) WithDefaults ¶ added in v1.3.0
func (o *ResetApmSecretTokenParams) WithDefaults() *ResetApmSecretTokenParams
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 ¶
func (o *ResetApmSecretTokenParams) WithTimeout(timeout time.Duration) *ResetApmSecretTokenParams
WithTimeout adds the timeout to the reset apm secret token params
func (*ResetApmSecretTokenParams) WriteToRequest ¶
func (o *ResetApmSecretTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ResetApmSecretTokenPreconditionFailed) Error() string
func (*ResetApmSecretTokenPreconditionFailed) GetPayload ¶
func (o *ResetApmSecretTokenPreconditionFailed) GetPayload() *models.BasicFailedReply
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 (o *ResetApmSecretTokenRetryWith) Error() string
func (*ResetApmSecretTokenRetryWith) GetPayload ¶
func (o *ResetApmSecretTokenRetryWith) GetPayload() *models.BasicFailedReply
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 ¶
func (o *RestartApmAccepted) GetPayload() *models.ClusterCommandResponse
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 (o *RestartApmPreconditionFailed) Error() string
func (*RestartApmPreconditionFailed) GetPayload ¶
func (o *RestartApmPreconditionFailed) GetPayload() *models.BasicFailedReply
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 (o *ResyncApmClusterInternalServerError) Error() string
func (*ResyncApmClusterInternalServerError) GetPayload ¶
func (o *ResyncApmClusterInternalServerError) GetPayload() *models.BasicFailedReply
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 ¶
func (o *ResyncApmClusterParams) WithContext(ctx context.Context) *ResyncApmClusterParams
WithContext adds the context to the resync apm cluster params
func (*ResyncApmClusterParams) WithDefaults ¶ added in v1.3.0
func (o *ResyncApmClusterParams) WithDefaults() *ResyncApmClusterParams
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 ¶
func (o *ResyncApmClusterParams) WithTimeout(timeout time.Duration) *ResyncApmClusterParams
WithTimeout adds the timeout to the resync apm cluster params
func (*ResyncApmClusterParams) WriteToRequest ¶
func (o *ResyncApmClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ResyncApmClusterRetryWith) GetPayload() *models.BasicFailedReply
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 ¶
func (o *ResyncApmClustersAccepted) GetPayload() *models.ModelVersionIndexSynchronizationResults
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 ¶
func (o *ResyncApmClustersParams) WithContext(ctx context.Context) *ResyncApmClustersParams
WithContext adds the context to the resync apm clusters params
func (*ResyncApmClustersParams) WithDefaults ¶ added in v1.3.0
func (o *ResyncApmClustersParams) WithDefaults() *ResyncApmClustersParams
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 ¶
func (o *ResyncApmClustersParams) WithTimeout(timeout time.Duration) *ResyncApmClustersParams
WithTimeout adds the timeout to the resync apm clusters params
func (*ResyncApmClustersParams) WriteToRequest ¶
func (o *ResyncApmClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ResyncApmClustersRetryWith) Error() string
func (*ResyncApmClustersRetryWith) GetPayload ¶
func (o *ResyncApmClustersRetryWith) GetPayload() *models.BasicFailedReply
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 ¶
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 ¶
func (o *SearchApmsParams) WithBody(body *models.SearchRequest) *SearchApmsParams
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 ¶
func (o *SetApmMetadataRawNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *SetApmMetadataRawParams) WithBody(body string) *SetApmMetadataRawParams
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 ¶
func (o *SetApmMetadataRawParams) WithContext(ctx context.Context) *SetApmMetadataRawParams
WithContext adds the context to the set apm metadata raw params
func (*SetApmMetadataRawParams) WithDefaults ¶ added in v1.3.0
func (o *SetApmMetadataRawParams) WithDefaults() *SetApmMetadataRawParams
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 ¶
func (o *SetApmMetadataRawParams) WithTimeout(timeout time.Duration) *SetApmMetadataRawParams
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 ¶
func (o *SetApmMetadataRawParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *SetApmMetadataRawRetryWith) Error() string
func (*SetApmMetadataRawRetryWith) GetPayload ¶
func (o *SetApmMetadataRawRetryWith) GetPayload() *models.BasicFailedReply
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 ¶
func (o *ShutdownApmAccepted) GetPayload() *models.ClusterCommandResponse
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 ¶
func (o *StartApmInstancesAccepted) GetPayload() *models.ClusterCommandResponse
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 (o *StartApmInstancesAllAccepted) Error() string
func (*StartApmInstancesAllAccepted) GetPayload ¶
func (o *StartApmInstancesAllAccepted) GetPayload() *models.ClusterCommandResponse
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 (o *StartApmInstancesAllForbidden) Error() string
func (*StartApmInstancesAllForbidden) GetPayload ¶
func (o *StartApmInstancesAllForbidden) GetPayload() *models.BasicFailedReply
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 (o *StartApmInstancesAllMaintenanceModeAccepted) Error() string
func (*StartApmInstancesAllMaintenanceModeAccepted) GetPayload ¶
func (o *StartApmInstancesAllMaintenanceModeAccepted) GetPayload() *models.ClusterCommandResponse
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 (o *StartApmInstancesAllMaintenanceModeForbidden) Error() string
func (*StartApmInstancesAllMaintenanceModeForbidden) GetPayload ¶
func (o *StartApmInstancesAllMaintenanceModeForbidden) GetPayload() *models.BasicFailedReply
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 (o *StartApmInstancesAllMaintenanceModeNotFound) Error() string
func (*StartApmInstancesAllMaintenanceModeNotFound) GetPayload ¶
func (o *StartApmInstancesAllMaintenanceModeNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *StartApmInstancesAllMaintenanceModeParams) SetContext(ctx context.Context)
SetContext adds the context to the start apm instances all maintenance mode params
func (*StartApmInstancesAllMaintenanceModeParams) SetDefaults ¶ added in v1.3.0
func (o *StartApmInstancesAllMaintenanceModeParams) SetDefaults()
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 ¶
func (o *StartApmInstancesAllMaintenanceModeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start apm instances all maintenance mode params
func (*StartApmInstancesAllMaintenanceModeParams) WithClusterID ¶
func (o *StartApmInstancesAllMaintenanceModeParams) WithClusterID(clusterID string) *StartApmInstancesAllMaintenanceModeParams
WithClusterID adds the clusterID to the start apm instances all maintenance mode params
func (*StartApmInstancesAllMaintenanceModeParams) WithContext ¶
func (o *StartApmInstancesAllMaintenanceModeParams) WithContext(ctx context.Context) *StartApmInstancesAllMaintenanceModeParams
WithContext adds the context to the start apm instances all maintenance mode params
func (*StartApmInstancesAllMaintenanceModeParams) WithDefaults ¶ added in v1.3.0
func (o *StartApmInstancesAllMaintenanceModeParams) WithDefaults() *StartApmInstancesAllMaintenanceModeParams
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 ¶
func (o *StartApmInstancesAllMaintenanceModeParams) WithHTTPClient(client *http.Client) *StartApmInstancesAllMaintenanceModeParams
WithHTTPClient adds the HTTPClient to the start apm instances all maintenance mode params
func (*StartApmInstancesAllMaintenanceModeParams) WithTimeout ¶
func (o *StartApmInstancesAllMaintenanceModeParams) WithTimeout(timeout time.Duration) *StartApmInstancesAllMaintenanceModeParams
WithTimeout adds the timeout to the start apm instances all maintenance mode params
func (*StartApmInstancesAllMaintenanceModeParams) WriteToRequest ¶
func (o *StartApmInstancesAllMaintenanceModeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *StartApmInstancesAllMaintenanceModeRetryWith) Error() string
func (*StartApmInstancesAllMaintenanceModeRetryWith) GetPayload ¶
func (o *StartApmInstancesAllMaintenanceModeRetryWith) GetPayload() *models.BasicFailedReply
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 (o *StartApmInstancesAllNotFound) Error() string
func (*StartApmInstancesAllNotFound) GetPayload ¶
func (o *StartApmInstancesAllNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *StartApmInstancesAllParams) WithContext(ctx context.Context) *StartApmInstancesAllParams
WithContext adds the context to the start apm instances all params
func (*StartApmInstancesAllParams) WithDefaults ¶ added in v1.3.0
func (o *StartApmInstancesAllParams) WithDefaults() *StartApmInstancesAllParams
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 ¶
func (o *StartApmInstancesAllParams) WithHTTPClient(client *http.Client) *StartApmInstancesAllParams
WithHTTPClient adds the HTTPClient to the start apm instances all params
func (*StartApmInstancesAllParams) WithTimeout ¶
func (o *StartApmInstancesAllParams) WithTimeout(timeout time.Duration) *StartApmInstancesAllParams
WithTimeout adds the timeout to the start apm instances all params
func (*StartApmInstancesAllParams) WriteToRequest ¶
func (o *StartApmInstancesAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *StartApmInstancesAllRetryWith) Error() string
func (*StartApmInstancesAllRetryWith) GetPayload ¶
func (o *StartApmInstancesAllRetryWith) GetPayload() *models.BasicFailedReply
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 (o *StartApmInstancesForbidden) Error() string
func (*StartApmInstancesForbidden) GetPayload ¶
func (o *StartApmInstancesForbidden) GetPayload() *models.BasicFailedReply
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 ¶
func (o *StartApmInstancesNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *StartApmInstancesParams) WithContext(ctx context.Context) *StartApmInstancesParams
WithContext adds the context to the start apm instances params
func (*StartApmInstancesParams) WithDefaults ¶ added in v1.3.0
func (o *StartApmInstancesParams) WithDefaults() *StartApmInstancesParams
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 ¶
func (o *StartApmInstancesParams) WithTimeout(timeout time.Duration) *StartApmInstancesParams
WithTimeout adds the timeout to the start apm instances params
func (*StartApmInstancesParams) WriteToRequest ¶
func (o *StartApmInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *StartApmInstancesRetryWith) Error() string
func (*StartApmInstancesRetryWith) GetPayload ¶
func (o *StartApmInstancesRetryWith) GetPayload() *models.BasicFailedReply
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 (o *StartApmMaintenanceModeAccepted) Error() string
func (*StartApmMaintenanceModeAccepted) GetPayload ¶
func (o *StartApmMaintenanceModeAccepted) GetPayload() *models.ClusterCommandResponse
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 (o *StartApmMaintenanceModeForbidden) Error() string
func (*StartApmMaintenanceModeForbidden) GetPayload ¶
func (o *StartApmMaintenanceModeForbidden) GetPayload() *models.BasicFailedReply
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 (o *StartApmMaintenanceModeNotFound) Error() string
func (*StartApmMaintenanceModeNotFound) GetPayload ¶
func (o *StartApmMaintenanceModeNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *StartApmMaintenanceModeParams) WithClusterID(clusterID string) *StartApmMaintenanceModeParams
WithClusterID adds the clusterID to the start apm maintenance mode params
func (*StartApmMaintenanceModeParams) WithContext ¶
func (o *StartApmMaintenanceModeParams) WithContext(ctx context.Context) *StartApmMaintenanceModeParams
WithContext adds the context to the start apm maintenance mode params
func (*StartApmMaintenanceModeParams) WithDefaults ¶ added in v1.3.0
func (o *StartApmMaintenanceModeParams) WithDefaults() *StartApmMaintenanceModeParams
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 ¶
func (o *StartApmMaintenanceModeParams) WithHTTPClient(client *http.Client) *StartApmMaintenanceModeParams
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 ¶
func (o *StartApmMaintenanceModeParams) WithTimeout(timeout time.Duration) *StartApmMaintenanceModeParams
WithTimeout adds the timeout to the start apm maintenance mode params
func (*StartApmMaintenanceModeParams) WriteToRequest ¶
func (o *StartApmMaintenanceModeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *StartApmMaintenanceModeRetryWith) Error() string
func (*StartApmMaintenanceModeRetryWith) GetPayload ¶
func (o *StartApmMaintenanceModeRetryWith) GetPayload() *models.BasicFailedReply
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 ¶
func (o *StopApmInstancesAccepted) GetPayload() *models.ClusterCommandResponse
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 (o *StopApmInstancesAllAccepted) Error() string
func (*StopApmInstancesAllAccepted) GetPayload ¶
func (o *StopApmInstancesAllAccepted) GetPayload() *models.ClusterCommandResponse
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 (o *StopApmInstancesAllForbidden) Error() string
func (*StopApmInstancesAllForbidden) GetPayload ¶
func (o *StopApmInstancesAllForbidden) GetPayload() *models.BasicFailedReply
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 (o *StopApmInstancesAllMaintenanceModeAccepted) Error() string
func (*StopApmInstancesAllMaintenanceModeAccepted) GetPayload ¶
func (o *StopApmInstancesAllMaintenanceModeAccepted) GetPayload() *models.ClusterCommandResponse
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 (o *StopApmInstancesAllMaintenanceModeForbidden) Error() string
func (*StopApmInstancesAllMaintenanceModeForbidden) GetPayload ¶
func (o *StopApmInstancesAllMaintenanceModeForbidden) GetPayload() *models.BasicFailedReply
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 (o *StopApmInstancesAllMaintenanceModeNotFound) Error() string
func (*StopApmInstancesAllMaintenanceModeNotFound) GetPayload ¶
func (o *StopApmInstancesAllMaintenanceModeNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *StopApmInstancesAllMaintenanceModeParams) SetContext(ctx context.Context)
SetContext adds the context to the stop apm instances all maintenance mode params
func (*StopApmInstancesAllMaintenanceModeParams) SetDefaults ¶ added in v1.3.0
func (o *StopApmInstancesAllMaintenanceModeParams) SetDefaults()
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 ¶
func (o *StopApmInstancesAllMaintenanceModeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop apm instances all maintenance mode params
func (*StopApmInstancesAllMaintenanceModeParams) WithClusterID ¶
func (o *StopApmInstancesAllMaintenanceModeParams) WithClusterID(clusterID string) *StopApmInstancesAllMaintenanceModeParams
WithClusterID adds the clusterID to the stop apm instances all maintenance mode params
func (*StopApmInstancesAllMaintenanceModeParams) WithContext ¶
func (o *StopApmInstancesAllMaintenanceModeParams) WithContext(ctx context.Context) *StopApmInstancesAllMaintenanceModeParams
WithContext adds the context to the stop apm instances all maintenance mode params
func (*StopApmInstancesAllMaintenanceModeParams) WithDefaults ¶ added in v1.3.0
func (o *StopApmInstancesAllMaintenanceModeParams) WithDefaults() *StopApmInstancesAllMaintenanceModeParams
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 ¶
func (o *StopApmInstancesAllMaintenanceModeParams) WithHTTPClient(client *http.Client) *StopApmInstancesAllMaintenanceModeParams
WithHTTPClient adds the HTTPClient to the stop apm instances all maintenance mode params
func (*StopApmInstancesAllMaintenanceModeParams) WithTimeout ¶
func (o *StopApmInstancesAllMaintenanceModeParams) WithTimeout(timeout time.Duration) *StopApmInstancesAllMaintenanceModeParams
WithTimeout adds the timeout to the stop apm instances all maintenance mode params
func (*StopApmInstancesAllMaintenanceModeParams) WriteToRequest ¶
func (o *StopApmInstancesAllMaintenanceModeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *StopApmInstancesAllMaintenanceModeRetryWith) Error() string
func (*StopApmInstancesAllMaintenanceModeRetryWith) GetPayload ¶
func (o *StopApmInstancesAllMaintenanceModeRetryWith) GetPayload() *models.BasicFailedReply
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 (o *StopApmInstancesAllNotFound) Error() string
func (*StopApmInstancesAllNotFound) GetPayload ¶
func (o *StopApmInstancesAllNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *StopApmInstancesAllParams) WithContext(ctx context.Context) *StopApmInstancesAllParams
WithContext adds the context to the stop apm instances all params
func (*StopApmInstancesAllParams) WithDefaults ¶ added in v1.3.0
func (o *StopApmInstancesAllParams) WithDefaults() *StopApmInstancesAllParams
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 ¶
func (o *StopApmInstancesAllParams) WithTimeout(timeout time.Duration) *StopApmInstancesAllParams
WithTimeout adds the timeout to the stop apm instances all params
func (*StopApmInstancesAllParams) WriteToRequest ¶
func (o *StopApmInstancesAllParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *StopApmInstancesAllRetryWith) Error() string
func (*StopApmInstancesAllRetryWith) GetPayload ¶
func (o *StopApmInstancesAllRetryWith) GetPayload() *models.BasicFailedReply
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 ¶
func (o *StopApmInstancesForbidden) GetPayload() *models.BasicFailedReply
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 ¶
func (o *StopApmInstancesNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *StopApmInstancesParams) WithContext(ctx context.Context) *StopApmInstancesParams
WithContext adds the context to the stop apm instances params
func (*StopApmInstancesParams) WithDefaults ¶ added in v1.3.0
func (o *StopApmInstancesParams) WithDefaults() *StopApmInstancesParams
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 ¶
func (o *StopApmInstancesParams) WithTimeout(timeout time.Duration) *StopApmInstancesParams
WithTimeout adds the timeout to the stop apm instances params
func (*StopApmInstancesParams) WriteToRequest ¶
func (o *StopApmInstancesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *StopApmInstancesRetryWith) GetPayload() *models.BasicFailedReply
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 (o *StopApmMaintenanceModeAccepted) Error() string
func (*StopApmMaintenanceModeAccepted) GetPayload ¶
func (o *StopApmMaintenanceModeAccepted) GetPayload() *models.ClusterCommandResponse
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 (o *StopApmMaintenanceModeForbidden) Error() string
func (*StopApmMaintenanceModeForbidden) GetPayload ¶
func (o *StopApmMaintenanceModeForbidden) GetPayload() *models.BasicFailedReply
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 (o *StopApmMaintenanceModeNotFound) Error() string
func (*StopApmMaintenanceModeNotFound) GetPayload ¶
func (o *StopApmMaintenanceModeNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *StopApmMaintenanceModeParams) WithClusterID(clusterID string) *StopApmMaintenanceModeParams
WithClusterID adds the clusterID to the stop apm maintenance mode params
func (*StopApmMaintenanceModeParams) WithContext ¶
func (o *StopApmMaintenanceModeParams) WithContext(ctx context.Context) *StopApmMaintenanceModeParams
WithContext adds the context to the stop apm maintenance mode params
func (*StopApmMaintenanceModeParams) WithDefaults ¶ added in v1.3.0
func (o *StopApmMaintenanceModeParams) WithDefaults() *StopApmMaintenanceModeParams
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 ¶
func (o *StopApmMaintenanceModeParams) WithHTTPClient(client *http.Client) *StopApmMaintenanceModeParams
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 ¶
func (o *StopApmMaintenanceModeParams) WithTimeout(timeout time.Duration) *StopApmMaintenanceModeParams
WithTimeout adds the timeout to the stop apm maintenance mode params
func (*StopApmMaintenanceModeParams) WriteToRequest ¶
func (o *StopApmMaintenanceModeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *StopApmMaintenanceModeRetryWith) Error() string
func (*StopApmMaintenanceModeRetryWith) GetPayload ¶
func (o *StopApmMaintenanceModeRetryWith) GetPayload() *models.BasicFailedReply
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 (o *UpdateApmMetadataSettingsForbidden) Error() string
func (*UpdateApmMetadataSettingsForbidden) GetPayload ¶
func (o *UpdateApmMetadataSettingsForbidden) GetPayload() *models.BasicFailedReply
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 (o *UpdateApmMetadataSettingsNotFound) Error() string
func (*UpdateApmMetadataSettingsNotFound) GetPayload ¶
func (o *UpdateApmMetadataSettingsNotFound) GetPayload() *models.BasicFailedReply
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 (o *UpdateApmMetadataSettingsOK) Error() string
func (*UpdateApmMetadataSettingsOK) GetPayload ¶
func (o *UpdateApmMetadataSettingsOK) GetPayload() *models.ClusterMetadataSettings
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 ¶
func (o *UpdateApmMetadataSettingsParams) SetBody(body *models.ClusterMetadataSettings)
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 ¶
func (o *UpdateApmMetadataSettingsParams) WithBody(body *models.ClusterMetadataSettings) *UpdateApmMetadataSettingsParams
WithBody adds the body to the update apm metadata settings params
func (*UpdateApmMetadataSettingsParams) WithClusterID ¶
func (o *UpdateApmMetadataSettingsParams) WithClusterID(clusterID string) *UpdateApmMetadataSettingsParams
WithClusterID adds the clusterID to the update apm metadata settings params
func (*UpdateApmMetadataSettingsParams) WithContext ¶
func (o *UpdateApmMetadataSettingsParams) WithContext(ctx context.Context) *UpdateApmMetadataSettingsParams
WithContext adds the context to the update apm metadata settings params
func (*UpdateApmMetadataSettingsParams) WithDefaults ¶ added in v1.3.0
func (o *UpdateApmMetadataSettingsParams) WithDefaults() *UpdateApmMetadataSettingsParams
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 ¶
func (o *UpdateApmMetadataSettingsParams) WithHTTPClient(client *http.Client) *UpdateApmMetadataSettingsParams
WithHTTPClient adds the HTTPClient to the update apm metadata settings params
func (*UpdateApmMetadataSettingsParams) WithTimeout ¶
func (o *UpdateApmMetadataSettingsParams) WithTimeout(timeout time.Duration) *UpdateApmMetadataSettingsParams
WithTimeout adds the timeout to the update apm metadata settings params
func (*UpdateApmMetadataSettingsParams) WithVersion ¶
func (o *UpdateApmMetadataSettingsParams) WithVersion(version *int64) *UpdateApmMetadataSettingsParams
WithVersion adds the version to the update apm metadata settings params
func (*UpdateApmMetadataSettingsParams) WriteToRequest ¶
func (o *UpdateApmMetadataSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateApmMetadataSettingsRetryWith) Error() string
func (*UpdateApmMetadataSettingsRetryWith) GetPayload ¶
func (o *UpdateApmMetadataSettingsRetryWith) GetPayload() *models.BasicFailedReply
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 ¶
func (o *UpdateApmPlanBadRequest) GetPayload() *models.BasicFailedReply
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 ¶
func (o *UpdateApmPlanNotFound) GetPayload() *models.BasicFailedReply
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 ¶
func (o *UpdateApmPlanParams) WithBody(body *models.ApmPlan) *UpdateApmPlanParams
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 ¶
func (o *UpdateApmPlanParams) WithContext(ctx context.Context) *UpdateApmPlanParams
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 ¶
func (o *UpdateApmPlanRetryWith) GetPayload() *models.BasicFailedReply
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 ¶
- cancel_apm_pending_plan_parameters.go
- cancel_apm_pending_plan_responses.go
- clusters_apm_client.go
- create_apm_parameters.go
- create_apm_responses.go
- delete_apm_parameters.go
- delete_apm_responses.go
- get_apm_cluster_parameters.go
- get_apm_cluster_plan_activity_parameters.go
- get_apm_cluster_plan_activity_responses.go
- get_apm_cluster_responses.go
- get_apm_clusters_parameters.go
- get_apm_clusters_responses.go
- get_apm_metadata_raw_parameters.go
- get_apm_metadata_raw_responses.go
- get_apm_metadata_settings_parameters.go
- get_apm_metadata_settings_responses.go
- get_apm_pending_plan_parameters.go
- get_apm_pending_plan_responses.go
- get_apm_plan_parameters.go
- get_apm_plan_responses.go
- move_apm_instances_advanced_parameters.go
- move_apm_instances_advanced_responses.go
- move_apm_instances_parameters.go
- move_apm_instances_responses.go
- reset_apm_secret_token_parameters.go
- reset_apm_secret_token_responses.go
- restart_apm_parameters.go
- restart_apm_responses.go
- resync_apm_cluster_parameters.go
- resync_apm_cluster_responses.go
- resync_apm_clusters_parameters.go
- resync_apm_clusters_responses.go
- search_apms_parameters.go
- search_apms_responses.go
- set_apm_metadata_raw_parameters.go
- set_apm_metadata_raw_responses.go
- set_apm_name_parameters.go
- set_apm_name_responses.go
- shutdown_apm_parameters.go
- shutdown_apm_responses.go
- start_apm_instances_all_maintenance_mode_parameters.go
- start_apm_instances_all_maintenance_mode_responses.go
- start_apm_instances_all_parameters.go
- start_apm_instances_all_responses.go
- start_apm_instances_parameters.go
- start_apm_instances_responses.go
- start_apm_maintenance_mode_parameters.go
- start_apm_maintenance_mode_responses.go
- stop_apm_instances_all_maintenance_mode_parameters.go
- stop_apm_instances_all_maintenance_mode_responses.go
- stop_apm_instances_all_parameters.go
- stop_apm_instances_all_responses.go
- stop_apm_instances_parameters.go
- stop_apm_instances_responses.go
- stop_apm_maintenance_mode_parameters.go
- stop_apm_maintenance_mode_responses.go
- update_apm_metadata_settings_parameters.go
- update_apm_metadata_settings_responses.go
- update_apm_plan_parameters.go
- update_apm_plan_responses.go
- upgrade_apm_parameters.go
- upgrade_apm_responses.go