platform_configuration_security

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for platform configuration security API

func (*Client) CreateActiveDirectoryConfiguration

CreateActiveDirectoryConfiguration creates active directory configuration

Creates a new Active Directory configuration.

func (*Client) CreateEnrollmentToken

func (a *Client) CreateEnrollmentToken(params *CreateEnrollmentTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnrollmentTokenOK, error)

CreateEnrollmentToken creates enrollment token

Creates an enrollment token.

func (*Client) CreateLdapConfiguration

func (a *Client) CreateLdapConfiguration(params *CreateLdapConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateLdapConfigurationCreated, error)

CreateLdapConfiguration creates l d a p configuration

Creates a new LDAP configuration.

func (*Client) CreateSamlConfiguration

func (a *Client) CreateSamlConfiguration(params *CreateSamlConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSamlConfigurationCreated, error)

CreateSamlConfiguration creates s a m l configuration

Creates a new SAML configuration.

func (*Client) CreateSecurityDeployment

func (a *Client) CreateSecurityDeployment(params *CreateSecurityDeploymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSecurityDeploymentCreated, error)

CreateSecurityDeployment creates security deployment

Creates a new security deployment configuration.

func (*Client) DeleteActiveDirectoryConfiguration

func (a *Client) DeleteActiveDirectoryConfiguration(params *DeleteActiveDirectoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteActiveDirectoryConfigurationOK, error)

DeleteActiveDirectoryConfiguration deletes active directory configuration

Deletes a single Active Directory configuration.

func (*Client) DeleteEnrollmentToken

func (a *Client) DeleteEnrollmentToken(params *DeleteEnrollmentTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEnrollmentTokenOK, error)

DeleteEnrollmentToken deletes enrollment token

Revokes and deletes the enrollment token.

func (*Client) DeleteLdapConfiguration

func (a *Client) DeleteLdapConfiguration(params *DeleteLdapConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteLdapConfigurationOK, error)

DeleteLdapConfiguration deletes l d a p configuration

Deletes a single LDAP configuration.

func (*Client) DeleteSamlConfiguration

func (a *Client) DeleteSamlConfiguration(params *DeleteSamlConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSamlConfigurationOK, error)

DeleteSamlConfiguration deletes s a m l configuration

Deletes a single SAML configuration.

func (*Client) GetActiveDirectoryConfiguration

func (a *Client) GetActiveDirectoryConfiguration(params *GetActiveDirectoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetActiveDirectoryConfigurationOK, error)

GetActiveDirectoryConfiguration gets active directory configuration

Retrieves a single Active Directory security realm configuration.

func (*Client) GetEnrollmentTokens

func (a *Client) GetEnrollmentTokens(params *GetEnrollmentTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnrollmentTokensOK, error)

GetEnrollmentTokens gets enrollment tokens

Retrieves a list of active enrollment tokens.

func (*Client) GetLdapConfiguration

func (a *Client) GetLdapConfiguration(params *GetLdapConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLdapConfigurationOK, error)

GetLdapConfiguration gets l d a p configuration

Retrieves a single LDAP security realm configuration.

func (*Client) GetSamlConfiguration

func (a *Client) GetSamlConfiguration(params *GetSamlConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSamlConfigurationOK, error)

GetSamlConfiguration gets s a m l configuration

Retrieves a single SAML security realm configuration.

func (*Client) GetSecurityDeployment

func (a *Client) GetSecurityDeployment(params *GetSecurityDeploymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecurityDeploymentOK, error)

GetSecurityDeployment gets current security deployment

Retrieves the current security deployment.

func (*Client) GetSecurityRealmConfigurations

func (a *Client) GetSecurityRealmConfigurations(params *GetSecurityRealmConfigurationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecurityRealmConfigurationsOK, error)

GetSecurityRealmConfigurations lists security realm configurations

Retrieves a list of security realm configurations.

func (*Client) GetTLSCertificate

func (a *Client) GetTLSCertificate(params *GetTLSCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTLSCertificateOK, error)

GetTLSCertificate gets TLS certificate

Retrieves a certificate in the TLS certificate chain.

func (*Client) ReorderSecurityRealms

func (a *Client) ReorderSecurityRealms(params *ReorderSecurityRealmsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReorderSecurityRealmsOK, error)

ReorderSecurityRealms reorders security realms

Reorder security realms.

func (*Client) SetTLSCertificate

func (a *Client) SetTLSCertificate(params *SetTLSCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetTLSCertificateAccepted, error)

SetTLSCertificate sets TLS certificate

Creates or updates the TLS certificate chain.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateActiveDirectoryConfiguration

func (a *Client) UpdateActiveDirectoryConfiguration(params *UpdateActiveDirectoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateActiveDirectoryConfigurationOK, error)

UpdateActiveDirectoryConfiguration updates active directory configuration

Updates an existing Active Directory configuration.

func (*Client) UpdateLdapConfiguration

func (a *Client) UpdateLdapConfiguration(params *UpdateLdapConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateLdapConfigurationOK, error)

UpdateLdapConfiguration updates l d a p configuration

Updates an existing LDAP configuration.

func (*Client) UpdateSamlConfiguration

func (a *Client) UpdateSamlConfiguration(params *UpdateSamlConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSamlConfigurationOK, error)

UpdateSamlConfiguration updates s a m l configuration

Updates an existing SAML configuration.

func (*Client) UpdateSecurityDeployment

func (a *Client) UpdateSecurityDeployment(params *UpdateSecurityDeploymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSecurityDeploymentOK, error)

UpdateSecurityDeployment updates security deployment

Updates an existing security deployment configuration.

type ClientOption added in v1.3.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateActiveDirectoryConfiguration(params *CreateActiveDirectoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateActiveDirectoryConfigurationCreated, error)

	CreateEnrollmentToken(params *CreateEnrollmentTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateEnrollmentTokenOK, error)

	CreateLdapConfiguration(params *CreateLdapConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateLdapConfigurationCreated, error)

	CreateSamlConfiguration(params *CreateSamlConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSamlConfigurationCreated, error)

	CreateSecurityDeployment(params *CreateSecurityDeploymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateSecurityDeploymentCreated, error)

	DeleteActiveDirectoryConfiguration(params *DeleteActiveDirectoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteActiveDirectoryConfigurationOK, error)

	DeleteEnrollmentToken(params *DeleteEnrollmentTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteEnrollmentTokenOK, error)

	DeleteLdapConfiguration(params *DeleteLdapConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteLdapConfigurationOK, error)

	DeleteSamlConfiguration(params *DeleteSamlConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteSamlConfigurationOK, error)

	GetActiveDirectoryConfiguration(params *GetActiveDirectoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetActiveDirectoryConfigurationOK, error)

	GetEnrollmentTokens(params *GetEnrollmentTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnrollmentTokensOK, error)

	GetLdapConfiguration(params *GetLdapConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetLdapConfigurationOK, error)

	GetSamlConfiguration(params *GetSamlConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSamlConfigurationOK, error)

	GetSecurityDeployment(params *GetSecurityDeploymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecurityDeploymentOK, error)

	GetSecurityRealmConfigurations(params *GetSecurityRealmConfigurationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSecurityRealmConfigurationsOK, error)

	GetTLSCertificate(params *GetTLSCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTLSCertificateOK, error)

	ReorderSecurityRealms(params *ReorderSecurityRealmsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReorderSecurityRealmsOK, error)

	SetTLSCertificate(params *SetTLSCertificateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetTLSCertificateAccepted, error)

	UpdateActiveDirectoryConfiguration(params *UpdateActiveDirectoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateActiveDirectoryConfigurationOK, error)

	UpdateLdapConfiguration(params *UpdateLdapConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateLdapConfigurationOK, error)

	UpdateSamlConfiguration(params *UpdateSamlConfigurationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSamlConfigurationOK, error)

	UpdateSecurityDeployment(params *UpdateSecurityDeploymentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateSecurityDeploymentOK, 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 platform configuration security API client.

type CreateActiveDirectoryConfigurationBadRequest

type CreateActiveDirectoryConfigurationBadRequest struct {

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

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

* The realm id is already in use. (code: `security_realm.id_conflict`)

* The selected id is not valid. (code: `security_realm.invalid_id`) * Order must be greater than zero. (code: `security_realm.invalid_order`) * Invalid Elasticsearch Security realm type. (code: `security_realm.invalid_type`) * The realm order is already in use. (code: `security_realm.order_conflict`) * Advanced YAML format is invalid. (code: `security_realm.invalid_yaml`) * The url format is invalid. (code: `security_realm.invalid_url`) * Invalid Active Directory URL. (code: `security_realm.active_directory.invalid_url`) * Invalid certificate bundle URL. (code: `security_realm.invalid_bundle_url`)

func NewCreateActiveDirectoryConfigurationBadRequest

func NewCreateActiveDirectoryConfigurationBadRequest() *CreateActiveDirectoryConfigurationBadRequest

NewCreateActiveDirectoryConfigurationBadRequest creates a CreateActiveDirectoryConfigurationBadRequest with default headers values

func (*CreateActiveDirectoryConfigurationBadRequest) Code added in v1.13.0

Code gets the status code for the create active directory configuration bad request response

func (*CreateActiveDirectoryConfigurationBadRequest) Error

func (*CreateActiveDirectoryConfigurationBadRequest) GetPayload

func (*CreateActiveDirectoryConfigurationBadRequest) IsClientError added in v1.13.0

IsClientError returns true when this create active directory configuration bad request response has a 4xx status code

func (*CreateActiveDirectoryConfigurationBadRequest) IsCode added in v1.13.0

IsCode returns true when this create active directory configuration bad request response a status code equal to that given

func (*CreateActiveDirectoryConfigurationBadRequest) IsRedirect added in v1.13.0

IsRedirect returns true when this create active directory configuration bad request response has a 3xx status code

func (*CreateActiveDirectoryConfigurationBadRequest) IsServerError added in v1.13.0

IsServerError returns true when this create active directory configuration bad request response has a 5xx status code

func (*CreateActiveDirectoryConfigurationBadRequest) IsSuccess added in v1.13.0

IsSuccess returns true when this create active directory configuration bad request response has a 2xx status code

func (*CreateActiveDirectoryConfigurationBadRequest) String added in v1.13.0

type CreateActiveDirectoryConfigurationCreated

type CreateActiveDirectoryConfigurationCreated 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.EmptyResponse
}

CreateActiveDirectoryConfigurationCreated describes a response with status code 201, with default header values.

The Active Directory configuration was successfully created

func NewCreateActiveDirectoryConfigurationCreated

func NewCreateActiveDirectoryConfigurationCreated() *CreateActiveDirectoryConfigurationCreated

NewCreateActiveDirectoryConfigurationCreated creates a CreateActiveDirectoryConfigurationCreated with default headers values

func (*CreateActiveDirectoryConfigurationCreated) Code added in v1.13.0

Code gets the status code for the create active directory configuration created response

func (*CreateActiveDirectoryConfigurationCreated) Error

func (*CreateActiveDirectoryConfigurationCreated) GetPayload

func (*CreateActiveDirectoryConfigurationCreated) IsClientError added in v1.13.0

IsClientError returns true when this create active directory configuration created response has a 4xx status code

func (*CreateActiveDirectoryConfigurationCreated) IsCode added in v1.13.0

IsCode returns true when this create active directory configuration created response a status code equal to that given

func (*CreateActiveDirectoryConfigurationCreated) IsRedirect added in v1.13.0

IsRedirect returns true when this create active directory configuration created response has a 3xx status code

func (*CreateActiveDirectoryConfigurationCreated) IsServerError added in v1.13.0

IsServerError returns true when this create active directory configuration created response has a 5xx status code

func (*CreateActiveDirectoryConfigurationCreated) IsSuccess added in v1.13.0

IsSuccess returns true when this create active directory configuration created response has a 2xx status code

func (*CreateActiveDirectoryConfigurationCreated) String added in v1.13.0

type CreateActiveDirectoryConfigurationParams

type CreateActiveDirectoryConfigurationParams struct {

	/* Body.

	   The Active Directory configuration
	*/
	Body *models.ActiveDirectorySettings

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

CreateActiveDirectoryConfigurationParams contains all the parameters to send to the API endpoint

for the create active directory configuration operation.

Typically these are written to a http.Request.

func NewCreateActiveDirectoryConfigurationParams

func NewCreateActiveDirectoryConfigurationParams() *CreateActiveDirectoryConfigurationParams

NewCreateActiveDirectoryConfigurationParams creates a new CreateActiveDirectoryConfigurationParams 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 NewCreateActiveDirectoryConfigurationParamsWithContext

func NewCreateActiveDirectoryConfigurationParamsWithContext(ctx context.Context) *CreateActiveDirectoryConfigurationParams

NewCreateActiveDirectoryConfigurationParamsWithContext creates a new CreateActiveDirectoryConfigurationParams object with the ability to set a context for a request.

func NewCreateActiveDirectoryConfigurationParamsWithHTTPClient

func NewCreateActiveDirectoryConfigurationParamsWithHTTPClient(client *http.Client) *CreateActiveDirectoryConfigurationParams

NewCreateActiveDirectoryConfigurationParamsWithHTTPClient creates a new CreateActiveDirectoryConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewCreateActiveDirectoryConfigurationParamsWithTimeout

func NewCreateActiveDirectoryConfigurationParamsWithTimeout(timeout time.Duration) *CreateActiveDirectoryConfigurationParams

NewCreateActiveDirectoryConfigurationParamsWithTimeout creates a new CreateActiveDirectoryConfigurationParams object with the ability to set a timeout on a request.

func (*CreateActiveDirectoryConfigurationParams) SetBody

SetBody adds the body to the create active directory configuration params

func (*CreateActiveDirectoryConfigurationParams) SetContext

SetContext adds the context to the create active directory configuration params

func (*CreateActiveDirectoryConfigurationParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the create active directory configuration params (not the query body).

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

func (*CreateActiveDirectoryConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create active directory configuration params

func (*CreateActiveDirectoryConfigurationParams) SetTimeout

SetTimeout adds the timeout to the create active directory configuration params

func (*CreateActiveDirectoryConfigurationParams) WithBody

WithBody adds the body to the create active directory configuration params

func (*CreateActiveDirectoryConfigurationParams) WithContext

WithContext adds the context to the create active directory configuration params

func (*CreateActiveDirectoryConfigurationParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the create active directory configuration params (not the query body).

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

func (*CreateActiveDirectoryConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create active directory configuration params

func (*CreateActiveDirectoryConfigurationParams) WithTimeout

WithTimeout adds the timeout to the create active directory configuration params

func (*CreateActiveDirectoryConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateActiveDirectoryConfigurationReader

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

CreateActiveDirectoryConfigurationReader is a Reader for the CreateActiveDirectoryConfiguration structure.

func (*CreateActiveDirectoryConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateEnrollmentTokenBadRequest

type CreateEnrollmentTokenBadRequest struct {
	Payload *models.BasicFailedReply
}

CreateEnrollmentTokenBadRequest describes a response with status code 400, with default header values.

The token request format was invalid, details in the error (code: 'enrollment_tokens.invalid_token_request')

func NewCreateEnrollmentTokenBadRequest

func NewCreateEnrollmentTokenBadRequest() *CreateEnrollmentTokenBadRequest

NewCreateEnrollmentTokenBadRequest creates a CreateEnrollmentTokenBadRequest with default headers values

func (*CreateEnrollmentTokenBadRequest) Code added in v1.13.0

Code gets the status code for the create enrollment token bad request response

func (*CreateEnrollmentTokenBadRequest) Error

func (*CreateEnrollmentTokenBadRequest) GetPayload

func (*CreateEnrollmentTokenBadRequest) IsClientError added in v1.13.0

func (o *CreateEnrollmentTokenBadRequest) IsClientError() bool

IsClientError returns true when this create enrollment token bad request response has a 4xx status code

func (*CreateEnrollmentTokenBadRequest) IsCode added in v1.13.0

func (o *CreateEnrollmentTokenBadRequest) IsCode(code int) bool

IsCode returns true when this create enrollment token bad request response a status code equal to that given

func (*CreateEnrollmentTokenBadRequest) IsRedirect added in v1.13.0

func (o *CreateEnrollmentTokenBadRequest) IsRedirect() bool

IsRedirect returns true when this create enrollment token bad request response has a 3xx status code

func (*CreateEnrollmentTokenBadRequest) IsServerError added in v1.13.0

func (o *CreateEnrollmentTokenBadRequest) IsServerError() bool

IsServerError returns true when this create enrollment token bad request response has a 5xx status code

func (*CreateEnrollmentTokenBadRequest) IsSuccess added in v1.13.0

func (o *CreateEnrollmentTokenBadRequest) IsSuccess() bool

IsSuccess returns true when this create enrollment token bad request response has a 2xx status code

func (*CreateEnrollmentTokenBadRequest) String added in v1.13.0

type CreateEnrollmentTokenForbidden

type CreateEnrollmentTokenForbidden struct {
	Payload *models.BasicFailedReply
}

CreateEnrollmentTokenForbidden describes a response with status code 403, with default header values.

No signing key is available to generate a token (code: 'enrollment_tokens.signing_key_not_found')

func NewCreateEnrollmentTokenForbidden

func NewCreateEnrollmentTokenForbidden() *CreateEnrollmentTokenForbidden

NewCreateEnrollmentTokenForbidden creates a CreateEnrollmentTokenForbidden with default headers values

func (*CreateEnrollmentTokenForbidden) Code added in v1.13.0

Code gets the status code for the create enrollment token forbidden response

func (*CreateEnrollmentTokenForbidden) Error

func (*CreateEnrollmentTokenForbidden) GetPayload

func (*CreateEnrollmentTokenForbidden) IsClientError added in v1.13.0

func (o *CreateEnrollmentTokenForbidden) IsClientError() bool

IsClientError returns true when this create enrollment token forbidden response has a 4xx status code

func (*CreateEnrollmentTokenForbidden) IsCode added in v1.13.0

func (o *CreateEnrollmentTokenForbidden) IsCode(code int) bool

IsCode returns true when this create enrollment token forbidden response a status code equal to that given

func (*CreateEnrollmentTokenForbidden) IsRedirect added in v1.13.0

func (o *CreateEnrollmentTokenForbidden) IsRedirect() bool

IsRedirect returns true when this create enrollment token forbidden response has a 3xx status code

func (*CreateEnrollmentTokenForbidden) IsServerError added in v1.13.0

func (o *CreateEnrollmentTokenForbidden) IsServerError() bool

IsServerError returns true when this create enrollment token forbidden response has a 5xx status code

func (*CreateEnrollmentTokenForbidden) IsSuccess added in v1.13.0

func (o *CreateEnrollmentTokenForbidden) IsSuccess() bool

IsSuccess returns true when this create enrollment token forbidden response has a 2xx status code

func (*CreateEnrollmentTokenForbidden) String added in v1.13.0

type CreateEnrollmentTokenOK

type CreateEnrollmentTokenOK struct {
	Payload *models.RequestEnrollmentTokenReply
}

CreateEnrollmentTokenOK describes a response with status code 200, with default header values.

A token has been generated that can be used to start new servers with the requested roles

func NewCreateEnrollmentTokenOK

func NewCreateEnrollmentTokenOK() *CreateEnrollmentTokenOK

NewCreateEnrollmentTokenOK creates a CreateEnrollmentTokenOK with default headers values

func (*CreateEnrollmentTokenOK) Code added in v1.13.0

func (o *CreateEnrollmentTokenOK) Code() int

Code gets the status code for the create enrollment token o k response

func (*CreateEnrollmentTokenOK) Error

func (o *CreateEnrollmentTokenOK) Error() string

func (*CreateEnrollmentTokenOK) GetPayload

func (*CreateEnrollmentTokenOK) IsClientError added in v1.13.0

func (o *CreateEnrollmentTokenOK) IsClientError() bool

IsClientError returns true when this create enrollment token o k response has a 4xx status code

func (*CreateEnrollmentTokenOK) IsCode added in v1.13.0

func (o *CreateEnrollmentTokenOK) IsCode(code int) bool

IsCode returns true when this create enrollment token o k response a status code equal to that given

func (*CreateEnrollmentTokenOK) IsRedirect added in v1.13.0

func (o *CreateEnrollmentTokenOK) IsRedirect() bool

IsRedirect returns true when this create enrollment token o k response has a 3xx status code

func (*CreateEnrollmentTokenOK) IsServerError added in v1.13.0

func (o *CreateEnrollmentTokenOK) IsServerError() bool

IsServerError returns true when this create enrollment token o k response has a 5xx status code

func (*CreateEnrollmentTokenOK) IsSuccess added in v1.13.0

func (o *CreateEnrollmentTokenOK) IsSuccess() bool

IsSuccess returns true when this create enrollment token o k response has a 2xx status code

func (*CreateEnrollmentTokenOK) String added in v1.13.0

func (o *CreateEnrollmentTokenOK) String() string

type CreateEnrollmentTokenParams

type CreateEnrollmentTokenParams struct {

	/* Body.

	   Request parameters for the enrollment token
	*/
	Body *models.EnrollmentTokenRequest

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

CreateEnrollmentTokenParams contains all the parameters to send to the API endpoint

for the create enrollment token operation.

Typically these are written to a http.Request.

func NewCreateEnrollmentTokenParams

func NewCreateEnrollmentTokenParams() *CreateEnrollmentTokenParams

NewCreateEnrollmentTokenParams creates a new CreateEnrollmentTokenParams 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 NewCreateEnrollmentTokenParamsWithContext

func NewCreateEnrollmentTokenParamsWithContext(ctx context.Context) *CreateEnrollmentTokenParams

NewCreateEnrollmentTokenParamsWithContext creates a new CreateEnrollmentTokenParams object with the ability to set a context for a request.

func NewCreateEnrollmentTokenParamsWithHTTPClient

func NewCreateEnrollmentTokenParamsWithHTTPClient(client *http.Client) *CreateEnrollmentTokenParams

NewCreateEnrollmentTokenParamsWithHTTPClient creates a new CreateEnrollmentTokenParams object with the ability to set a custom HTTPClient for a request.

func NewCreateEnrollmentTokenParamsWithTimeout

func NewCreateEnrollmentTokenParamsWithTimeout(timeout time.Duration) *CreateEnrollmentTokenParams

NewCreateEnrollmentTokenParamsWithTimeout creates a new CreateEnrollmentTokenParams object with the ability to set a timeout on a request.

func (*CreateEnrollmentTokenParams) SetBody

SetBody adds the body to the create enrollment token params

func (*CreateEnrollmentTokenParams) SetContext

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

SetContext adds the context to the create enrollment token params

func (*CreateEnrollmentTokenParams) SetDefaults added in v1.3.0

func (o *CreateEnrollmentTokenParams) SetDefaults()

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

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

func (*CreateEnrollmentTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create enrollment token params

func (*CreateEnrollmentTokenParams) SetTimeout

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

SetTimeout adds the timeout to the create enrollment token params

func (*CreateEnrollmentTokenParams) WithBody

WithBody adds the body to the create enrollment token params

func (*CreateEnrollmentTokenParams) WithContext

WithContext adds the context to the create enrollment token params

func (*CreateEnrollmentTokenParams) WithDefaults added in v1.3.0

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

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

func (*CreateEnrollmentTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create enrollment token params

func (*CreateEnrollmentTokenParams) WithTimeout

WithTimeout adds the timeout to the create enrollment token params

func (*CreateEnrollmentTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateEnrollmentTokenReader

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

CreateEnrollmentTokenReader is a Reader for the CreateEnrollmentToken structure.

func (*CreateEnrollmentTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateLdapConfigurationBadRequest

type CreateLdapConfigurationBadRequest struct {

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

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

* The realm id is already in use. (code: `security_realm.id_conflict`)

* The selected id is not valid. (code: `security_realm.invalid_id`) * Order must be greater than zero. (code: `security_realm.invalid_order`) * Invalid Elasticsearch Security realm type. (code: `security_realm.invalid_type`) * The realm order is already in use. (code: `security_realm.order_conflict`) * Advanced YAML format is invalid. (code: `security_realm.invalid_yaml`) * The url format is invalid. (code: `security_realm.invalid_url`) * Invalid LDAP URL. (code: `security_realm.ldap.invalid_url`) * Invalid certificate bundle URL. (code: `security_realm.invalid_bundle_url`)

func NewCreateLdapConfigurationBadRequest

func NewCreateLdapConfigurationBadRequest() *CreateLdapConfigurationBadRequest

NewCreateLdapConfigurationBadRequest creates a CreateLdapConfigurationBadRequest with default headers values

func (*CreateLdapConfigurationBadRequest) Code added in v1.13.0

Code gets the status code for the create ldap configuration bad request response

func (*CreateLdapConfigurationBadRequest) Error

func (*CreateLdapConfigurationBadRequest) GetPayload

func (*CreateLdapConfigurationBadRequest) IsClientError added in v1.13.0

func (o *CreateLdapConfigurationBadRequest) IsClientError() bool

IsClientError returns true when this create ldap configuration bad request response has a 4xx status code

func (*CreateLdapConfigurationBadRequest) IsCode added in v1.13.0

func (o *CreateLdapConfigurationBadRequest) IsCode(code int) bool

IsCode returns true when this create ldap configuration bad request response a status code equal to that given

func (*CreateLdapConfigurationBadRequest) IsRedirect added in v1.13.0

func (o *CreateLdapConfigurationBadRequest) IsRedirect() bool

IsRedirect returns true when this create ldap configuration bad request response has a 3xx status code

func (*CreateLdapConfigurationBadRequest) IsServerError added in v1.13.0

func (o *CreateLdapConfigurationBadRequest) IsServerError() bool

IsServerError returns true when this create ldap configuration bad request response has a 5xx status code

func (*CreateLdapConfigurationBadRequest) IsSuccess added in v1.13.0

func (o *CreateLdapConfigurationBadRequest) IsSuccess() bool

IsSuccess returns true when this create ldap configuration bad request response has a 2xx status code

func (*CreateLdapConfigurationBadRequest) String added in v1.13.0

type CreateLdapConfigurationCreated

type CreateLdapConfigurationCreated 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.EmptyResponse
}

CreateLdapConfigurationCreated describes a response with status code 201, with default header values.

The LDAP configuration was successfully created

func NewCreateLdapConfigurationCreated

func NewCreateLdapConfigurationCreated() *CreateLdapConfigurationCreated

NewCreateLdapConfigurationCreated creates a CreateLdapConfigurationCreated with default headers values

func (*CreateLdapConfigurationCreated) Code added in v1.13.0

Code gets the status code for the create ldap configuration created response

func (*CreateLdapConfigurationCreated) Error

func (*CreateLdapConfigurationCreated) GetPayload

func (*CreateLdapConfigurationCreated) IsClientError added in v1.13.0

func (o *CreateLdapConfigurationCreated) IsClientError() bool

IsClientError returns true when this create ldap configuration created response has a 4xx status code

func (*CreateLdapConfigurationCreated) IsCode added in v1.13.0

func (o *CreateLdapConfigurationCreated) IsCode(code int) bool

IsCode returns true when this create ldap configuration created response a status code equal to that given

func (*CreateLdapConfigurationCreated) IsRedirect added in v1.13.0

func (o *CreateLdapConfigurationCreated) IsRedirect() bool

IsRedirect returns true when this create ldap configuration created response has a 3xx status code

func (*CreateLdapConfigurationCreated) IsServerError added in v1.13.0

func (o *CreateLdapConfigurationCreated) IsServerError() bool

IsServerError returns true when this create ldap configuration created response has a 5xx status code

func (*CreateLdapConfigurationCreated) IsSuccess added in v1.13.0

func (o *CreateLdapConfigurationCreated) IsSuccess() bool

IsSuccess returns true when this create ldap configuration created response has a 2xx status code

func (*CreateLdapConfigurationCreated) String added in v1.13.0

type CreateLdapConfigurationParams

type CreateLdapConfigurationParams struct {

	/* Body.

	   The LDAP configuration
	*/
	Body *models.LdapSettings

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

CreateLdapConfigurationParams contains all the parameters to send to the API endpoint

for the create ldap configuration operation.

Typically these are written to a http.Request.

func NewCreateLdapConfigurationParams

func NewCreateLdapConfigurationParams() *CreateLdapConfigurationParams

NewCreateLdapConfigurationParams creates a new CreateLdapConfigurationParams 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 NewCreateLdapConfigurationParamsWithContext

func NewCreateLdapConfigurationParamsWithContext(ctx context.Context) *CreateLdapConfigurationParams

NewCreateLdapConfigurationParamsWithContext creates a new CreateLdapConfigurationParams object with the ability to set a context for a request.

func NewCreateLdapConfigurationParamsWithHTTPClient

func NewCreateLdapConfigurationParamsWithHTTPClient(client *http.Client) *CreateLdapConfigurationParams

NewCreateLdapConfigurationParamsWithHTTPClient creates a new CreateLdapConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewCreateLdapConfigurationParamsWithTimeout

func NewCreateLdapConfigurationParamsWithTimeout(timeout time.Duration) *CreateLdapConfigurationParams

NewCreateLdapConfigurationParamsWithTimeout creates a new CreateLdapConfigurationParams object with the ability to set a timeout on a request.

func (*CreateLdapConfigurationParams) SetBody

SetBody adds the body to the create ldap configuration params

func (*CreateLdapConfigurationParams) SetContext

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

SetContext adds the context to the create ldap configuration params

func (*CreateLdapConfigurationParams) SetDefaults added in v1.3.0

func (o *CreateLdapConfigurationParams) SetDefaults()

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

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

func (*CreateLdapConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create ldap configuration params

func (*CreateLdapConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the create ldap configuration params

func (*CreateLdapConfigurationParams) WithBody

WithBody adds the body to the create ldap configuration params

func (*CreateLdapConfigurationParams) WithContext

WithContext adds the context to the create ldap configuration params

func (*CreateLdapConfigurationParams) WithDefaults added in v1.3.0

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

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

func (*CreateLdapConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create ldap configuration params

func (*CreateLdapConfigurationParams) WithTimeout

WithTimeout adds the timeout to the create ldap configuration params

func (*CreateLdapConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateLdapConfigurationReader

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

CreateLdapConfigurationReader is a Reader for the CreateLdapConfiguration structure.

func (*CreateLdapConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSamlConfigurationBadRequest

type CreateSamlConfigurationBadRequest struct {

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

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

* The realm id is already in use. (code: `security_realm.id_conflict`)

* The selected id is not valid. (code: `security_realm.invalid_id`) * Order must be greater than zero. (code: `security_realm.invalid_order`) * Invalid Elasticsearch Security realm type. (code: `security_realm.invalid_type`) * The realm order is already in use. (code: `security_realm.order_conflict`) * Advanced YAML format is invalid. (code: `security_realm.invalid_yaml`) * The SAML IDP metadata endpoint returned an error response code 200 OK. (code: `security_realm.saml.invalid_idp_metadata_url`) * Invalid certificate bundle URL. (code: `security_realm.invalid_bundle_url`)

func NewCreateSamlConfigurationBadRequest

func NewCreateSamlConfigurationBadRequest() *CreateSamlConfigurationBadRequest

NewCreateSamlConfigurationBadRequest creates a CreateSamlConfigurationBadRequest with default headers values

func (*CreateSamlConfigurationBadRequest) Code added in v1.13.0

Code gets the status code for the create saml configuration bad request response

func (*CreateSamlConfigurationBadRequest) Error

func (*CreateSamlConfigurationBadRequest) GetPayload

func (*CreateSamlConfigurationBadRequest) IsClientError added in v1.13.0

func (o *CreateSamlConfigurationBadRequest) IsClientError() bool

IsClientError returns true when this create saml configuration bad request response has a 4xx status code

func (*CreateSamlConfigurationBadRequest) IsCode added in v1.13.0

func (o *CreateSamlConfigurationBadRequest) IsCode(code int) bool

IsCode returns true when this create saml configuration bad request response a status code equal to that given

func (*CreateSamlConfigurationBadRequest) IsRedirect added in v1.13.0

func (o *CreateSamlConfigurationBadRequest) IsRedirect() bool

IsRedirect returns true when this create saml configuration bad request response has a 3xx status code

func (*CreateSamlConfigurationBadRequest) IsServerError added in v1.13.0

func (o *CreateSamlConfigurationBadRequest) IsServerError() bool

IsServerError returns true when this create saml configuration bad request response has a 5xx status code

func (*CreateSamlConfigurationBadRequest) IsSuccess added in v1.13.0

func (o *CreateSamlConfigurationBadRequest) IsSuccess() bool

IsSuccess returns true when this create saml configuration bad request response has a 2xx status code

func (*CreateSamlConfigurationBadRequest) String added in v1.13.0

type CreateSamlConfigurationCreated

type CreateSamlConfigurationCreated 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.EmptyResponse
}

CreateSamlConfigurationCreated describes a response with status code 201, with default header values.

The SAML configuration was successfully created

func NewCreateSamlConfigurationCreated

func NewCreateSamlConfigurationCreated() *CreateSamlConfigurationCreated

NewCreateSamlConfigurationCreated creates a CreateSamlConfigurationCreated with default headers values

func (*CreateSamlConfigurationCreated) Code added in v1.13.0

Code gets the status code for the create saml configuration created response

func (*CreateSamlConfigurationCreated) Error

func (*CreateSamlConfigurationCreated) GetPayload

func (*CreateSamlConfigurationCreated) IsClientError added in v1.13.0

func (o *CreateSamlConfigurationCreated) IsClientError() bool

IsClientError returns true when this create saml configuration created response has a 4xx status code

func (*CreateSamlConfigurationCreated) IsCode added in v1.13.0

func (o *CreateSamlConfigurationCreated) IsCode(code int) bool

IsCode returns true when this create saml configuration created response a status code equal to that given

func (*CreateSamlConfigurationCreated) IsRedirect added in v1.13.0

func (o *CreateSamlConfigurationCreated) IsRedirect() bool

IsRedirect returns true when this create saml configuration created response has a 3xx status code

func (*CreateSamlConfigurationCreated) IsServerError added in v1.13.0

func (o *CreateSamlConfigurationCreated) IsServerError() bool

IsServerError returns true when this create saml configuration created response has a 5xx status code

func (*CreateSamlConfigurationCreated) IsSuccess added in v1.13.0

func (o *CreateSamlConfigurationCreated) IsSuccess() bool

IsSuccess returns true when this create saml configuration created response has a 2xx status code

func (*CreateSamlConfigurationCreated) String added in v1.13.0

type CreateSamlConfigurationParams

type CreateSamlConfigurationParams struct {

	/* Body.

	   The SAML configuration
	*/
	Body *models.SamlSettings

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

CreateSamlConfigurationParams contains all the parameters to send to the API endpoint

for the create saml configuration operation.

Typically these are written to a http.Request.

func NewCreateSamlConfigurationParams

func NewCreateSamlConfigurationParams() *CreateSamlConfigurationParams

NewCreateSamlConfigurationParams creates a new CreateSamlConfigurationParams 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 NewCreateSamlConfigurationParamsWithContext

func NewCreateSamlConfigurationParamsWithContext(ctx context.Context) *CreateSamlConfigurationParams

NewCreateSamlConfigurationParamsWithContext creates a new CreateSamlConfigurationParams object with the ability to set a context for a request.

func NewCreateSamlConfigurationParamsWithHTTPClient

func NewCreateSamlConfigurationParamsWithHTTPClient(client *http.Client) *CreateSamlConfigurationParams

NewCreateSamlConfigurationParamsWithHTTPClient creates a new CreateSamlConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSamlConfigurationParamsWithTimeout

func NewCreateSamlConfigurationParamsWithTimeout(timeout time.Duration) *CreateSamlConfigurationParams

NewCreateSamlConfigurationParamsWithTimeout creates a new CreateSamlConfigurationParams object with the ability to set a timeout on a request.

func (*CreateSamlConfigurationParams) SetBody

SetBody adds the body to the create saml configuration params

func (*CreateSamlConfigurationParams) SetContext

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

SetContext adds the context to the create saml configuration params

func (*CreateSamlConfigurationParams) SetDefaults added in v1.3.0

func (o *CreateSamlConfigurationParams) SetDefaults()

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

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

func (*CreateSamlConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create saml configuration params

func (*CreateSamlConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the create saml configuration params

func (*CreateSamlConfigurationParams) WithBody

WithBody adds the body to the create saml configuration params

func (*CreateSamlConfigurationParams) WithContext

WithContext adds the context to the create saml configuration params

func (*CreateSamlConfigurationParams) WithDefaults added in v1.3.0

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

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

func (*CreateSamlConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create saml configuration params

func (*CreateSamlConfigurationParams) WithTimeout

WithTimeout adds the timeout to the create saml configuration params

func (*CreateSamlConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSamlConfigurationReader

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

CreateSamlConfigurationReader is a Reader for the CreateSamlConfiguration structure.

func (*CreateSamlConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateSecurityDeploymentConflict

type CreateSecurityDeploymentConflict struct {

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

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

* There is a version conflict. (code: `security_deployment.version_conflict`)

* There is a version conflict. (code: `security_deployment.already_exists`)

func NewCreateSecurityDeploymentConflict

func NewCreateSecurityDeploymentConflict() *CreateSecurityDeploymentConflict

NewCreateSecurityDeploymentConflict creates a CreateSecurityDeploymentConflict with default headers values

func (*CreateSecurityDeploymentConflict) Code added in v1.13.0

Code gets the status code for the create security deployment conflict response

func (*CreateSecurityDeploymentConflict) Error

func (*CreateSecurityDeploymentConflict) GetPayload

func (*CreateSecurityDeploymentConflict) IsClientError added in v1.13.0

func (o *CreateSecurityDeploymentConflict) IsClientError() bool

IsClientError returns true when this create security deployment conflict response has a 4xx status code

func (*CreateSecurityDeploymentConflict) IsCode added in v1.13.0

func (o *CreateSecurityDeploymentConflict) IsCode(code int) bool

IsCode returns true when this create security deployment conflict response a status code equal to that given

func (*CreateSecurityDeploymentConflict) IsRedirect added in v1.13.0

func (o *CreateSecurityDeploymentConflict) IsRedirect() bool

IsRedirect returns true when this create security deployment conflict response has a 3xx status code

func (*CreateSecurityDeploymentConflict) IsServerError added in v1.13.0

func (o *CreateSecurityDeploymentConflict) IsServerError() bool

IsServerError returns true when this create security deployment conflict response has a 5xx status code

func (*CreateSecurityDeploymentConflict) IsSuccess added in v1.13.0

func (o *CreateSecurityDeploymentConflict) IsSuccess() bool

IsSuccess returns true when this create security deployment conflict response has a 2xx status code

func (*CreateSecurityDeploymentConflict) String added in v1.13.0

type CreateSecurityDeploymentCreated

type CreateSecurityDeploymentCreated 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.IDResponse
}

CreateSecurityDeploymentCreated describes a response with status code 201, with default header values.

The security deployment was successfully created

func NewCreateSecurityDeploymentCreated

func NewCreateSecurityDeploymentCreated() *CreateSecurityDeploymentCreated

NewCreateSecurityDeploymentCreated creates a CreateSecurityDeploymentCreated with default headers values

func (*CreateSecurityDeploymentCreated) Code added in v1.13.0

Code gets the status code for the create security deployment created response

func (*CreateSecurityDeploymentCreated) Error

func (*CreateSecurityDeploymentCreated) GetPayload

func (*CreateSecurityDeploymentCreated) IsClientError added in v1.13.0

func (o *CreateSecurityDeploymentCreated) IsClientError() bool

IsClientError returns true when this create security deployment created response has a 4xx status code

func (*CreateSecurityDeploymentCreated) IsCode added in v1.13.0

func (o *CreateSecurityDeploymentCreated) IsCode(code int) bool

IsCode returns true when this create security deployment created response a status code equal to that given

func (*CreateSecurityDeploymentCreated) IsRedirect added in v1.13.0

func (o *CreateSecurityDeploymentCreated) IsRedirect() bool

IsRedirect returns true when this create security deployment created response has a 3xx status code

func (*CreateSecurityDeploymentCreated) IsServerError added in v1.13.0

func (o *CreateSecurityDeploymentCreated) IsServerError() bool

IsServerError returns true when this create security deployment created response has a 5xx status code

func (*CreateSecurityDeploymentCreated) IsSuccess added in v1.13.0

func (o *CreateSecurityDeploymentCreated) IsSuccess() bool

IsSuccess returns true when this create security deployment created response has a 2xx status code

func (*CreateSecurityDeploymentCreated) String added in v1.13.0

type CreateSecurityDeploymentParams

type CreateSecurityDeploymentParams struct {

	/* Body.

	   The deployment request
	*/
	Body *models.SecurityDeploymentCreateRequest

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

CreateSecurityDeploymentParams contains all the parameters to send to the API endpoint

for the create security deployment operation.

Typically these are written to a http.Request.

func NewCreateSecurityDeploymentParams

func NewCreateSecurityDeploymentParams() *CreateSecurityDeploymentParams

NewCreateSecurityDeploymentParams creates a new CreateSecurityDeploymentParams 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 NewCreateSecurityDeploymentParamsWithContext

func NewCreateSecurityDeploymentParamsWithContext(ctx context.Context) *CreateSecurityDeploymentParams

NewCreateSecurityDeploymentParamsWithContext creates a new CreateSecurityDeploymentParams object with the ability to set a context for a request.

func NewCreateSecurityDeploymentParamsWithHTTPClient

func NewCreateSecurityDeploymentParamsWithHTTPClient(client *http.Client) *CreateSecurityDeploymentParams

NewCreateSecurityDeploymentParamsWithHTTPClient creates a new CreateSecurityDeploymentParams object with the ability to set a custom HTTPClient for a request.

func NewCreateSecurityDeploymentParamsWithTimeout

func NewCreateSecurityDeploymentParamsWithTimeout(timeout time.Duration) *CreateSecurityDeploymentParams

NewCreateSecurityDeploymentParamsWithTimeout creates a new CreateSecurityDeploymentParams object with the ability to set a timeout on a request.

func (*CreateSecurityDeploymentParams) SetBody

SetBody adds the body to the create security deployment params

func (*CreateSecurityDeploymentParams) SetContext

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

SetContext adds the context to the create security deployment params

func (*CreateSecurityDeploymentParams) SetDefaults added in v1.3.0

func (o *CreateSecurityDeploymentParams) SetDefaults()

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

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

func (*CreateSecurityDeploymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create security deployment params

func (*CreateSecurityDeploymentParams) SetTimeout

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

SetTimeout adds the timeout to the create security deployment params

func (*CreateSecurityDeploymentParams) WithBody

WithBody adds the body to the create security deployment params

func (*CreateSecurityDeploymentParams) WithContext

WithContext adds the context to the create security deployment params

func (*CreateSecurityDeploymentParams) WithDefaults added in v1.3.0

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

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

func (*CreateSecurityDeploymentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create security deployment params

func (*CreateSecurityDeploymentParams) WithTimeout

WithTimeout adds the timeout to the create security deployment params

func (*CreateSecurityDeploymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateSecurityDeploymentReader

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

CreateSecurityDeploymentReader is a Reader for the CreateSecurityDeployment structure.

func (*CreateSecurityDeploymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteActiveDirectoryConfigurationConflict

type DeleteActiveDirectoryConfigurationConflict struct {

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

	Payload *models.BasicFailedReply
}

DeleteActiveDirectoryConfigurationConflict describes a response with status code 409, with default header values.

There is a version conflict. (code: `security_realm.version_conflict`)

func NewDeleteActiveDirectoryConfigurationConflict

func NewDeleteActiveDirectoryConfigurationConflict() *DeleteActiveDirectoryConfigurationConflict

NewDeleteActiveDirectoryConfigurationConflict creates a DeleteActiveDirectoryConfigurationConflict with default headers values

func (*DeleteActiveDirectoryConfigurationConflict) Code added in v1.13.0

Code gets the status code for the delete active directory configuration conflict response

func (*DeleteActiveDirectoryConfigurationConflict) Error

func (*DeleteActiveDirectoryConfigurationConflict) GetPayload

func (*DeleteActiveDirectoryConfigurationConflict) IsClientError added in v1.13.0

IsClientError returns true when this delete active directory configuration conflict response has a 4xx status code

func (*DeleteActiveDirectoryConfigurationConflict) IsCode added in v1.13.0

IsCode returns true when this delete active directory configuration conflict response a status code equal to that given

func (*DeleteActiveDirectoryConfigurationConflict) IsRedirect added in v1.13.0

IsRedirect returns true when this delete active directory configuration conflict response has a 3xx status code

func (*DeleteActiveDirectoryConfigurationConflict) IsServerError added in v1.13.0

IsServerError returns true when this delete active directory configuration conflict response has a 5xx status code

func (*DeleteActiveDirectoryConfigurationConflict) IsSuccess added in v1.13.0

IsSuccess returns true when this delete active directory configuration conflict response has a 2xx status code

func (*DeleteActiveDirectoryConfigurationConflict) String added in v1.13.0

type DeleteActiveDirectoryConfigurationNotFound

type DeleteActiveDirectoryConfigurationNotFound struct {

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

	Payload *models.BasicFailedReply
}

DeleteActiveDirectoryConfigurationNotFound describes a response with status code 404, with default header values.

The realm specified by {realm_id} cannot be found. (code: `security_realm.not_found`)

func NewDeleteActiveDirectoryConfigurationNotFound

func NewDeleteActiveDirectoryConfigurationNotFound() *DeleteActiveDirectoryConfigurationNotFound

NewDeleteActiveDirectoryConfigurationNotFound creates a DeleteActiveDirectoryConfigurationNotFound with default headers values

func (*DeleteActiveDirectoryConfigurationNotFound) Code added in v1.13.0

Code gets the status code for the delete active directory configuration not found response

func (*DeleteActiveDirectoryConfigurationNotFound) Error

func (*DeleteActiveDirectoryConfigurationNotFound) GetPayload

func (*DeleteActiveDirectoryConfigurationNotFound) IsClientError added in v1.13.0

IsClientError returns true when this delete active directory configuration not found response has a 4xx status code

func (*DeleteActiveDirectoryConfigurationNotFound) IsCode added in v1.13.0

IsCode returns true when this delete active directory configuration not found response a status code equal to that given

func (*DeleteActiveDirectoryConfigurationNotFound) IsRedirect added in v1.13.0

IsRedirect returns true when this delete active directory configuration not found response has a 3xx status code

func (*DeleteActiveDirectoryConfigurationNotFound) IsServerError added in v1.13.0

IsServerError returns true when this delete active directory configuration not found response has a 5xx status code

func (*DeleteActiveDirectoryConfigurationNotFound) IsSuccess added in v1.13.0

IsSuccess returns true when this delete active directory configuration not found response has a 2xx status code

func (*DeleteActiveDirectoryConfigurationNotFound) String added in v1.13.0

type DeleteActiveDirectoryConfigurationOK

type DeleteActiveDirectoryConfigurationOK struct {
	Payload models.EmptyResponse
}

DeleteActiveDirectoryConfigurationOK describes a response with status code 200, with default header values.

The Active Directory configuration was successfully deleted

func NewDeleteActiveDirectoryConfigurationOK

func NewDeleteActiveDirectoryConfigurationOK() *DeleteActiveDirectoryConfigurationOK

NewDeleteActiveDirectoryConfigurationOK creates a DeleteActiveDirectoryConfigurationOK with default headers values

func (*DeleteActiveDirectoryConfigurationOK) Code added in v1.13.0

Code gets the status code for the delete active directory configuration o k response

func (*DeleteActiveDirectoryConfigurationOK) Error

func (*DeleteActiveDirectoryConfigurationOK) GetPayload

func (*DeleteActiveDirectoryConfigurationOK) IsClientError added in v1.13.0

func (o *DeleteActiveDirectoryConfigurationOK) IsClientError() bool

IsClientError returns true when this delete active directory configuration o k response has a 4xx status code

func (*DeleteActiveDirectoryConfigurationOK) IsCode added in v1.13.0

IsCode returns true when this delete active directory configuration o k response a status code equal to that given

func (*DeleteActiveDirectoryConfigurationOK) IsRedirect added in v1.13.0

IsRedirect returns true when this delete active directory configuration o k response has a 3xx status code

func (*DeleteActiveDirectoryConfigurationOK) IsServerError added in v1.13.0

func (o *DeleteActiveDirectoryConfigurationOK) IsServerError() bool

IsServerError returns true when this delete active directory configuration o k response has a 5xx status code

func (*DeleteActiveDirectoryConfigurationOK) IsSuccess added in v1.13.0

IsSuccess returns true when this delete active directory configuration o k response has a 2xx status code

func (*DeleteActiveDirectoryConfigurationOK) String added in v1.13.0

type DeleteActiveDirectoryConfigurationParams

type DeleteActiveDirectoryConfigurationParams struct {

	/* RealmID.

	   The Elasticsearch Security realm identifier.
	*/
	RealmID string

	/* Version.

	   When specified, checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request)
	*/
	Version *string

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

DeleteActiveDirectoryConfigurationParams contains all the parameters to send to the API endpoint

for the delete active directory configuration operation.

Typically these are written to a http.Request.

func NewDeleteActiveDirectoryConfigurationParams

func NewDeleteActiveDirectoryConfigurationParams() *DeleteActiveDirectoryConfigurationParams

NewDeleteActiveDirectoryConfigurationParams creates a new DeleteActiveDirectoryConfigurationParams 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 NewDeleteActiveDirectoryConfigurationParamsWithContext

func NewDeleteActiveDirectoryConfigurationParamsWithContext(ctx context.Context) *DeleteActiveDirectoryConfigurationParams

NewDeleteActiveDirectoryConfigurationParamsWithContext creates a new DeleteActiveDirectoryConfigurationParams object with the ability to set a context for a request.

func NewDeleteActiveDirectoryConfigurationParamsWithHTTPClient

func NewDeleteActiveDirectoryConfigurationParamsWithHTTPClient(client *http.Client) *DeleteActiveDirectoryConfigurationParams

NewDeleteActiveDirectoryConfigurationParamsWithHTTPClient creates a new DeleteActiveDirectoryConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteActiveDirectoryConfigurationParamsWithTimeout

func NewDeleteActiveDirectoryConfigurationParamsWithTimeout(timeout time.Duration) *DeleteActiveDirectoryConfigurationParams

NewDeleteActiveDirectoryConfigurationParamsWithTimeout creates a new DeleteActiveDirectoryConfigurationParams object with the ability to set a timeout on a request.

func (*DeleteActiveDirectoryConfigurationParams) SetContext

SetContext adds the context to the delete active directory configuration params

func (*DeleteActiveDirectoryConfigurationParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the delete active directory configuration params (not the query body).

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

func (*DeleteActiveDirectoryConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete active directory configuration params

func (*DeleteActiveDirectoryConfigurationParams) SetRealmID

func (o *DeleteActiveDirectoryConfigurationParams) SetRealmID(realmID string)

SetRealmID adds the realmId to the delete active directory configuration params

func (*DeleteActiveDirectoryConfigurationParams) SetTimeout

SetTimeout adds the timeout to the delete active directory configuration params

func (*DeleteActiveDirectoryConfigurationParams) SetVersion

func (o *DeleteActiveDirectoryConfigurationParams) SetVersion(version *string)

SetVersion adds the version to the delete active directory configuration params

func (*DeleteActiveDirectoryConfigurationParams) WithContext

WithContext adds the context to the delete active directory configuration params

func (*DeleteActiveDirectoryConfigurationParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the delete active directory configuration params (not the query body).

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

func (*DeleteActiveDirectoryConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete active directory configuration params

func (*DeleteActiveDirectoryConfigurationParams) WithRealmID

WithRealmID adds the realmID to the delete active directory configuration params

func (*DeleteActiveDirectoryConfigurationParams) WithTimeout

WithTimeout adds the timeout to the delete active directory configuration params

func (*DeleteActiveDirectoryConfigurationParams) WithVersion

WithVersion adds the version to the delete active directory configuration params

func (*DeleteActiveDirectoryConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteActiveDirectoryConfigurationReader

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

DeleteActiveDirectoryConfigurationReader is a Reader for the DeleteActiveDirectoryConfiguration structure.

func (*DeleteActiveDirectoryConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteEnrollmentTokenNotFound

type DeleteEnrollmentTokenNotFound struct {
	Payload *models.BasicFailedReply
}

DeleteEnrollmentTokenNotFound describes a response with status code 404, with default header values.

Token not found (code: 'enrollment_tokens.invalid_token_id')

func NewDeleteEnrollmentTokenNotFound

func NewDeleteEnrollmentTokenNotFound() *DeleteEnrollmentTokenNotFound

NewDeleteEnrollmentTokenNotFound creates a DeleteEnrollmentTokenNotFound with default headers values

func (*DeleteEnrollmentTokenNotFound) Code added in v1.13.0

Code gets the status code for the delete enrollment token not found response

func (*DeleteEnrollmentTokenNotFound) Error

func (*DeleteEnrollmentTokenNotFound) GetPayload

func (*DeleteEnrollmentTokenNotFound) IsClientError added in v1.13.0

func (o *DeleteEnrollmentTokenNotFound) IsClientError() bool

IsClientError returns true when this delete enrollment token not found response has a 4xx status code

func (*DeleteEnrollmentTokenNotFound) IsCode added in v1.13.0

func (o *DeleteEnrollmentTokenNotFound) IsCode(code int) bool

IsCode returns true when this delete enrollment token not found response a status code equal to that given

func (*DeleteEnrollmentTokenNotFound) IsRedirect added in v1.13.0

func (o *DeleteEnrollmentTokenNotFound) IsRedirect() bool

IsRedirect returns true when this delete enrollment token not found response has a 3xx status code

func (*DeleteEnrollmentTokenNotFound) IsServerError added in v1.13.0

func (o *DeleteEnrollmentTokenNotFound) IsServerError() bool

IsServerError returns true when this delete enrollment token not found response has a 5xx status code

func (*DeleteEnrollmentTokenNotFound) IsSuccess added in v1.13.0

func (o *DeleteEnrollmentTokenNotFound) IsSuccess() bool

IsSuccess returns true when this delete enrollment token not found response has a 2xx status code

func (*DeleteEnrollmentTokenNotFound) String added in v1.13.0

type DeleteEnrollmentTokenOK

type DeleteEnrollmentTokenOK struct {
	Payload models.EmptyResponse
}

DeleteEnrollmentTokenOK describes a response with status code 200, with default header values.

The supplied token has been revoked and can no longer be used to start services on new servers

func NewDeleteEnrollmentTokenOK

func NewDeleteEnrollmentTokenOK() *DeleteEnrollmentTokenOK

NewDeleteEnrollmentTokenOK creates a DeleteEnrollmentTokenOK with default headers values

func (*DeleteEnrollmentTokenOK) Code added in v1.13.0

func (o *DeleteEnrollmentTokenOK) Code() int

Code gets the status code for the delete enrollment token o k response

func (*DeleteEnrollmentTokenOK) Error

func (o *DeleteEnrollmentTokenOK) Error() string

func (*DeleteEnrollmentTokenOK) GetPayload

func (*DeleteEnrollmentTokenOK) IsClientError added in v1.13.0

func (o *DeleteEnrollmentTokenOK) IsClientError() bool

IsClientError returns true when this delete enrollment token o k response has a 4xx status code

func (*DeleteEnrollmentTokenOK) IsCode added in v1.13.0

func (o *DeleteEnrollmentTokenOK) IsCode(code int) bool

IsCode returns true when this delete enrollment token o k response a status code equal to that given

func (*DeleteEnrollmentTokenOK) IsRedirect added in v1.13.0

func (o *DeleteEnrollmentTokenOK) IsRedirect() bool

IsRedirect returns true when this delete enrollment token o k response has a 3xx status code

func (*DeleteEnrollmentTokenOK) IsServerError added in v1.13.0

func (o *DeleteEnrollmentTokenOK) IsServerError() bool

IsServerError returns true when this delete enrollment token o k response has a 5xx status code

func (*DeleteEnrollmentTokenOK) IsSuccess added in v1.13.0

func (o *DeleteEnrollmentTokenOK) IsSuccess() bool

IsSuccess returns true when this delete enrollment token o k response has a 2xx status code

func (*DeleteEnrollmentTokenOK) String added in v1.13.0

func (o *DeleteEnrollmentTokenOK) String() string

type DeleteEnrollmentTokenParams

type DeleteEnrollmentTokenParams struct {

	/* Token.

	   The token or token identifier to revoke.
	*/
	Token string

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

DeleteEnrollmentTokenParams contains all the parameters to send to the API endpoint

for the delete enrollment token operation.

Typically these are written to a http.Request.

func NewDeleteEnrollmentTokenParams

func NewDeleteEnrollmentTokenParams() *DeleteEnrollmentTokenParams

NewDeleteEnrollmentTokenParams creates a new DeleteEnrollmentTokenParams 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 NewDeleteEnrollmentTokenParamsWithContext

func NewDeleteEnrollmentTokenParamsWithContext(ctx context.Context) *DeleteEnrollmentTokenParams

NewDeleteEnrollmentTokenParamsWithContext creates a new DeleteEnrollmentTokenParams object with the ability to set a context for a request.

func NewDeleteEnrollmentTokenParamsWithHTTPClient

func NewDeleteEnrollmentTokenParamsWithHTTPClient(client *http.Client) *DeleteEnrollmentTokenParams

NewDeleteEnrollmentTokenParamsWithHTTPClient creates a new DeleteEnrollmentTokenParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteEnrollmentTokenParamsWithTimeout

func NewDeleteEnrollmentTokenParamsWithTimeout(timeout time.Duration) *DeleteEnrollmentTokenParams

NewDeleteEnrollmentTokenParamsWithTimeout creates a new DeleteEnrollmentTokenParams object with the ability to set a timeout on a request.

func (*DeleteEnrollmentTokenParams) SetContext

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

SetContext adds the context to the delete enrollment token params

func (*DeleteEnrollmentTokenParams) SetDefaults added in v1.3.0

func (o *DeleteEnrollmentTokenParams) SetDefaults()

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

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

func (*DeleteEnrollmentTokenParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete enrollment token params

func (*DeleteEnrollmentTokenParams) SetTimeout

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

SetTimeout adds the timeout to the delete enrollment token params

func (*DeleteEnrollmentTokenParams) SetToken

func (o *DeleteEnrollmentTokenParams) SetToken(token string)

SetToken adds the token to the delete enrollment token params

func (*DeleteEnrollmentTokenParams) WithContext

WithContext adds the context to the delete enrollment token params

func (*DeleteEnrollmentTokenParams) WithDefaults added in v1.3.0

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

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

func (*DeleteEnrollmentTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete enrollment token params

func (*DeleteEnrollmentTokenParams) WithTimeout

WithTimeout adds the timeout to the delete enrollment token params

func (*DeleteEnrollmentTokenParams) WithToken

WithToken adds the token to the delete enrollment token params

func (*DeleteEnrollmentTokenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteEnrollmentTokenReader

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

DeleteEnrollmentTokenReader is a Reader for the DeleteEnrollmentToken structure.

func (*DeleteEnrollmentTokenReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteLdapConfigurationConflict

type DeleteLdapConfigurationConflict struct {

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

	Payload *models.BasicFailedReply
}

DeleteLdapConfigurationConflict describes a response with status code 409, with default header values.

There is a version conflict. (code: `security_realm.version_conflict`)

func NewDeleteLdapConfigurationConflict

func NewDeleteLdapConfigurationConflict() *DeleteLdapConfigurationConflict

NewDeleteLdapConfigurationConflict creates a DeleteLdapConfigurationConflict with default headers values

func (*DeleteLdapConfigurationConflict) Code added in v1.13.0

Code gets the status code for the delete ldap configuration conflict response

func (*DeleteLdapConfigurationConflict) Error

func (*DeleteLdapConfigurationConflict) GetPayload

func (*DeleteLdapConfigurationConflict) IsClientError added in v1.13.0

func (o *DeleteLdapConfigurationConflict) IsClientError() bool

IsClientError returns true when this delete ldap configuration conflict response has a 4xx status code

func (*DeleteLdapConfigurationConflict) IsCode added in v1.13.0

func (o *DeleteLdapConfigurationConflict) IsCode(code int) bool

IsCode returns true when this delete ldap configuration conflict response a status code equal to that given

func (*DeleteLdapConfigurationConflict) IsRedirect added in v1.13.0

func (o *DeleteLdapConfigurationConflict) IsRedirect() bool

IsRedirect returns true when this delete ldap configuration conflict response has a 3xx status code

func (*DeleteLdapConfigurationConflict) IsServerError added in v1.13.0

func (o *DeleteLdapConfigurationConflict) IsServerError() bool

IsServerError returns true when this delete ldap configuration conflict response has a 5xx status code

func (*DeleteLdapConfigurationConflict) IsSuccess added in v1.13.0

func (o *DeleteLdapConfigurationConflict) IsSuccess() bool

IsSuccess returns true when this delete ldap configuration conflict response has a 2xx status code

func (*DeleteLdapConfigurationConflict) String added in v1.13.0

type DeleteLdapConfigurationNotFound

type DeleteLdapConfigurationNotFound struct {

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

	Payload *models.BasicFailedReply
}

DeleteLdapConfigurationNotFound describes a response with status code 404, with default header values.

The realm specified by {realm_id} cannot be found. (code: `security_realm.not_found`)

func NewDeleteLdapConfigurationNotFound

func NewDeleteLdapConfigurationNotFound() *DeleteLdapConfigurationNotFound

NewDeleteLdapConfigurationNotFound creates a DeleteLdapConfigurationNotFound with default headers values

func (*DeleteLdapConfigurationNotFound) Code added in v1.13.0

Code gets the status code for the delete ldap configuration not found response

func (*DeleteLdapConfigurationNotFound) Error

func (*DeleteLdapConfigurationNotFound) GetPayload

func (*DeleteLdapConfigurationNotFound) IsClientError added in v1.13.0

func (o *DeleteLdapConfigurationNotFound) IsClientError() bool

IsClientError returns true when this delete ldap configuration not found response has a 4xx status code

func (*DeleteLdapConfigurationNotFound) IsCode added in v1.13.0

func (o *DeleteLdapConfigurationNotFound) IsCode(code int) bool

IsCode returns true when this delete ldap configuration not found response a status code equal to that given

func (*DeleteLdapConfigurationNotFound) IsRedirect added in v1.13.0

func (o *DeleteLdapConfigurationNotFound) IsRedirect() bool

IsRedirect returns true when this delete ldap configuration not found response has a 3xx status code

func (*DeleteLdapConfigurationNotFound) IsServerError added in v1.13.0

func (o *DeleteLdapConfigurationNotFound) IsServerError() bool

IsServerError returns true when this delete ldap configuration not found response has a 5xx status code

func (*DeleteLdapConfigurationNotFound) IsSuccess added in v1.13.0

func (o *DeleteLdapConfigurationNotFound) IsSuccess() bool

IsSuccess returns true when this delete ldap configuration not found response has a 2xx status code

func (*DeleteLdapConfigurationNotFound) String added in v1.13.0

type DeleteLdapConfigurationOK

type DeleteLdapConfigurationOK struct {
	Payload models.EmptyResponse
}

DeleteLdapConfigurationOK describes a response with status code 200, with default header values.

The LDAP configuration was successfully deleted

func NewDeleteLdapConfigurationOK

func NewDeleteLdapConfigurationOK() *DeleteLdapConfigurationOK

NewDeleteLdapConfigurationOK creates a DeleteLdapConfigurationOK with default headers values

func (*DeleteLdapConfigurationOK) Code added in v1.13.0

func (o *DeleteLdapConfigurationOK) Code() int

Code gets the status code for the delete ldap configuration o k response

func (*DeleteLdapConfigurationOK) Error

func (o *DeleteLdapConfigurationOK) Error() string

func (*DeleteLdapConfigurationOK) GetPayload

func (*DeleteLdapConfigurationOK) IsClientError added in v1.13.0

func (o *DeleteLdapConfigurationOK) IsClientError() bool

IsClientError returns true when this delete ldap configuration o k response has a 4xx status code

func (*DeleteLdapConfigurationOK) IsCode added in v1.13.0

func (o *DeleteLdapConfigurationOK) IsCode(code int) bool

IsCode returns true when this delete ldap configuration o k response a status code equal to that given

func (*DeleteLdapConfigurationOK) IsRedirect added in v1.13.0

func (o *DeleteLdapConfigurationOK) IsRedirect() bool

IsRedirect returns true when this delete ldap configuration o k response has a 3xx status code

func (*DeleteLdapConfigurationOK) IsServerError added in v1.13.0

func (o *DeleteLdapConfigurationOK) IsServerError() bool

IsServerError returns true when this delete ldap configuration o k response has a 5xx status code

func (*DeleteLdapConfigurationOK) IsSuccess added in v1.13.0

func (o *DeleteLdapConfigurationOK) IsSuccess() bool

IsSuccess returns true when this delete ldap configuration o k response has a 2xx status code

func (*DeleteLdapConfigurationOK) String added in v1.13.0

func (o *DeleteLdapConfigurationOK) String() string

type DeleteLdapConfigurationParams

type DeleteLdapConfigurationParams struct {

	/* RealmID.

	   The Elasticsearch Security realm identifier.
	*/
	RealmID string

	/* Version.

	   When specified, checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request)
	*/
	Version *string

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

DeleteLdapConfigurationParams contains all the parameters to send to the API endpoint

for the delete ldap configuration operation.

Typically these are written to a http.Request.

func NewDeleteLdapConfigurationParams

func NewDeleteLdapConfigurationParams() *DeleteLdapConfigurationParams

NewDeleteLdapConfigurationParams creates a new DeleteLdapConfigurationParams 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 NewDeleteLdapConfigurationParamsWithContext

func NewDeleteLdapConfigurationParamsWithContext(ctx context.Context) *DeleteLdapConfigurationParams

NewDeleteLdapConfigurationParamsWithContext creates a new DeleteLdapConfigurationParams object with the ability to set a context for a request.

func NewDeleteLdapConfigurationParamsWithHTTPClient

func NewDeleteLdapConfigurationParamsWithHTTPClient(client *http.Client) *DeleteLdapConfigurationParams

NewDeleteLdapConfigurationParamsWithHTTPClient creates a new DeleteLdapConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteLdapConfigurationParamsWithTimeout

func NewDeleteLdapConfigurationParamsWithTimeout(timeout time.Duration) *DeleteLdapConfigurationParams

NewDeleteLdapConfigurationParamsWithTimeout creates a new DeleteLdapConfigurationParams object with the ability to set a timeout on a request.

func (*DeleteLdapConfigurationParams) SetContext

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

SetContext adds the context to the delete ldap configuration params

func (*DeleteLdapConfigurationParams) SetDefaults added in v1.3.0

func (o *DeleteLdapConfigurationParams) SetDefaults()

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

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

func (*DeleteLdapConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete ldap configuration params

func (*DeleteLdapConfigurationParams) SetRealmID

func (o *DeleteLdapConfigurationParams) SetRealmID(realmID string)

SetRealmID adds the realmId to the delete ldap configuration params

func (*DeleteLdapConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the delete ldap configuration params

func (*DeleteLdapConfigurationParams) SetVersion

func (o *DeleteLdapConfigurationParams) SetVersion(version *string)

SetVersion adds the version to the delete ldap configuration params

func (*DeleteLdapConfigurationParams) WithContext

WithContext adds the context to the delete ldap configuration params

func (*DeleteLdapConfigurationParams) WithDefaults added in v1.3.0

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

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

func (*DeleteLdapConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete ldap configuration params

func (*DeleteLdapConfigurationParams) WithRealmID

WithRealmID adds the realmID to the delete ldap configuration params

func (*DeleteLdapConfigurationParams) WithTimeout

WithTimeout adds the timeout to the delete ldap configuration params

func (*DeleteLdapConfigurationParams) WithVersion

WithVersion adds the version to the delete ldap configuration params

func (*DeleteLdapConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteLdapConfigurationReader

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

DeleteLdapConfigurationReader is a Reader for the DeleteLdapConfiguration structure.

func (*DeleteLdapConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSamlConfigurationConflict

type DeleteSamlConfigurationConflict struct {

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

	Payload *models.BasicFailedReply
}

DeleteSamlConfigurationConflict describes a response with status code 409, with default header values.

There is a version conflict. (code: `security_realm.version_conflict`)

func NewDeleteSamlConfigurationConflict

func NewDeleteSamlConfigurationConflict() *DeleteSamlConfigurationConflict

NewDeleteSamlConfigurationConflict creates a DeleteSamlConfigurationConflict with default headers values

func (*DeleteSamlConfigurationConflict) Code added in v1.13.0

Code gets the status code for the delete saml configuration conflict response

func (*DeleteSamlConfigurationConflict) Error

func (*DeleteSamlConfigurationConflict) GetPayload

func (*DeleteSamlConfigurationConflict) IsClientError added in v1.13.0

func (o *DeleteSamlConfigurationConflict) IsClientError() bool

IsClientError returns true when this delete saml configuration conflict response has a 4xx status code

func (*DeleteSamlConfigurationConflict) IsCode added in v1.13.0

func (o *DeleteSamlConfigurationConflict) IsCode(code int) bool

IsCode returns true when this delete saml configuration conflict response a status code equal to that given

func (*DeleteSamlConfigurationConflict) IsRedirect added in v1.13.0

func (o *DeleteSamlConfigurationConflict) IsRedirect() bool

IsRedirect returns true when this delete saml configuration conflict response has a 3xx status code

func (*DeleteSamlConfigurationConflict) IsServerError added in v1.13.0

func (o *DeleteSamlConfigurationConflict) IsServerError() bool

IsServerError returns true when this delete saml configuration conflict response has a 5xx status code

func (*DeleteSamlConfigurationConflict) IsSuccess added in v1.13.0

func (o *DeleteSamlConfigurationConflict) IsSuccess() bool

IsSuccess returns true when this delete saml configuration conflict response has a 2xx status code

func (*DeleteSamlConfigurationConflict) String added in v1.13.0

type DeleteSamlConfigurationNotFound

type DeleteSamlConfigurationNotFound struct {

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

	Payload *models.BasicFailedReply
}

DeleteSamlConfigurationNotFound describes a response with status code 404, with default header values.

The realm specified by {realm_id} cannot be found. (code: `security_realm.not_found`)

func NewDeleteSamlConfigurationNotFound

func NewDeleteSamlConfigurationNotFound() *DeleteSamlConfigurationNotFound

NewDeleteSamlConfigurationNotFound creates a DeleteSamlConfigurationNotFound with default headers values

func (*DeleteSamlConfigurationNotFound) Code added in v1.13.0

Code gets the status code for the delete saml configuration not found response

func (*DeleteSamlConfigurationNotFound) Error

func (*DeleteSamlConfigurationNotFound) GetPayload

func (*DeleteSamlConfigurationNotFound) IsClientError added in v1.13.0

func (o *DeleteSamlConfigurationNotFound) IsClientError() bool

IsClientError returns true when this delete saml configuration not found response has a 4xx status code

func (*DeleteSamlConfigurationNotFound) IsCode added in v1.13.0

func (o *DeleteSamlConfigurationNotFound) IsCode(code int) bool

IsCode returns true when this delete saml configuration not found response a status code equal to that given

func (*DeleteSamlConfigurationNotFound) IsRedirect added in v1.13.0

func (o *DeleteSamlConfigurationNotFound) IsRedirect() bool

IsRedirect returns true when this delete saml configuration not found response has a 3xx status code

func (*DeleteSamlConfigurationNotFound) IsServerError added in v1.13.0

func (o *DeleteSamlConfigurationNotFound) IsServerError() bool

IsServerError returns true when this delete saml configuration not found response has a 5xx status code

func (*DeleteSamlConfigurationNotFound) IsSuccess added in v1.13.0

func (o *DeleteSamlConfigurationNotFound) IsSuccess() bool

IsSuccess returns true when this delete saml configuration not found response has a 2xx status code

func (*DeleteSamlConfigurationNotFound) String added in v1.13.0

type DeleteSamlConfigurationOK

type DeleteSamlConfigurationOK struct {
	Payload models.EmptyResponse
}

DeleteSamlConfigurationOK describes a response with status code 200, with default header values.

The SAML configuration was successfully deleted

func NewDeleteSamlConfigurationOK

func NewDeleteSamlConfigurationOK() *DeleteSamlConfigurationOK

NewDeleteSamlConfigurationOK creates a DeleteSamlConfigurationOK with default headers values

func (*DeleteSamlConfigurationOK) Code added in v1.13.0

func (o *DeleteSamlConfigurationOK) Code() int

Code gets the status code for the delete saml configuration o k response

func (*DeleteSamlConfigurationOK) Error

func (o *DeleteSamlConfigurationOK) Error() string

func (*DeleteSamlConfigurationOK) GetPayload

func (*DeleteSamlConfigurationOK) IsClientError added in v1.13.0

func (o *DeleteSamlConfigurationOK) IsClientError() bool

IsClientError returns true when this delete saml configuration o k response has a 4xx status code

func (*DeleteSamlConfigurationOK) IsCode added in v1.13.0

func (o *DeleteSamlConfigurationOK) IsCode(code int) bool

IsCode returns true when this delete saml configuration o k response a status code equal to that given

func (*DeleteSamlConfigurationOK) IsRedirect added in v1.13.0

func (o *DeleteSamlConfigurationOK) IsRedirect() bool

IsRedirect returns true when this delete saml configuration o k response has a 3xx status code

func (*DeleteSamlConfigurationOK) IsServerError added in v1.13.0

func (o *DeleteSamlConfigurationOK) IsServerError() bool

IsServerError returns true when this delete saml configuration o k response has a 5xx status code

func (*DeleteSamlConfigurationOK) IsSuccess added in v1.13.0

func (o *DeleteSamlConfigurationOK) IsSuccess() bool

IsSuccess returns true when this delete saml configuration o k response has a 2xx status code

func (*DeleteSamlConfigurationOK) String added in v1.13.0

func (o *DeleteSamlConfigurationOK) String() string

type DeleteSamlConfigurationParams

type DeleteSamlConfigurationParams struct {

	/* RealmID.

	   The Elasticsearch Security realm identifier.
	*/
	RealmID string

	/* Version.

	   When specified, checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request)
	*/
	Version *string

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

DeleteSamlConfigurationParams contains all the parameters to send to the API endpoint

for the delete saml configuration operation.

Typically these are written to a http.Request.

func NewDeleteSamlConfigurationParams

func NewDeleteSamlConfigurationParams() *DeleteSamlConfigurationParams

NewDeleteSamlConfigurationParams creates a new DeleteSamlConfigurationParams 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 NewDeleteSamlConfigurationParamsWithContext

func NewDeleteSamlConfigurationParamsWithContext(ctx context.Context) *DeleteSamlConfigurationParams

NewDeleteSamlConfigurationParamsWithContext creates a new DeleteSamlConfigurationParams object with the ability to set a context for a request.

func NewDeleteSamlConfigurationParamsWithHTTPClient

func NewDeleteSamlConfigurationParamsWithHTTPClient(client *http.Client) *DeleteSamlConfigurationParams

NewDeleteSamlConfigurationParamsWithHTTPClient creates a new DeleteSamlConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSamlConfigurationParamsWithTimeout

func NewDeleteSamlConfigurationParamsWithTimeout(timeout time.Duration) *DeleteSamlConfigurationParams

NewDeleteSamlConfigurationParamsWithTimeout creates a new DeleteSamlConfigurationParams object with the ability to set a timeout on a request.

func (*DeleteSamlConfigurationParams) SetContext

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

SetContext adds the context to the delete saml configuration params

func (*DeleteSamlConfigurationParams) SetDefaults added in v1.3.0

func (o *DeleteSamlConfigurationParams) SetDefaults()

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

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

func (*DeleteSamlConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete saml configuration params

func (*DeleteSamlConfigurationParams) SetRealmID

func (o *DeleteSamlConfigurationParams) SetRealmID(realmID string)

SetRealmID adds the realmId to the delete saml configuration params

func (*DeleteSamlConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the delete saml configuration params

func (*DeleteSamlConfigurationParams) SetVersion

func (o *DeleteSamlConfigurationParams) SetVersion(version *string)

SetVersion adds the version to the delete saml configuration params

func (*DeleteSamlConfigurationParams) WithContext

WithContext adds the context to the delete saml configuration params

func (*DeleteSamlConfigurationParams) WithDefaults added in v1.3.0

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

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

func (*DeleteSamlConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete saml configuration params

func (*DeleteSamlConfigurationParams) WithRealmID

WithRealmID adds the realmID to the delete saml configuration params

func (*DeleteSamlConfigurationParams) WithTimeout

WithTimeout adds the timeout to the delete saml configuration params

func (*DeleteSamlConfigurationParams) WithVersion

WithVersion adds the version to the delete saml configuration params

func (*DeleteSamlConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSamlConfigurationReader

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

DeleteSamlConfigurationReader is a Reader for the DeleteSamlConfiguration structure.

func (*DeleteSamlConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetActiveDirectoryConfigurationNotFound

type GetActiveDirectoryConfigurationNotFound struct {

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

	Payload *models.BasicFailedReply
}

GetActiveDirectoryConfigurationNotFound describes a response with status code 404, with default header values.

The realm specified by {realm_id} cannot be found. (code: `security_realm.not_found`)

func NewGetActiveDirectoryConfigurationNotFound

func NewGetActiveDirectoryConfigurationNotFound() *GetActiveDirectoryConfigurationNotFound

NewGetActiveDirectoryConfigurationNotFound creates a GetActiveDirectoryConfigurationNotFound with default headers values

func (*GetActiveDirectoryConfigurationNotFound) Code added in v1.13.0

Code gets the status code for the get active directory configuration not found response

func (*GetActiveDirectoryConfigurationNotFound) Error

func (*GetActiveDirectoryConfigurationNotFound) GetPayload

func (*GetActiveDirectoryConfigurationNotFound) IsClientError added in v1.13.0

func (o *GetActiveDirectoryConfigurationNotFound) IsClientError() bool

IsClientError returns true when this get active directory configuration not found response has a 4xx status code

func (*GetActiveDirectoryConfigurationNotFound) IsCode added in v1.13.0

IsCode returns true when this get active directory configuration not found response a status code equal to that given

func (*GetActiveDirectoryConfigurationNotFound) IsRedirect added in v1.13.0

IsRedirect returns true when this get active directory configuration not found response has a 3xx status code

func (*GetActiveDirectoryConfigurationNotFound) IsServerError added in v1.13.0

func (o *GetActiveDirectoryConfigurationNotFound) IsServerError() bool

IsServerError returns true when this get active directory configuration not found response has a 5xx status code

func (*GetActiveDirectoryConfigurationNotFound) IsSuccess added in v1.13.0

IsSuccess returns true when this get active directory configuration not found response has a 2xx status code

func (*GetActiveDirectoryConfigurationNotFound) String added in v1.13.0

type GetActiveDirectoryConfigurationOK

type GetActiveDirectoryConfigurationOK 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.ActiveDirectorySettings
}

GetActiveDirectoryConfigurationOK describes a response with status code 200, with default header values.

The Active Directory configuration was successfully retrieved

func NewGetActiveDirectoryConfigurationOK

func NewGetActiveDirectoryConfigurationOK() *GetActiveDirectoryConfigurationOK

NewGetActiveDirectoryConfigurationOK creates a GetActiveDirectoryConfigurationOK with default headers values

func (*GetActiveDirectoryConfigurationOK) Code added in v1.13.0

Code gets the status code for the get active directory configuration o k response

func (*GetActiveDirectoryConfigurationOK) Error

func (*GetActiveDirectoryConfigurationOK) GetPayload

func (*GetActiveDirectoryConfigurationOK) IsClientError added in v1.13.0

func (o *GetActiveDirectoryConfigurationOK) IsClientError() bool

IsClientError returns true when this get active directory configuration o k response has a 4xx status code

func (*GetActiveDirectoryConfigurationOK) IsCode added in v1.13.0

func (o *GetActiveDirectoryConfigurationOK) IsCode(code int) bool

IsCode returns true when this get active directory configuration o k response a status code equal to that given

func (*GetActiveDirectoryConfigurationOK) IsRedirect added in v1.13.0

func (o *GetActiveDirectoryConfigurationOK) IsRedirect() bool

IsRedirect returns true when this get active directory configuration o k response has a 3xx status code

func (*GetActiveDirectoryConfigurationOK) IsServerError added in v1.13.0

func (o *GetActiveDirectoryConfigurationOK) IsServerError() bool

IsServerError returns true when this get active directory configuration o k response has a 5xx status code

func (*GetActiveDirectoryConfigurationOK) IsSuccess added in v1.13.0

func (o *GetActiveDirectoryConfigurationOK) IsSuccess() bool

IsSuccess returns true when this get active directory configuration o k response has a 2xx status code

func (*GetActiveDirectoryConfigurationOK) String added in v1.13.0

type GetActiveDirectoryConfigurationParams

type GetActiveDirectoryConfigurationParams struct {

	/* RealmID.

	   The Elasticsearch Security realm identifier.
	*/
	RealmID string

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

GetActiveDirectoryConfigurationParams contains all the parameters to send to the API endpoint

for the get active directory configuration operation.

Typically these are written to a http.Request.

func NewGetActiveDirectoryConfigurationParams

func NewGetActiveDirectoryConfigurationParams() *GetActiveDirectoryConfigurationParams

NewGetActiveDirectoryConfigurationParams creates a new GetActiveDirectoryConfigurationParams 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 NewGetActiveDirectoryConfigurationParamsWithContext

func NewGetActiveDirectoryConfigurationParamsWithContext(ctx context.Context) *GetActiveDirectoryConfigurationParams

NewGetActiveDirectoryConfigurationParamsWithContext creates a new GetActiveDirectoryConfigurationParams object with the ability to set a context for a request.

func NewGetActiveDirectoryConfigurationParamsWithHTTPClient

func NewGetActiveDirectoryConfigurationParamsWithHTTPClient(client *http.Client) *GetActiveDirectoryConfigurationParams

NewGetActiveDirectoryConfigurationParamsWithHTTPClient creates a new GetActiveDirectoryConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewGetActiveDirectoryConfigurationParamsWithTimeout

func NewGetActiveDirectoryConfigurationParamsWithTimeout(timeout time.Duration) *GetActiveDirectoryConfigurationParams

NewGetActiveDirectoryConfigurationParamsWithTimeout creates a new GetActiveDirectoryConfigurationParams object with the ability to set a timeout on a request.

func (*GetActiveDirectoryConfigurationParams) SetContext

SetContext adds the context to the get active directory configuration params

func (*GetActiveDirectoryConfigurationParams) SetDefaults added in v1.3.0

func (o *GetActiveDirectoryConfigurationParams) SetDefaults()

SetDefaults hydrates default values in the get active directory configuration params (not the query body).

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

func (*GetActiveDirectoryConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get active directory configuration params

func (*GetActiveDirectoryConfigurationParams) SetRealmID

func (o *GetActiveDirectoryConfigurationParams) SetRealmID(realmID string)

SetRealmID adds the realmId to the get active directory configuration params

func (*GetActiveDirectoryConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the get active directory configuration params

func (*GetActiveDirectoryConfigurationParams) WithContext

WithContext adds the context to the get active directory configuration params

func (*GetActiveDirectoryConfigurationParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get active directory configuration params (not the query body).

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

func (*GetActiveDirectoryConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get active directory configuration params

func (*GetActiveDirectoryConfigurationParams) WithRealmID

WithRealmID adds the realmID to the get active directory configuration params

func (*GetActiveDirectoryConfigurationParams) WithTimeout

WithTimeout adds the timeout to the get active directory configuration params

func (*GetActiveDirectoryConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetActiveDirectoryConfigurationReader

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

GetActiveDirectoryConfigurationReader is a Reader for the GetActiveDirectoryConfiguration structure.

func (*GetActiveDirectoryConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEnrollmentTokensOK

type GetEnrollmentTokensOK struct {
	Payload *models.ListEnrollmentTokenReply
}

GetEnrollmentTokensOK describes a response with status code 200, with default header values.

A token has been generated that can be used to start new servers with the requested roles

func NewGetEnrollmentTokensOK

func NewGetEnrollmentTokensOK() *GetEnrollmentTokensOK

NewGetEnrollmentTokensOK creates a GetEnrollmentTokensOK with default headers values

func (*GetEnrollmentTokensOK) Code added in v1.13.0

func (o *GetEnrollmentTokensOK) Code() int

Code gets the status code for the get enrollment tokens o k response

func (*GetEnrollmentTokensOK) Error

func (o *GetEnrollmentTokensOK) Error() string

func (*GetEnrollmentTokensOK) GetPayload

func (*GetEnrollmentTokensOK) IsClientError added in v1.13.0

func (o *GetEnrollmentTokensOK) IsClientError() bool

IsClientError returns true when this get enrollment tokens o k response has a 4xx status code

func (*GetEnrollmentTokensOK) IsCode added in v1.13.0

func (o *GetEnrollmentTokensOK) IsCode(code int) bool

IsCode returns true when this get enrollment tokens o k response a status code equal to that given

func (*GetEnrollmentTokensOK) IsRedirect added in v1.13.0

func (o *GetEnrollmentTokensOK) IsRedirect() bool

IsRedirect returns true when this get enrollment tokens o k response has a 3xx status code

func (*GetEnrollmentTokensOK) IsServerError added in v1.13.0

func (o *GetEnrollmentTokensOK) IsServerError() bool

IsServerError returns true when this get enrollment tokens o k response has a 5xx status code

func (*GetEnrollmentTokensOK) IsSuccess added in v1.13.0

func (o *GetEnrollmentTokensOK) IsSuccess() bool

IsSuccess returns true when this get enrollment tokens o k response has a 2xx status code

func (*GetEnrollmentTokensOK) String added in v1.13.0

func (o *GetEnrollmentTokensOK) String() string

type GetEnrollmentTokensParams

type GetEnrollmentTokensParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEnrollmentTokensParams contains all the parameters to send to the API endpoint

for the get enrollment tokens operation.

Typically these are written to a http.Request.

func NewGetEnrollmentTokensParams

func NewGetEnrollmentTokensParams() *GetEnrollmentTokensParams

NewGetEnrollmentTokensParams creates a new GetEnrollmentTokensParams 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 NewGetEnrollmentTokensParamsWithContext

func NewGetEnrollmentTokensParamsWithContext(ctx context.Context) *GetEnrollmentTokensParams

NewGetEnrollmentTokensParamsWithContext creates a new GetEnrollmentTokensParams object with the ability to set a context for a request.

func NewGetEnrollmentTokensParamsWithHTTPClient

func NewGetEnrollmentTokensParamsWithHTTPClient(client *http.Client) *GetEnrollmentTokensParams

NewGetEnrollmentTokensParamsWithHTTPClient creates a new GetEnrollmentTokensParams object with the ability to set a custom HTTPClient for a request.

func NewGetEnrollmentTokensParamsWithTimeout

func NewGetEnrollmentTokensParamsWithTimeout(timeout time.Duration) *GetEnrollmentTokensParams

NewGetEnrollmentTokensParamsWithTimeout creates a new GetEnrollmentTokensParams object with the ability to set a timeout on a request.

func (*GetEnrollmentTokensParams) SetContext

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

SetContext adds the context to the get enrollment tokens params

func (*GetEnrollmentTokensParams) SetDefaults added in v1.3.0

func (o *GetEnrollmentTokensParams) SetDefaults()

SetDefaults hydrates default values in the get enrollment tokens params (not the query body).

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

func (*GetEnrollmentTokensParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get enrollment tokens params

func (*GetEnrollmentTokensParams) SetTimeout

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

SetTimeout adds the timeout to the get enrollment tokens params

func (*GetEnrollmentTokensParams) WithContext

WithContext adds the context to the get enrollment tokens params

func (*GetEnrollmentTokensParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get enrollment tokens params (not the query body).

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

func (*GetEnrollmentTokensParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get enrollment tokens params

func (*GetEnrollmentTokensParams) WithTimeout

WithTimeout adds the timeout to the get enrollment tokens params

func (*GetEnrollmentTokensParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEnrollmentTokensReader

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

GetEnrollmentTokensReader is a Reader for the GetEnrollmentTokens structure.

func (*GetEnrollmentTokensReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetLdapConfigurationNotFound

type GetLdapConfigurationNotFound struct {

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

	Payload *models.BasicFailedReply
}

GetLdapConfigurationNotFound describes a response with status code 404, with default header values.

The realm specified by {realm_id} cannot be found. (code: `security_realm.not_found`)

func NewGetLdapConfigurationNotFound

func NewGetLdapConfigurationNotFound() *GetLdapConfigurationNotFound

NewGetLdapConfigurationNotFound creates a GetLdapConfigurationNotFound with default headers values

func (*GetLdapConfigurationNotFound) Code added in v1.13.0

Code gets the status code for the get ldap configuration not found response

func (*GetLdapConfigurationNotFound) Error

func (*GetLdapConfigurationNotFound) GetPayload

func (*GetLdapConfigurationNotFound) IsClientError added in v1.13.0

func (o *GetLdapConfigurationNotFound) IsClientError() bool

IsClientError returns true when this get ldap configuration not found response has a 4xx status code

func (*GetLdapConfigurationNotFound) IsCode added in v1.13.0

func (o *GetLdapConfigurationNotFound) IsCode(code int) bool

IsCode returns true when this get ldap configuration not found response a status code equal to that given

func (*GetLdapConfigurationNotFound) IsRedirect added in v1.13.0

func (o *GetLdapConfigurationNotFound) IsRedirect() bool

IsRedirect returns true when this get ldap configuration not found response has a 3xx status code

func (*GetLdapConfigurationNotFound) IsServerError added in v1.13.0

func (o *GetLdapConfigurationNotFound) IsServerError() bool

IsServerError returns true when this get ldap configuration not found response has a 5xx status code

func (*GetLdapConfigurationNotFound) IsSuccess added in v1.13.0

func (o *GetLdapConfigurationNotFound) IsSuccess() bool

IsSuccess returns true when this get ldap configuration not found response has a 2xx status code

func (*GetLdapConfigurationNotFound) String added in v1.13.0

type GetLdapConfigurationOK

type GetLdapConfigurationOK 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.LdapSettings
}

GetLdapConfigurationOK describes a response with status code 200, with default header values.

The LDAP configuration was successfully retrieved

func NewGetLdapConfigurationOK

func NewGetLdapConfigurationOK() *GetLdapConfigurationOK

NewGetLdapConfigurationOK creates a GetLdapConfigurationOK with default headers values

func (*GetLdapConfigurationOK) Code added in v1.13.0

func (o *GetLdapConfigurationOK) Code() int

Code gets the status code for the get ldap configuration o k response

func (*GetLdapConfigurationOK) Error

func (o *GetLdapConfigurationOK) Error() string

func (*GetLdapConfigurationOK) GetPayload

func (o *GetLdapConfigurationOK) GetPayload() *models.LdapSettings

func (*GetLdapConfigurationOK) IsClientError added in v1.13.0

func (o *GetLdapConfigurationOK) IsClientError() bool

IsClientError returns true when this get ldap configuration o k response has a 4xx status code

func (*GetLdapConfigurationOK) IsCode added in v1.13.0

func (o *GetLdapConfigurationOK) IsCode(code int) bool

IsCode returns true when this get ldap configuration o k response a status code equal to that given

func (*GetLdapConfigurationOK) IsRedirect added in v1.13.0

func (o *GetLdapConfigurationOK) IsRedirect() bool

IsRedirect returns true when this get ldap configuration o k response has a 3xx status code

func (*GetLdapConfigurationOK) IsServerError added in v1.13.0

func (o *GetLdapConfigurationOK) IsServerError() bool

IsServerError returns true when this get ldap configuration o k response has a 5xx status code

func (*GetLdapConfigurationOK) IsSuccess added in v1.13.0

func (o *GetLdapConfigurationOK) IsSuccess() bool

IsSuccess returns true when this get ldap configuration o k response has a 2xx status code

func (*GetLdapConfigurationOK) String added in v1.13.0

func (o *GetLdapConfigurationOK) String() string

type GetLdapConfigurationParams

type GetLdapConfigurationParams struct {

	/* RealmID.

	   The Elasticsearch Security realm identifier.
	*/
	RealmID string

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

GetLdapConfigurationParams contains all the parameters to send to the API endpoint

for the get ldap configuration operation.

Typically these are written to a http.Request.

func NewGetLdapConfigurationParams

func NewGetLdapConfigurationParams() *GetLdapConfigurationParams

NewGetLdapConfigurationParams creates a new GetLdapConfigurationParams 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 NewGetLdapConfigurationParamsWithContext

func NewGetLdapConfigurationParamsWithContext(ctx context.Context) *GetLdapConfigurationParams

NewGetLdapConfigurationParamsWithContext creates a new GetLdapConfigurationParams object with the ability to set a context for a request.

func NewGetLdapConfigurationParamsWithHTTPClient

func NewGetLdapConfigurationParamsWithHTTPClient(client *http.Client) *GetLdapConfigurationParams

NewGetLdapConfigurationParamsWithHTTPClient creates a new GetLdapConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewGetLdapConfigurationParamsWithTimeout

func NewGetLdapConfigurationParamsWithTimeout(timeout time.Duration) *GetLdapConfigurationParams

NewGetLdapConfigurationParamsWithTimeout creates a new GetLdapConfigurationParams object with the ability to set a timeout on a request.

func (*GetLdapConfigurationParams) SetContext

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

SetContext adds the context to the get ldap configuration params

func (*GetLdapConfigurationParams) SetDefaults added in v1.3.0

func (o *GetLdapConfigurationParams) SetDefaults()

SetDefaults hydrates default values in the get ldap configuration params (not the query body).

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

func (*GetLdapConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ldap configuration params

func (*GetLdapConfigurationParams) SetRealmID

func (o *GetLdapConfigurationParams) SetRealmID(realmID string)

SetRealmID adds the realmId to the get ldap configuration params

func (*GetLdapConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the get ldap configuration params

func (*GetLdapConfigurationParams) WithContext

WithContext adds the context to the get ldap configuration params

func (*GetLdapConfigurationParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get ldap configuration params (not the query body).

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

func (*GetLdapConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get ldap configuration params

func (*GetLdapConfigurationParams) WithRealmID

WithRealmID adds the realmID to the get ldap configuration params

func (*GetLdapConfigurationParams) WithTimeout

WithTimeout adds the timeout to the get ldap configuration params

func (*GetLdapConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetLdapConfigurationReader

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

GetLdapConfigurationReader is a Reader for the GetLdapConfiguration structure.

func (*GetLdapConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSamlConfigurationNotFound

type GetSamlConfigurationNotFound struct {

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

	Payload *models.BasicFailedReply
}

GetSamlConfigurationNotFound describes a response with status code 404, with default header values.

The realm specified by {realm_id} cannot be found. (code: `security_realm.not_found`)

func NewGetSamlConfigurationNotFound

func NewGetSamlConfigurationNotFound() *GetSamlConfigurationNotFound

NewGetSamlConfigurationNotFound creates a GetSamlConfigurationNotFound with default headers values

func (*GetSamlConfigurationNotFound) Code added in v1.13.0

Code gets the status code for the get saml configuration not found response

func (*GetSamlConfigurationNotFound) Error

func (*GetSamlConfigurationNotFound) GetPayload

func (*GetSamlConfigurationNotFound) IsClientError added in v1.13.0

func (o *GetSamlConfigurationNotFound) IsClientError() bool

IsClientError returns true when this get saml configuration not found response has a 4xx status code

func (*GetSamlConfigurationNotFound) IsCode added in v1.13.0

func (o *GetSamlConfigurationNotFound) IsCode(code int) bool

IsCode returns true when this get saml configuration not found response a status code equal to that given

func (*GetSamlConfigurationNotFound) IsRedirect added in v1.13.0

func (o *GetSamlConfigurationNotFound) IsRedirect() bool

IsRedirect returns true when this get saml configuration not found response has a 3xx status code

func (*GetSamlConfigurationNotFound) IsServerError added in v1.13.0

func (o *GetSamlConfigurationNotFound) IsServerError() bool

IsServerError returns true when this get saml configuration not found response has a 5xx status code

func (*GetSamlConfigurationNotFound) IsSuccess added in v1.13.0

func (o *GetSamlConfigurationNotFound) IsSuccess() bool

IsSuccess returns true when this get saml configuration not found response has a 2xx status code

func (*GetSamlConfigurationNotFound) String added in v1.13.0

type GetSamlConfigurationOK

type GetSamlConfigurationOK 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.SamlSettings
}

GetSamlConfigurationOK describes a response with status code 200, with default header values.

The SAML configuration was successfully retrieved

func NewGetSamlConfigurationOK

func NewGetSamlConfigurationOK() *GetSamlConfigurationOK

NewGetSamlConfigurationOK creates a GetSamlConfigurationOK with default headers values

func (*GetSamlConfigurationOK) Code added in v1.13.0

func (o *GetSamlConfigurationOK) Code() int

Code gets the status code for the get saml configuration o k response

func (*GetSamlConfigurationOK) Error

func (o *GetSamlConfigurationOK) Error() string

func (*GetSamlConfigurationOK) GetPayload

func (o *GetSamlConfigurationOK) GetPayload() *models.SamlSettings

func (*GetSamlConfigurationOK) IsClientError added in v1.13.0

func (o *GetSamlConfigurationOK) IsClientError() bool

IsClientError returns true when this get saml configuration o k response has a 4xx status code

func (*GetSamlConfigurationOK) IsCode added in v1.13.0

func (o *GetSamlConfigurationOK) IsCode(code int) bool

IsCode returns true when this get saml configuration o k response a status code equal to that given

func (*GetSamlConfigurationOK) IsRedirect added in v1.13.0

func (o *GetSamlConfigurationOK) IsRedirect() bool

IsRedirect returns true when this get saml configuration o k response has a 3xx status code

func (*GetSamlConfigurationOK) IsServerError added in v1.13.0

func (o *GetSamlConfigurationOK) IsServerError() bool

IsServerError returns true when this get saml configuration o k response has a 5xx status code

func (*GetSamlConfigurationOK) IsSuccess added in v1.13.0

func (o *GetSamlConfigurationOK) IsSuccess() bool

IsSuccess returns true when this get saml configuration o k response has a 2xx status code

func (*GetSamlConfigurationOK) String added in v1.13.0

func (o *GetSamlConfigurationOK) String() string

type GetSamlConfigurationParams

type GetSamlConfigurationParams struct {

	/* RealmID.

	   The Elasticsearch Security realm identifier.
	*/
	RealmID string

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

GetSamlConfigurationParams contains all the parameters to send to the API endpoint

for the get saml configuration operation.

Typically these are written to a http.Request.

func NewGetSamlConfigurationParams

func NewGetSamlConfigurationParams() *GetSamlConfigurationParams

NewGetSamlConfigurationParams creates a new GetSamlConfigurationParams 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 NewGetSamlConfigurationParamsWithContext

func NewGetSamlConfigurationParamsWithContext(ctx context.Context) *GetSamlConfigurationParams

NewGetSamlConfigurationParamsWithContext creates a new GetSamlConfigurationParams object with the ability to set a context for a request.

func NewGetSamlConfigurationParamsWithHTTPClient

func NewGetSamlConfigurationParamsWithHTTPClient(client *http.Client) *GetSamlConfigurationParams

NewGetSamlConfigurationParamsWithHTTPClient creates a new GetSamlConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewGetSamlConfigurationParamsWithTimeout

func NewGetSamlConfigurationParamsWithTimeout(timeout time.Duration) *GetSamlConfigurationParams

NewGetSamlConfigurationParamsWithTimeout creates a new GetSamlConfigurationParams object with the ability to set a timeout on a request.

func (*GetSamlConfigurationParams) SetContext

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

SetContext adds the context to the get saml configuration params

func (*GetSamlConfigurationParams) SetDefaults added in v1.3.0

func (o *GetSamlConfigurationParams) SetDefaults()

SetDefaults hydrates default values in the get saml configuration params (not the query body).

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

func (*GetSamlConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get saml configuration params

func (*GetSamlConfigurationParams) SetRealmID

func (o *GetSamlConfigurationParams) SetRealmID(realmID string)

SetRealmID adds the realmId to the get saml configuration params

func (*GetSamlConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the get saml configuration params

func (*GetSamlConfigurationParams) WithContext

WithContext adds the context to the get saml configuration params

func (*GetSamlConfigurationParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get saml configuration params (not the query body).

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

func (*GetSamlConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get saml configuration params

func (*GetSamlConfigurationParams) WithRealmID

WithRealmID adds the realmID to the get saml configuration params

func (*GetSamlConfigurationParams) WithTimeout

WithTimeout adds the timeout to the get saml configuration params

func (*GetSamlConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSamlConfigurationReader

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

GetSamlConfigurationReader is a Reader for the GetSamlConfiguration structure.

func (*GetSamlConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSecurityDeploymentNotFound

type GetSecurityDeploymentNotFound struct {

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

	Payload *models.BasicFailedReply
}

GetSecurityDeploymentNotFound describes a response with status code 404, with default header values.

The realm specified by {realm_id} cannot be found. (code: `security_deployment.not_found`)

func NewGetSecurityDeploymentNotFound

func NewGetSecurityDeploymentNotFound() *GetSecurityDeploymentNotFound

NewGetSecurityDeploymentNotFound creates a GetSecurityDeploymentNotFound with default headers values

func (*GetSecurityDeploymentNotFound) Code added in v1.13.0

Code gets the status code for the get security deployment not found response

func (*GetSecurityDeploymentNotFound) Error

func (*GetSecurityDeploymentNotFound) GetPayload

func (*GetSecurityDeploymentNotFound) IsClientError added in v1.13.0

func (o *GetSecurityDeploymentNotFound) IsClientError() bool

IsClientError returns true when this get security deployment not found response has a 4xx status code

func (*GetSecurityDeploymentNotFound) IsCode added in v1.13.0

func (o *GetSecurityDeploymentNotFound) IsCode(code int) bool

IsCode returns true when this get security deployment not found response a status code equal to that given

func (*GetSecurityDeploymentNotFound) IsRedirect added in v1.13.0

func (o *GetSecurityDeploymentNotFound) IsRedirect() bool

IsRedirect returns true when this get security deployment not found response has a 3xx status code

func (*GetSecurityDeploymentNotFound) IsServerError added in v1.13.0

func (o *GetSecurityDeploymentNotFound) IsServerError() bool

IsServerError returns true when this get security deployment not found response has a 5xx status code

func (*GetSecurityDeploymentNotFound) IsSuccess added in v1.13.0

func (o *GetSecurityDeploymentNotFound) IsSuccess() bool

IsSuccess returns true when this get security deployment not found response has a 2xx status code

func (*GetSecurityDeploymentNotFound) String added in v1.13.0

type GetSecurityDeploymentOK

type GetSecurityDeploymentOK 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.SecurityDeployment
}

GetSecurityDeploymentOK describes a response with status code 200, with default header values.

The security deployment was successfully returned

func NewGetSecurityDeploymentOK

func NewGetSecurityDeploymentOK() *GetSecurityDeploymentOK

NewGetSecurityDeploymentOK creates a GetSecurityDeploymentOK with default headers values

func (*GetSecurityDeploymentOK) Code added in v1.13.0

func (o *GetSecurityDeploymentOK) Code() int

Code gets the status code for the get security deployment o k response

func (*GetSecurityDeploymentOK) Error

func (o *GetSecurityDeploymentOK) Error() string

func (*GetSecurityDeploymentOK) GetPayload

func (*GetSecurityDeploymentOK) IsClientError added in v1.13.0

func (o *GetSecurityDeploymentOK) IsClientError() bool

IsClientError returns true when this get security deployment o k response has a 4xx status code

func (*GetSecurityDeploymentOK) IsCode added in v1.13.0

func (o *GetSecurityDeploymentOK) IsCode(code int) bool

IsCode returns true when this get security deployment o k response a status code equal to that given

func (*GetSecurityDeploymentOK) IsRedirect added in v1.13.0

func (o *GetSecurityDeploymentOK) IsRedirect() bool

IsRedirect returns true when this get security deployment o k response has a 3xx status code

func (*GetSecurityDeploymentOK) IsServerError added in v1.13.0

func (o *GetSecurityDeploymentOK) IsServerError() bool

IsServerError returns true when this get security deployment o k response has a 5xx status code

func (*GetSecurityDeploymentOK) IsSuccess added in v1.13.0

func (o *GetSecurityDeploymentOK) IsSuccess() bool

IsSuccess returns true when this get security deployment o k response has a 2xx status code

func (*GetSecurityDeploymentOK) String added in v1.13.0

func (o *GetSecurityDeploymentOK) String() string

type GetSecurityDeploymentParams

type GetSecurityDeploymentParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSecurityDeploymentParams contains all the parameters to send to the API endpoint

for the get security deployment operation.

Typically these are written to a http.Request.

func NewGetSecurityDeploymentParams

func NewGetSecurityDeploymentParams() *GetSecurityDeploymentParams

NewGetSecurityDeploymentParams creates a new GetSecurityDeploymentParams 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 NewGetSecurityDeploymentParamsWithContext

func NewGetSecurityDeploymentParamsWithContext(ctx context.Context) *GetSecurityDeploymentParams

NewGetSecurityDeploymentParamsWithContext creates a new GetSecurityDeploymentParams object with the ability to set a context for a request.

func NewGetSecurityDeploymentParamsWithHTTPClient

func NewGetSecurityDeploymentParamsWithHTTPClient(client *http.Client) *GetSecurityDeploymentParams

NewGetSecurityDeploymentParamsWithHTTPClient creates a new GetSecurityDeploymentParams object with the ability to set a custom HTTPClient for a request.

func NewGetSecurityDeploymentParamsWithTimeout

func NewGetSecurityDeploymentParamsWithTimeout(timeout time.Duration) *GetSecurityDeploymentParams

NewGetSecurityDeploymentParamsWithTimeout creates a new GetSecurityDeploymentParams object with the ability to set a timeout on a request.

func (*GetSecurityDeploymentParams) SetContext

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

SetContext adds the context to the get security deployment params

func (*GetSecurityDeploymentParams) SetDefaults added in v1.3.0

func (o *GetSecurityDeploymentParams) SetDefaults()

SetDefaults hydrates default values in the get security deployment params (not the query body).

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

func (*GetSecurityDeploymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get security deployment params

func (*GetSecurityDeploymentParams) SetTimeout

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

SetTimeout adds the timeout to the get security deployment params

func (*GetSecurityDeploymentParams) WithContext

WithContext adds the context to the get security deployment params

func (*GetSecurityDeploymentParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get security deployment params (not the query body).

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

func (*GetSecurityDeploymentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get security deployment params

func (*GetSecurityDeploymentParams) WithTimeout

WithTimeout adds the timeout to the get security deployment params

func (*GetSecurityDeploymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSecurityDeploymentReader

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

GetSecurityDeploymentReader is a Reader for the GetSecurityDeployment structure.

func (*GetSecurityDeploymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSecurityRealmConfigurationsOK

type GetSecurityRealmConfigurationsOK struct {
	Payload *models.SecurityRealmInfoList
}

GetSecurityRealmConfigurationsOK describes a response with status code 200, with default header values.

The security realm configurations were successfully returned

func NewGetSecurityRealmConfigurationsOK

func NewGetSecurityRealmConfigurationsOK() *GetSecurityRealmConfigurationsOK

NewGetSecurityRealmConfigurationsOK creates a GetSecurityRealmConfigurationsOK with default headers values

func (*GetSecurityRealmConfigurationsOK) Code added in v1.13.0

Code gets the status code for the get security realm configurations o k response

func (*GetSecurityRealmConfigurationsOK) Error

func (*GetSecurityRealmConfigurationsOK) GetPayload

func (*GetSecurityRealmConfigurationsOK) IsClientError added in v1.13.0

func (o *GetSecurityRealmConfigurationsOK) IsClientError() bool

IsClientError returns true when this get security realm configurations o k response has a 4xx status code

func (*GetSecurityRealmConfigurationsOK) IsCode added in v1.13.0

func (o *GetSecurityRealmConfigurationsOK) IsCode(code int) bool

IsCode returns true when this get security realm configurations o k response a status code equal to that given

func (*GetSecurityRealmConfigurationsOK) IsRedirect added in v1.13.0

func (o *GetSecurityRealmConfigurationsOK) IsRedirect() bool

IsRedirect returns true when this get security realm configurations o k response has a 3xx status code

func (*GetSecurityRealmConfigurationsOK) IsServerError added in v1.13.0

func (o *GetSecurityRealmConfigurationsOK) IsServerError() bool

IsServerError returns true when this get security realm configurations o k response has a 5xx status code

func (*GetSecurityRealmConfigurationsOK) IsSuccess added in v1.13.0

func (o *GetSecurityRealmConfigurationsOK) IsSuccess() bool

IsSuccess returns true when this get security realm configurations o k response has a 2xx status code

func (*GetSecurityRealmConfigurationsOK) String added in v1.13.0

type GetSecurityRealmConfigurationsParams

type GetSecurityRealmConfigurationsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSecurityRealmConfigurationsParams contains all the parameters to send to the API endpoint

for the get security realm configurations operation.

Typically these are written to a http.Request.

func NewGetSecurityRealmConfigurationsParams

func NewGetSecurityRealmConfigurationsParams() *GetSecurityRealmConfigurationsParams

NewGetSecurityRealmConfigurationsParams creates a new GetSecurityRealmConfigurationsParams 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 NewGetSecurityRealmConfigurationsParamsWithContext

func NewGetSecurityRealmConfigurationsParamsWithContext(ctx context.Context) *GetSecurityRealmConfigurationsParams

NewGetSecurityRealmConfigurationsParamsWithContext creates a new GetSecurityRealmConfigurationsParams object with the ability to set a context for a request.

func NewGetSecurityRealmConfigurationsParamsWithHTTPClient

func NewGetSecurityRealmConfigurationsParamsWithHTTPClient(client *http.Client) *GetSecurityRealmConfigurationsParams

NewGetSecurityRealmConfigurationsParamsWithHTTPClient creates a new GetSecurityRealmConfigurationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetSecurityRealmConfigurationsParamsWithTimeout

func NewGetSecurityRealmConfigurationsParamsWithTimeout(timeout time.Duration) *GetSecurityRealmConfigurationsParams

NewGetSecurityRealmConfigurationsParamsWithTimeout creates a new GetSecurityRealmConfigurationsParams object with the ability to set a timeout on a request.

func (*GetSecurityRealmConfigurationsParams) SetContext

SetContext adds the context to the get security realm configurations params

func (*GetSecurityRealmConfigurationsParams) SetDefaults added in v1.3.0

func (o *GetSecurityRealmConfigurationsParams) SetDefaults()

SetDefaults hydrates default values in the get security realm configurations params (not the query body).

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

func (*GetSecurityRealmConfigurationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get security realm configurations params

func (*GetSecurityRealmConfigurationsParams) SetTimeout

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

SetTimeout adds the timeout to the get security realm configurations params

func (*GetSecurityRealmConfigurationsParams) WithContext

WithContext adds the context to the get security realm configurations params

func (*GetSecurityRealmConfigurationsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get security realm configurations params (not the query body).

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

func (*GetSecurityRealmConfigurationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get security realm configurations params

func (*GetSecurityRealmConfigurationsParams) WithTimeout

WithTimeout adds the timeout to the get security realm configurations params

func (*GetSecurityRealmConfigurationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSecurityRealmConfigurationsReader

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

GetSecurityRealmConfigurationsReader is a Reader for the GetSecurityRealmConfigurations structure.

func (*GetSecurityRealmConfigurationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTLSCertificateOK

type GetTLSCertificateOK struct {
	Payload *models.TLSPublicCertChain
}

GetTLSCertificateOK describes a response with status code 200, with default header values.

The TLS certificate chain, with private key omitted, for the given service and whether it was user specified

func NewGetTLSCertificateOK

func NewGetTLSCertificateOK() *GetTLSCertificateOK

NewGetTLSCertificateOK creates a GetTLSCertificateOK with default headers values

func (*GetTLSCertificateOK) Code added in v1.13.0

func (o *GetTLSCertificateOK) Code() int

Code gets the status code for the get Tls certificate o k response

func (*GetTLSCertificateOK) Error

func (o *GetTLSCertificateOK) Error() string

func (*GetTLSCertificateOK) GetPayload

func (*GetTLSCertificateOK) IsClientError added in v1.13.0

func (o *GetTLSCertificateOK) IsClientError() bool

IsClientError returns true when this get Tls certificate o k response has a 4xx status code

func (*GetTLSCertificateOK) IsCode added in v1.13.0

func (o *GetTLSCertificateOK) IsCode(code int) bool

IsCode returns true when this get Tls certificate o k response a status code equal to that given

func (*GetTLSCertificateOK) IsRedirect added in v1.13.0

func (o *GetTLSCertificateOK) IsRedirect() bool

IsRedirect returns true when this get Tls certificate o k response has a 3xx status code

func (*GetTLSCertificateOK) IsServerError added in v1.13.0

func (o *GetTLSCertificateOK) IsServerError() bool

IsServerError returns true when this get Tls certificate o k response has a 5xx status code

func (*GetTLSCertificateOK) IsSuccess added in v1.13.0

func (o *GetTLSCertificateOK) IsSuccess() bool

IsSuccess returns true when this get Tls certificate o k response has a 2xx status code

func (*GetTLSCertificateOK) String added in v1.13.0

func (o *GetTLSCertificateOK) String() string

type GetTLSCertificateParams

type GetTLSCertificateParams struct {

	/* ServiceName.

	   The service certificate chain to read.
	*/
	ServiceName string

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

GetTLSCertificateParams contains all the parameters to send to the API endpoint

for the get tls certificate operation.

Typically these are written to a http.Request.

func NewGetTLSCertificateParams

func NewGetTLSCertificateParams() *GetTLSCertificateParams

NewGetTLSCertificateParams creates a new GetTLSCertificateParams 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 NewGetTLSCertificateParamsWithContext

func NewGetTLSCertificateParamsWithContext(ctx context.Context) *GetTLSCertificateParams

NewGetTLSCertificateParamsWithContext creates a new GetTLSCertificateParams object with the ability to set a context for a request.

func NewGetTLSCertificateParamsWithHTTPClient

func NewGetTLSCertificateParamsWithHTTPClient(client *http.Client) *GetTLSCertificateParams

NewGetTLSCertificateParamsWithHTTPClient creates a new GetTLSCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewGetTLSCertificateParamsWithTimeout

func NewGetTLSCertificateParamsWithTimeout(timeout time.Duration) *GetTLSCertificateParams

NewGetTLSCertificateParamsWithTimeout creates a new GetTLSCertificateParams object with the ability to set a timeout on a request.

func (*GetTLSCertificateParams) SetContext

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

SetContext adds the context to the get tls certificate params

func (*GetTLSCertificateParams) SetDefaults added in v1.3.0

func (o *GetTLSCertificateParams) SetDefaults()

SetDefaults hydrates default values in the get tls certificate params (not the query body).

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

func (*GetTLSCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get tls certificate params

func (*GetTLSCertificateParams) SetServiceName

func (o *GetTLSCertificateParams) SetServiceName(serviceName string)

SetServiceName adds the serviceName to the get tls certificate params

func (*GetTLSCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the get tls certificate params

func (*GetTLSCertificateParams) WithContext

WithContext adds the context to the get tls certificate params

func (*GetTLSCertificateParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get tls certificate params (not the query body).

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

func (*GetTLSCertificateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get tls certificate params

func (*GetTLSCertificateParams) WithServiceName

func (o *GetTLSCertificateParams) WithServiceName(serviceName string) *GetTLSCertificateParams

WithServiceName adds the serviceName to the get tls certificate params

func (*GetTLSCertificateParams) WithTimeout

WithTimeout adds the timeout to the get tls certificate params

func (*GetTLSCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetTLSCertificateReader

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

GetTLSCertificateReader is a Reader for the GetTLSCertificate structure.

func (*GetTLSCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReorderSecurityRealmsBadRequest

type ReorderSecurityRealmsBadRequest struct {

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

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

* Invalid ids . (code: `security_realm.invalid_ids`)

* Missing ids . (code: `security_realm.missing_ids`)

func NewReorderSecurityRealmsBadRequest

func NewReorderSecurityRealmsBadRequest() *ReorderSecurityRealmsBadRequest

NewReorderSecurityRealmsBadRequest creates a ReorderSecurityRealmsBadRequest with default headers values

func (*ReorderSecurityRealmsBadRequest) Code added in v1.13.0

Code gets the status code for the reorder security realms bad request response

func (*ReorderSecurityRealmsBadRequest) Error

func (*ReorderSecurityRealmsBadRequest) GetPayload

func (*ReorderSecurityRealmsBadRequest) IsClientError added in v1.13.0

func (o *ReorderSecurityRealmsBadRequest) IsClientError() bool

IsClientError returns true when this reorder security realms bad request response has a 4xx status code

func (*ReorderSecurityRealmsBadRequest) IsCode added in v1.13.0

func (o *ReorderSecurityRealmsBadRequest) IsCode(code int) bool

IsCode returns true when this reorder security realms bad request response a status code equal to that given

func (*ReorderSecurityRealmsBadRequest) IsRedirect added in v1.13.0

func (o *ReorderSecurityRealmsBadRequest) IsRedirect() bool

IsRedirect returns true when this reorder security realms bad request response has a 3xx status code

func (*ReorderSecurityRealmsBadRequest) IsServerError added in v1.13.0

func (o *ReorderSecurityRealmsBadRequest) IsServerError() bool

IsServerError returns true when this reorder security realms bad request response has a 5xx status code

func (*ReorderSecurityRealmsBadRequest) IsSuccess added in v1.13.0

func (o *ReorderSecurityRealmsBadRequest) IsSuccess() bool

IsSuccess returns true when this reorder security realms bad request response has a 2xx status code

func (*ReorderSecurityRealmsBadRequest) String added in v1.13.0

type ReorderSecurityRealmsOK

type ReorderSecurityRealmsOK struct {
	Payload models.EmptyResponse
}

ReorderSecurityRealmsOK describes a response with status code 200, with default header values.

The reorder request was successful

func NewReorderSecurityRealmsOK

func NewReorderSecurityRealmsOK() *ReorderSecurityRealmsOK

NewReorderSecurityRealmsOK creates a ReorderSecurityRealmsOK with default headers values

func (*ReorderSecurityRealmsOK) Code added in v1.13.0

func (o *ReorderSecurityRealmsOK) Code() int

Code gets the status code for the reorder security realms o k response

func (*ReorderSecurityRealmsOK) Error

func (o *ReorderSecurityRealmsOK) Error() string

func (*ReorderSecurityRealmsOK) GetPayload

func (*ReorderSecurityRealmsOK) IsClientError added in v1.13.0

func (o *ReorderSecurityRealmsOK) IsClientError() bool

IsClientError returns true when this reorder security realms o k response has a 4xx status code

func (*ReorderSecurityRealmsOK) IsCode added in v1.13.0

func (o *ReorderSecurityRealmsOK) IsCode(code int) bool

IsCode returns true when this reorder security realms o k response a status code equal to that given

func (*ReorderSecurityRealmsOK) IsRedirect added in v1.13.0

func (o *ReorderSecurityRealmsOK) IsRedirect() bool

IsRedirect returns true when this reorder security realms o k response has a 3xx status code

func (*ReorderSecurityRealmsOK) IsServerError added in v1.13.0

func (o *ReorderSecurityRealmsOK) IsServerError() bool

IsServerError returns true when this reorder security realms o k response has a 5xx status code

func (*ReorderSecurityRealmsOK) IsSuccess added in v1.13.0

func (o *ReorderSecurityRealmsOK) IsSuccess() bool

IsSuccess returns true when this reorder security realms o k response has a 2xx status code

func (*ReorderSecurityRealmsOK) String added in v1.13.0

func (o *ReorderSecurityRealmsOK) String() string

type ReorderSecurityRealmsParams

type ReorderSecurityRealmsParams struct {

	/* Body.

	   The reorder request
	*/
	Body *models.SecurityRealmsReorderRequest

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

ReorderSecurityRealmsParams contains all the parameters to send to the API endpoint

for the reorder security realms operation.

Typically these are written to a http.Request.

func NewReorderSecurityRealmsParams

func NewReorderSecurityRealmsParams() *ReorderSecurityRealmsParams

NewReorderSecurityRealmsParams creates a new ReorderSecurityRealmsParams 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 NewReorderSecurityRealmsParamsWithContext

func NewReorderSecurityRealmsParamsWithContext(ctx context.Context) *ReorderSecurityRealmsParams

NewReorderSecurityRealmsParamsWithContext creates a new ReorderSecurityRealmsParams object with the ability to set a context for a request.

func NewReorderSecurityRealmsParamsWithHTTPClient

func NewReorderSecurityRealmsParamsWithHTTPClient(client *http.Client) *ReorderSecurityRealmsParams

NewReorderSecurityRealmsParamsWithHTTPClient creates a new ReorderSecurityRealmsParams object with the ability to set a custom HTTPClient for a request.

func NewReorderSecurityRealmsParamsWithTimeout

func NewReorderSecurityRealmsParamsWithTimeout(timeout time.Duration) *ReorderSecurityRealmsParams

NewReorderSecurityRealmsParamsWithTimeout creates a new ReorderSecurityRealmsParams object with the ability to set a timeout on a request.

func (*ReorderSecurityRealmsParams) SetBody

SetBody adds the body to the reorder security realms params

func (*ReorderSecurityRealmsParams) SetContext

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

SetContext adds the context to the reorder security realms params

func (*ReorderSecurityRealmsParams) SetDefaults added in v1.3.0

func (o *ReorderSecurityRealmsParams) SetDefaults()

SetDefaults hydrates default values in the reorder security realms params (not the query body).

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

func (*ReorderSecurityRealmsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reorder security realms params

func (*ReorderSecurityRealmsParams) SetTimeout

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

SetTimeout adds the timeout to the reorder security realms params

func (*ReorderSecurityRealmsParams) WithBody

WithBody adds the body to the reorder security realms params

func (*ReorderSecurityRealmsParams) WithContext

WithContext adds the context to the reorder security realms params

func (*ReorderSecurityRealmsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the reorder security realms params (not the query body).

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

func (*ReorderSecurityRealmsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the reorder security realms params

func (*ReorderSecurityRealmsParams) WithTimeout

WithTimeout adds the timeout to the reorder security realms params

func (*ReorderSecurityRealmsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReorderSecurityRealmsReader

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

ReorderSecurityRealmsReader is a Reader for the ReorderSecurityRealms structure.

func (*ReorderSecurityRealmsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SetTLSCertificateAccepted

type SetTLSCertificateAccepted struct {
	Payload *models.UpdatedTLSChain
}

SetTLSCertificateAccepted describes a response with status code 202, with default header values.

The TLS update has been accepted for the given service and will take effect throughout the system

func NewSetTLSCertificateAccepted

func NewSetTLSCertificateAccepted() *SetTLSCertificateAccepted

NewSetTLSCertificateAccepted creates a SetTLSCertificateAccepted with default headers values

func (*SetTLSCertificateAccepted) Code added in v1.13.0

func (o *SetTLSCertificateAccepted) Code() int

Code gets the status code for the set Tls certificate accepted response

func (*SetTLSCertificateAccepted) Error

func (o *SetTLSCertificateAccepted) Error() string

func (*SetTLSCertificateAccepted) GetPayload

func (*SetTLSCertificateAccepted) IsClientError added in v1.13.0

func (o *SetTLSCertificateAccepted) IsClientError() bool

IsClientError returns true when this set Tls certificate accepted response has a 4xx status code

func (*SetTLSCertificateAccepted) IsCode added in v1.13.0

func (o *SetTLSCertificateAccepted) IsCode(code int) bool

IsCode returns true when this set Tls certificate accepted response a status code equal to that given

func (*SetTLSCertificateAccepted) IsRedirect added in v1.13.0

func (o *SetTLSCertificateAccepted) IsRedirect() bool

IsRedirect returns true when this set Tls certificate accepted response has a 3xx status code

func (*SetTLSCertificateAccepted) IsServerError added in v1.13.0

func (o *SetTLSCertificateAccepted) IsServerError() bool

IsServerError returns true when this set Tls certificate accepted response has a 5xx status code

func (*SetTLSCertificateAccepted) IsSuccess added in v1.13.0

func (o *SetTLSCertificateAccepted) IsSuccess() bool

IsSuccess returns true when this set Tls certificate accepted response has a 2xx status code

func (*SetTLSCertificateAccepted) String added in v1.13.0

func (o *SetTLSCertificateAccepted) String() string

type SetTLSCertificateParams

type SetTLSCertificateParams struct {

	/* Chain.

	   New certificate chain: the PEM encoded RSA private key, followed by the server certificate, followed by the CA certificate
	*/
	Chain string

	/* ServiceName.

	   The service certificate chain to read.
	*/
	ServiceName string

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

SetTLSCertificateParams contains all the parameters to send to the API endpoint

for the set tls certificate operation.

Typically these are written to a http.Request.

func NewSetTLSCertificateParams

func NewSetTLSCertificateParams() *SetTLSCertificateParams

NewSetTLSCertificateParams creates a new SetTLSCertificateParams 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 NewSetTLSCertificateParamsWithContext

func NewSetTLSCertificateParamsWithContext(ctx context.Context) *SetTLSCertificateParams

NewSetTLSCertificateParamsWithContext creates a new SetTLSCertificateParams object with the ability to set a context for a request.

func NewSetTLSCertificateParamsWithHTTPClient

func NewSetTLSCertificateParamsWithHTTPClient(client *http.Client) *SetTLSCertificateParams

NewSetTLSCertificateParamsWithHTTPClient creates a new SetTLSCertificateParams object with the ability to set a custom HTTPClient for a request.

func NewSetTLSCertificateParamsWithTimeout

func NewSetTLSCertificateParamsWithTimeout(timeout time.Duration) *SetTLSCertificateParams

NewSetTLSCertificateParamsWithTimeout creates a new SetTLSCertificateParams object with the ability to set a timeout on a request.

func (*SetTLSCertificateParams) SetChain

func (o *SetTLSCertificateParams) SetChain(chain string)

SetChain adds the chain to the set tls certificate params

func (*SetTLSCertificateParams) SetContext

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

SetContext adds the context to the set tls certificate params

func (*SetTLSCertificateParams) SetDefaults added in v1.3.0

func (o *SetTLSCertificateParams) SetDefaults()

SetDefaults hydrates default values in the set tls certificate params (not the query body).

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

func (*SetTLSCertificateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the set tls certificate params

func (*SetTLSCertificateParams) SetServiceName

func (o *SetTLSCertificateParams) SetServiceName(serviceName string)

SetServiceName adds the serviceName to the set tls certificate params

func (*SetTLSCertificateParams) SetTimeout

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

SetTimeout adds the timeout to the set tls certificate params

func (*SetTLSCertificateParams) WithChain

WithChain adds the chain to the set tls certificate params

func (*SetTLSCertificateParams) WithContext

WithContext adds the context to the set tls certificate params

func (*SetTLSCertificateParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the set tls certificate params (not the query body).

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

func (*SetTLSCertificateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the set tls certificate params

func (*SetTLSCertificateParams) WithServiceName

func (o *SetTLSCertificateParams) WithServiceName(serviceName string) *SetTLSCertificateParams

WithServiceName adds the serviceName to the set tls certificate params

func (*SetTLSCertificateParams) WithTimeout

WithTimeout adds the timeout to the set tls certificate params

func (*SetTLSCertificateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type SetTLSCertificateReader

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

SetTLSCertificateReader is a Reader for the SetTLSCertificate structure.

func (*SetTLSCertificateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateActiveDirectoryConfigurationBadRequest

type UpdateActiveDirectoryConfigurationBadRequest struct {

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

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

* The realm id is already in use. (code: `security_realm.id_conflict`)

* The selected id is not valid. (code: `security_realm.invalid_id`) * Order must be greater than zero. (code: `security_realm.invalid_order`) * Invalid Elasticsearch Security realm type. (code: `security_realm.invalid_type`) * The realm order is already in use. (code: `security_realm.order_conflict`) * Advanced YAML format is invalid. (code: `security_realm.invalid_yaml`) * The url format is invalid. (code: `security_realm.invalid_url`) * Invalid Active Directory URL. (code: `security_realm.active_directory.invalid_url`) * Invalid certificate bundle URL. (code: `security_realm.invalid_bundle_url`)

func NewUpdateActiveDirectoryConfigurationBadRequest

func NewUpdateActiveDirectoryConfigurationBadRequest() *UpdateActiveDirectoryConfigurationBadRequest

NewUpdateActiveDirectoryConfigurationBadRequest creates a UpdateActiveDirectoryConfigurationBadRequest with default headers values

func (*UpdateActiveDirectoryConfigurationBadRequest) Code added in v1.13.0

Code gets the status code for the update active directory configuration bad request response

func (*UpdateActiveDirectoryConfigurationBadRequest) Error

func (*UpdateActiveDirectoryConfigurationBadRequest) GetPayload

func (*UpdateActiveDirectoryConfigurationBadRequest) IsClientError added in v1.13.0

IsClientError returns true when this update active directory configuration bad request response has a 4xx status code

func (*UpdateActiveDirectoryConfigurationBadRequest) IsCode added in v1.13.0

IsCode returns true when this update active directory configuration bad request response a status code equal to that given

func (*UpdateActiveDirectoryConfigurationBadRequest) IsRedirect added in v1.13.0

IsRedirect returns true when this update active directory configuration bad request response has a 3xx status code

func (*UpdateActiveDirectoryConfigurationBadRequest) IsServerError added in v1.13.0

IsServerError returns true when this update active directory configuration bad request response has a 5xx status code

func (*UpdateActiveDirectoryConfigurationBadRequest) IsSuccess added in v1.13.0

IsSuccess returns true when this update active directory configuration bad request response has a 2xx status code

func (*UpdateActiveDirectoryConfigurationBadRequest) String added in v1.13.0

type UpdateActiveDirectoryConfigurationConflict

type UpdateActiveDirectoryConfigurationConflict struct {

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

	Payload *models.BasicFailedReply
}

UpdateActiveDirectoryConfigurationConflict describes a response with status code 409, with default header values.

There is a version conflict. (code: `security_realm.version_conflict`)

func NewUpdateActiveDirectoryConfigurationConflict

func NewUpdateActiveDirectoryConfigurationConflict() *UpdateActiveDirectoryConfigurationConflict

NewUpdateActiveDirectoryConfigurationConflict creates a UpdateActiveDirectoryConfigurationConflict with default headers values

func (*UpdateActiveDirectoryConfigurationConflict) Code added in v1.13.0

Code gets the status code for the update active directory configuration conflict response

func (*UpdateActiveDirectoryConfigurationConflict) Error

func (*UpdateActiveDirectoryConfigurationConflict) GetPayload

func (*UpdateActiveDirectoryConfigurationConflict) IsClientError added in v1.13.0

IsClientError returns true when this update active directory configuration conflict response has a 4xx status code

func (*UpdateActiveDirectoryConfigurationConflict) IsCode added in v1.13.0

IsCode returns true when this update active directory configuration conflict response a status code equal to that given

func (*UpdateActiveDirectoryConfigurationConflict) IsRedirect added in v1.13.0

IsRedirect returns true when this update active directory configuration conflict response has a 3xx status code

func (*UpdateActiveDirectoryConfigurationConflict) IsServerError added in v1.13.0

IsServerError returns true when this update active directory configuration conflict response has a 5xx status code

func (*UpdateActiveDirectoryConfigurationConflict) IsSuccess added in v1.13.0

IsSuccess returns true when this update active directory configuration conflict response has a 2xx status code

func (*UpdateActiveDirectoryConfigurationConflict) String added in v1.13.0

type UpdateActiveDirectoryConfigurationNotFound

type UpdateActiveDirectoryConfigurationNotFound struct {

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

	Payload *models.BasicFailedReply
}

UpdateActiveDirectoryConfigurationNotFound describes a response with status code 404, with default header values.

The realm specified by {realm_id} cannot be found. (code: `security_realm.not_found`)

func NewUpdateActiveDirectoryConfigurationNotFound

func NewUpdateActiveDirectoryConfigurationNotFound() *UpdateActiveDirectoryConfigurationNotFound

NewUpdateActiveDirectoryConfigurationNotFound creates a UpdateActiveDirectoryConfigurationNotFound with default headers values

func (*UpdateActiveDirectoryConfigurationNotFound) Code added in v1.13.0

Code gets the status code for the update active directory configuration not found response

func (*UpdateActiveDirectoryConfigurationNotFound) Error

func (*UpdateActiveDirectoryConfigurationNotFound) GetPayload

func (*UpdateActiveDirectoryConfigurationNotFound) IsClientError added in v1.13.0

IsClientError returns true when this update active directory configuration not found response has a 4xx status code

func (*UpdateActiveDirectoryConfigurationNotFound) IsCode added in v1.13.0

IsCode returns true when this update active directory configuration not found response a status code equal to that given

func (*UpdateActiveDirectoryConfigurationNotFound) IsRedirect added in v1.13.0

IsRedirect returns true when this update active directory configuration not found response has a 3xx status code

func (*UpdateActiveDirectoryConfigurationNotFound) IsServerError added in v1.13.0

IsServerError returns true when this update active directory configuration not found response has a 5xx status code

func (*UpdateActiveDirectoryConfigurationNotFound) IsSuccess added in v1.13.0

IsSuccess returns true when this update active directory configuration not found response has a 2xx status code

func (*UpdateActiveDirectoryConfigurationNotFound) String added in v1.13.0

type UpdateActiveDirectoryConfigurationOK

type UpdateActiveDirectoryConfigurationOK 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.EmptyResponse
}

UpdateActiveDirectoryConfigurationOK describes a response with status code 200, with default header values.

The Active Directory configuration was successfully updated

func NewUpdateActiveDirectoryConfigurationOK

func NewUpdateActiveDirectoryConfigurationOK() *UpdateActiveDirectoryConfigurationOK

NewUpdateActiveDirectoryConfigurationOK creates a UpdateActiveDirectoryConfigurationOK with default headers values

func (*UpdateActiveDirectoryConfigurationOK) Code added in v1.13.0

Code gets the status code for the update active directory configuration o k response

func (*UpdateActiveDirectoryConfigurationOK) Error

func (*UpdateActiveDirectoryConfigurationOK) GetPayload

func (*UpdateActiveDirectoryConfigurationOK) IsClientError added in v1.13.0

func (o *UpdateActiveDirectoryConfigurationOK) IsClientError() bool

IsClientError returns true when this update active directory configuration o k response has a 4xx status code

func (*UpdateActiveDirectoryConfigurationOK) IsCode added in v1.13.0

IsCode returns true when this update active directory configuration o k response a status code equal to that given

func (*UpdateActiveDirectoryConfigurationOK) IsRedirect added in v1.13.0

IsRedirect returns true when this update active directory configuration o k response has a 3xx status code

func (*UpdateActiveDirectoryConfigurationOK) IsServerError added in v1.13.0

func (o *UpdateActiveDirectoryConfigurationOK) IsServerError() bool

IsServerError returns true when this update active directory configuration o k response has a 5xx status code

func (*UpdateActiveDirectoryConfigurationOK) IsSuccess added in v1.13.0

IsSuccess returns true when this update active directory configuration o k response has a 2xx status code

func (*UpdateActiveDirectoryConfigurationOK) String added in v1.13.0

type UpdateActiveDirectoryConfigurationParams

type UpdateActiveDirectoryConfigurationParams struct {

	/* Body.

	   The Active Directory configuration
	*/
	Body *models.ActiveDirectorySettings

	/* RealmID.

	   The Elasticsearch Security realm identifier.
	*/
	RealmID string

	/* Version.

	   When specified, checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request)
	*/
	Version *string

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

UpdateActiveDirectoryConfigurationParams contains all the parameters to send to the API endpoint

for the update active directory configuration operation.

Typically these are written to a http.Request.

func NewUpdateActiveDirectoryConfigurationParams

func NewUpdateActiveDirectoryConfigurationParams() *UpdateActiveDirectoryConfigurationParams

NewUpdateActiveDirectoryConfigurationParams creates a new UpdateActiveDirectoryConfigurationParams 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 NewUpdateActiveDirectoryConfigurationParamsWithContext

func NewUpdateActiveDirectoryConfigurationParamsWithContext(ctx context.Context) *UpdateActiveDirectoryConfigurationParams

NewUpdateActiveDirectoryConfigurationParamsWithContext creates a new UpdateActiveDirectoryConfigurationParams object with the ability to set a context for a request.

func NewUpdateActiveDirectoryConfigurationParamsWithHTTPClient

func NewUpdateActiveDirectoryConfigurationParamsWithHTTPClient(client *http.Client) *UpdateActiveDirectoryConfigurationParams

NewUpdateActiveDirectoryConfigurationParamsWithHTTPClient creates a new UpdateActiveDirectoryConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateActiveDirectoryConfigurationParamsWithTimeout

func NewUpdateActiveDirectoryConfigurationParamsWithTimeout(timeout time.Duration) *UpdateActiveDirectoryConfigurationParams

NewUpdateActiveDirectoryConfigurationParamsWithTimeout creates a new UpdateActiveDirectoryConfigurationParams object with the ability to set a timeout on a request.

func (*UpdateActiveDirectoryConfigurationParams) SetBody

SetBody adds the body to the update active directory configuration params

func (*UpdateActiveDirectoryConfigurationParams) SetContext

SetContext adds the context to the update active directory configuration params

func (*UpdateActiveDirectoryConfigurationParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the update active directory configuration params (not the query body).

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

func (*UpdateActiveDirectoryConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update active directory configuration params

func (*UpdateActiveDirectoryConfigurationParams) SetRealmID

func (o *UpdateActiveDirectoryConfigurationParams) SetRealmID(realmID string)

SetRealmID adds the realmId to the update active directory configuration params

func (*UpdateActiveDirectoryConfigurationParams) SetTimeout

SetTimeout adds the timeout to the update active directory configuration params

func (*UpdateActiveDirectoryConfigurationParams) SetVersion

func (o *UpdateActiveDirectoryConfigurationParams) SetVersion(version *string)

SetVersion adds the version to the update active directory configuration params

func (*UpdateActiveDirectoryConfigurationParams) WithBody

WithBody adds the body to the update active directory configuration params

func (*UpdateActiveDirectoryConfigurationParams) WithContext

WithContext adds the context to the update active directory configuration params

func (*UpdateActiveDirectoryConfigurationParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the update active directory configuration params (not the query body).

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

func (*UpdateActiveDirectoryConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update active directory configuration params

func (*UpdateActiveDirectoryConfigurationParams) WithRealmID

WithRealmID adds the realmID to the update active directory configuration params

func (*UpdateActiveDirectoryConfigurationParams) WithTimeout

WithTimeout adds the timeout to the update active directory configuration params

func (*UpdateActiveDirectoryConfigurationParams) WithVersion

WithVersion adds the version to the update active directory configuration params

func (*UpdateActiveDirectoryConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateActiveDirectoryConfigurationReader

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

UpdateActiveDirectoryConfigurationReader is a Reader for the UpdateActiveDirectoryConfiguration structure.

func (*UpdateActiveDirectoryConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateLdapConfigurationBadRequest

type UpdateLdapConfigurationBadRequest struct {

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

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

* The realm id is already in use. (code: `security_realm.id_conflict`)

* The selected id is not valid. (code: `security_realm.invalid_id`) * Order must be greater than zero. (code: `security_realm.invalid_order`) * Invalid Elasticsearch Security realm type. (code: `security_realm.invalid_type`) * The realm order is already in use. (code: `security_realm.order_conflict`) * Advanced YAML format is invalid. (code: `security_realm.invalid_yaml`) * The url format is invalid. (code: `security_realm.invalid_url`) * Invalid LDAP URL. (code: `security_realm.ldap.invalid_url`) * Invalid certificate bundle URL. (code: `security_realm.invalid_bundle_url`)

func NewUpdateLdapConfigurationBadRequest

func NewUpdateLdapConfigurationBadRequest() *UpdateLdapConfigurationBadRequest

NewUpdateLdapConfigurationBadRequest creates a UpdateLdapConfigurationBadRequest with default headers values

func (*UpdateLdapConfigurationBadRequest) Code added in v1.13.0

Code gets the status code for the update ldap configuration bad request response

func (*UpdateLdapConfigurationBadRequest) Error

func (*UpdateLdapConfigurationBadRequest) GetPayload

func (*UpdateLdapConfigurationBadRequest) IsClientError added in v1.13.0

func (o *UpdateLdapConfigurationBadRequest) IsClientError() bool

IsClientError returns true when this update ldap configuration bad request response has a 4xx status code

func (*UpdateLdapConfigurationBadRequest) IsCode added in v1.13.0

func (o *UpdateLdapConfigurationBadRequest) IsCode(code int) bool

IsCode returns true when this update ldap configuration bad request response a status code equal to that given

func (*UpdateLdapConfigurationBadRequest) IsRedirect added in v1.13.0

func (o *UpdateLdapConfigurationBadRequest) IsRedirect() bool

IsRedirect returns true when this update ldap configuration bad request response has a 3xx status code

func (*UpdateLdapConfigurationBadRequest) IsServerError added in v1.13.0

func (o *UpdateLdapConfigurationBadRequest) IsServerError() bool

IsServerError returns true when this update ldap configuration bad request response has a 5xx status code

func (*UpdateLdapConfigurationBadRequest) IsSuccess added in v1.13.0

func (o *UpdateLdapConfigurationBadRequest) IsSuccess() bool

IsSuccess returns true when this update ldap configuration bad request response has a 2xx status code

func (*UpdateLdapConfigurationBadRequest) String added in v1.13.0

type UpdateLdapConfigurationConflict

type UpdateLdapConfigurationConflict struct {

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

	Payload *models.BasicFailedReply
}

UpdateLdapConfigurationConflict describes a response with status code 409, with default header values.

There is a version conflict. (code: `security_realm.version_conflict`)

func NewUpdateLdapConfigurationConflict

func NewUpdateLdapConfigurationConflict() *UpdateLdapConfigurationConflict

NewUpdateLdapConfigurationConflict creates a UpdateLdapConfigurationConflict with default headers values

func (*UpdateLdapConfigurationConflict) Code added in v1.13.0

Code gets the status code for the update ldap configuration conflict response

func (*UpdateLdapConfigurationConflict) Error

func (*UpdateLdapConfigurationConflict) GetPayload

func (*UpdateLdapConfigurationConflict) IsClientError added in v1.13.0

func (o *UpdateLdapConfigurationConflict) IsClientError() bool

IsClientError returns true when this update ldap configuration conflict response has a 4xx status code

func (*UpdateLdapConfigurationConflict) IsCode added in v1.13.0

func (o *UpdateLdapConfigurationConflict) IsCode(code int) bool

IsCode returns true when this update ldap configuration conflict response a status code equal to that given

func (*UpdateLdapConfigurationConflict) IsRedirect added in v1.13.0

func (o *UpdateLdapConfigurationConflict) IsRedirect() bool

IsRedirect returns true when this update ldap configuration conflict response has a 3xx status code

func (*UpdateLdapConfigurationConflict) IsServerError added in v1.13.0

func (o *UpdateLdapConfigurationConflict) IsServerError() bool

IsServerError returns true when this update ldap configuration conflict response has a 5xx status code

func (*UpdateLdapConfigurationConflict) IsSuccess added in v1.13.0

func (o *UpdateLdapConfigurationConflict) IsSuccess() bool

IsSuccess returns true when this update ldap configuration conflict response has a 2xx status code

func (*UpdateLdapConfigurationConflict) String added in v1.13.0

type UpdateLdapConfigurationNotFound

type UpdateLdapConfigurationNotFound struct {

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

	Payload *models.BasicFailedReply
}

UpdateLdapConfigurationNotFound describes a response with status code 404, with default header values.

The realm specified by {realm_id} cannot be found. (code: `security_realm.not_found`)

func NewUpdateLdapConfigurationNotFound

func NewUpdateLdapConfigurationNotFound() *UpdateLdapConfigurationNotFound

NewUpdateLdapConfigurationNotFound creates a UpdateLdapConfigurationNotFound with default headers values

func (*UpdateLdapConfigurationNotFound) Code added in v1.13.0

Code gets the status code for the update ldap configuration not found response

func (*UpdateLdapConfigurationNotFound) Error

func (*UpdateLdapConfigurationNotFound) GetPayload

func (*UpdateLdapConfigurationNotFound) IsClientError added in v1.13.0

func (o *UpdateLdapConfigurationNotFound) IsClientError() bool

IsClientError returns true when this update ldap configuration not found response has a 4xx status code

func (*UpdateLdapConfigurationNotFound) IsCode added in v1.13.0

func (o *UpdateLdapConfigurationNotFound) IsCode(code int) bool

IsCode returns true when this update ldap configuration not found response a status code equal to that given

func (*UpdateLdapConfigurationNotFound) IsRedirect added in v1.13.0

func (o *UpdateLdapConfigurationNotFound) IsRedirect() bool

IsRedirect returns true when this update ldap configuration not found response has a 3xx status code

func (*UpdateLdapConfigurationNotFound) IsServerError added in v1.13.0

func (o *UpdateLdapConfigurationNotFound) IsServerError() bool

IsServerError returns true when this update ldap configuration not found response has a 5xx status code

func (*UpdateLdapConfigurationNotFound) IsSuccess added in v1.13.0

func (o *UpdateLdapConfigurationNotFound) IsSuccess() bool

IsSuccess returns true when this update ldap configuration not found response has a 2xx status code

func (*UpdateLdapConfigurationNotFound) String added in v1.13.0

type UpdateLdapConfigurationOK

type UpdateLdapConfigurationOK 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.EmptyResponse
}

UpdateLdapConfigurationOK describes a response with status code 200, with default header values.

The LDAP configuration was successfully updated

func NewUpdateLdapConfigurationOK

func NewUpdateLdapConfigurationOK() *UpdateLdapConfigurationOK

NewUpdateLdapConfigurationOK creates a UpdateLdapConfigurationOK with default headers values

func (*UpdateLdapConfigurationOK) Code added in v1.13.0

func (o *UpdateLdapConfigurationOK) Code() int

Code gets the status code for the update ldap configuration o k response

func (*UpdateLdapConfigurationOK) Error

func (o *UpdateLdapConfigurationOK) Error() string

func (*UpdateLdapConfigurationOK) GetPayload

func (*UpdateLdapConfigurationOK) IsClientError added in v1.13.0

func (o *UpdateLdapConfigurationOK) IsClientError() bool

IsClientError returns true when this update ldap configuration o k response has a 4xx status code

func (*UpdateLdapConfigurationOK) IsCode added in v1.13.0

func (o *UpdateLdapConfigurationOK) IsCode(code int) bool

IsCode returns true when this update ldap configuration o k response a status code equal to that given

func (*UpdateLdapConfigurationOK) IsRedirect added in v1.13.0

func (o *UpdateLdapConfigurationOK) IsRedirect() bool

IsRedirect returns true when this update ldap configuration o k response has a 3xx status code

func (*UpdateLdapConfigurationOK) IsServerError added in v1.13.0

func (o *UpdateLdapConfigurationOK) IsServerError() bool

IsServerError returns true when this update ldap configuration o k response has a 5xx status code

func (*UpdateLdapConfigurationOK) IsSuccess added in v1.13.0

func (o *UpdateLdapConfigurationOK) IsSuccess() bool

IsSuccess returns true when this update ldap configuration o k response has a 2xx status code

func (*UpdateLdapConfigurationOK) String added in v1.13.0

func (o *UpdateLdapConfigurationOK) String() string

type UpdateLdapConfigurationParams

type UpdateLdapConfigurationParams struct {

	/* Body.

	   The LDAP configuration
	*/
	Body *models.LdapSettings

	/* RealmID.

	   The Elasticsearch Security realm identifier.
	*/
	RealmID string

	/* Version.

	   When specified, checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request)
	*/
	Version *string

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

UpdateLdapConfigurationParams contains all the parameters to send to the API endpoint

for the update ldap configuration operation.

Typically these are written to a http.Request.

func NewUpdateLdapConfigurationParams

func NewUpdateLdapConfigurationParams() *UpdateLdapConfigurationParams

NewUpdateLdapConfigurationParams creates a new UpdateLdapConfigurationParams 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 NewUpdateLdapConfigurationParamsWithContext

func NewUpdateLdapConfigurationParamsWithContext(ctx context.Context) *UpdateLdapConfigurationParams

NewUpdateLdapConfigurationParamsWithContext creates a new UpdateLdapConfigurationParams object with the ability to set a context for a request.

func NewUpdateLdapConfigurationParamsWithHTTPClient

func NewUpdateLdapConfigurationParamsWithHTTPClient(client *http.Client) *UpdateLdapConfigurationParams

NewUpdateLdapConfigurationParamsWithHTTPClient creates a new UpdateLdapConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateLdapConfigurationParamsWithTimeout

func NewUpdateLdapConfigurationParamsWithTimeout(timeout time.Duration) *UpdateLdapConfigurationParams

NewUpdateLdapConfigurationParamsWithTimeout creates a new UpdateLdapConfigurationParams object with the ability to set a timeout on a request.

func (*UpdateLdapConfigurationParams) SetBody

SetBody adds the body to the update ldap configuration params

func (*UpdateLdapConfigurationParams) SetContext

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

SetContext adds the context to the update ldap configuration params

func (*UpdateLdapConfigurationParams) SetDefaults added in v1.3.0

func (o *UpdateLdapConfigurationParams) SetDefaults()

SetDefaults hydrates default values in the update ldap configuration params (not the query body).

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

func (*UpdateLdapConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update ldap configuration params

func (*UpdateLdapConfigurationParams) SetRealmID

func (o *UpdateLdapConfigurationParams) SetRealmID(realmID string)

SetRealmID adds the realmId to the update ldap configuration params

func (*UpdateLdapConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the update ldap configuration params

func (*UpdateLdapConfigurationParams) SetVersion

func (o *UpdateLdapConfigurationParams) SetVersion(version *string)

SetVersion adds the version to the update ldap configuration params

func (*UpdateLdapConfigurationParams) WithBody

WithBody adds the body to the update ldap configuration params

func (*UpdateLdapConfigurationParams) WithContext

WithContext adds the context to the update ldap configuration params

func (*UpdateLdapConfigurationParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the update ldap configuration params (not the query body).

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

func (*UpdateLdapConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update ldap configuration params

func (*UpdateLdapConfigurationParams) WithRealmID

WithRealmID adds the realmID to the update ldap configuration params

func (*UpdateLdapConfigurationParams) WithTimeout

WithTimeout adds the timeout to the update ldap configuration params

func (*UpdateLdapConfigurationParams) WithVersion

WithVersion adds the version to the update ldap configuration params

func (*UpdateLdapConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateLdapConfigurationReader

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

UpdateLdapConfigurationReader is a Reader for the UpdateLdapConfiguration structure.

func (*UpdateLdapConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSamlConfigurationBadRequest

type UpdateSamlConfigurationBadRequest struct {

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

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

* The realm id is already in use. (code: `security_realm.id_conflict`)

* The selected id is not valid. (code: `security_realm.invalid_id`) * Order must be greater than zero. (code: `security_realm.invalid_order`) * Invalid Elasticsearch Security realm type. (code: `security_realm.invalid_type`) * The realm order is already in use. (code: `security_realm.order_conflict`) * Advanced YAML format is invalid. (code: `security_realm.invalid_yaml`) * The SAML IDP metadata endpoint returned an error response code 200 OK. (code: `security_realm.saml.invalid_idp_metadata_url`) * Invalid certificate bundle URL. (code: `security_realm.invalid_bundle_url`)

func NewUpdateSamlConfigurationBadRequest

func NewUpdateSamlConfigurationBadRequest() *UpdateSamlConfigurationBadRequest

NewUpdateSamlConfigurationBadRequest creates a UpdateSamlConfigurationBadRequest with default headers values

func (*UpdateSamlConfigurationBadRequest) Code added in v1.13.0

Code gets the status code for the update saml configuration bad request response

func (*UpdateSamlConfigurationBadRequest) Error

func (*UpdateSamlConfigurationBadRequest) GetPayload

func (*UpdateSamlConfigurationBadRequest) IsClientError added in v1.13.0

func (o *UpdateSamlConfigurationBadRequest) IsClientError() bool

IsClientError returns true when this update saml configuration bad request response has a 4xx status code

func (*UpdateSamlConfigurationBadRequest) IsCode added in v1.13.0

func (o *UpdateSamlConfigurationBadRequest) IsCode(code int) bool

IsCode returns true when this update saml configuration bad request response a status code equal to that given

func (*UpdateSamlConfigurationBadRequest) IsRedirect added in v1.13.0

func (o *UpdateSamlConfigurationBadRequest) IsRedirect() bool

IsRedirect returns true when this update saml configuration bad request response has a 3xx status code

func (*UpdateSamlConfigurationBadRequest) IsServerError added in v1.13.0

func (o *UpdateSamlConfigurationBadRequest) IsServerError() bool

IsServerError returns true when this update saml configuration bad request response has a 5xx status code

func (*UpdateSamlConfigurationBadRequest) IsSuccess added in v1.13.0

func (o *UpdateSamlConfigurationBadRequest) IsSuccess() bool

IsSuccess returns true when this update saml configuration bad request response has a 2xx status code

func (*UpdateSamlConfigurationBadRequest) String added in v1.13.0

type UpdateSamlConfigurationConflict

type UpdateSamlConfigurationConflict struct {

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

	Payload *models.BasicFailedReply
}

UpdateSamlConfigurationConflict describes a response with status code 409, with default header values.

There is a version conflict. (code: `security_realm.version_conflict`)

func NewUpdateSamlConfigurationConflict

func NewUpdateSamlConfigurationConflict() *UpdateSamlConfigurationConflict

NewUpdateSamlConfigurationConflict creates a UpdateSamlConfigurationConflict with default headers values

func (*UpdateSamlConfigurationConflict) Code added in v1.13.0

Code gets the status code for the update saml configuration conflict response

func (*UpdateSamlConfigurationConflict) Error

func (*UpdateSamlConfigurationConflict) GetPayload

func (*UpdateSamlConfigurationConflict) IsClientError added in v1.13.0

func (o *UpdateSamlConfigurationConflict) IsClientError() bool

IsClientError returns true when this update saml configuration conflict response has a 4xx status code

func (*UpdateSamlConfigurationConflict) IsCode added in v1.13.0

func (o *UpdateSamlConfigurationConflict) IsCode(code int) bool

IsCode returns true when this update saml configuration conflict response a status code equal to that given

func (*UpdateSamlConfigurationConflict) IsRedirect added in v1.13.0

func (o *UpdateSamlConfigurationConflict) IsRedirect() bool

IsRedirect returns true when this update saml configuration conflict response has a 3xx status code

func (*UpdateSamlConfigurationConflict) IsServerError added in v1.13.0

func (o *UpdateSamlConfigurationConflict) IsServerError() bool

IsServerError returns true when this update saml configuration conflict response has a 5xx status code

func (*UpdateSamlConfigurationConflict) IsSuccess added in v1.13.0

func (o *UpdateSamlConfigurationConflict) IsSuccess() bool

IsSuccess returns true when this update saml configuration conflict response has a 2xx status code

func (*UpdateSamlConfigurationConflict) String added in v1.13.0

type UpdateSamlConfigurationNotFound

type UpdateSamlConfigurationNotFound struct {

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

	Payload *models.BasicFailedReply
}

UpdateSamlConfigurationNotFound describes a response with status code 404, with default header values.

The realm specified by {realm_id} cannot be found. (code: `security_realm.not_found`)

func NewUpdateSamlConfigurationNotFound

func NewUpdateSamlConfigurationNotFound() *UpdateSamlConfigurationNotFound

NewUpdateSamlConfigurationNotFound creates a UpdateSamlConfigurationNotFound with default headers values

func (*UpdateSamlConfigurationNotFound) Code added in v1.13.0

Code gets the status code for the update saml configuration not found response

func (*UpdateSamlConfigurationNotFound) Error

func (*UpdateSamlConfigurationNotFound) GetPayload

func (*UpdateSamlConfigurationNotFound) IsClientError added in v1.13.0

func (o *UpdateSamlConfigurationNotFound) IsClientError() bool

IsClientError returns true when this update saml configuration not found response has a 4xx status code

func (*UpdateSamlConfigurationNotFound) IsCode added in v1.13.0

func (o *UpdateSamlConfigurationNotFound) IsCode(code int) bool

IsCode returns true when this update saml configuration not found response a status code equal to that given

func (*UpdateSamlConfigurationNotFound) IsRedirect added in v1.13.0

func (o *UpdateSamlConfigurationNotFound) IsRedirect() bool

IsRedirect returns true when this update saml configuration not found response has a 3xx status code

func (*UpdateSamlConfigurationNotFound) IsServerError added in v1.13.0

func (o *UpdateSamlConfigurationNotFound) IsServerError() bool

IsServerError returns true when this update saml configuration not found response has a 5xx status code

func (*UpdateSamlConfigurationNotFound) IsSuccess added in v1.13.0

func (o *UpdateSamlConfigurationNotFound) IsSuccess() bool

IsSuccess returns true when this update saml configuration not found response has a 2xx status code

func (*UpdateSamlConfigurationNotFound) String added in v1.13.0

type UpdateSamlConfigurationOK

type UpdateSamlConfigurationOK 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.EmptyResponse
}

UpdateSamlConfigurationOK describes a response with status code 200, with default header values.

The SAML configuration was successfully updated

func NewUpdateSamlConfigurationOK

func NewUpdateSamlConfigurationOK() *UpdateSamlConfigurationOK

NewUpdateSamlConfigurationOK creates a UpdateSamlConfigurationOK with default headers values

func (*UpdateSamlConfigurationOK) Code added in v1.13.0

func (o *UpdateSamlConfigurationOK) Code() int

Code gets the status code for the update saml configuration o k response

func (*UpdateSamlConfigurationOK) Error

func (o *UpdateSamlConfigurationOK) Error() string

func (*UpdateSamlConfigurationOK) GetPayload

func (*UpdateSamlConfigurationOK) IsClientError added in v1.13.0

func (o *UpdateSamlConfigurationOK) IsClientError() bool

IsClientError returns true when this update saml configuration o k response has a 4xx status code

func (*UpdateSamlConfigurationOK) IsCode added in v1.13.0

func (o *UpdateSamlConfigurationOK) IsCode(code int) bool

IsCode returns true when this update saml configuration o k response a status code equal to that given

func (*UpdateSamlConfigurationOK) IsRedirect added in v1.13.0

func (o *UpdateSamlConfigurationOK) IsRedirect() bool

IsRedirect returns true when this update saml configuration o k response has a 3xx status code

func (*UpdateSamlConfigurationOK) IsServerError added in v1.13.0

func (o *UpdateSamlConfigurationOK) IsServerError() bool

IsServerError returns true when this update saml configuration o k response has a 5xx status code

func (*UpdateSamlConfigurationOK) IsSuccess added in v1.13.0

func (o *UpdateSamlConfigurationOK) IsSuccess() bool

IsSuccess returns true when this update saml configuration o k response has a 2xx status code

func (*UpdateSamlConfigurationOK) String added in v1.13.0

func (o *UpdateSamlConfigurationOK) String() string

type UpdateSamlConfigurationParams

type UpdateSamlConfigurationParams struct {

	/* Body.

	   The SAML configuration
	*/
	Body *models.SamlSettings

	/* RealmID.

	   The Elasticsearch Security realm identifier.
	*/
	RealmID string

	/* Version.

	   When specified, checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request)
	*/
	Version *string

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

UpdateSamlConfigurationParams contains all the parameters to send to the API endpoint

for the update saml configuration operation.

Typically these are written to a http.Request.

func NewUpdateSamlConfigurationParams

func NewUpdateSamlConfigurationParams() *UpdateSamlConfigurationParams

NewUpdateSamlConfigurationParams creates a new UpdateSamlConfigurationParams 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 NewUpdateSamlConfigurationParamsWithContext

func NewUpdateSamlConfigurationParamsWithContext(ctx context.Context) *UpdateSamlConfigurationParams

NewUpdateSamlConfigurationParamsWithContext creates a new UpdateSamlConfigurationParams object with the ability to set a context for a request.

func NewUpdateSamlConfigurationParamsWithHTTPClient

func NewUpdateSamlConfigurationParamsWithHTTPClient(client *http.Client) *UpdateSamlConfigurationParams

NewUpdateSamlConfigurationParamsWithHTTPClient creates a new UpdateSamlConfigurationParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateSamlConfigurationParamsWithTimeout

func NewUpdateSamlConfigurationParamsWithTimeout(timeout time.Duration) *UpdateSamlConfigurationParams

NewUpdateSamlConfigurationParamsWithTimeout creates a new UpdateSamlConfigurationParams object with the ability to set a timeout on a request.

func (*UpdateSamlConfigurationParams) SetBody

SetBody adds the body to the update saml configuration params

func (*UpdateSamlConfigurationParams) SetContext

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

SetContext adds the context to the update saml configuration params

func (*UpdateSamlConfigurationParams) SetDefaults added in v1.3.0

func (o *UpdateSamlConfigurationParams) SetDefaults()

SetDefaults hydrates default values in the update saml configuration params (not the query body).

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

func (*UpdateSamlConfigurationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update saml configuration params

func (*UpdateSamlConfigurationParams) SetRealmID

func (o *UpdateSamlConfigurationParams) SetRealmID(realmID string)

SetRealmID adds the realmId to the update saml configuration params

func (*UpdateSamlConfigurationParams) SetTimeout

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

SetTimeout adds the timeout to the update saml configuration params

func (*UpdateSamlConfigurationParams) SetVersion

func (o *UpdateSamlConfigurationParams) SetVersion(version *string)

SetVersion adds the version to the update saml configuration params

func (*UpdateSamlConfigurationParams) WithBody

WithBody adds the body to the update saml configuration params

func (*UpdateSamlConfigurationParams) WithContext

WithContext adds the context to the update saml configuration params

func (*UpdateSamlConfigurationParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the update saml configuration params (not the query body).

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

func (*UpdateSamlConfigurationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update saml configuration params

func (*UpdateSamlConfigurationParams) WithRealmID

WithRealmID adds the realmID to the update saml configuration params

func (*UpdateSamlConfigurationParams) WithTimeout

WithTimeout adds the timeout to the update saml configuration params

func (*UpdateSamlConfigurationParams) WithVersion

WithVersion adds the version to the update saml configuration params

func (*UpdateSamlConfigurationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateSamlConfigurationReader

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

UpdateSamlConfigurationReader is a Reader for the UpdateSamlConfiguration structure.

func (*UpdateSamlConfigurationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateSecurityDeploymentConflict

type UpdateSecurityDeploymentConflict struct {

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

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

* There is a version conflict. (code: `security_deployment.version_conflict`)

* There is a version conflict. (code: `security_deployment.already_exists`)

func NewUpdateSecurityDeploymentConflict

func NewUpdateSecurityDeploymentConflict() *UpdateSecurityDeploymentConflict

NewUpdateSecurityDeploymentConflict creates a UpdateSecurityDeploymentConflict with default headers values

func (*UpdateSecurityDeploymentConflict) Code added in v1.13.0

Code gets the status code for the update security deployment conflict response

func (*UpdateSecurityDeploymentConflict) Error

func (*UpdateSecurityDeploymentConflict) GetPayload

func (*UpdateSecurityDeploymentConflict) IsClientError added in v1.13.0

func (o *UpdateSecurityDeploymentConflict) IsClientError() bool

IsClientError returns true when this update security deployment conflict response has a 4xx status code

func (*UpdateSecurityDeploymentConflict) IsCode added in v1.13.0

func (o *UpdateSecurityDeploymentConflict) IsCode(code int) bool

IsCode returns true when this update security deployment conflict response a status code equal to that given

func (*UpdateSecurityDeploymentConflict) IsRedirect added in v1.13.0

func (o *UpdateSecurityDeploymentConflict) IsRedirect() bool

IsRedirect returns true when this update security deployment conflict response has a 3xx status code

func (*UpdateSecurityDeploymentConflict) IsServerError added in v1.13.0

func (o *UpdateSecurityDeploymentConflict) IsServerError() bool

IsServerError returns true when this update security deployment conflict response has a 5xx status code

func (*UpdateSecurityDeploymentConflict) IsSuccess added in v1.13.0

func (o *UpdateSecurityDeploymentConflict) IsSuccess() bool

IsSuccess returns true when this update security deployment conflict response has a 2xx status code

func (*UpdateSecurityDeploymentConflict) String added in v1.13.0

type UpdateSecurityDeploymentNotFound

type UpdateSecurityDeploymentNotFound struct {

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

	Payload *models.BasicFailedReply
}

UpdateSecurityDeploymentNotFound describes a response with status code 404, with default header values.

The security deployment was not found. (code: `security_deployment.not_found`)

func NewUpdateSecurityDeploymentNotFound

func NewUpdateSecurityDeploymentNotFound() *UpdateSecurityDeploymentNotFound

NewUpdateSecurityDeploymentNotFound creates a UpdateSecurityDeploymentNotFound with default headers values

func (*UpdateSecurityDeploymentNotFound) Code added in v1.13.0

Code gets the status code for the update security deployment not found response

func (*UpdateSecurityDeploymentNotFound) Error

func (*UpdateSecurityDeploymentNotFound) GetPayload

func (*UpdateSecurityDeploymentNotFound) IsClientError added in v1.13.0

func (o *UpdateSecurityDeploymentNotFound) IsClientError() bool

IsClientError returns true when this update security deployment not found response has a 4xx status code

func (*UpdateSecurityDeploymentNotFound) IsCode added in v1.13.0

func (o *UpdateSecurityDeploymentNotFound) IsCode(code int) bool

IsCode returns true when this update security deployment not found response a status code equal to that given

func (*UpdateSecurityDeploymentNotFound) IsRedirect added in v1.13.0

func (o *UpdateSecurityDeploymentNotFound) IsRedirect() bool

IsRedirect returns true when this update security deployment not found response has a 3xx status code

func (*UpdateSecurityDeploymentNotFound) IsServerError added in v1.13.0

func (o *UpdateSecurityDeploymentNotFound) IsServerError() bool

IsServerError returns true when this update security deployment not found response has a 5xx status code

func (*UpdateSecurityDeploymentNotFound) IsSuccess added in v1.13.0

func (o *UpdateSecurityDeploymentNotFound) IsSuccess() bool

IsSuccess returns true when this update security deployment not found response has a 2xx status code

func (*UpdateSecurityDeploymentNotFound) String added in v1.13.0

type UpdateSecurityDeploymentOK

type UpdateSecurityDeploymentOK 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.IDResponse
}

UpdateSecurityDeploymentOK describes a response with status code 200, with default header values.

The security deployment was successfully updated

func NewUpdateSecurityDeploymentOK

func NewUpdateSecurityDeploymentOK() *UpdateSecurityDeploymentOK

NewUpdateSecurityDeploymentOK creates a UpdateSecurityDeploymentOK with default headers values

func (*UpdateSecurityDeploymentOK) Code added in v1.13.0

func (o *UpdateSecurityDeploymentOK) Code() int

Code gets the status code for the update security deployment o k response

func (*UpdateSecurityDeploymentOK) Error

func (*UpdateSecurityDeploymentOK) GetPayload

func (o *UpdateSecurityDeploymentOK) GetPayload() *models.IDResponse

func (*UpdateSecurityDeploymentOK) IsClientError added in v1.13.0

func (o *UpdateSecurityDeploymentOK) IsClientError() bool

IsClientError returns true when this update security deployment o k response has a 4xx status code

func (*UpdateSecurityDeploymentOK) IsCode added in v1.13.0

func (o *UpdateSecurityDeploymentOK) IsCode(code int) bool

IsCode returns true when this update security deployment o k response a status code equal to that given

func (*UpdateSecurityDeploymentOK) IsRedirect added in v1.13.0

func (o *UpdateSecurityDeploymentOK) IsRedirect() bool

IsRedirect returns true when this update security deployment o k response has a 3xx status code

func (*UpdateSecurityDeploymentOK) IsServerError added in v1.13.0

func (o *UpdateSecurityDeploymentOK) IsServerError() bool

IsServerError returns true when this update security deployment o k response has a 5xx status code

func (*UpdateSecurityDeploymentOK) IsSuccess added in v1.13.0

func (o *UpdateSecurityDeploymentOK) IsSuccess() bool

IsSuccess returns true when this update security deployment o k response has a 2xx status code

func (*UpdateSecurityDeploymentOK) String added in v1.13.0

func (o *UpdateSecurityDeploymentOK) String() string

type UpdateSecurityDeploymentParams

type UpdateSecurityDeploymentParams struct {

	/* Body.

	   The update request
	*/
	Body *models.SecurityDeploymentUpdateRequest

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

UpdateSecurityDeploymentParams contains all the parameters to send to the API endpoint

for the update security deployment operation.

Typically these are written to a http.Request.

func NewUpdateSecurityDeploymentParams

func NewUpdateSecurityDeploymentParams() *UpdateSecurityDeploymentParams

NewUpdateSecurityDeploymentParams creates a new UpdateSecurityDeploymentParams 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 NewUpdateSecurityDeploymentParamsWithContext

func NewUpdateSecurityDeploymentParamsWithContext(ctx context.Context) *UpdateSecurityDeploymentParams

NewUpdateSecurityDeploymentParamsWithContext creates a new UpdateSecurityDeploymentParams object with the ability to set a context for a request.

func NewUpdateSecurityDeploymentParamsWithHTTPClient

func NewUpdateSecurityDeploymentParamsWithHTTPClient(client *http.Client) *UpdateSecurityDeploymentParams

NewUpdateSecurityDeploymentParamsWithHTTPClient creates a new UpdateSecurityDeploymentParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateSecurityDeploymentParamsWithTimeout

func NewUpdateSecurityDeploymentParamsWithTimeout(timeout time.Duration) *UpdateSecurityDeploymentParams

NewUpdateSecurityDeploymentParamsWithTimeout creates a new UpdateSecurityDeploymentParams object with the ability to set a timeout on a request.

func (*UpdateSecurityDeploymentParams) SetBody

SetBody adds the body to the update security deployment params

func (*UpdateSecurityDeploymentParams) SetContext

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

SetContext adds the context to the update security deployment params

func (*UpdateSecurityDeploymentParams) SetDefaults added in v1.3.0

func (o *UpdateSecurityDeploymentParams) SetDefaults()

SetDefaults hydrates default values in the update security deployment params (not the query body).

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

func (*UpdateSecurityDeploymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update security deployment params

func (*UpdateSecurityDeploymentParams) SetTimeout

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

SetTimeout adds the timeout to the update security deployment params

func (*UpdateSecurityDeploymentParams) WithBody

WithBody adds the body to the update security deployment params

func (*UpdateSecurityDeploymentParams) WithContext

WithContext adds the context to the update security deployment params

func (*UpdateSecurityDeploymentParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the update security deployment params (not the query body).

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

func (*UpdateSecurityDeploymentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update security deployment params

func (*UpdateSecurityDeploymentParams) WithTimeout

WithTimeout adds the timeout to the update security deployment params

func (*UpdateSecurityDeploymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateSecurityDeploymentReader

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

UpdateSecurityDeploymentReader is a Reader for the UpdateSecurityDeployment structure.

func (*UpdateSecurityDeploymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL