security_group

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeSecurityGroupsAccepted added in v0.2.18

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

successful operation

func NewChangeSecurityGroupsAccepted added in v0.2.18

func NewChangeSecurityGroupsAccepted() *ChangeSecurityGroupsAccepted

NewChangeSecurityGroupsAccepted creates a ChangeSecurityGroupsAccepted with default headers values

func (*ChangeSecurityGroupsAccepted) Error added in v0.2.18

func (*ChangeSecurityGroupsAccepted) GetPayload added in v0.2.18

type ChangeSecurityGroupsBadRequest added in v0.2.14

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

Change security groups action is not supported for a machine cluster

func NewChangeSecurityGroupsBadRequest added in v0.2.14

func NewChangeSecurityGroupsBadRequest() *ChangeSecurityGroupsBadRequest

NewChangeSecurityGroupsBadRequest creates a ChangeSecurityGroupsBadRequest with default headers values

func (*ChangeSecurityGroupsBadRequest) Error added in v0.2.14

func (*ChangeSecurityGroupsBadRequest) GetPayload added in v0.2.14

func (o *ChangeSecurityGroupsBadRequest) GetPayload() *models.Error

type ChangeSecurityGroupsForbidden added in v0.2.14

type ChangeSecurityGroupsForbidden struct {
	Payload *models.ServiceErrorResponse
}
ChangeSecurityGroupsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewChangeSecurityGroupsForbidden added in v0.2.14

func NewChangeSecurityGroupsForbidden() *ChangeSecurityGroupsForbidden

NewChangeSecurityGroupsForbidden creates a ChangeSecurityGroupsForbidden with default headers values

func (*ChangeSecurityGroupsForbidden) Error added in v0.2.14

func (*ChangeSecurityGroupsForbidden) GetPayload added in v0.2.20

type ChangeSecurityGroupsNotFound added in v0.2.14

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

Not Found

func NewChangeSecurityGroupsNotFound added in v0.2.14

func NewChangeSecurityGroupsNotFound() *ChangeSecurityGroupsNotFound

NewChangeSecurityGroupsNotFound creates a ChangeSecurityGroupsNotFound with default headers values

func (*ChangeSecurityGroupsNotFound) Error added in v0.2.14

func (*ChangeSecurityGroupsNotFound) GetPayload added in v0.2.14

func (o *ChangeSecurityGroupsNotFound) GetPayload() *models.Error

type ChangeSecurityGroupsParams added in v0.2.14

type ChangeSecurityGroupsParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   Change security groups details
	*/
	Body *models.ChangeSecurityGroupSpecification

	/* ID.

	   The id of the vSphere machine.
	*/
	ID string

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

ChangeSecurityGroupsParams contains all the parameters to send to the API endpoint

for the change security groups operation.

Typically these are written to a http.Request.

func NewChangeSecurityGroupsParams added in v0.2.14

func NewChangeSecurityGroupsParams() *ChangeSecurityGroupsParams

NewChangeSecurityGroupsParams creates a new ChangeSecurityGroupsParams 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 NewChangeSecurityGroupsParamsWithContext added in v0.2.14

func NewChangeSecurityGroupsParamsWithContext(ctx context.Context) *ChangeSecurityGroupsParams

NewChangeSecurityGroupsParamsWithContext creates a new ChangeSecurityGroupsParams object with the ability to set a context for a request.

func NewChangeSecurityGroupsParamsWithHTTPClient added in v0.2.14

func NewChangeSecurityGroupsParamsWithHTTPClient(client *http.Client) *ChangeSecurityGroupsParams

NewChangeSecurityGroupsParamsWithHTTPClient creates a new ChangeSecurityGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewChangeSecurityGroupsParamsWithTimeout added in v0.2.14

func NewChangeSecurityGroupsParamsWithTimeout(timeout time.Duration) *ChangeSecurityGroupsParams

NewChangeSecurityGroupsParamsWithTimeout creates a new ChangeSecurityGroupsParams object with the ability to set a timeout on a request.

func (*ChangeSecurityGroupsParams) SetAPIVersion added in v0.2.14

func (o *ChangeSecurityGroupsParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the change security groups params

func (*ChangeSecurityGroupsParams) SetBody added in v0.2.14

SetBody adds the body to the change security groups params

func (*ChangeSecurityGroupsParams) SetContext added in v0.2.14

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

SetContext adds the context to the change security groups params

func (*ChangeSecurityGroupsParams) SetDefaults added in v0.2.20

func (o *ChangeSecurityGroupsParams) SetDefaults()

SetDefaults hydrates default values in the change security groups params (not the query body).

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

func (*ChangeSecurityGroupsParams) SetHTTPClient added in v0.2.14

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

SetHTTPClient adds the HTTPClient to the change security groups params

func (*ChangeSecurityGroupsParams) SetID added in v0.2.14

func (o *ChangeSecurityGroupsParams) SetID(id string)

SetID adds the id to the change security groups params

func (*ChangeSecurityGroupsParams) SetTimeout added in v0.2.14

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

SetTimeout adds the timeout to the change security groups params

func (*ChangeSecurityGroupsParams) WithAPIVersion added in v0.2.14

func (o *ChangeSecurityGroupsParams) WithAPIVersion(aPIVersion *string) *ChangeSecurityGroupsParams

WithAPIVersion adds the aPIVersion to the change security groups params

func (*ChangeSecurityGroupsParams) WithBody added in v0.2.14

WithBody adds the body to the change security groups params

func (*ChangeSecurityGroupsParams) WithContext added in v0.2.14

WithContext adds the context to the change security groups params

func (*ChangeSecurityGroupsParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the change security groups params (not the query body).

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

func (*ChangeSecurityGroupsParams) WithHTTPClient added in v0.2.14

WithHTTPClient adds the HTTPClient to the change security groups params

func (*ChangeSecurityGroupsParams) WithID added in v0.2.14

WithID adds the id to the change security groups params

func (*ChangeSecurityGroupsParams) WithTimeout added in v0.2.14

WithTimeout adds the timeout to the change security groups params

func (*ChangeSecurityGroupsParams) WriteToRequest added in v0.2.14

WriteToRequest writes these params to a swagger request

type ChangeSecurityGroupsReader added in v0.2.14

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

ChangeSecurityGroupsReader is a Reader for the ChangeSecurityGroups structure.

func (*ChangeSecurityGroupsReader) ReadResponse added in v0.2.14

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

ReadResponse reads a server response into the received o.

type Client

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

Client for security group API

func (*Client) ChangeSecurityGroups added in v0.2.14

func (a *Client) ChangeSecurityGroups(params *ChangeSecurityGroupsParams, opts ...ClientOption) (*ChangeSecurityGroupsAccepted, error)

ChangeSecurityGroups changes security groups for a v sphere machine

Change security groups for a vSphere machine network interfaces. Securing group that is part of the same deployment can be added or removed for a machine network interface.

func (*Client) CreateOnDemandSecurityGroup added in v0.2.8

func (a *Client) CreateOnDemandSecurityGroup(params *CreateOnDemandSecurityGroupParams, opts ...ClientOption) (*CreateOnDemandSecurityGroupAccepted, error)

CreateOnDemandSecurityGroup creates on demand security group

Provision a new on-demand security group

func (*Client) DeleteSecurityGroup added in v0.2.8

DeleteSecurityGroup deletes an on demand security group

Delete an on-demand security group with a given id

func (*Client) GetSecurityGroup

func (a *Client) GetSecurityGroup(params *GetSecurityGroupParams, opts ...ClientOption) (*GetSecurityGroupOK, error)

GetSecurityGroup gets security group

Get security group with a given id

func (*Client) GetSecurityGroups

func (a *Client) GetSecurityGroups(params *GetSecurityGroupsParams, opts ...ClientOption) (*GetSecurityGroupsOK, error)

GetSecurityGroups gets security groups

Get all security groups

func (*Client) ReconfigureSecurityGroup added in v0.2.20

func (a *Client) ReconfigureSecurityGroup(params *ReconfigureSecurityGroupParams, opts ...ClientOption) (*ReconfigureSecurityGroupAccepted, error)

ReconfigureSecurityGroup reconfigures operation for security group

Day-2 reconfigure operation for new security groups provisioned by vRA. This is not supported for 'existing' security groups

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateSecurityGroup added in v0.2.14

func (a *Client) UpdateSecurityGroup(params *UpdateSecurityGroupParams, opts ...ClientOption) (*UpdateSecurityGroupOK, error)

UpdateSecurityGroup updates security group

Update security group. Only tag updates are supported.

type ClientOption added in v0.2.20

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.2.18

type ClientService interface {
	ChangeSecurityGroups(params *ChangeSecurityGroupsParams, opts ...ClientOption) (*ChangeSecurityGroupsAccepted, error)

	CreateOnDemandSecurityGroup(params *CreateOnDemandSecurityGroupParams, opts ...ClientOption) (*CreateOnDemandSecurityGroupAccepted, error)

	DeleteSecurityGroup(params *DeleteSecurityGroupParams, opts ...ClientOption) (*DeleteSecurityGroupAccepted, *DeleteSecurityGroupNoContent, error)

	GetSecurityGroup(params *GetSecurityGroupParams, opts ...ClientOption) (*GetSecurityGroupOK, error)

	GetSecurityGroups(params *GetSecurityGroupsParams, opts ...ClientOption) (*GetSecurityGroupsOK, error)

	ReconfigureSecurityGroup(params *ReconfigureSecurityGroupParams, opts ...ClientOption) (*ReconfigureSecurityGroupAccepted, error)

	UpdateSecurityGroup(params *UpdateSecurityGroupParams, opts ...ClientOption) (*UpdateSecurityGroupOK, 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 security group API client.

type CreateOnDemandSecurityGroupAccepted added in v0.2.8

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

successful operation

func NewCreateOnDemandSecurityGroupAccepted added in v0.2.8

func NewCreateOnDemandSecurityGroupAccepted() *CreateOnDemandSecurityGroupAccepted

NewCreateOnDemandSecurityGroupAccepted creates a CreateOnDemandSecurityGroupAccepted with default headers values

func (*CreateOnDemandSecurityGroupAccepted) Error added in v0.2.8

func (*CreateOnDemandSecurityGroupAccepted) GetPayload added in v0.2.8

type CreateOnDemandSecurityGroupBadRequest added in v0.2.8

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

Invalid Request - bad data

func NewCreateOnDemandSecurityGroupBadRequest added in v0.2.8

func NewCreateOnDemandSecurityGroupBadRequest() *CreateOnDemandSecurityGroupBadRequest

NewCreateOnDemandSecurityGroupBadRequest creates a CreateOnDemandSecurityGroupBadRequest with default headers values

func (*CreateOnDemandSecurityGroupBadRequest) Error added in v0.2.8

func (*CreateOnDemandSecurityGroupBadRequest) GetPayload added in v0.2.9

type CreateOnDemandSecurityGroupForbidden added in v0.2.8

type CreateOnDemandSecurityGroupForbidden struct {
	Payload *models.ServiceErrorResponse
}
CreateOnDemandSecurityGroupForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateOnDemandSecurityGroupForbidden added in v0.2.8

func NewCreateOnDemandSecurityGroupForbidden() *CreateOnDemandSecurityGroupForbidden

NewCreateOnDemandSecurityGroupForbidden creates a CreateOnDemandSecurityGroupForbidden with default headers values

func (*CreateOnDemandSecurityGroupForbidden) Error added in v0.2.8

func (*CreateOnDemandSecurityGroupForbidden) GetPayload added in v0.2.20

type CreateOnDemandSecurityGroupParams added in v0.2.8

type CreateOnDemandSecurityGroupParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   Security group Specification instance
	*/
	Body *models.SecurityGroupSpecification

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

CreateOnDemandSecurityGroupParams contains all the parameters to send to the API endpoint

for the create on demand security group operation.

Typically these are written to a http.Request.

func NewCreateOnDemandSecurityGroupParams added in v0.2.8

func NewCreateOnDemandSecurityGroupParams() *CreateOnDemandSecurityGroupParams

NewCreateOnDemandSecurityGroupParams creates a new CreateOnDemandSecurityGroupParams 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 NewCreateOnDemandSecurityGroupParamsWithContext added in v0.2.8

func NewCreateOnDemandSecurityGroupParamsWithContext(ctx context.Context) *CreateOnDemandSecurityGroupParams

NewCreateOnDemandSecurityGroupParamsWithContext creates a new CreateOnDemandSecurityGroupParams object with the ability to set a context for a request.

func NewCreateOnDemandSecurityGroupParamsWithHTTPClient added in v0.2.8

func NewCreateOnDemandSecurityGroupParamsWithHTTPClient(client *http.Client) *CreateOnDemandSecurityGroupParams

NewCreateOnDemandSecurityGroupParamsWithHTTPClient creates a new CreateOnDemandSecurityGroupParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOnDemandSecurityGroupParamsWithTimeout added in v0.2.8

func NewCreateOnDemandSecurityGroupParamsWithTimeout(timeout time.Duration) *CreateOnDemandSecurityGroupParams

NewCreateOnDemandSecurityGroupParamsWithTimeout creates a new CreateOnDemandSecurityGroupParams object with the ability to set a timeout on a request.

func (*CreateOnDemandSecurityGroupParams) SetAPIVersion added in v0.2.8

func (o *CreateOnDemandSecurityGroupParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the create on demand security group params

func (*CreateOnDemandSecurityGroupParams) SetBody added in v0.2.8

SetBody adds the body to the create on demand security group params

func (*CreateOnDemandSecurityGroupParams) SetContext added in v0.2.8

SetContext adds the context to the create on demand security group params

func (*CreateOnDemandSecurityGroupParams) SetDefaults added in v0.2.20

func (o *CreateOnDemandSecurityGroupParams) SetDefaults()

SetDefaults hydrates default values in the create on demand security group params (not the query body).

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

func (*CreateOnDemandSecurityGroupParams) SetHTTPClient added in v0.2.8

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

SetHTTPClient adds the HTTPClient to the create on demand security group params

func (*CreateOnDemandSecurityGroupParams) SetTimeout added in v0.2.8

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

SetTimeout adds the timeout to the create on demand security group params

func (*CreateOnDemandSecurityGroupParams) WithAPIVersion added in v0.2.8

WithAPIVersion adds the aPIVersion to the create on demand security group params

func (*CreateOnDemandSecurityGroupParams) WithBody added in v0.2.8

WithBody adds the body to the create on demand security group params

func (*CreateOnDemandSecurityGroupParams) WithContext added in v0.2.8

WithContext adds the context to the create on demand security group params

func (*CreateOnDemandSecurityGroupParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the create on demand security group params (not the query body).

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

func (*CreateOnDemandSecurityGroupParams) WithHTTPClient added in v0.2.8

WithHTTPClient adds the HTTPClient to the create on demand security group params

func (*CreateOnDemandSecurityGroupParams) WithTimeout added in v0.2.8

WithTimeout adds the timeout to the create on demand security group params

func (*CreateOnDemandSecurityGroupParams) WriteToRequest added in v0.2.8

WriteToRequest writes these params to a swagger request

type CreateOnDemandSecurityGroupReader added in v0.2.8

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

CreateOnDemandSecurityGroupReader is a Reader for the CreateOnDemandSecurityGroup structure.

func (*CreateOnDemandSecurityGroupReader) ReadResponse added in v0.2.8

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

ReadResponse reads a server response into the received o.

type DeleteSecurityGroupAccepted added in v0.2.8

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

successful operation

func NewDeleteSecurityGroupAccepted added in v0.2.8

func NewDeleteSecurityGroupAccepted() *DeleteSecurityGroupAccepted

NewDeleteSecurityGroupAccepted creates a DeleteSecurityGroupAccepted with default headers values

func (*DeleteSecurityGroupAccepted) Error added in v0.2.8

func (*DeleteSecurityGroupAccepted) GetPayload added in v0.2.8

type DeleteSecurityGroupForbidden added in v0.2.8

type DeleteSecurityGroupForbidden struct {
	Payload *models.ServiceErrorResponse
}
DeleteSecurityGroupForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteSecurityGroupForbidden added in v0.2.8

func NewDeleteSecurityGroupForbidden() *DeleteSecurityGroupForbidden

NewDeleteSecurityGroupForbidden creates a DeleteSecurityGroupForbidden with default headers values

func (*DeleteSecurityGroupForbidden) Error added in v0.2.8

func (*DeleteSecurityGroupForbidden) GetPayload added in v0.2.20

type DeleteSecurityGroupNoContent added in v0.2.8

type DeleteSecurityGroupNoContent struct {
}
DeleteSecurityGroupNoContent describes a response with status code 204, with default header values.

No Content

func NewDeleteSecurityGroupNoContent added in v0.2.8

func NewDeleteSecurityGroupNoContent() *DeleteSecurityGroupNoContent

NewDeleteSecurityGroupNoContent creates a DeleteSecurityGroupNoContent with default headers values

func (*DeleteSecurityGroupNoContent) Error added in v0.2.8

type DeleteSecurityGroupParams added in v0.2.8

type DeleteSecurityGroupParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ForceDelete.

	   Controls whether this is a force delete operation. If true, best effort is made for deleting this security group. Use with caution as force deleting may cause inconsistencies between the cloud provider and vRA.
	*/
	ForceDelete *bool

	/* ID.

	   The ID of the security group.
	*/
	ID string

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

DeleteSecurityGroupParams contains all the parameters to send to the API endpoint

for the delete security group operation.

Typically these are written to a http.Request.

func NewDeleteSecurityGroupParams added in v0.2.8

func NewDeleteSecurityGroupParams() *DeleteSecurityGroupParams

NewDeleteSecurityGroupParams creates a new DeleteSecurityGroupParams 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 NewDeleteSecurityGroupParamsWithContext added in v0.2.8

func NewDeleteSecurityGroupParamsWithContext(ctx context.Context) *DeleteSecurityGroupParams

NewDeleteSecurityGroupParamsWithContext creates a new DeleteSecurityGroupParams object with the ability to set a context for a request.

func NewDeleteSecurityGroupParamsWithHTTPClient added in v0.2.8

func NewDeleteSecurityGroupParamsWithHTTPClient(client *http.Client) *DeleteSecurityGroupParams

NewDeleteSecurityGroupParamsWithHTTPClient creates a new DeleteSecurityGroupParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSecurityGroupParamsWithTimeout added in v0.2.8

func NewDeleteSecurityGroupParamsWithTimeout(timeout time.Duration) *DeleteSecurityGroupParams

NewDeleteSecurityGroupParamsWithTimeout creates a new DeleteSecurityGroupParams object with the ability to set a timeout on a request.

func (*DeleteSecurityGroupParams) SetAPIVersion added in v0.2.8

func (o *DeleteSecurityGroupParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the delete security group params

func (*DeleteSecurityGroupParams) SetContext added in v0.2.8

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

SetContext adds the context to the delete security group params

func (*DeleteSecurityGroupParams) SetDefaults added in v0.2.20

func (o *DeleteSecurityGroupParams) SetDefaults()

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

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

func (*DeleteSecurityGroupParams) SetForceDelete added in v0.2.8

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

SetForceDelete adds the forceDelete to the delete security group params

func (*DeleteSecurityGroupParams) SetHTTPClient added in v0.2.8

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

SetHTTPClient adds the HTTPClient to the delete security group params

func (*DeleteSecurityGroupParams) SetID added in v0.2.8

func (o *DeleteSecurityGroupParams) SetID(id string)

SetID adds the id to the delete security group params

func (*DeleteSecurityGroupParams) SetTimeout added in v0.2.8

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

SetTimeout adds the timeout to the delete security group params

func (*DeleteSecurityGroupParams) WithAPIVersion added in v0.2.8

func (o *DeleteSecurityGroupParams) WithAPIVersion(aPIVersion *string) *DeleteSecurityGroupParams

WithAPIVersion adds the aPIVersion to the delete security group params

func (*DeleteSecurityGroupParams) WithContext added in v0.2.8

WithContext adds the context to the delete security group params

func (*DeleteSecurityGroupParams) WithDefaults added in v0.2.20

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

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

func (*DeleteSecurityGroupParams) WithForceDelete added in v0.2.8

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

WithForceDelete adds the forceDelete to the delete security group params

func (*DeleteSecurityGroupParams) WithHTTPClient added in v0.2.8

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

WithHTTPClient adds the HTTPClient to the delete security group params

func (*DeleteSecurityGroupParams) WithID added in v0.2.8

WithID adds the id to the delete security group params

func (*DeleteSecurityGroupParams) WithTimeout added in v0.2.8

WithTimeout adds the timeout to the delete security group params

func (*DeleteSecurityGroupParams) WriteToRequest added in v0.2.8

WriteToRequest writes these params to a swagger request

type DeleteSecurityGroupReader added in v0.2.8

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

DeleteSecurityGroupReader is a Reader for the DeleteSecurityGroup structure.

func (*DeleteSecurityGroupReader) ReadResponse added in v0.2.8

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

ReadResponse reads a server response into the received o.

type GetSecurityGroupForbidden

type GetSecurityGroupForbidden struct {
	Payload *models.ServiceErrorResponse
}
GetSecurityGroupForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetSecurityGroupForbidden

func NewGetSecurityGroupForbidden() *GetSecurityGroupForbidden

NewGetSecurityGroupForbidden creates a GetSecurityGroupForbidden with default headers values

func (*GetSecurityGroupForbidden) Error

func (o *GetSecurityGroupForbidden) Error() string

func (*GetSecurityGroupForbidden) GetPayload added in v0.2.20

type GetSecurityGroupNotFound

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

Not Found

func NewGetSecurityGroupNotFound

func NewGetSecurityGroupNotFound() *GetSecurityGroupNotFound

NewGetSecurityGroupNotFound creates a GetSecurityGroupNotFound with default headers values

func (*GetSecurityGroupNotFound) Error

func (o *GetSecurityGroupNotFound) Error() string

func (*GetSecurityGroupNotFound) GetPayload added in v0.2.9

func (o *GetSecurityGroupNotFound) GetPayload() *models.Error

type GetSecurityGroupOK

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

successful operation

func NewGetSecurityGroupOK

func NewGetSecurityGroupOK() *GetSecurityGroupOK

NewGetSecurityGroupOK creates a GetSecurityGroupOK with default headers values

func (*GetSecurityGroupOK) Error

func (o *GetSecurityGroupOK) Error() string

func (*GetSecurityGroupOK) GetPayload

func (o *GetSecurityGroupOK) GetPayload() *models.SecurityGroup

type GetSecurityGroupParams

type GetSecurityGroupParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ID.

	   The ID of the security group.
	*/
	ID string

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

GetSecurityGroupParams contains all the parameters to send to the API endpoint

for the get security group operation.

Typically these are written to a http.Request.

func NewGetSecurityGroupParams

func NewGetSecurityGroupParams() *GetSecurityGroupParams

NewGetSecurityGroupParams creates a new GetSecurityGroupParams 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 NewGetSecurityGroupParamsWithContext

func NewGetSecurityGroupParamsWithContext(ctx context.Context) *GetSecurityGroupParams

NewGetSecurityGroupParamsWithContext creates a new GetSecurityGroupParams object with the ability to set a context for a request.

func NewGetSecurityGroupParamsWithHTTPClient

func NewGetSecurityGroupParamsWithHTTPClient(client *http.Client) *GetSecurityGroupParams

NewGetSecurityGroupParamsWithHTTPClient creates a new GetSecurityGroupParams object with the ability to set a custom HTTPClient for a request.

func NewGetSecurityGroupParamsWithTimeout

func NewGetSecurityGroupParamsWithTimeout(timeout time.Duration) *GetSecurityGroupParams

NewGetSecurityGroupParamsWithTimeout creates a new GetSecurityGroupParams object with the ability to set a timeout on a request.

func (*GetSecurityGroupParams) SetAPIVersion

func (o *GetSecurityGroupParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get security group params

func (*GetSecurityGroupParams) SetContext

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

SetContext adds the context to the get security group params

func (*GetSecurityGroupParams) SetDefaults added in v0.2.20

func (o *GetSecurityGroupParams) SetDefaults()

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

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

func (*GetSecurityGroupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get security group params

func (*GetSecurityGroupParams) SetID

func (o *GetSecurityGroupParams) SetID(id string)

SetID adds the id to the get security group params

func (*GetSecurityGroupParams) SetTimeout

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

SetTimeout adds the timeout to the get security group params

func (*GetSecurityGroupParams) WithAPIVersion

func (o *GetSecurityGroupParams) WithAPIVersion(aPIVersion *string) *GetSecurityGroupParams

WithAPIVersion adds the aPIVersion to the get security group params

func (*GetSecurityGroupParams) WithContext

WithContext adds the context to the get security group params

func (*GetSecurityGroupParams) WithDefaults added in v0.2.20

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

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

func (*GetSecurityGroupParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get security group params

func (*GetSecurityGroupParams) WithID

WithID adds the id to the get security group params

func (*GetSecurityGroupParams) WithTimeout

WithTimeout adds the timeout to the get security group params

func (*GetSecurityGroupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSecurityGroupReader

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

GetSecurityGroupReader is a Reader for the GetSecurityGroup structure.

func (*GetSecurityGroupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSecurityGroupsForbidden

type GetSecurityGroupsForbidden struct {
	Payload *models.ServiceErrorResponse
}
GetSecurityGroupsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetSecurityGroupsForbidden

func NewGetSecurityGroupsForbidden() *GetSecurityGroupsForbidden

NewGetSecurityGroupsForbidden creates a GetSecurityGroupsForbidden with default headers values

func (*GetSecurityGroupsForbidden) Error

func (*GetSecurityGroupsForbidden) GetPayload added in v0.2.20

type GetSecurityGroupsOK

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

successful operation

func NewGetSecurityGroupsOK

func NewGetSecurityGroupsOK() *GetSecurityGroupsOK

NewGetSecurityGroupsOK creates a GetSecurityGroupsOK with default headers values

func (*GetSecurityGroupsOK) Error

func (o *GetSecurityGroupsOK) Error() string

func (*GetSecurityGroupsOK) GetPayload

type GetSecurityGroupsParams

type GetSecurityGroupsParams struct {

	/* DollarFilter.

	   Add a filter to return limited results
	*/
	DollarFilter *string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

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

GetSecurityGroupsParams contains all the parameters to send to the API endpoint

for the get security groups operation.

Typically these are written to a http.Request.

func NewGetSecurityGroupsParams

func NewGetSecurityGroupsParams() *GetSecurityGroupsParams

NewGetSecurityGroupsParams creates a new GetSecurityGroupsParams 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 NewGetSecurityGroupsParamsWithContext

func NewGetSecurityGroupsParamsWithContext(ctx context.Context) *GetSecurityGroupsParams

NewGetSecurityGroupsParamsWithContext creates a new GetSecurityGroupsParams object with the ability to set a context for a request.

func NewGetSecurityGroupsParamsWithHTTPClient

func NewGetSecurityGroupsParamsWithHTTPClient(client *http.Client) *GetSecurityGroupsParams

NewGetSecurityGroupsParamsWithHTTPClient creates a new GetSecurityGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewGetSecurityGroupsParamsWithTimeout

func NewGetSecurityGroupsParamsWithTimeout(timeout time.Duration) *GetSecurityGroupsParams

NewGetSecurityGroupsParamsWithTimeout creates a new GetSecurityGroupsParams object with the ability to set a timeout on a request.

func (*GetSecurityGroupsParams) SetAPIVersion

func (o *GetSecurityGroupsParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get security groups params

func (*GetSecurityGroupsParams) SetContext

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

SetContext adds the context to the get security groups params

func (*GetSecurityGroupsParams) SetDefaults added in v0.2.20

func (o *GetSecurityGroupsParams) SetDefaults()

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

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

func (*GetSecurityGroupsParams) SetDollarFilter

func (o *GetSecurityGroupsParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the get security groups params

func (*GetSecurityGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get security groups params

func (*GetSecurityGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the get security groups params

func (*GetSecurityGroupsParams) WithAPIVersion

func (o *GetSecurityGroupsParams) WithAPIVersion(aPIVersion *string) *GetSecurityGroupsParams

WithAPIVersion adds the aPIVersion to the get security groups params

func (*GetSecurityGroupsParams) WithContext

WithContext adds the context to the get security groups params

func (*GetSecurityGroupsParams) WithDefaults added in v0.2.20

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

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

func (*GetSecurityGroupsParams) WithDollarFilter

func (o *GetSecurityGroupsParams) WithDollarFilter(dollarFilter *string) *GetSecurityGroupsParams

WithDollarFilter adds the dollarFilter to the get security groups params

func (*GetSecurityGroupsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get security groups params

func (*GetSecurityGroupsParams) WithTimeout

WithTimeout adds the timeout to the get security groups params

func (*GetSecurityGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSecurityGroupsReader

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

GetSecurityGroupsReader is a Reader for the GetSecurityGroups structure.

func (*GetSecurityGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReconfigureSecurityGroupAccepted added in v0.2.20

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

successful operation

func NewReconfigureSecurityGroupAccepted added in v0.2.20

func NewReconfigureSecurityGroupAccepted() *ReconfigureSecurityGroupAccepted

NewReconfigureSecurityGroupAccepted creates a ReconfigureSecurityGroupAccepted with default headers values

func (*ReconfigureSecurityGroupAccepted) Error added in v0.2.20

func (*ReconfigureSecurityGroupAccepted) GetPayload added in v0.2.20

type ReconfigureSecurityGroupBadRequest added in v0.2.20

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

Reconfigure is not supported for 'existing' type of security group.

func NewReconfigureSecurityGroupBadRequest added in v0.2.20

func NewReconfigureSecurityGroupBadRequest() *ReconfigureSecurityGroupBadRequest

NewReconfigureSecurityGroupBadRequest creates a ReconfigureSecurityGroupBadRequest with default headers values

func (*ReconfigureSecurityGroupBadRequest) Error added in v0.2.20

func (*ReconfigureSecurityGroupBadRequest) GetPayload added in v0.2.20

type ReconfigureSecurityGroupForbidden added in v0.2.20

type ReconfigureSecurityGroupForbidden struct {
	Payload *models.ServiceErrorResponse
}
ReconfigureSecurityGroupForbidden describes a response with status code 403, with default header values.

Forbidden

func NewReconfigureSecurityGroupForbidden added in v0.2.20

func NewReconfigureSecurityGroupForbidden() *ReconfigureSecurityGroupForbidden

NewReconfigureSecurityGroupForbidden creates a ReconfigureSecurityGroupForbidden with default headers values

func (*ReconfigureSecurityGroupForbidden) Error added in v0.2.20

func (*ReconfigureSecurityGroupForbidden) GetPayload added in v0.2.20

type ReconfigureSecurityGroupParams added in v0.2.20

type ReconfigureSecurityGroupParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   Security group Specification instance
	*/
	Body *models.SecurityGroupSpecification

	/* ID.

	   The ID of the security group.
	*/
	ID string

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

ReconfigureSecurityGroupParams contains all the parameters to send to the API endpoint

for the reconfigure security group operation.

Typically these are written to a http.Request.

func NewReconfigureSecurityGroupParams added in v0.2.20

func NewReconfigureSecurityGroupParams() *ReconfigureSecurityGroupParams

NewReconfigureSecurityGroupParams creates a new ReconfigureSecurityGroupParams 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 NewReconfigureSecurityGroupParamsWithContext added in v0.2.20

func NewReconfigureSecurityGroupParamsWithContext(ctx context.Context) *ReconfigureSecurityGroupParams

NewReconfigureSecurityGroupParamsWithContext creates a new ReconfigureSecurityGroupParams object with the ability to set a context for a request.

func NewReconfigureSecurityGroupParamsWithHTTPClient added in v0.2.20

func NewReconfigureSecurityGroupParamsWithHTTPClient(client *http.Client) *ReconfigureSecurityGroupParams

NewReconfigureSecurityGroupParamsWithHTTPClient creates a new ReconfigureSecurityGroupParams object with the ability to set a custom HTTPClient for a request.

func NewReconfigureSecurityGroupParamsWithTimeout added in v0.2.20

func NewReconfigureSecurityGroupParamsWithTimeout(timeout time.Duration) *ReconfigureSecurityGroupParams

NewReconfigureSecurityGroupParamsWithTimeout creates a new ReconfigureSecurityGroupParams object with the ability to set a timeout on a request.

func (*ReconfigureSecurityGroupParams) SetAPIVersion added in v0.2.20

func (o *ReconfigureSecurityGroupParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the reconfigure security group params

func (*ReconfigureSecurityGroupParams) SetBody added in v0.2.20

SetBody adds the body to the reconfigure security group params

func (*ReconfigureSecurityGroupParams) SetContext added in v0.2.20

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

SetContext adds the context to the reconfigure security group params

func (*ReconfigureSecurityGroupParams) SetDefaults added in v0.2.20

func (o *ReconfigureSecurityGroupParams) SetDefaults()

SetDefaults hydrates default values in the reconfigure security group params (not the query body).

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

func (*ReconfigureSecurityGroupParams) SetHTTPClient added in v0.2.20

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

SetHTTPClient adds the HTTPClient to the reconfigure security group params

func (*ReconfigureSecurityGroupParams) SetID added in v0.2.20

SetID adds the id to the reconfigure security group params

func (*ReconfigureSecurityGroupParams) SetTimeout added in v0.2.20

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

SetTimeout adds the timeout to the reconfigure security group params

func (*ReconfigureSecurityGroupParams) WithAPIVersion added in v0.2.20

WithAPIVersion adds the aPIVersion to the reconfigure security group params

func (*ReconfigureSecurityGroupParams) WithBody added in v0.2.20

WithBody adds the body to the reconfigure security group params

func (*ReconfigureSecurityGroupParams) WithContext added in v0.2.20

WithContext adds the context to the reconfigure security group params

func (*ReconfigureSecurityGroupParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the reconfigure security group params (not the query body).

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

func (*ReconfigureSecurityGroupParams) WithHTTPClient added in v0.2.20

WithHTTPClient adds the HTTPClient to the reconfigure security group params

func (*ReconfigureSecurityGroupParams) WithID added in v0.2.20

WithID adds the id to the reconfigure security group params

func (*ReconfigureSecurityGroupParams) WithTimeout added in v0.2.20

WithTimeout adds the timeout to the reconfigure security group params

func (*ReconfigureSecurityGroupParams) WriteToRequest added in v0.2.20

WriteToRequest writes these params to a swagger request

type ReconfigureSecurityGroupReader added in v0.2.20

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

ReconfigureSecurityGroupReader is a Reader for the ReconfigureSecurityGroup structure.

func (*ReconfigureSecurityGroupReader) ReadResponse added in v0.2.20

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

ReadResponse reads a server response into the received o.

type UpdateSecurityGroupForbidden added in v0.2.14

type UpdateSecurityGroupForbidden struct {
	Payload *models.ServiceErrorResponse
}
UpdateSecurityGroupForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateSecurityGroupForbidden added in v0.2.14

func NewUpdateSecurityGroupForbidden() *UpdateSecurityGroupForbidden

NewUpdateSecurityGroupForbidden creates a UpdateSecurityGroupForbidden with default headers values

func (*UpdateSecurityGroupForbidden) Error added in v0.2.14

func (*UpdateSecurityGroupForbidden) GetPayload added in v0.2.20

type UpdateSecurityGroupNotFound added in v0.2.14

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

Not Found

func NewUpdateSecurityGroupNotFound added in v0.2.14

func NewUpdateSecurityGroupNotFound() *UpdateSecurityGroupNotFound

NewUpdateSecurityGroupNotFound creates a UpdateSecurityGroupNotFound with default headers values

func (*UpdateSecurityGroupNotFound) Error added in v0.2.14

func (*UpdateSecurityGroupNotFound) GetPayload added in v0.2.14

func (o *UpdateSecurityGroupNotFound) GetPayload() *models.Error

type UpdateSecurityGroupOK added in v0.2.14

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

successful operation

func NewUpdateSecurityGroupOK added in v0.2.14

func NewUpdateSecurityGroupOK() *UpdateSecurityGroupOK

NewUpdateSecurityGroupOK creates a UpdateSecurityGroupOK with default headers values

func (*UpdateSecurityGroupOK) Error added in v0.2.14

func (o *UpdateSecurityGroupOK) Error() string

func (*UpdateSecurityGroupOK) GetPayload added in v0.2.14

func (o *UpdateSecurityGroupOK) GetPayload() *models.SecurityGroup

type UpdateSecurityGroupParams added in v0.2.14

type UpdateSecurityGroupParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   Update Security Group Specification
	*/
	Body *models.UpdateSecurityGroupSpecification

	/* ID.

	   The ID of the security group.
	*/
	ID string

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

UpdateSecurityGroupParams contains all the parameters to send to the API endpoint

for the update security group operation.

Typically these are written to a http.Request.

func NewUpdateSecurityGroupParams added in v0.2.14

func NewUpdateSecurityGroupParams() *UpdateSecurityGroupParams

NewUpdateSecurityGroupParams creates a new UpdateSecurityGroupParams 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 NewUpdateSecurityGroupParamsWithContext added in v0.2.14

func NewUpdateSecurityGroupParamsWithContext(ctx context.Context) *UpdateSecurityGroupParams

NewUpdateSecurityGroupParamsWithContext creates a new UpdateSecurityGroupParams object with the ability to set a context for a request.

func NewUpdateSecurityGroupParamsWithHTTPClient added in v0.2.14

func NewUpdateSecurityGroupParamsWithHTTPClient(client *http.Client) *UpdateSecurityGroupParams

NewUpdateSecurityGroupParamsWithHTTPClient creates a new UpdateSecurityGroupParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateSecurityGroupParamsWithTimeout added in v0.2.14

func NewUpdateSecurityGroupParamsWithTimeout(timeout time.Duration) *UpdateSecurityGroupParams

NewUpdateSecurityGroupParamsWithTimeout creates a new UpdateSecurityGroupParams object with the ability to set a timeout on a request.

func (*UpdateSecurityGroupParams) SetAPIVersion added in v0.2.14

func (o *UpdateSecurityGroupParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the update security group params

func (*UpdateSecurityGroupParams) SetBody added in v0.2.14

SetBody adds the body to the update security group params

func (*UpdateSecurityGroupParams) SetContext added in v0.2.14

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

SetContext adds the context to the update security group params

func (*UpdateSecurityGroupParams) SetDefaults added in v0.2.20

func (o *UpdateSecurityGroupParams) SetDefaults()

SetDefaults hydrates default values in the update security group params (not the query body).

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

func (*UpdateSecurityGroupParams) SetHTTPClient added in v0.2.14

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

SetHTTPClient adds the HTTPClient to the update security group params

func (*UpdateSecurityGroupParams) SetID added in v0.2.14

func (o *UpdateSecurityGroupParams) SetID(id string)

SetID adds the id to the update security group params

func (*UpdateSecurityGroupParams) SetTimeout added in v0.2.14

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

SetTimeout adds the timeout to the update security group params

func (*UpdateSecurityGroupParams) WithAPIVersion added in v0.2.14

func (o *UpdateSecurityGroupParams) WithAPIVersion(aPIVersion *string) *UpdateSecurityGroupParams

WithAPIVersion adds the aPIVersion to the update security group params

func (*UpdateSecurityGroupParams) WithBody added in v0.2.14

WithBody adds the body to the update security group params

func (*UpdateSecurityGroupParams) WithContext added in v0.2.14

WithContext adds the context to the update security group params

func (*UpdateSecurityGroupParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the update security group params (not the query body).

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

func (*UpdateSecurityGroupParams) WithHTTPClient added in v0.2.14

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

WithHTTPClient adds the HTTPClient to the update security group params

func (*UpdateSecurityGroupParams) WithID added in v0.2.14

WithID adds the id to the update security group params

func (*UpdateSecurityGroupParams) WithTimeout added in v0.2.14

WithTimeout adds the timeout to the update security group params

func (*UpdateSecurityGroupParams) WriteToRequest added in v0.2.14

WriteToRequest writes these params to a swagger request

type UpdateSecurityGroupReader added in v0.2.14

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

UpdateSecurityGroupReader is a Reader for the UpdateSecurityGroup structure.

func (*UpdateSecurityGroupReader) ReadResponse added in v0.2.14

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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