platform_configuration_security

package
v1.0.0-bc7 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: Apache-2.0 Imports: 11 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 New

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

New creates a new platform configuration security API client.

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) (*CreateEnrollmentTokenOK, error)

CreateEnrollmentToken creates enrollment token

Creates an enrollment token.

func (*Client) CreateLdapConfiguration

CreateLdapConfiguration creates l d a p configuration

Creates a new LDAP configuration.

func (*Client) CreateSamlConfiguration

CreateSamlConfiguration creates s a m l configuration

Creates a new SAML configuration.

func (*Client) CreateSecurityDeployment

CreateSecurityDeployment creates security deployment

Creates a new security deployment configuration.

func (*Client) DeleteActiveDirectoryConfiguration

DeleteActiveDirectoryConfiguration deletes active directory configuration

Deletes a single Active Directory configuration.

func (*Client) DeleteEnrollmentToken

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

DeleteEnrollmentToken deletes enrollment token

Revokes and deletes the enrollment token.

func (*Client) DeleteLdapConfiguration

func (a *Client) DeleteLdapConfiguration(params *DeleteLdapConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*DeleteSamlConfigurationOK, error)

DeleteSamlConfiguration deletes s a m l configuration

Deletes a single SAML configuration.

func (*Client) DisableSecurityDeployment

func (a *Client) DisableSecurityDeployment(params *DisableSecurityDeploymentParams, authInfo runtime.ClientAuthInfoWriter) (*DisableSecurityDeploymentOK, error)

DisableSecurityDeployment disables the security deployment

Disables the existing security deployment configuration.

func (*Client) EnableSecurityDeployment

func (a *Client) EnableSecurityDeployment(params *EnableSecurityDeploymentParams, authInfo runtime.ClientAuthInfoWriter) (*EnableSecurityDeploymentOK, error)

EnableSecurityDeployment enables the security deployment

Enables the existing security deployment configuration.

func (*Client) GetActiveDirectoryConfiguration

func (a *Client) GetActiveDirectoryConfiguration(params *GetActiveDirectoryConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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) (*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) (*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) (*GetSecurityDeploymentOK, error)

GetSecurityDeployment gets current security deployment

Retrieves the current security deployment.

func (*Client) GetSecurityRealmConfigurations

func (a *Client) GetSecurityRealmConfigurations(params *GetSecurityRealmConfigurationsParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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) (*ReorderSecurityRealmsOK, error)

ReorderSecurityRealms reorders security realms

Reorder security realms.

func (*Client) SetTLSCertificate

func (a *Client) SetTLSCertificate(params *SetTLSCertificateParams, authInfo runtime.ClientAuthInfoWriter) (*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

UpdateActiveDirectoryConfiguration updates active directory configuration

Updates an existing Active Directory configuration.

func (*Client) UpdateLdapConfiguration

func (a *Client) UpdateLdapConfiguration(params *UpdateLdapConfigurationParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*UpdateSamlConfigurationOK, error)

UpdateSamlConfiguration updates s a m l configuration

Updates an existing SAML configuration.

type CreateActiveDirectoryConfigurationBadRequest

type CreateActiveDirectoryConfigurationBadRequest struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateActiveDirectoryConfigurationBadRequest handles this case 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) Error

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 handles this case 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) Error

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 values initialized.

func NewCreateActiveDirectoryConfigurationParamsWithContext

func NewCreateActiveDirectoryConfigurationParamsWithContext(ctx context.Context) *CreateActiveDirectoryConfigurationParams

NewCreateActiveDirectoryConfigurationParamsWithContext creates a new CreateActiveDirectoryConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateActiveDirectoryConfigurationRetryWith

type CreateActiveDirectoryConfigurationRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateActiveDirectoryConfigurationRetryWith handles this case with default header values.

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

func NewCreateActiveDirectoryConfigurationRetryWith

func NewCreateActiveDirectoryConfigurationRetryWith() *CreateActiveDirectoryConfigurationRetryWith

NewCreateActiveDirectoryConfigurationRetryWith creates a CreateActiveDirectoryConfigurationRetryWith with default headers values

func (*CreateActiveDirectoryConfigurationRetryWith) Error

type CreateEnrollmentTokenBadRequest

type CreateEnrollmentTokenBadRequest struct {
	Payload *models.BasicFailedReply
}

CreateEnrollmentTokenBadRequest handles this case 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) Error

type CreateEnrollmentTokenForbidden

type CreateEnrollmentTokenForbidden struct {
	Payload *models.BasicFailedReply
}

CreateEnrollmentTokenForbidden handles this case 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) Error

type CreateEnrollmentTokenOK

type CreateEnrollmentTokenOK struct {
	Payload *models.RequestEnrollmentTokenReply
}

CreateEnrollmentTokenOK handles this case 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) Error

func (o *CreateEnrollmentTokenOK) Error() 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 values initialized.

func NewCreateEnrollmentTokenParamsWithContext

func NewCreateEnrollmentTokenParamsWithContext(ctx context.Context) *CreateEnrollmentTokenParams

NewCreateEnrollmentTokenParamsWithContext creates a new CreateEnrollmentTokenParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateEnrollmentTokenRetryWith

type CreateEnrollmentTokenRetryWith struct {
	Payload *models.BasicFailedReply
}

CreateEnrollmentTokenRetryWith handles this case with default header values.

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

func NewCreateEnrollmentTokenRetryWith

func NewCreateEnrollmentTokenRetryWith() *CreateEnrollmentTokenRetryWith

NewCreateEnrollmentTokenRetryWith creates a CreateEnrollmentTokenRetryWith with default headers values

func (*CreateEnrollmentTokenRetryWith) Error

type CreateLdapConfigurationBadRequest

type CreateLdapConfigurationBadRequest struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateLdapConfigurationBadRequest handles this case 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) Error

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 handles this case 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) Error

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 values initialized.

func NewCreateLdapConfigurationParamsWithContext

func NewCreateLdapConfigurationParamsWithContext(ctx context.Context) *CreateLdapConfigurationParams

NewCreateLdapConfigurationParamsWithContext creates a new CreateLdapConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateLdapConfigurationRetryWith

type CreateLdapConfigurationRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateLdapConfigurationRetryWith handles this case with default header values.

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

func NewCreateLdapConfigurationRetryWith

func NewCreateLdapConfigurationRetryWith() *CreateLdapConfigurationRetryWith

NewCreateLdapConfigurationRetryWith creates a CreateLdapConfigurationRetryWith with default headers values

func (*CreateLdapConfigurationRetryWith) Error

type CreateSamlConfigurationBadRequest

type CreateSamlConfigurationBadRequest struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateSamlConfigurationBadRequest handles this case 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) Error

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 handles this case 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) Error

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 values initialized.

func NewCreateSamlConfigurationParamsWithContext

func NewCreateSamlConfigurationParamsWithContext(ctx context.Context) *CreateSamlConfigurationParams

NewCreateSamlConfigurationParamsWithContext creates a new CreateSamlConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateSamlConfigurationRetryWith

type CreateSamlConfigurationRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateSamlConfigurationRetryWith handles this case with default header values.

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

func NewCreateSamlConfigurationRetryWith

func NewCreateSamlConfigurationRetryWith() *CreateSamlConfigurationRetryWith

NewCreateSamlConfigurationRetryWith creates a CreateSamlConfigurationRetryWith with default headers values

func (*CreateSamlConfigurationRetryWith) Error

type CreateSecurityDeploymentConflict

type CreateSecurityDeploymentConflict struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateSecurityDeploymentConflict handles this case 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) Error

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 handles this case 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) Error

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 values initialized.

func NewCreateSecurityDeploymentParamsWithContext

func NewCreateSecurityDeploymentParamsWithContext(ctx context.Context) *CreateSecurityDeploymentParams

NewCreateSecurityDeploymentParamsWithContext creates a new CreateSecurityDeploymentParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateSecurityDeploymentRetryWith

type CreateSecurityDeploymentRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

CreateSecurityDeploymentRetryWith handles this case with default header values.

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

func NewCreateSecurityDeploymentRetryWith

func NewCreateSecurityDeploymentRetryWith() *CreateSecurityDeploymentRetryWith

NewCreateSecurityDeploymentRetryWith creates a CreateSecurityDeploymentRetryWith with default headers values

func (*CreateSecurityDeploymentRetryWith) Error

type DeleteActiveDirectoryConfigurationConflict

type DeleteActiveDirectoryConfigurationConflict struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteActiveDirectoryConfigurationConflict handles this case 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) Error

type DeleteActiveDirectoryConfigurationNotFound

type DeleteActiveDirectoryConfigurationNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteActiveDirectoryConfigurationNotFound handles this case 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) Error

type DeleteActiveDirectoryConfigurationOK

type DeleteActiveDirectoryConfigurationOK struct {
	Payload models.EmptyResponse
}

DeleteActiveDirectoryConfigurationOK handles this case 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) Error

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

	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 values initialized.

func NewDeleteActiveDirectoryConfigurationParamsWithContext

func NewDeleteActiveDirectoryConfigurationParamsWithContext(ctx context.Context) *DeleteActiveDirectoryConfigurationParams

NewDeleteActiveDirectoryConfigurationParamsWithContext creates a new DeleteActiveDirectoryConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 *int64)

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) 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 DeleteActiveDirectoryConfigurationRetryWith

type DeleteActiveDirectoryConfigurationRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteActiveDirectoryConfigurationRetryWith handles this case with default header values.

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

func NewDeleteActiveDirectoryConfigurationRetryWith

func NewDeleteActiveDirectoryConfigurationRetryWith() *DeleteActiveDirectoryConfigurationRetryWith

NewDeleteActiveDirectoryConfigurationRetryWith creates a DeleteActiveDirectoryConfigurationRetryWith with default headers values

func (*DeleteActiveDirectoryConfigurationRetryWith) Error

type DeleteEnrollmentTokenNotFound

type DeleteEnrollmentTokenNotFound struct {
	Payload *models.BasicFailedReply
}

DeleteEnrollmentTokenNotFound handles this case 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) Error

type DeleteEnrollmentTokenOK

type DeleteEnrollmentTokenOK struct {
	Payload models.EmptyResponse
}

DeleteEnrollmentTokenOK handles this case 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) Error

func (o *DeleteEnrollmentTokenOK) Error() 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 values initialized.

func NewDeleteEnrollmentTokenParamsWithContext

func NewDeleteEnrollmentTokenParamsWithContext(ctx context.Context) *DeleteEnrollmentTokenParams

NewDeleteEnrollmentTokenParamsWithContext creates a new DeleteEnrollmentTokenParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DeleteEnrollmentTokenRetryWith

type DeleteEnrollmentTokenRetryWith struct {
	Payload *models.BasicFailedReply
}

DeleteEnrollmentTokenRetryWith handles this case with default header values.

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

func NewDeleteEnrollmentTokenRetryWith

func NewDeleteEnrollmentTokenRetryWith() *DeleteEnrollmentTokenRetryWith

NewDeleteEnrollmentTokenRetryWith creates a DeleteEnrollmentTokenRetryWith with default headers values

func (*DeleteEnrollmentTokenRetryWith) Error

type DeleteLdapConfigurationConflict

type DeleteLdapConfigurationConflict struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteLdapConfigurationConflict handles this case 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) Error

type DeleteLdapConfigurationNotFound

type DeleteLdapConfigurationNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteLdapConfigurationNotFound handles this case 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) Error

type DeleteLdapConfigurationOK

type DeleteLdapConfigurationOK struct {
	Payload models.EmptyResponse
}

DeleteLdapConfigurationOK handles this case 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) Error

func (o *DeleteLdapConfigurationOK) Error() 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 *int64

	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 values initialized.

func NewDeleteLdapConfigurationParamsWithContext

func NewDeleteLdapConfigurationParamsWithContext(ctx context.Context) *DeleteLdapConfigurationParams

NewDeleteLdapConfigurationParamsWithContext creates a new DeleteLdapConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 *int64)

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) 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 DeleteLdapConfigurationRetryWith

type DeleteLdapConfigurationRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteLdapConfigurationRetryWith handles this case with default header values.

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

func NewDeleteLdapConfigurationRetryWith

func NewDeleteLdapConfigurationRetryWith() *DeleteLdapConfigurationRetryWith

NewDeleteLdapConfigurationRetryWith creates a DeleteLdapConfigurationRetryWith with default headers values

func (*DeleteLdapConfigurationRetryWith) Error

type DeleteSamlConfigurationConflict

type DeleteSamlConfigurationConflict struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteSamlConfigurationConflict handles this case 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) Error

type DeleteSamlConfigurationNotFound

type DeleteSamlConfigurationNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteSamlConfigurationNotFound handles this case 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) Error

type DeleteSamlConfigurationOK

type DeleteSamlConfigurationOK struct {
	Payload models.EmptyResponse
}

DeleteSamlConfigurationOK handles this case 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) Error

func (o *DeleteSamlConfigurationOK) Error() 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 *int64

	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 values initialized.

func NewDeleteSamlConfigurationParamsWithContext

func NewDeleteSamlConfigurationParamsWithContext(ctx context.Context) *DeleteSamlConfigurationParams

NewDeleteSamlConfigurationParamsWithContext creates a new DeleteSamlConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 *int64)

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) 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 DeleteSamlConfigurationRetryWith

type DeleteSamlConfigurationRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DeleteSamlConfigurationRetryWith handles this case with default header values.

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

func NewDeleteSamlConfigurationRetryWith

func NewDeleteSamlConfigurationRetryWith() *DeleteSamlConfigurationRetryWith

NewDeleteSamlConfigurationRetryWith creates a DeleteSamlConfigurationRetryWith with default headers values

func (*DeleteSamlConfigurationRetryWith) Error

type DisableSecurityDeploymentConflict

type DisableSecurityDeploymentConflict struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DisableSecurityDeploymentConflict handles this case with default header values.

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

func NewDisableSecurityDeploymentConflict

func NewDisableSecurityDeploymentConflict() *DisableSecurityDeploymentConflict

NewDisableSecurityDeploymentConflict creates a DisableSecurityDeploymentConflict with default headers values

func (*DisableSecurityDeploymentConflict) Error

type DisableSecurityDeploymentNotFound

type DisableSecurityDeploymentNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DisableSecurityDeploymentNotFound handles this case with default header values.

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

func NewDisableSecurityDeploymentNotFound

func NewDisableSecurityDeploymentNotFound() *DisableSecurityDeploymentNotFound

NewDisableSecurityDeploymentNotFound creates a DisableSecurityDeploymentNotFound with default headers values

func (*DisableSecurityDeploymentNotFound) Error

type DisableSecurityDeploymentOK

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

DisableSecurityDeploymentOK handles this case with default header values.

The security deployment was successfully disabled

func NewDisableSecurityDeploymentOK

func NewDisableSecurityDeploymentOK() *DisableSecurityDeploymentOK

NewDisableSecurityDeploymentOK creates a DisableSecurityDeploymentOK with default headers values

func (*DisableSecurityDeploymentOK) Error

type DisableSecurityDeploymentParams

type DisableSecurityDeploymentParams struct {

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

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

DisableSecurityDeploymentParams contains all the parameters to send to the API endpoint for the disable security deployment operation typically these are written to a http.Request

func NewDisableSecurityDeploymentParams

func NewDisableSecurityDeploymentParams() *DisableSecurityDeploymentParams

NewDisableSecurityDeploymentParams creates a new DisableSecurityDeploymentParams object with the default values initialized.

func NewDisableSecurityDeploymentParamsWithContext

func NewDisableSecurityDeploymentParamsWithContext(ctx context.Context) *DisableSecurityDeploymentParams

NewDisableSecurityDeploymentParamsWithContext creates a new DisableSecurityDeploymentParams object with the default values initialized, and the ability to set a context for a request

func NewDisableSecurityDeploymentParamsWithHTTPClient

func NewDisableSecurityDeploymentParamsWithHTTPClient(client *http.Client) *DisableSecurityDeploymentParams

NewDisableSecurityDeploymentParamsWithHTTPClient creates a new DisableSecurityDeploymentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDisableSecurityDeploymentParamsWithTimeout

func NewDisableSecurityDeploymentParamsWithTimeout(timeout time.Duration) *DisableSecurityDeploymentParams

NewDisableSecurityDeploymentParamsWithTimeout creates a new DisableSecurityDeploymentParams object with the default values initialized, and the ability to set a timeout on a request

func (*DisableSecurityDeploymentParams) SetContext

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

SetContext adds the context to the disable security deployment params

func (*DisableSecurityDeploymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the disable security deployment params

func (*DisableSecurityDeploymentParams) SetTimeout

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

SetTimeout adds the timeout to the disable security deployment params

func (*DisableSecurityDeploymentParams) SetVersion

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

SetVersion adds the version to the disable security deployment params

func (*DisableSecurityDeploymentParams) WithContext

WithContext adds the context to the disable security deployment params

func (*DisableSecurityDeploymentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the disable security deployment params

func (*DisableSecurityDeploymentParams) WithTimeout

WithTimeout adds the timeout to the disable security deployment params

func (*DisableSecurityDeploymentParams) WithVersion

WithVersion adds the version to the disable security deployment params

func (*DisableSecurityDeploymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DisableSecurityDeploymentReader

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

DisableSecurityDeploymentReader is a Reader for the DisableSecurityDeployment structure.

func (*DisableSecurityDeploymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DisableSecurityDeploymentRetryWith

type DisableSecurityDeploymentRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

DisableSecurityDeploymentRetryWith handles this case with default header values.

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

func NewDisableSecurityDeploymentRetryWith

func NewDisableSecurityDeploymentRetryWith() *DisableSecurityDeploymentRetryWith

NewDisableSecurityDeploymentRetryWith creates a DisableSecurityDeploymentRetryWith with default headers values

func (*DisableSecurityDeploymentRetryWith) Error

type EnableSecurityDeploymentConflict

type EnableSecurityDeploymentConflict struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

EnableSecurityDeploymentConflict handles this case with default header values.

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

func NewEnableSecurityDeploymentConflict

func NewEnableSecurityDeploymentConflict() *EnableSecurityDeploymentConflict

NewEnableSecurityDeploymentConflict creates a EnableSecurityDeploymentConflict with default headers values

func (*EnableSecurityDeploymentConflict) Error

type EnableSecurityDeploymentNotFound

type EnableSecurityDeploymentNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

EnableSecurityDeploymentNotFound handles this case with default header values.

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

func NewEnableSecurityDeploymentNotFound

func NewEnableSecurityDeploymentNotFound() *EnableSecurityDeploymentNotFound

NewEnableSecurityDeploymentNotFound creates a EnableSecurityDeploymentNotFound with default headers values

func (*EnableSecurityDeploymentNotFound) Error

type EnableSecurityDeploymentOK

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

EnableSecurityDeploymentOK handles this case with default header values.

The security deployment was successfully enabled

func NewEnableSecurityDeploymentOK

func NewEnableSecurityDeploymentOK() *EnableSecurityDeploymentOK

NewEnableSecurityDeploymentOK creates a EnableSecurityDeploymentOK with default headers values

func (*EnableSecurityDeploymentOK) Error

type EnableSecurityDeploymentParams

type EnableSecurityDeploymentParams struct {

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

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

EnableSecurityDeploymentParams contains all the parameters to send to the API endpoint for the enable security deployment operation typically these are written to a http.Request

func NewEnableSecurityDeploymentParams

func NewEnableSecurityDeploymentParams() *EnableSecurityDeploymentParams

NewEnableSecurityDeploymentParams creates a new EnableSecurityDeploymentParams object with the default values initialized.

func NewEnableSecurityDeploymentParamsWithContext

func NewEnableSecurityDeploymentParamsWithContext(ctx context.Context) *EnableSecurityDeploymentParams

NewEnableSecurityDeploymentParamsWithContext creates a new EnableSecurityDeploymentParams object with the default values initialized, and the ability to set a context for a request

func NewEnableSecurityDeploymentParamsWithHTTPClient

func NewEnableSecurityDeploymentParamsWithHTTPClient(client *http.Client) *EnableSecurityDeploymentParams

NewEnableSecurityDeploymentParamsWithHTTPClient creates a new EnableSecurityDeploymentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewEnableSecurityDeploymentParamsWithTimeout

func NewEnableSecurityDeploymentParamsWithTimeout(timeout time.Duration) *EnableSecurityDeploymentParams

NewEnableSecurityDeploymentParamsWithTimeout creates a new EnableSecurityDeploymentParams object with the default values initialized, and the ability to set a timeout on a request

func (*EnableSecurityDeploymentParams) SetContext

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

SetContext adds the context to the enable security deployment params

func (*EnableSecurityDeploymentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the enable security deployment params

func (*EnableSecurityDeploymentParams) SetTimeout

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

SetTimeout adds the timeout to the enable security deployment params

func (*EnableSecurityDeploymentParams) SetVersion

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

SetVersion adds the version to the enable security deployment params

func (*EnableSecurityDeploymentParams) WithContext

WithContext adds the context to the enable security deployment params

func (*EnableSecurityDeploymentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the enable security deployment params

func (*EnableSecurityDeploymentParams) WithTimeout

WithTimeout adds the timeout to the enable security deployment params

func (*EnableSecurityDeploymentParams) WithVersion

WithVersion adds the version to the enable security deployment params

func (*EnableSecurityDeploymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EnableSecurityDeploymentReader

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

EnableSecurityDeploymentReader is a Reader for the EnableSecurityDeployment structure.

func (*EnableSecurityDeploymentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EnableSecurityDeploymentRetryWith

type EnableSecurityDeploymentRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

EnableSecurityDeploymentRetryWith handles this case with default header values.

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

func NewEnableSecurityDeploymentRetryWith

func NewEnableSecurityDeploymentRetryWith() *EnableSecurityDeploymentRetryWith

NewEnableSecurityDeploymentRetryWith creates a EnableSecurityDeploymentRetryWith with default headers values

func (*EnableSecurityDeploymentRetryWith) Error

type GetActiveDirectoryConfigurationNotFound

type GetActiveDirectoryConfigurationNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetActiveDirectoryConfigurationNotFound handles this case 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) Error

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 handles this case 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) Error

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 values initialized.

func NewGetActiveDirectoryConfigurationParamsWithContext

func NewGetActiveDirectoryConfigurationParamsWithContext(ctx context.Context) *GetActiveDirectoryConfigurationParams

NewGetActiveDirectoryConfigurationParamsWithContext creates a new GetActiveDirectoryConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

func (o *GetEnrollmentTokensOK) Error() 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 values initialized.

func NewGetEnrollmentTokensParamsWithContext

func NewGetEnrollmentTokensParamsWithContext(ctx context.Context) *GetEnrollmentTokensParams

NewGetEnrollmentTokensParamsWithContext creates a new GetEnrollmentTokensParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 GetEnrollmentTokensRetryWith

type GetEnrollmentTokensRetryWith struct {
	Payload *models.BasicFailedReply
}

GetEnrollmentTokensRetryWith handles this case with default header values.

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

func NewGetEnrollmentTokensRetryWith

func NewGetEnrollmentTokensRetryWith() *GetEnrollmentTokensRetryWith

NewGetEnrollmentTokensRetryWith creates a GetEnrollmentTokensRetryWith with default headers values

func (*GetEnrollmentTokensRetryWith) Error

type GetLdapConfigurationNotFound

type GetLdapConfigurationNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

GetLdapConfigurationNotFound handles this case 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) Error

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 handles this case 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) Error

func (o *GetLdapConfigurationOK) Error() 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 values initialized.

func NewGetLdapConfigurationParamsWithContext

func NewGetLdapConfigurationParamsWithContext(ctx context.Context) *GetLdapConfigurationParams

NewGetLdapConfigurationParamsWithContext creates a new GetLdapConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

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 handles this case 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) Error

func (o *GetSamlConfigurationOK) Error() 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 values initialized.

func NewGetSamlConfigurationParamsWithContext

func NewGetSamlConfigurationParamsWithContext(ctx context.Context) *GetSamlConfigurationParams

NewGetSamlConfigurationParamsWithContext creates a new GetSamlConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

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 handles this case 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) Error

func (o *GetSecurityDeploymentOK) Error() 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 values initialized.

func NewGetSecurityDeploymentParamsWithContext

func NewGetSecurityDeploymentParamsWithContext(ctx context.Context) *GetSecurityDeploymentParams

NewGetSecurityDeploymentParamsWithContext creates a new GetSecurityDeploymentParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

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 values initialized.

func NewGetSecurityRealmConfigurationsParamsWithContext

func NewGetSecurityRealmConfigurationsParamsWithContext(ctx context.Context) *GetSecurityRealmConfigurationsParams

NewGetSecurityRealmConfigurationsParamsWithContext creates a new GetSecurityRealmConfigurationsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

func (o *GetTLSCertificateOK) Error() 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 values initialized.

func NewGetTLSCertificateParamsWithContext

func NewGetTLSCertificateParamsWithContext(ctx context.Context) *GetTLSCertificateParams

NewGetTLSCertificateParamsWithContext creates a new GetTLSCertificateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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) Error

type ReorderSecurityRealmsOK

type ReorderSecurityRealmsOK struct {
	Payload models.EmptyResponse
}

ReorderSecurityRealmsOK handles this case with default header values.

The reorder request was successful

func NewReorderSecurityRealmsOK

func NewReorderSecurityRealmsOK() *ReorderSecurityRealmsOK

NewReorderSecurityRealmsOK creates a ReorderSecurityRealmsOK with default headers values

func (*ReorderSecurityRealmsOK) Error

func (o *ReorderSecurityRealmsOK) Error() 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 values initialized.

func NewReorderSecurityRealmsParamsWithContext

func NewReorderSecurityRealmsParamsWithContext(ctx context.Context) *ReorderSecurityRealmsParams

NewReorderSecurityRealmsParamsWithContext creates a new ReorderSecurityRealmsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 ReorderSecurityRealmsRetryWith

type ReorderSecurityRealmsRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

ReorderSecurityRealmsRetryWith handles this case with default header values.

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

func NewReorderSecurityRealmsRetryWith

func NewReorderSecurityRealmsRetryWith() *ReorderSecurityRealmsRetryWith

NewReorderSecurityRealmsRetryWith creates a ReorderSecurityRealmsRetryWith with default headers values

func (*ReorderSecurityRealmsRetryWith) Error

type SetTLSCertificateAccepted

type SetTLSCertificateAccepted struct {
	Payload models.EmptyResponse
}

SetTLSCertificateAccepted handles this case 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) Error

func (o *SetTLSCertificateAccepted) Error() 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 values initialized.

func NewSetTLSCertificateParamsWithContext

func NewSetTLSCertificateParamsWithContext(ctx context.Context) *SetTLSCertificateParams

NewSetTLSCertificateParamsWithContext creates a new SetTLSCertificateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 SetTLSCertificateRetryWith

type SetTLSCertificateRetryWith struct {
	Payload *models.BasicFailedReply
}

SetTLSCertificateRetryWith handles this case with default header values.

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

func NewSetTLSCertificateRetryWith

func NewSetTLSCertificateRetryWith() *SetTLSCertificateRetryWith

NewSetTLSCertificateRetryWith creates a SetTLSCertificateRetryWith with default headers values

func (*SetTLSCertificateRetryWith) Error

type UpdateActiveDirectoryConfigurationBadRequest

type UpdateActiveDirectoryConfigurationBadRequest struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateActiveDirectoryConfigurationBadRequest handles this case 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) Error

type UpdateActiveDirectoryConfigurationConflict

type UpdateActiveDirectoryConfigurationConflict struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateActiveDirectoryConfigurationConflict handles this case 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) Error

type UpdateActiveDirectoryConfigurationNotFound

type UpdateActiveDirectoryConfigurationNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateActiveDirectoryConfigurationNotFound handles this case 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) Error

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 handles this case 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) Error

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

	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 values initialized.

func NewUpdateActiveDirectoryConfigurationParamsWithContext

func NewUpdateActiveDirectoryConfigurationParamsWithContext(ctx context.Context) *UpdateActiveDirectoryConfigurationParams

NewUpdateActiveDirectoryConfigurationParamsWithContext creates a new UpdateActiveDirectoryConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 *int64)

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) 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 UpdateActiveDirectoryConfigurationRetryWith

type UpdateActiveDirectoryConfigurationRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateActiveDirectoryConfigurationRetryWith handles this case with default header values.

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

func NewUpdateActiveDirectoryConfigurationRetryWith

func NewUpdateActiveDirectoryConfigurationRetryWith() *UpdateActiveDirectoryConfigurationRetryWith

NewUpdateActiveDirectoryConfigurationRetryWith creates a UpdateActiveDirectoryConfigurationRetryWith with default headers values

func (*UpdateActiveDirectoryConfigurationRetryWith) Error

type UpdateLdapConfigurationBadRequest

type UpdateLdapConfigurationBadRequest struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateLdapConfigurationBadRequest handles this case 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) Error

type UpdateLdapConfigurationConflict

type UpdateLdapConfigurationConflict struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateLdapConfigurationConflict handles this case 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) Error

type UpdateLdapConfigurationNotFound

type UpdateLdapConfigurationNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateLdapConfigurationNotFound handles this case 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) Error

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 handles this case 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) Error

func (o *UpdateLdapConfigurationOK) Error() 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 *int64

	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 values initialized.

func NewUpdateLdapConfigurationParamsWithContext

func NewUpdateLdapConfigurationParamsWithContext(ctx context.Context) *UpdateLdapConfigurationParams

NewUpdateLdapConfigurationParamsWithContext creates a new UpdateLdapConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 *int64)

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) 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 UpdateLdapConfigurationRetryWith

type UpdateLdapConfigurationRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateLdapConfigurationRetryWith handles this case with default header values.

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

func NewUpdateLdapConfigurationRetryWith

func NewUpdateLdapConfigurationRetryWith() *UpdateLdapConfigurationRetryWith

NewUpdateLdapConfigurationRetryWith creates a UpdateLdapConfigurationRetryWith with default headers values

func (*UpdateLdapConfigurationRetryWith) Error

type UpdateSamlConfigurationBadRequest

type UpdateSamlConfigurationBadRequest struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateSamlConfigurationBadRequest handles this case 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) Error

type UpdateSamlConfigurationConflict

type UpdateSamlConfigurationConflict struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateSamlConfigurationConflict handles this case 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) Error

type UpdateSamlConfigurationNotFound

type UpdateSamlConfigurationNotFound struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateSamlConfigurationNotFound handles this case 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) Error

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 handles this case 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) Error

func (o *UpdateSamlConfigurationOK) Error() 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 *int64

	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 values initialized.

func NewUpdateSamlConfigurationParamsWithContext

func NewUpdateSamlConfigurationParamsWithContext(ctx context.Context) *UpdateSamlConfigurationParams

NewUpdateSamlConfigurationParamsWithContext creates a new UpdateSamlConfigurationParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 *int64)

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) 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 UpdateSamlConfigurationRetryWith

type UpdateSamlConfigurationRetryWith struct {
	/*The error codes associated with the response
	 */
	XCloudErrorCodes string

	Payload *models.BasicFailedReply
}

UpdateSamlConfigurationRetryWith handles this case with default header values.

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

func NewUpdateSamlConfigurationRetryWith

func NewUpdateSamlConfigurationRetryWith() *UpdateSamlConfigurationRetryWith

NewUpdateSamlConfigurationRetryWith creates a UpdateSamlConfigurationRetryWith with default headers values

func (*UpdateSamlConfigurationRetryWith) Error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL