deployments_ip_filtering

package
v1.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for deployments ip filtering API

func (*Client) CreateIPFilterRuleset

func (a *Client) CreateIPFilterRuleset(params *CreateIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIPFilterRulesetCreated, error)

CreateIPFilterRuleset creates a ruleset

DEPRECATED: Creates a ruleset that combines a set of rules. Deprecated in favor of traffic-filter endpoints.

func (*Client) CreateIPFilterRulesetAssociation

CreateIPFilterRulesetAssociation creates ruleset association

DEPRECATED: Applies the ruleset to the specified deployment.

func (*Client) DeleteIPFilterRuleset

func (a *Client) DeleteIPFilterRuleset(params *DeleteIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIPFilterRulesetOK, error)

DeleteIPFilterRuleset deletes a ruleset

DEPRECATED: Deletes the ruleset by ID. Deprecated in favor of traffic-filter endpoints.

func (*Client) DeleteIPFilterRulesetAssociation

func (a *Client) DeleteIPFilterRulesetAssociation(params *DeleteIPFilterRulesetAssociationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIPFilterRulesetAssociationOK, error)

DeleteIPFilterRulesetAssociation deletes ruleset association

DEPRECATED: Deletes the traffic rules in the ruleset from the deployment.

func (*Client) GetIPFilterDeploymentRulesetAssociations

GetIPFilterDeploymentRulesetAssociations gets associated rulesets

DEPRECATED: Retrieves the rulesets associated with a deployment.

func (*Client) GetIPFilterRuleset

func (a *Client) GetIPFilterRuleset(params *GetIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPFilterRulesetOK, error)

GetIPFilterRuleset gets a ruleset

DEPRECATED: Retrieves the ruleset by ID. Deprecated in favor of traffic-filter endpoints.

func (*Client) GetIPFilterRulesetDeploymentAssociations

GetIPFilterRulesetDeploymentAssociations gets associated deployments

DEPRECATED: Retrieves a list of deployments that are associated to the specified ruleset.

func (*Client) GetIPFilterRulesets

func (a *Client) GetIPFilterRulesets(params *GetIPFilterRulesetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPFilterRulesetsOK, error)

GetIPFilterRulesets gets all rulesets

DEPRECATED: Retrieves all of the user rulesets. Deprecated in favor of traffic-filter endpoints.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateIPFilterRuleset

func (a *Client) UpdateIPFilterRuleset(params *UpdateIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIPFilterRulesetOK, error)

UpdateIPFilterRuleset updates a ruleset

DEPRECATED: Updates the ruleset with the definition. Deprecated in favor of traffic-filter endpoints.

type ClientOption added in v1.3.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateIPFilterRuleset(params *CreateIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIPFilterRulesetCreated, error)

	CreateIPFilterRulesetAssociation(params *CreateIPFilterRulesetAssociationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIPFilterRulesetAssociationCreated, error)

	DeleteIPFilterRuleset(params *DeleteIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIPFilterRulesetOK, error)

	DeleteIPFilterRulesetAssociation(params *DeleteIPFilterRulesetAssociationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteIPFilterRulesetAssociationOK, error)

	GetIPFilterDeploymentRulesetAssociations(params *GetIPFilterDeploymentRulesetAssociationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPFilterDeploymentRulesetAssociationsOK, error)

	GetIPFilterRuleset(params *GetIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPFilterRulesetOK, error)

	GetIPFilterRulesetDeploymentAssociations(params *GetIPFilterRulesetDeploymentAssociationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPFilterRulesetDeploymentAssociationsOK, error)

	GetIPFilterRulesets(params *GetIPFilterRulesetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetIPFilterRulesetsOK, error)

	UpdateIPFilterRuleset(params *UpdateIPFilterRulesetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateIPFilterRulesetOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new deployments ip filtering API client.

type CreateIPFilterRulesetAssociationCreated

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

Create association request was valid and the association has been created

func NewCreateIPFilterRulesetAssociationCreated

func NewCreateIPFilterRulesetAssociationCreated() *CreateIPFilterRulesetAssociationCreated

NewCreateIPFilterRulesetAssociationCreated creates a CreateIPFilterRulesetAssociationCreated with default headers values

func (*CreateIPFilterRulesetAssociationCreated) Error

func (*CreateIPFilterRulesetAssociationCreated) GetPayload

type CreateIPFilterRulesetAssociationInternalServerError

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

Request execution failed (code: 'ip_filtering.request_execution_failed')

func NewCreateIPFilterRulesetAssociationInternalServerError

func NewCreateIPFilterRulesetAssociationInternalServerError() *CreateIPFilterRulesetAssociationInternalServerError

NewCreateIPFilterRulesetAssociationInternalServerError creates a CreateIPFilterRulesetAssociationInternalServerError with default headers values

func (*CreateIPFilterRulesetAssociationInternalServerError) Error

func (*CreateIPFilterRulesetAssociationInternalServerError) GetPayload

type CreateIPFilterRulesetAssociationNotFound

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

Associated entity specified by {id} cannot be found (code: 'ip_filtering.associated_entity_not_found')

func NewCreateIPFilterRulesetAssociationNotFound

func NewCreateIPFilterRulesetAssociationNotFound() *CreateIPFilterRulesetAssociationNotFound

NewCreateIPFilterRulesetAssociationNotFound creates a CreateIPFilterRulesetAssociationNotFound with default headers values

func (*CreateIPFilterRulesetAssociationNotFound) Error

func (*CreateIPFilterRulesetAssociationNotFound) GetPayload

type CreateIPFilterRulesetAssociationParams

type CreateIPFilterRulesetAssociationParams struct {

	/* Body.

	   Mandatory ruleset association description
	*/
	Body *models.FilterAssociation

	/* RulesetID.

	   Mandatory ruleset ID
	*/
	RulesetID string

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

CreateIPFilterRulesetAssociationParams contains all the parameters to send to the API endpoint

for the create ip filter ruleset association operation.

Typically these are written to a http.Request.

func NewCreateIPFilterRulesetAssociationParams

func NewCreateIPFilterRulesetAssociationParams() *CreateIPFilterRulesetAssociationParams

NewCreateIPFilterRulesetAssociationParams creates a new CreateIPFilterRulesetAssociationParams object, with the default timeout for this client.

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

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

func NewCreateIPFilterRulesetAssociationParamsWithContext

func NewCreateIPFilterRulesetAssociationParamsWithContext(ctx context.Context) *CreateIPFilterRulesetAssociationParams

NewCreateIPFilterRulesetAssociationParamsWithContext creates a new CreateIPFilterRulesetAssociationParams object with the ability to set a context for a request.

func NewCreateIPFilterRulesetAssociationParamsWithHTTPClient

func NewCreateIPFilterRulesetAssociationParamsWithHTTPClient(client *http.Client) *CreateIPFilterRulesetAssociationParams

NewCreateIPFilterRulesetAssociationParamsWithHTTPClient creates a new CreateIPFilterRulesetAssociationParams object with the ability to set a custom HTTPClient for a request.

func NewCreateIPFilterRulesetAssociationParamsWithTimeout

func NewCreateIPFilterRulesetAssociationParamsWithTimeout(timeout time.Duration) *CreateIPFilterRulesetAssociationParams

NewCreateIPFilterRulesetAssociationParamsWithTimeout creates a new CreateIPFilterRulesetAssociationParams object with the ability to set a timeout on a request.

func (*CreateIPFilterRulesetAssociationParams) SetBody

SetBody adds the body to the create ip filter ruleset association params

func (*CreateIPFilterRulesetAssociationParams) SetContext

SetContext adds the context to the create ip filter ruleset association params

func (*CreateIPFilterRulesetAssociationParams) SetDefaults added in v1.3.0

func (o *CreateIPFilterRulesetAssociationParams) SetDefaults()

SetDefaults hydrates default values in the create ip filter ruleset association params (not the query body).

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

func (*CreateIPFilterRulesetAssociationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create ip filter ruleset association params

func (*CreateIPFilterRulesetAssociationParams) SetRulesetID

func (o *CreateIPFilterRulesetAssociationParams) SetRulesetID(rulesetID string)

SetRulesetID adds the rulesetId to the create ip filter ruleset association params

func (*CreateIPFilterRulesetAssociationParams) SetTimeout

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

SetTimeout adds the timeout to the create ip filter ruleset association params

func (*CreateIPFilterRulesetAssociationParams) WithBody

WithBody adds the body to the create ip filter ruleset association params

func (*CreateIPFilterRulesetAssociationParams) WithContext

WithContext adds the context to the create ip filter ruleset association params

func (*CreateIPFilterRulesetAssociationParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the create ip filter ruleset association params (not the query body).

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

func (*CreateIPFilterRulesetAssociationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create ip filter ruleset association params

func (*CreateIPFilterRulesetAssociationParams) WithRulesetID

WithRulesetID adds the rulesetID to the create ip filter ruleset association params

func (*CreateIPFilterRulesetAssociationParams) WithTimeout

WithTimeout adds the timeout to the create ip filter ruleset association params

func (*CreateIPFilterRulesetAssociationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateIPFilterRulesetAssociationReader

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

CreateIPFilterRulesetAssociationReader is a Reader for the CreateIPFilterRulesetAssociation structure.

func (*CreateIPFilterRulesetAssociationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateIPFilterRulesetAssociationRetryWith

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

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

func NewCreateIPFilterRulesetAssociationRetryWith

func NewCreateIPFilterRulesetAssociationRetryWith() *CreateIPFilterRulesetAssociationRetryWith

NewCreateIPFilterRulesetAssociationRetryWith creates a CreateIPFilterRulesetAssociationRetryWith with default headers values

func (*CreateIPFilterRulesetAssociationRetryWith) Error

func (*CreateIPFilterRulesetAssociationRetryWith) GetPayload

type CreateIPFilterRulesetBadRequest

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

The ruleset definition contains errors (code: 'ip_filtering.ruleset_invalid')

func NewCreateIPFilterRulesetBadRequest

func NewCreateIPFilterRulesetBadRequest() *CreateIPFilterRulesetBadRequest

NewCreateIPFilterRulesetBadRequest creates a CreateIPFilterRulesetBadRequest with default headers values

func (*CreateIPFilterRulesetBadRequest) Error

func (*CreateIPFilterRulesetBadRequest) GetPayload

type CreateIPFilterRulesetCreated

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

The ruleset definition is valid and the creation has started

func NewCreateIPFilterRulesetCreated

func NewCreateIPFilterRulesetCreated() *CreateIPFilterRulesetCreated

NewCreateIPFilterRulesetCreated creates a CreateIPFilterRulesetCreated with default headers values

func (*CreateIPFilterRulesetCreated) Error

func (*CreateIPFilterRulesetCreated) GetPayload

type CreateIPFilterRulesetInternalServerError

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

The request execution failed (code: 'ip_filtering.request_execution_failed')

func NewCreateIPFilterRulesetInternalServerError

func NewCreateIPFilterRulesetInternalServerError() *CreateIPFilterRulesetInternalServerError

NewCreateIPFilterRulesetInternalServerError creates a CreateIPFilterRulesetInternalServerError with default headers values

func (*CreateIPFilterRulesetInternalServerError) Error

func (*CreateIPFilterRulesetInternalServerError) GetPayload

type CreateIPFilterRulesetParams

type CreateIPFilterRulesetParams struct {

	/* Body.

	   The ruleset definition
	*/
	Body *models.IPFilterRuleset

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

CreateIPFilterRulesetParams contains all the parameters to send to the API endpoint

for the create ip filter ruleset operation.

Typically these are written to a http.Request.

func NewCreateIPFilterRulesetParams

func NewCreateIPFilterRulesetParams() *CreateIPFilterRulesetParams

NewCreateIPFilterRulesetParams creates a new CreateIPFilterRulesetParams object, with the default timeout for this client.

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

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

func NewCreateIPFilterRulesetParamsWithContext

func NewCreateIPFilterRulesetParamsWithContext(ctx context.Context) *CreateIPFilterRulesetParams

NewCreateIPFilterRulesetParamsWithContext creates a new CreateIPFilterRulesetParams object with the ability to set a context for a request.

func NewCreateIPFilterRulesetParamsWithHTTPClient

func NewCreateIPFilterRulesetParamsWithHTTPClient(client *http.Client) *CreateIPFilterRulesetParams

NewCreateIPFilterRulesetParamsWithHTTPClient creates a new CreateIPFilterRulesetParams object with the ability to set a custom HTTPClient for a request.

func NewCreateIPFilterRulesetParamsWithTimeout

func NewCreateIPFilterRulesetParamsWithTimeout(timeout time.Duration) *CreateIPFilterRulesetParams

NewCreateIPFilterRulesetParamsWithTimeout creates a new CreateIPFilterRulesetParams object with the ability to set a timeout on a request.

func (*CreateIPFilterRulesetParams) SetBody

SetBody adds the body to the create ip filter ruleset params

func (*CreateIPFilterRulesetParams) SetContext

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

SetContext adds the context to the create ip filter ruleset params

func (*CreateIPFilterRulesetParams) SetDefaults added in v1.3.0

func (o *CreateIPFilterRulesetParams) SetDefaults()

SetDefaults hydrates default values in the create ip filter ruleset params (not the query body).

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

func (*CreateIPFilterRulesetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create ip filter ruleset params

func (*CreateIPFilterRulesetParams) SetTimeout

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

SetTimeout adds the timeout to the create ip filter ruleset params

func (*CreateIPFilterRulesetParams) WithBody

WithBody adds the body to the create ip filter ruleset params

func (*CreateIPFilterRulesetParams) WithContext

WithContext adds the context to the create ip filter ruleset params

func (*CreateIPFilterRulesetParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the create ip filter ruleset params (not the query body).

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

func (*CreateIPFilterRulesetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create ip filter ruleset params

func (*CreateIPFilterRulesetParams) WithTimeout

WithTimeout adds the timeout to the create ip filter ruleset params

func (*CreateIPFilterRulesetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateIPFilterRulesetReader

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

CreateIPFilterRulesetReader is a Reader for the CreateIPFilterRuleset structure.

func (*CreateIPFilterRulesetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateIPFilterRulesetRetryWith

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

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

func NewCreateIPFilterRulesetRetryWith

func NewCreateIPFilterRulesetRetryWith() *CreateIPFilterRulesetRetryWith

NewCreateIPFilterRulesetRetryWith creates a CreateIPFilterRulesetRetryWith with default headers values

func (*CreateIPFilterRulesetRetryWith) Error

func (*CreateIPFilterRulesetRetryWith) GetPayload

type DeleteIPFilterRulesetAssociationInternalServerError

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

Request execution failed (code: 'ip_filtering.request_execution_failed')

func NewDeleteIPFilterRulesetAssociationInternalServerError

func NewDeleteIPFilterRulesetAssociationInternalServerError() *DeleteIPFilterRulesetAssociationInternalServerError

NewDeleteIPFilterRulesetAssociationInternalServerError creates a DeleteIPFilterRulesetAssociationInternalServerError with default headers values

func (*DeleteIPFilterRulesetAssociationInternalServerError) Error

func (*DeleteIPFilterRulesetAssociationInternalServerError) GetPayload

type DeleteIPFilterRulesetAssociationOK

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

Delete association request was valid and the association has been deleted

func NewDeleteIPFilterRulesetAssociationOK

func NewDeleteIPFilterRulesetAssociationOK() *DeleteIPFilterRulesetAssociationOK

NewDeleteIPFilterRulesetAssociationOK creates a DeleteIPFilterRulesetAssociationOK with default headers values

func (*DeleteIPFilterRulesetAssociationOK) Error

func (*DeleteIPFilterRulesetAssociationOK) GetPayload

type DeleteIPFilterRulesetAssociationParams

type DeleteIPFilterRulesetAssociationParams struct {

	/* AssociatedEntityID.

	   Mandatory associated entity ID
	*/
	AssociatedEntityID string

	/* AssociationType.

	   Mandatory association type ID
	*/
	AssociationType string

	/* RulesetID.

	   Mandatory ruleset ID
	*/
	RulesetID string

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

DeleteIPFilterRulesetAssociationParams contains all the parameters to send to the API endpoint

for the delete ip filter ruleset association operation.

Typically these are written to a http.Request.

func NewDeleteIPFilterRulesetAssociationParams

func NewDeleteIPFilterRulesetAssociationParams() *DeleteIPFilterRulesetAssociationParams

NewDeleteIPFilterRulesetAssociationParams creates a new DeleteIPFilterRulesetAssociationParams object, with the default timeout for this client.

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

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

func NewDeleteIPFilterRulesetAssociationParamsWithContext

func NewDeleteIPFilterRulesetAssociationParamsWithContext(ctx context.Context) *DeleteIPFilterRulesetAssociationParams

NewDeleteIPFilterRulesetAssociationParamsWithContext creates a new DeleteIPFilterRulesetAssociationParams object with the ability to set a context for a request.

func NewDeleteIPFilterRulesetAssociationParamsWithHTTPClient

func NewDeleteIPFilterRulesetAssociationParamsWithHTTPClient(client *http.Client) *DeleteIPFilterRulesetAssociationParams

NewDeleteIPFilterRulesetAssociationParamsWithHTTPClient creates a new DeleteIPFilterRulesetAssociationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteIPFilterRulesetAssociationParamsWithTimeout

func NewDeleteIPFilterRulesetAssociationParamsWithTimeout(timeout time.Duration) *DeleteIPFilterRulesetAssociationParams

NewDeleteIPFilterRulesetAssociationParamsWithTimeout creates a new DeleteIPFilterRulesetAssociationParams object with the ability to set a timeout on a request.

func (*DeleteIPFilterRulesetAssociationParams) SetAssociatedEntityID

func (o *DeleteIPFilterRulesetAssociationParams) SetAssociatedEntityID(associatedEntityID string)

SetAssociatedEntityID adds the associatedEntityId to the delete ip filter ruleset association params

func (*DeleteIPFilterRulesetAssociationParams) SetAssociationType

func (o *DeleteIPFilterRulesetAssociationParams) SetAssociationType(associationType string)

SetAssociationType adds the associationType to the delete ip filter ruleset association params

func (*DeleteIPFilterRulesetAssociationParams) SetContext

SetContext adds the context to the delete ip filter ruleset association params

func (*DeleteIPFilterRulesetAssociationParams) SetDefaults added in v1.3.0

func (o *DeleteIPFilterRulesetAssociationParams) SetDefaults()

SetDefaults hydrates default values in the delete ip filter ruleset association params (not the query body).

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

func (*DeleteIPFilterRulesetAssociationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete ip filter ruleset association params

func (*DeleteIPFilterRulesetAssociationParams) SetRulesetID

func (o *DeleteIPFilterRulesetAssociationParams) SetRulesetID(rulesetID string)

SetRulesetID adds the rulesetId to the delete ip filter ruleset association params

func (*DeleteIPFilterRulesetAssociationParams) SetTimeout

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

SetTimeout adds the timeout to the delete ip filter ruleset association params

func (*DeleteIPFilterRulesetAssociationParams) WithAssociatedEntityID

func (o *DeleteIPFilterRulesetAssociationParams) WithAssociatedEntityID(associatedEntityID string) *DeleteIPFilterRulesetAssociationParams

WithAssociatedEntityID adds the associatedEntityID to the delete ip filter ruleset association params

func (*DeleteIPFilterRulesetAssociationParams) WithAssociationType

WithAssociationType adds the associationType to the delete ip filter ruleset association params

func (*DeleteIPFilterRulesetAssociationParams) WithContext

WithContext adds the context to the delete ip filter ruleset association params

func (*DeleteIPFilterRulesetAssociationParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the delete ip filter ruleset association params (not the query body).

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

func (*DeleteIPFilterRulesetAssociationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete ip filter ruleset association params

func (*DeleteIPFilterRulesetAssociationParams) WithRulesetID

WithRulesetID adds the rulesetID to the delete ip filter ruleset association params

func (*DeleteIPFilterRulesetAssociationParams) WithTimeout

WithTimeout adds the timeout to the delete ip filter ruleset association params

func (*DeleteIPFilterRulesetAssociationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteIPFilterRulesetAssociationReader

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

DeleteIPFilterRulesetAssociationReader is a Reader for the DeleteIPFilterRulesetAssociation structure.

func (*DeleteIPFilterRulesetAssociationReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteIPFilterRulesetAssociationRetryWith

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

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

func NewDeleteIPFilterRulesetAssociationRetryWith

func NewDeleteIPFilterRulesetAssociationRetryWith() *DeleteIPFilterRulesetAssociationRetryWith

NewDeleteIPFilterRulesetAssociationRetryWith creates a DeleteIPFilterRulesetAssociationRetryWith with default headers values

func (*DeleteIPFilterRulesetAssociationRetryWith) Error

func (*DeleteIPFilterRulesetAssociationRetryWith) GetPayload

type DeleteIPFilterRulesetInternalServerError

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

The request execution failed (code: 'ip_filtering.request_execution_failed')

func NewDeleteIPFilterRulesetInternalServerError

func NewDeleteIPFilterRulesetInternalServerError() *DeleteIPFilterRulesetInternalServerError

NewDeleteIPFilterRulesetInternalServerError creates a DeleteIPFilterRulesetInternalServerError with default headers values

func (*DeleteIPFilterRulesetInternalServerError) Error

func (*DeleteIPFilterRulesetInternalServerError) GetPayload

type DeleteIPFilterRulesetNotFound

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

The IP filter ruleset specified by {ruleset_id} cannot be found (code: 'ip_filtering.ruleset_not_found')

func NewDeleteIPFilterRulesetNotFound

func NewDeleteIPFilterRulesetNotFound() *DeleteIPFilterRulesetNotFound

NewDeleteIPFilterRulesetNotFound creates a DeleteIPFilterRulesetNotFound with default headers values

func (*DeleteIPFilterRulesetNotFound) Error

func (*DeleteIPFilterRulesetNotFound) GetPayload

type DeleteIPFilterRulesetOK

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

The IP filter ruleset was successfully deleted

func NewDeleteIPFilterRulesetOK

func NewDeleteIPFilterRulesetOK() *DeleteIPFilterRulesetOK

NewDeleteIPFilterRulesetOK creates a DeleteIPFilterRulesetOK with default headers values

func (*DeleteIPFilterRulesetOK) Error

func (o *DeleteIPFilterRulesetOK) Error() string

func (*DeleteIPFilterRulesetOK) GetPayload

type DeleteIPFilterRulesetParams

type DeleteIPFilterRulesetParams struct {

	/* IgnoreAssociations.

	   When true, ignores the associations and deletes the rule set. When false, recognizes the associations, which prevents the deletion of the rule set.
	*/
	IgnoreAssociations *bool

	/* RulesetID.

	   The mandatory ruleset ID
	*/
	RulesetID string

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

DeleteIPFilterRulesetParams contains all the parameters to send to the API endpoint

for the delete ip filter ruleset operation.

Typically these are written to a http.Request.

func NewDeleteIPFilterRulesetParams

func NewDeleteIPFilterRulesetParams() *DeleteIPFilterRulesetParams

NewDeleteIPFilterRulesetParams creates a new DeleteIPFilterRulesetParams object, with the default timeout for this client.

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

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

func NewDeleteIPFilterRulesetParamsWithContext

func NewDeleteIPFilterRulesetParamsWithContext(ctx context.Context) *DeleteIPFilterRulesetParams

NewDeleteIPFilterRulesetParamsWithContext creates a new DeleteIPFilterRulesetParams object with the ability to set a context for a request.

func NewDeleteIPFilterRulesetParamsWithHTTPClient

func NewDeleteIPFilterRulesetParamsWithHTTPClient(client *http.Client) *DeleteIPFilterRulesetParams

NewDeleteIPFilterRulesetParamsWithHTTPClient creates a new DeleteIPFilterRulesetParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteIPFilterRulesetParamsWithTimeout

func NewDeleteIPFilterRulesetParamsWithTimeout(timeout time.Duration) *DeleteIPFilterRulesetParams

NewDeleteIPFilterRulesetParamsWithTimeout creates a new DeleteIPFilterRulesetParams object with the ability to set a timeout on a request.

func (*DeleteIPFilterRulesetParams) SetContext

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

SetContext adds the context to the delete ip filter ruleset params

func (*DeleteIPFilterRulesetParams) SetDefaults added in v1.3.0

func (o *DeleteIPFilterRulesetParams) SetDefaults()

SetDefaults hydrates default values in the delete ip filter ruleset params (not the query body).

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

func (*DeleteIPFilterRulesetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete ip filter ruleset params

func (*DeleteIPFilterRulesetParams) SetIgnoreAssociations

func (o *DeleteIPFilterRulesetParams) SetIgnoreAssociations(ignoreAssociations *bool)

SetIgnoreAssociations adds the ignoreAssociations to the delete ip filter ruleset params

func (*DeleteIPFilterRulesetParams) SetRulesetID

func (o *DeleteIPFilterRulesetParams) SetRulesetID(rulesetID string)

SetRulesetID adds the rulesetId to the delete ip filter ruleset params

func (*DeleteIPFilterRulesetParams) SetTimeout

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

SetTimeout adds the timeout to the delete ip filter ruleset params

func (*DeleteIPFilterRulesetParams) WithContext

WithContext adds the context to the delete ip filter ruleset params

func (*DeleteIPFilterRulesetParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the delete ip filter ruleset params (not the query body).

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

func (*DeleteIPFilterRulesetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete ip filter ruleset params

func (*DeleteIPFilterRulesetParams) WithIgnoreAssociations

func (o *DeleteIPFilterRulesetParams) WithIgnoreAssociations(ignoreAssociations *bool) *DeleteIPFilterRulesetParams

WithIgnoreAssociations adds the ignoreAssociations to the delete ip filter ruleset params

func (*DeleteIPFilterRulesetParams) WithRulesetID

func (o *DeleteIPFilterRulesetParams) WithRulesetID(rulesetID string) *DeleteIPFilterRulesetParams

WithRulesetID adds the rulesetID to the delete ip filter ruleset params

func (*DeleteIPFilterRulesetParams) WithTimeout

WithTimeout adds the timeout to the delete ip filter ruleset params

func (*DeleteIPFilterRulesetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteIPFilterRulesetReader

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

DeleteIPFilterRulesetReader is a Reader for the DeleteIPFilterRuleset structure.

func (*DeleteIPFilterRulesetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteIPFilterRulesetRetryWith

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

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

func NewDeleteIPFilterRulesetRetryWith

func NewDeleteIPFilterRulesetRetryWith() *DeleteIPFilterRulesetRetryWith

NewDeleteIPFilterRulesetRetryWith creates a DeleteIPFilterRulesetRetryWith with default headers values

func (*DeleteIPFilterRulesetRetryWith) Error

func (*DeleteIPFilterRulesetRetryWith) GetPayload

type GetIPFilterDeploymentRulesetAssociationsInternalServerError

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

Request execution failed (code: 'ip_filtering.request_execution_failed')

func NewGetIPFilterDeploymentRulesetAssociationsInternalServerError

func NewGetIPFilterDeploymentRulesetAssociationsInternalServerError() *GetIPFilterDeploymentRulesetAssociationsInternalServerError

NewGetIPFilterDeploymentRulesetAssociationsInternalServerError creates a GetIPFilterDeploymentRulesetAssociationsInternalServerError with default headers values

func (*GetIPFilterDeploymentRulesetAssociationsInternalServerError) Error

func (*GetIPFilterDeploymentRulesetAssociationsInternalServerError) GetPayload

type GetIPFilterDeploymentRulesetAssociationsOK

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

Rulesets in the deployment were successfully returned

func NewGetIPFilterDeploymentRulesetAssociationsOK

func NewGetIPFilterDeploymentRulesetAssociationsOK() *GetIPFilterDeploymentRulesetAssociationsOK

NewGetIPFilterDeploymentRulesetAssociationsOK creates a GetIPFilterDeploymentRulesetAssociationsOK with default headers values

func (*GetIPFilterDeploymentRulesetAssociationsOK) Error

func (*GetIPFilterDeploymentRulesetAssociationsOK) GetPayload

type GetIPFilterDeploymentRulesetAssociationsParams

type GetIPFilterDeploymentRulesetAssociationsParams struct {

	/* AssociatedEntityID.

	   Mandatory associated entity ID
	*/
	AssociatedEntityID string

	/* AssociationType.

	   Mandatory association type ID
	*/
	AssociationType string

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

GetIPFilterDeploymentRulesetAssociationsParams contains all the parameters to send to the API endpoint

for the get ip filter deployment ruleset associations operation.

Typically these are written to a http.Request.

func NewGetIPFilterDeploymentRulesetAssociationsParams

func NewGetIPFilterDeploymentRulesetAssociationsParams() *GetIPFilterDeploymentRulesetAssociationsParams

NewGetIPFilterDeploymentRulesetAssociationsParams creates a new GetIPFilterDeploymentRulesetAssociationsParams object, with the default timeout for this client.

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

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

func NewGetIPFilterDeploymentRulesetAssociationsParamsWithContext

func NewGetIPFilterDeploymentRulesetAssociationsParamsWithContext(ctx context.Context) *GetIPFilterDeploymentRulesetAssociationsParams

NewGetIPFilterDeploymentRulesetAssociationsParamsWithContext creates a new GetIPFilterDeploymentRulesetAssociationsParams object with the ability to set a context for a request.

func NewGetIPFilterDeploymentRulesetAssociationsParamsWithHTTPClient

func NewGetIPFilterDeploymentRulesetAssociationsParamsWithHTTPClient(client *http.Client) *GetIPFilterDeploymentRulesetAssociationsParams

NewGetIPFilterDeploymentRulesetAssociationsParamsWithHTTPClient creates a new GetIPFilterDeploymentRulesetAssociationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIPFilterDeploymentRulesetAssociationsParamsWithTimeout

func NewGetIPFilterDeploymentRulesetAssociationsParamsWithTimeout(timeout time.Duration) *GetIPFilterDeploymentRulesetAssociationsParams

NewGetIPFilterDeploymentRulesetAssociationsParamsWithTimeout creates a new GetIPFilterDeploymentRulesetAssociationsParams object with the ability to set a timeout on a request.

func (*GetIPFilterDeploymentRulesetAssociationsParams) SetAssociatedEntityID

func (o *GetIPFilterDeploymentRulesetAssociationsParams) SetAssociatedEntityID(associatedEntityID string)

SetAssociatedEntityID adds the associatedEntityId to the get ip filter deployment ruleset associations params

func (*GetIPFilterDeploymentRulesetAssociationsParams) SetAssociationType

func (o *GetIPFilterDeploymentRulesetAssociationsParams) SetAssociationType(associationType string)

SetAssociationType adds the associationType to the get ip filter deployment ruleset associations params

func (*GetIPFilterDeploymentRulesetAssociationsParams) SetContext

SetContext adds the context to the get ip filter deployment ruleset associations params

func (*GetIPFilterDeploymentRulesetAssociationsParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the get ip filter deployment ruleset associations params (not the query body).

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

func (*GetIPFilterDeploymentRulesetAssociationsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get ip filter deployment ruleset associations params

func (*GetIPFilterDeploymentRulesetAssociationsParams) SetTimeout

SetTimeout adds the timeout to the get ip filter deployment ruleset associations params

func (*GetIPFilterDeploymentRulesetAssociationsParams) WithAssociatedEntityID

WithAssociatedEntityID adds the associatedEntityID to the get ip filter deployment ruleset associations params

func (*GetIPFilterDeploymentRulesetAssociationsParams) WithAssociationType

WithAssociationType adds the associationType to the get ip filter deployment ruleset associations params

func (*GetIPFilterDeploymentRulesetAssociationsParams) WithContext

WithContext adds the context to the get ip filter deployment ruleset associations params

func (*GetIPFilterDeploymentRulesetAssociationsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get ip filter deployment ruleset associations params (not the query body).

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

func (*GetIPFilterDeploymentRulesetAssociationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get ip filter deployment ruleset associations params

func (*GetIPFilterDeploymentRulesetAssociationsParams) WithTimeout

WithTimeout adds the timeout to the get ip filter deployment ruleset associations params

func (*GetIPFilterDeploymentRulesetAssociationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIPFilterDeploymentRulesetAssociationsReader

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

GetIPFilterDeploymentRulesetAssociationsReader is a Reader for the GetIPFilterDeploymentRulesetAssociations structure.

func (*GetIPFilterDeploymentRulesetAssociationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIPFilterRulesetDeploymentAssociationsInternalServerError

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

Request execution failed (code: 'ip_filtering.request_execution_failed')

func NewGetIPFilterRulesetDeploymentAssociationsInternalServerError

func NewGetIPFilterRulesetDeploymentAssociationsInternalServerError() *GetIPFilterRulesetDeploymentAssociationsInternalServerError

NewGetIPFilterRulesetDeploymentAssociationsInternalServerError creates a GetIPFilterRulesetDeploymentAssociationsInternalServerError with default headers values

func (*GetIPFilterRulesetDeploymentAssociationsInternalServerError) Error

func (*GetIPFilterRulesetDeploymentAssociationsInternalServerError) GetPayload

type GetIPFilterRulesetDeploymentAssociationsOK

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

Associations referred by IP filter rulesets were successfully returned

func NewGetIPFilterRulesetDeploymentAssociationsOK

func NewGetIPFilterRulesetDeploymentAssociationsOK() *GetIPFilterRulesetDeploymentAssociationsOK

NewGetIPFilterRulesetDeploymentAssociationsOK creates a GetIPFilterRulesetDeploymentAssociationsOK with default headers values

func (*GetIPFilterRulesetDeploymentAssociationsOK) Error

func (*GetIPFilterRulesetDeploymentAssociationsOK) GetPayload

type GetIPFilterRulesetDeploymentAssociationsParams

type GetIPFilterRulesetDeploymentAssociationsParams struct {

	/* RulesetID.

	   Mandatory ruleset ID
	*/
	RulesetID string

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

GetIPFilterRulesetDeploymentAssociationsParams contains all the parameters to send to the API endpoint

for the get ip filter ruleset deployment associations operation.

Typically these are written to a http.Request.

func NewGetIPFilterRulesetDeploymentAssociationsParams

func NewGetIPFilterRulesetDeploymentAssociationsParams() *GetIPFilterRulesetDeploymentAssociationsParams

NewGetIPFilterRulesetDeploymentAssociationsParams creates a new GetIPFilterRulesetDeploymentAssociationsParams object, with the default timeout for this client.

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

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

func NewGetIPFilterRulesetDeploymentAssociationsParamsWithContext

func NewGetIPFilterRulesetDeploymentAssociationsParamsWithContext(ctx context.Context) *GetIPFilterRulesetDeploymentAssociationsParams

NewGetIPFilterRulesetDeploymentAssociationsParamsWithContext creates a new GetIPFilterRulesetDeploymentAssociationsParams object with the ability to set a context for a request.

func NewGetIPFilterRulesetDeploymentAssociationsParamsWithHTTPClient

func NewGetIPFilterRulesetDeploymentAssociationsParamsWithHTTPClient(client *http.Client) *GetIPFilterRulesetDeploymentAssociationsParams

NewGetIPFilterRulesetDeploymentAssociationsParamsWithHTTPClient creates a new GetIPFilterRulesetDeploymentAssociationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIPFilterRulesetDeploymentAssociationsParamsWithTimeout

func NewGetIPFilterRulesetDeploymentAssociationsParamsWithTimeout(timeout time.Duration) *GetIPFilterRulesetDeploymentAssociationsParams

NewGetIPFilterRulesetDeploymentAssociationsParamsWithTimeout creates a new GetIPFilterRulesetDeploymentAssociationsParams object with the ability to set a timeout on a request.

func (*GetIPFilterRulesetDeploymentAssociationsParams) SetContext

SetContext adds the context to the get ip filter ruleset deployment associations params

func (*GetIPFilterRulesetDeploymentAssociationsParams) SetDefaults added in v1.3.0

SetDefaults hydrates default values in the get ip filter ruleset deployment associations params (not the query body).

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

func (*GetIPFilterRulesetDeploymentAssociationsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get ip filter ruleset deployment associations params

func (*GetIPFilterRulesetDeploymentAssociationsParams) SetRulesetID

func (o *GetIPFilterRulesetDeploymentAssociationsParams) SetRulesetID(rulesetID string)

SetRulesetID adds the rulesetId to the get ip filter ruleset deployment associations params

func (*GetIPFilterRulesetDeploymentAssociationsParams) SetTimeout

SetTimeout adds the timeout to the get ip filter ruleset deployment associations params

func (*GetIPFilterRulesetDeploymentAssociationsParams) WithContext

WithContext adds the context to the get ip filter ruleset deployment associations params

func (*GetIPFilterRulesetDeploymentAssociationsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get ip filter ruleset deployment associations params (not the query body).

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

func (*GetIPFilterRulesetDeploymentAssociationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get ip filter ruleset deployment associations params

func (*GetIPFilterRulesetDeploymentAssociationsParams) WithRulesetID

WithRulesetID adds the rulesetID to the get ip filter ruleset deployment associations params

func (*GetIPFilterRulesetDeploymentAssociationsParams) WithTimeout

WithTimeout adds the timeout to the get ip filter ruleset deployment associations params

func (*GetIPFilterRulesetDeploymentAssociationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIPFilterRulesetDeploymentAssociationsReader

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

GetIPFilterRulesetDeploymentAssociationsReader is a Reader for the GetIPFilterRulesetDeploymentAssociations structure.

func (*GetIPFilterRulesetDeploymentAssociationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIPFilterRulesetInternalServerError

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

The request execution failed (code: 'ip_filtering.request_execution_failed')

func NewGetIPFilterRulesetInternalServerError

func NewGetIPFilterRulesetInternalServerError() *GetIPFilterRulesetInternalServerError

NewGetIPFilterRulesetInternalServerError creates a GetIPFilterRulesetInternalServerError with default headers values

func (*GetIPFilterRulesetInternalServerError) Error

func (*GetIPFilterRulesetInternalServerError) GetPayload

type GetIPFilterRulesetNotFound

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

The IP filter ruleset specified by {ruleset_id} cannot be found (code: 'ip_filtering.ruleset_not_found')

func NewGetIPFilterRulesetNotFound

func NewGetIPFilterRulesetNotFound() *GetIPFilterRulesetNotFound

NewGetIPFilterRulesetNotFound creates a GetIPFilterRulesetNotFound with default headers values

func (*GetIPFilterRulesetNotFound) Error

func (*GetIPFilterRulesetNotFound) GetPayload

type GetIPFilterRulesetOK

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

The IP filter ruleset was successfully returned

func NewGetIPFilterRulesetOK

func NewGetIPFilterRulesetOK() *GetIPFilterRulesetOK

NewGetIPFilterRulesetOK creates a GetIPFilterRulesetOK with default headers values

func (*GetIPFilterRulesetOK) Error

func (o *GetIPFilterRulesetOK) Error() string

func (*GetIPFilterRulesetOK) GetPayload

func (o *GetIPFilterRulesetOK) GetPayload() *models.IPFilterRuleset

type GetIPFilterRulesetParams

type GetIPFilterRulesetParams struct {

	/* IncludeAssociations.

	   Retrieves a list of resources that are associated to the specified ruleset.
	*/
	IncludeAssociations *bool

	/* RulesetID.

	   The mandatory ruleset ID
	*/
	RulesetID string

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

GetIPFilterRulesetParams contains all the parameters to send to the API endpoint

for the get ip filter ruleset operation.

Typically these are written to a http.Request.

func NewGetIPFilterRulesetParams

func NewGetIPFilterRulesetParams() *GetIPFilterRulesetParams

NewGetIPFilterRulesetParams creates a new GetIPFilterRulesetParams object, with the default timeout for this client.

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

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

func NewGetIPFilterRulesetParamsWithContext

func NewGetIPFilterRulesetParamsWithContext(ctx context.Context) *GetIPFilterRulesetParams

NewGetIPFilterRulesetParamsWithContext creates a new GetIPFilterRulesetParams object with the ability to set a context for a request.

func NewGetIPFilterRulesetParamsWithHTTPClient

func NewGetIPFilterRulesetParamsWithHTTPClient(client *http.Client) *GetIPFilterRulesetParams

NewGetIPFilterRulesetParamsWithHTTPClient creates a new GetIPFilterRulesetParams object with the ability to set a custom HTTPClient for a request.

func NewGetIPFilterRulesetParamsWithTimeout

func NewGetIPFilterRulesetParamsWithTimeout(timeout time.Duration) *GetIPFilterRulesetParams

NewGetIPFilterRulesetParamsWithTimeout creates a new GetIPFilterRulesetParams object with the ability to set a timeout on a request.

func (*GetIPFilterRulesetParams) SetContext

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

SetContext adds the context to the get ip filter ruleset params

func (*GetIPFilterRulesetParams) SetDefaults added in v1.3.0

func (o *GetIPFilterRulesetParams) SetDefaults()

SetDefaults hydrates default values in the get ip filter ruleset params (not the query body).

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

func (*GetIPFilterRulesetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ip filter ruleset params

func (*GetIPFilterRulesetParams) SetIncludeAssociations

func (o *GetIPFilterRulesetParams) SetIncludeAssociations(includeAssociations *bool)

SetIncludeAssociations adds the includeAssociations to the get ip filter ruleset params

func (*GetIPFilterRulesetParams) SetRulesetID

func (o *GetIPFilterRulesetParams) SetRulesetID(rulesetID string)

SetRulesetID adds the rulesetId to the get ip filter ruleset params

func (*GetIPFilterRulesetParams) SetTimeout

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

SetTimeout adds the timeout to the get ip filter ruleset params

func (*GetIPFilterRulesetParams) WithContext

WithContext adds the context to the get ip filter ruleset params

func (*GetIPFilterRulesetParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get ip filter ruleset params (not the query body).

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

func (*GetIPFilterRulesetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get ip filter ruleset params

func (*GetIPFilterRulesetParams) WithIncludeAssociations

func (o *GetIPFilterRulesetParams) WithIncludeAssociations(includeAssociations *bool) *GetIPFilterRulesetParams

WithIncludeAssociations adds the includeAssociations to the get ip filter ruleset params

func (*GetIPFilterRulesetParams) WithRulesetID

func (o *GetIPFilterRulesetParams) WithRulesetID(rulesetID string) *GetIPFilterRulesetParams

WithRulesetID adds the rulesetID to the get ip filter ruleset params

func (*GetIPFilterRulesetParams) WithTimeout

WithTimeout adds the timeout to the get ip filter ruleset params

func (*GetIPFilterRulesetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIPFilterRulesetReader

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

GetIPFilterRulesetReader is a Reader for the GetIPFilterRuleset structure.

func (*GetIPFilterRulesetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetIPFilterRulesetsInternalServerError

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

The request execution failed (code: 'ip_filtering.request_execution_failed')

func NewGetIPFilterRulesetsInternalServerError

func NewGetIPFilterRulesetsInternalServerError() *GetIPFilterRulesetsInternalServerError

NewGetIPFilterRulesetsInternalServerError creates a GetIPFilterRulesetsInternalServerError with default headers values

func (*GetIPFilterRulesetsInternalServerError) Error

func (*GetIPFilterRulesetsInternalServerError) GetPayload

type GetIPFilterRulesetsOK

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

The IP filter rulesets for the user were successfully returned

func NewGetIPFilterRulesetsOK

func NewGetIPFilterRulesetsOK() *GetIPFilterRulesetsOK

NewGetIPFilterRulesetsOK creates a GetIPFilterRulesetsOK with default headers values

func (*GetIPFilterRulesetsOK) Error

func (o *GetIPFilterRulesetsOK) Error() string

func (*GetIPFilterRulesetsOK) GetPayload

type GetIPFilterRulesetsParams

type GetIPFilterRulesetsParams struct {

	/* IncludeAssociations.

	   Retrieves a list of resources that are associated to the specified ruleset.
	*/
	IncludeAssociations *bool

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

GetIPFilterRulesetsParams contains all the parameters to send to the API endpoint

for the get ip filter rulesets operation.

Typically these are written to a http.Request.

func NewGetIPFilterRulesetsParams

func NewGetIPFilterRulesetsParams() *GetIPFilterRulesetsParams

NewGetIPFilterRulesetsParams creates a new GetIPFilterRulesetsParams object, with the default timeout for this client.

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

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

func NewGetIPFilterRulesetsParamsWithContext

func NewGetIPFilterRulesetsParamsWithContext(ctx context.Context) *GetIPFilterRulesetsParams

NewGetIPFilterRulesetsParamsWithContext creates a new GetIPFilterRulesetsParams object with the ability to set a context for a request.

func NewGetIPFilterRulesetsParamsWithHTTPClient

func NewGetIPFilterRulesetsParamsWithHTTPClient(client *http.Client) *GetIPFilterRulesetsParams

NewGetIPFilterRulesetsParamsWithHTTPClient creates a new GetIPFilterRulesetsParams object with the ability to set a custom HTTPClient for a request.

func NewGetIPFilterRulesetsParamsWithTimeout

func NewGetIPFilterRulesetsParamsWithTimeout(timeout time.Duration) *GetIPFilterRulesetsParams

NewGetIPFilterRulesetsParamsWithTimeout creates a new GetIPFilterRulesetsParams object with the ability to set a timeout on a request.

func (*GetIPFilterRulesetsParams) SetContext

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

SetContext adds the context to the get ip filter rulesets params

func (*GetIPFilterRulesetsParams) SetDefaults added in v1.3.0

func (o *GetIPFilterRulesetsParams) SetDefaults()

SetDefaults hydrates default values in the get ip filter rulesets params (not the query body).

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

func (*GetIPFilterRulesetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get ip filter rulesets params

func (*GetIPFilterRulesetsParams) SetIncludeAssociations

func (o *GetIPFilterRulesetsParams) SetIncludeAssociations(includeAssociations *bool)

SetIncludeAssociations adds the includeAssociations to the get ip filter rulesets params

func (*GetIPFilterRulesetsParams) SetTimeout

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

SetTimeout adds the timeout to the get ip filter rulesets params

func (*GetIPFilterRulesetsParams) WithContext

WithContext adds the context to the get ip filter rulesets params

func (*GetIPFilterRulesetsParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the get ip filter rulesets params (not the query body).

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

func (*GetIPFilterRulesetsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get ip filter rulesets params

func (*GetIPFilterRulesetsParams) WithIncludeAssociations

func (o *GetIPFilterRulesetsParams) WithIncludeAssociations(includeAssociations *bool) *GetIPFilterRulesetsParams

WithIncludeAssociations adds the includeAssociations to the get ip filter rulesets params

func (*GetIPFilterRulesetsParams) WithTimeout

WithTimeout adds the timeout to the get ip filter rulesets params

func (*GetIPFilterRulesetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetIPFilterRulesetsReader

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

GetIPFilterRulesetsReader is a Reader for the GetIPFilterRulesets structure.

func (*GetIPFilterRulesetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateIPFilterRulesetBadRequest

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

The ruleset definition contains errors (code: 'ip_filtering.ruleset_invalid')

func NewUpdateIPFilterRulesetBadRequest

func NewUpdateIPFilterRulesetBadRequest() *UpdateIPFilterRulesetBadRequest

NewUpdateIPFilterRulesetBadRequest creates a UpdateIPFilterRulesetBadRequest with default headers values

func (*UpdateIPFilterRulesetBadRequest) Error

func (*UpdateIPFilterRulesetBadRequest) GetPayload

type UpdateIPFilterRulesetInternalServerError

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

The request execution failed (code: 'ip_filtering.request_execution_failed')

func NewUpdateIPFilterRulesetInternalServerError

func NewUpdateIPFilterRulesetInternalServerError() *UpdateIPFilterRulesetInternalServerError

NewUpdateIPFilterRulesetInternalServerError creates a UpdateIPFilterRulesetInternalServerError with default headers values

func (*UpdateIPFilterRulesetInternalServerError) Error

func (*UpdateIPFilterRulesetInternalServerError) GetPayload

type UpdateIPFilterRulesetOK

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

The ruleset definition was valid and the update has started

func NewUpdateIPFilterRulesetOK

func NewUpdateIPFilterRulesetOK() *UpdateIPFilterRulesetOK

NewUpdateIPFilterRulesetOK creates a UpdateIPFilterRulesetOK with default headers values

func (*UpdateIPFilterRulesetOK) Error

func (o *UpdateIPFilterRulesetOK) Error() string

func (*UpdateIPFilterRulesetOK) GetPayload

type UpdateIPFilterRulesetParams

type UpdateIPFilterRulesetParams struct {

	/* Body.

	   The ruleset definition
	*/
	Body *models.IPFilterRuleset

	/* RulesetID.

	   The mandatory ruleset ID
	*/
	RulesetID string

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

UpdateIPFilterRulesetParams contains all the parameters to send to the API endpoint

for the update ip filter ruleset operation.

Typically these are written to a http.Request.

func NewUpdateIPFilterRulesetParams

func NewUpdateIPFilterRulesetParams() *UpdateIPFilterRulesetParams

NewUpdateIPFilterRulesetParams creates a new UpdateIPFilterRulesetParams object, with the default timeout for this client.

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

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

func NewUpdateIPFilterRulesetParamsWithContext

func NewUpdateIPFilterRulesetParamsWithContext(ctx context.Context) *UpdateIPFilterRulesetParams

NewUpdateIPFilterRulesetParamsWithContext creates a new UpdateIPFilterRulesetParams object with the ability to set a context for a request.

func NewUpdateIPFilterRulesetParamsWithHTTPClient

func NewUpdateIPFilterRulesetParamsWithHTTPClient(client *http.Client) *UpdateIPFilterRulesetParams

NewUpdateIPFilterRulesetParamsWithHTTPClient creates a new UpdateIPFilterRulesetParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateIPFilterRulesetParamsWithTimeout

func NewUpdateIPFilterRulesetParamsWithTimeout(timeout time.Duration) *UpdateIPFilterRulesetParams

NewUpdateIPFilterRulesetParamsWithTimeout creates a new UpdateIPFilterRulesetParams object with the ability to set a timeout on a request.

func (*UpdateIPFilterRulesetParams) SetBody

SetBody adds the body to the update ip filter ruleset params

func (*UpdateIPFilterRulesetParams) SetContext

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

SetContext adds the context to the update ip filter ruleset params

func (*UpdateIPFilterRulesetParams) SetDefaults added in v1.3.0

func (o *UpdateIPFilterRulesetParams) SetDefaults()

SetDefaults hydrates default values in the update ip filter ruleset params (not the query body).

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

func (*UpdateIPFilterRulesetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update ip filter ruleset params

func (*UpdateIPFilterRulesetParams) SetRulesetID

func (o *UpdateIPFilterRulesetParams) SetRulesetID(rulesetID string)

SetRulesetID adds the rulesetId to the update ip filter ruleset params

func (*UpdateIPFilterRulesetParams) SetTimeout

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

SetTimeout adds the timeout to the update ip filter ruleset params

func (*UpdateIPFilterRulesetParams) WithBody

WithBody adds the body to the update ip filter ruleset params

func (*UpdateIPFilterRulesetParams) WithContext

WithContext adds the context to the update ip filter ruleset params

func (*UpdateIPFilterRulesetParams) WithDefaults added in v1.3.0

WithDefaults hydrates default values in the update ip filter ruleset params (not the query body).

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

func (*UpdateIPFilterRulesetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update ip filter ruleset params

func (*UpdateIPFilterRulesetParams) WithRulesetID

func (o *UpdateIPFilterRulesetParams) WithRulesetID(rulesetID string) *UpdateIPFilterRulesetParams

WithRulesetID adds the rulesetID to the update ip filter ruleset params

func (*UpdateIPFilterRulesetParams) WithTimeout

WithTimeout adds the timeout to the update ip filter ruleset params

func (*UpdateIPFilterRulesetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateIPFilterRulesetReader

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

UpdateIPFilterRulesetReader is a Reader for the UpdateIPFilterRuleset structure.

func (*UpdateIPFilterRulesetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateIPFilterRulesetRetryWith

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

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

func NewUpdateIPFilterRulesetRetryWith

func NewUpdateIPFilterRulesetRetryWith() *UpdateIPFilterRulesetRetryWith

NewUpdateIPFilterRulesetRetryWith creates a UpdateIPFilterRulesetRetryWith with default headers values

func (*UpdateIPFilterRulesetRetryWith) Error

func (*UpdateIPFilterRulesetRetryWith) GetPayload

Jump to

Keyboard shortcuts

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