security_group

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 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 ChangeSecurityGroupsBadRequest added in v0.2.14

type ChangeSecurityGroupsBadRequest struct {
	Payload *models.Error
}

ChangeSecurityGroupsBadRequest handles this case 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 {
}

ChangeSecurityGroupsForbidden handles this case 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

type ChangeSecurityGroupsNotFound added in v0.2.14

type ChangeSecurityGroupsNotFound struct {
	Payload *models.Error
}

ChangeSecurityGroupsNotFound handles this case 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 ChangeSecurityGroupsOK added in v0.2.14

type ChangeSecurityGroupsOK struct {
	Payload *models.RequestTracker
}

ChangeSecurityGroupsOK handles this case with default header values.

successful operation

func NewChangeSecurityGroupsOK added in v0.2.14

func NewChangeSecurityGroupsOK() *ChangeSecurityGroupsOK

NewChangeSecurityGroupsOK creates a ChangeSecurityGroupsOK with default headers values

func (*ChangeSecurityGroupsOK) Error added in v0.2.14

func (o *ChangeSecurityGroupsOK) Error() string

func (*ChangeSecurityGroupsOK) GetPayload added in v0.2.14

func (o *ChangeSecurityGroupsOK) GetPayload() *models.RequestTracker

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

func NewChangeSecurityGroupsParamsWithContext added in v0.2.14

func NewChangeSecurityGroupsParamsWithContext(ctx context.Context) *ChangeSecurityGroupsParams

NewChangeSecurityGroupsParamsWithContext creates a new ChangeSecurityGroupsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 New

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

New creates a new security group API client.

func (*Client) ChangeSecurityGroups added in v0.2.14

func (a *Client) ChangeSecurityGroups(params *ChangeSecurityGroupsParams) (*ChangeSecurityGroupsOK, 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) (*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) (*GetSecurityGroupOK, error)

GetSecurityGroup gets security group

Get security group with a given id

func (*Client) GetSecurityGroups

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

GetSecurityGroups gets security groups

Get all 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) (*UpdateSecurityGroupOK, error)

UpdateSecurityGroup updates security group

Update security group. Only tag updates are supported.

type CreateOnDemandSecurityGroupAccepted added in v0.2.8

type CreateOnDemandSecurityGroupAccepted struct {
	Payload *models.RequestTracker
}

CreateOnDemandSecurityGroupAccepted handles this case 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 handles this case 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 {
}

CreateOnDemandSecurityGroupForbidden handles this case 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

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

func NewCreateOnDemandSecurityGroupParamsWithContext added in v0.2.8

func NewCreateOnDemandSecurityGroupParamsWithContext(ctx context.Context) *CreateOnDemandSecurityGroupParams

NewCreateOnDemandSecurityGroupParamsWithContext creates a new CreateOnDemandSecurityGroupParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 {
}

DeleteSecurityGroupForbidden handles this case 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

type DeleteSecurityGroupNoContent added in v0.2.8

type DeleteSecurityGroupNoContent struct {
}

DeleteSecurityGroupNoContent handles this case 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 values initialized.

func NewDeleteSecurityGroupParamsWithContext added in v0.2.8

func NewDeleteSecurityGroupParamsWithContext(ctx context.Context) *DeleteSecurityGroupParams

NewDeleteSecurityGroupParamsWithContext creates a new DeleteSecurityGroupParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
}

GetSecurityGroupForbidden handles this case 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

type GetSecurityGroupNotFound

type GetSecurityGroupNotFound struct {
	Payload *models.Error
}

GetSecurityGroupNotFound handles this case 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 handles this case 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 values initialized.

func NewGetSecurityGroupParamsWithContext

func NewGetSecurityGroupParamsWithContext(ctx context.Context) *GetSecurityGroupParams

NewGetSecurityGroupParamsWithContext creates a new GetSecurityGroupParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 {
}

GetSecurityGroupsForbidden handles this case with default header values.

Forbidden

func NewGetSecurityGroupsForbidden

func NewGetSecurityGroupsForbidden() *GetSecurityGroupsForbidden

NewGetSecurityGroupsForbidden creates a GetSecurityGroupsForbidden with default headers values

func (*GetSecurityGroupsForbidden) Error

type GetSecurityGroupsOK

type GetSecurityGroupsOK struct {
	Payload *models.SecurityGroupResult
}

GetSecurityGroupsOK handles this case 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 values initialized.

func NewGetSecurityGroupsParamsWithContext

func NewGetSecurityGroupsParamsWithContext(ctx context.Context) *GetSecurityGroupsParams

NewGetSecurityGroupsParamsWithContext creates a new GetSecurityGroupsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 UpdateSecurityGroupForbidden added in v0.2.14

type UpdateSecurityGroupForbidden struct {
}

UpdateSecurityGroupForbidden handles this case 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

type UpdateSecurityGroupNotFound added in v0.2.14

type UpdateSecurityGroupNotFound struct {
	Payload *models.Error
}

UpdateSecurityGroupNotFound handles this case 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 handles this case 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 values initialized.

func NewUpdateSecurityGroupParamsWithContext added in v0.2.14

func NewUpdateSecurityGroupParamsWithContext(ctx context.Context) *UpdateSecurityGroupParams

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