virtual_private_cloud

package
v2.19.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: ISC Imports: 10 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 virtual private cloud API

func (*Client) CreateVirtualPrivateCloud

func (a *Client) CreateVirtualPrivateCloud(params *CreateVirtualPrivateCloudParams, opts ...ClientOption) (*CreateVirtualPrivateCloudOK, error)

CreateVirtualPrivateCloud create virtual private cloud API

func (*Client) DeleteVirtualPrivateCloud

func (a *Client) DeleteVirtualPrivateCloud(params *DeleteVirtualPrivateCloudParams, opts ...ClientOption) (*DeleteVirtualPrivateCloudOK, error)

DeleteVirtualPrivateCloud delete virtual private cloud API

func (*Client) GetVirtualPrivateClouds

func (a *Client) GetVirtualPrivateClouds(params *GetVirtualPrivateCloudsParams, opts ...ClientOption) (*GetVirtualPrivateCloudsOK, error)

GetVirtualPrivateClouds get virtual private clouds API

func (*Client) GetVirtualPrivateCloudsConnection

func (a *Client) GetVirtualPrivateCloudsConnection(params *GetVirtualPrivateCloudsConnectionParams, opts ...ClientOption) (*GetVirtualPrivateCloudsConnectionOK, error)

GetVirtualPrivateCloudsConnection get virtual private clouds connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateVirtualPrivateCloud

func (a *Client) UpdateVirtualPrivateCloud(params *UpdateVirtualPrivateCloudParams, opts ...ClientOption) (*UpdateVirtualPrivateCloudOK, error)

UpdateVirtualPrivateCloud update virtual private cloud API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateVirtualPrivateCloud(params *CreateVirtualPrivateCloudParams, opts ...ClientOption) (*CreateVirtualPrivateCloudOK, error)

	DeleteVirtualPrivateCloud(params *DeleteVirtualPrivateCloudParams, opts ...ClientOption) (*DeleteVirtualPrivateCloudOK, error)

	GetVirtualPrivateClouds(params *GetVirtualPrivateCloudsParams, opts ...ClientOption) (*GetVirtualPrivateCloudsOK, error)

	GetVirtualPrivateCloudsConnection(params *GetVirtualPrivateCloudsConnectionParams, opts ...ClientOption) (*GetVirtualPrivateCloudsConnectionOK, error)

	UpdateVirtualPrivateCloud(params *UpdateVirtualPrivateCloudParams, opts ...ClientOption) (*UpdateVirtualPrivateCloudOK, 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 virtual private cloud API client.

type CreateVirtualPrivateCloudBadRequest

type CreateVirtualPrivateCloudBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewCreateVirtualPrivateCloudBadRequest

func NewCreateVirtualPrivateCloudBadRequest() *CreateVirtualPrivateCloudBadRequest

NewCreateVirtualPrivateCloudBadRequest creates a CreateVirtualPrivateCloudBadRequest with default headers values

func (*CreateVirtualPrivateCloudBadRequest) Error

func (*CreateVirtualPrivateCloudBadRequest) GetPayload

type CreateVirtualPrivateCloudInternalServerError

type CreateVirtualPrivateCloudInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVirtualPrivateCloudInternalServerError describes a response with status code 500, with default header values.

Server error

func NewCreateVirtualPrivateCloudInternalServerError

func NewCreateVirtualPrivateCloudInternalServerError() *CreateVirtualPrivateCloudInternalServerError

NewCreateVirtualPrivateCloudInternalServerError creates a CreateVirtualPrivateCloudInternalServerError with default headers values

func (*CreateVirtualPrivateCloudInternalServerError) Error

func (*CreateVirtualPrivateCloudInternalServerError) GetPayload

type CreateVirtualPrivateCloudNotFound

type CreateVirtualPrivateCloudNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
CreateVirtualPrivateCloudNotFound describes a response with status code 404, with default header values.

Not found

func NewCreateVirtualPrivateCloudNotFound

func NewCreateVirtualPrivateCloudNotFound() *CreateVirtualPrivateCloudNotFound

NewCreateVirtualPrivateCloudNotFound creates a CreateVirtualPrivateCloudNotFound with default headers values

func (*CreateVirtualPrivateCloudNotFound) Error

func (*CreateVirtualPrivateCloudNotFound) GetPayload

type CreateVirtualPrivateCloudOK

type CreateVirtualPrivateCloudOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVirtualPrivateCloud
}
CreateVirtualPrivateCloudOK describes a response with status code 200, with default header values.

CreateVirtualPrivateCloudOK create virtual private cloud o k

func NewCreateVirtualPrivateCloudOK

func NewCreateVirtualPrivateCloudOK() *CreateVirtualPrivateCloudOK

NewCreateVirtualPrivateCloudOK creates a CreateVirtualPrivateCloudOK with default headers values

func (*CreateVirtualPrivateCloudOK) Error

func (*CreateVirtualPrivateCloudOK) GetPayload

type CreateVirtualPrivateCloudParams

type CreateVirtualPrivateCloudParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []*models.VirtualPrivateCloudCreationParams

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

CreateVirtualPrivateCloudParams contains all the parameters to send to the API endpoint

for the create virtual private cloud operation.

Typically these are written to a http.Request.

func NewCreateVirtualPrivateCloudParams

func NewCreateVirtualPrivateCloudParams() *CreateVirtualPrivateCloudParams

NewCreateVirtualPrivateCloudParams creates a new CreateVirtualPrivateCloudParams 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 NewCreateVirtualPrivateCloudParamsWithContext

func NewCreateVirtualPrivateCloudParamsWithContext(ctx context.Context) *CreateVirtualPrivateCloudParams

NewCreateVirtualPrivateCloudParamsWithContext creates a new CreateVirtualPrivateCloudParams object with the ability to set a context for a request.

func NewCreateVirtualPrivateCloudParamsWithHTTPClient

func NewCreateVirtualPrivateCloudParamsWithHTTPClient(client *http.Client) *CreateVirtualPrivateCloudParams

NewCreateVirtualPrivateCloudParamsWithHTTPClient creates a new CreateVirtualPrivateCloudParams object with the ability to set a custom HTTPClient for a request.

func NewCreateVirtualPrivateCloudParamsWithTimeout

func NewCreateVirtualPrivateCloudParamsWithTimeout(timeout time.Duration) *CreateVirtualPrivateCloudParams

NewCreateVirtualPrivateCloudParamsWithTimeout creates a new CreateVirtualPrivateCloudParams object with the ability to set a timeout on a request.

func (*CreateVirtualPrivateCloudParams) SetContentLanguage

func (o *CreateVirtualPrivateCloudParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create virtual private cloud params

func (*CreateVirtualPrivateCloudParams) SetContext

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

SetContext adds the context to the create virtual private cloud params

func (*CreateVirtualPrivateCloudParams) SetDefaults

func (o *CreateVirtualPrivateCloudParams) SetDefaults()

SetDefaults hydrates default values in the create virtual private cloud params (not the query body).

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

func (*CreateVirtualPrivateCloudParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create virtual private cloud params

func (*CreateVirtualPrivateCloudParams) SetRequestBody

SetRequestBody adds the requestBody to the create virtual private cloud params

func (*CreateVirtualPrivateCloudParams) SetTimeout

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

SetTimeout adds the timeout to the create virtual private cloud params

func (*CreateVirtualPrivateCloudParams) WithContentLanguage

func (o *CreateVirtualPrivateCloudParams) WithContentLanguage(contentLanguage *string) *CreateVirtualPrivateCloudParams

WithContentLanguage adds the contentLanguage to the create virtual private cloud params

func (*CreateVirtualPrivateCloudParams) WithContext

WithContext adds the context to the create virtual private cloud params

func (*CreateVirtualPrivateCloudParams) WithDefaults

WithDefaults hydrates default values in the create virtual private cloud params (not the query body).

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

func (*CreateVirtualPrivateCloudParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create virtual private cloud params

func (*CreateVirtualPrivateCloudParams) WithRequestBody

WithRequestBody adds the requestBody to the create virtual private cloud params

func (*CreateVirtualPrivateCloudParams) WithTimeout

WithTimeout adds the timeout to the create virtual private cloud params

func (*CreateVirtualPrivateCloudParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateVirtualPrivateCloudReader

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

CreateVirtualPrivateCloudReader is a Reader for the CreateVirtualPrivateCloud structure.

func (*CreateVirtualPrivateCloudReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteVirtualPrivateCloudBadRequest

type DeleteVirtualPrivateCloudBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewDeleteVirtualPrivateCloudBadRequest

func NewDeleteVirtualPrivateCloudBadRequest() *DeleteVirtualPrivateCloudBadRequest

NewDeleteVirtualPrivateCloudBadRequest creates a DeleteVirtualPrivateCloudBadRequest with default headers values

func (*DeleteVirtualPrivateCloudBadRequest) Error

func (*DeleteVirtualPrivateCloudBadRequest) GetPayload

type DeleteVirtualPrivateCloudInternalServerError

type DeleteVirtualPrivateCloudInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteVirtualPrivateCloudInternalServerError describes a response with status code 500, with default header values.

Server error

func NewDeleteVirtualPrivateCloudInternalServerError

func NewDeleteVirtualPrivateCloudInternalServerError() *DeleteVirtualPrivateCloudInternalServerError

NewDeleteVirtualPrivateCloudInternalServerError creates a DeleteVirtualPrivateCloudInternalServerError with default headers values

func (*DeleteVirtualPrivateCloudInternalServerError) Error

func (*DeleteVirtualPrivateCloudInternalServerError) GetPayload

type DeleteVirtualPrivateCloudNotFound

type DeleteVirtualPrivateCloudNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
DeleteVirtualPrivateCloudNotFound describes a response with status code 404, with default header values.

Not found

func NewDeleteVirtualPrivateCloudNotFound

func NewDeleteVirtualPrivateCloudNotFound() *DeleteVirtualPrivateCloudNotFound

NewDeleteVirtualPrivateCloudNotFound creates a DeleteVirtualPrivateCloudNotFound with default headers values

func (*DeleteVirtualPrivateCloudNotFound) Error

func (*DeleteVirtualPrivateCloudNotFound) GetPayload

type DeleteVirtualPrivateCloudOK

type DeleteVirtualPrivateCloudOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskDeleteVirtualPrivateCloud
}
DeleteVirtualPrivateCloudOK describes a response with status code 200, with default header values.

DeleteVirtualPrivateCloudOK delete virtual private cloud o k

func NewDeleteVirtualPrivateCloudOK

func NewDeleteVirtualPrivateCloudOK() *DeleteVirtualPrivateCloudOK

NewDeleteVirtualPrivateCloudOK creates a DeleteVirtualPrivateCloudOK with default headers values

func (*DeleteVirtualPrivateCloudOK) Error

func (*DeleteVirtualPrivateCloudOK) GetPayload

type DeleteVirtualPrivateCloudParams

type DeleteVirtualPrivateCloudParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VirtualPrivateCloudDeletionParams

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

DeleteVirtualPrivateCloudParams contains all the parameters to send to the API endpoint

for the delete virtual private cloud operation.

Typically these are written to a http.Request.

func NewDeleteVirtualPrivateCloudParams

func NewDeleteVirtualPrivateCloudParams() *DeleteVirtualPrivateCloudParams

NewDeleteVirtualPrivateCloudParams creates a new DeleteVirtualPrivateCloudParams 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 NewDeleteVirtualPrivateCloudParamsWithContext

func NewDeleteVirtualPrivateCloudParamsWithContext(ctx context.Context) *DeleteVirtualPrivateCloudParams

NewDeleteVirtualPrivateCloudParamsWithContext creates a new DeleteVirtualPrivateCloudParams object with the ability to set a context for a request.

func NewDeleteVirtualPrivateCloudParamsWithHTTPClient

func NewDeleteVirtualPrivateCloudParamsWithHTTPClient(client *http.Client) *DeleteVirtualPrivateCloudParams

NewDeleteVirtualPrivateCloudParamsWithHTTPClient creates a new DeleteVirtualPrivateCloudParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteVirtualPrivateCloudParamsWithTimeout

func NewDeleteVirtualPrivateCloudParamsWithTimeout(timeout time.Duration) *DeleteVirtualPrivateCloudParams

NewDeleteVirtualPrivateCloudParamsWithTimeout creates a new DeleteVirtualPrivateCloudParams object with the ability to set a timeout on a request.

func (*DeleteVirtualPrivateCloudParams) SetContentLanguage

func (o *DeleteVirtualPrivateCloudParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete virtual private cloud params

func (*DeleteVirtualPrivateCloudParams) SetContext

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

SetContext adds the context to the delete virtual private cloud params

func (*DeleteVirtualPrivateCloudParams) SetDefaults

func (o *DeleteVirtualPrivateCloudParams) SetDefaults()

SetDefaults hydrates default values in the delete virtual private cloud params (not the query body).

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

func (*DeleteVirtualPrivateCloudParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete virtual private cloud params

func (*DeleteVirtualPrivateCloudParams) SetRequestBody

SetRequestBody adds the requestBody to the delete virtual private cloud params

func (*DeleteVirtualPrivateCloudParams) SetTimeout

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

SetTimeout adds the timeout to the delete virtual private cloud params

func (*DeleteVirtualPrivateCloudParams) WithContentLanguage

func (o *DeleteVirtualPrivateCloudParams) WithContentLanguage(contentLanguage *string) *DeleteVirtualPrivateCloudParams

WithContentLanguage adds the contentLanguage to the delete virtual private cloud params

func (*DeleteVirtualPrivateCloudParams) WithContext

WithContext adds the context to the delete virtual private cloud params

func (*DeleteVirtualPrivateCloudParams) WithDefaults

WithDefaults hydrates default values in the delete virtual private cloud params (not the query body).

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

func (*DeleteVirtualPrivateCloudParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete virtual private cloud params

func (*DeleteVirtualPrivateCloudParams) WithRequestBody

WithRequestBody adds the requestBody to the delete virtual private cloud params

func (*DeleteVirtualPrivateCloudParams) WithTimeout

WithTimeout adds the timeout to the delete virtual private cloud params

func (*DeleteVirtualPrivateCloudParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteVirtualPrivateCloudReader

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

DeleteVirtualPrivateCloudReader is a Reader for the DeleteVirtualPrivateCloud structure.

func (*DeleteVirtualPrivateCloudReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVirtualPrivateCloudsBadRequest

type GetVirtualPrivateCloudsBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewGetVirtualPrivateCloudsBadRequest

func NewGetVirtualPrivateCloudsBadRequest() *GetVirtualPrivateCloudsBadRequest

NewGetVirtualPrivateCloudsBadRequest creates a GetVirtualPrivateCloudsBadRequest with default headers values

func (*GetVirtualPrivateCloudsBadRequest) Error

func (*GetVirtualPrivateCloudsBadRequest) GetPayload

type GetVirtualPrivateCloudsConnectionBadRequest

type GetVirtualPrivateCloudsConnectionBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewGetVirtualPrivateCloudsConnectionBadRequest

func NewGetVirtualPrivateCloudsConnectionBadRequest() *GetVirtualPrivateCloudsConnectionBadRequest

NewGetVirtualPrivateCloudsConnectionBadRequest creates a GetVirtualPrivateCloudsConnectionBadRequest with default headers values

func (*GetVirtualPrivateCloudsConnectionBadRequest) Error

func (*GetVirtualPrivateCloudsConnectionBadRequest) GetPayload

type GetVirtualPrivateCloudsConnectionInternalServerError

type GetVirtualPrivateCloudsConnectionInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVirtualPrivateCloudsConnectionInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVirtualPrivateCloudsConnectionInternalServerError

func NewGetVirtualPrivateCloudsConnectionInternalServerError() *GetVirtualPrivateCloudsConnectionInternalServerError

NewGetVirtualPrivateCloudsConnectionInternalServerError creates a GetVirtualPrivateCloudsConnectionInternalServerError with default headers values

func (*GetVirtualPrivateCloudsConnectionInternalServerError) Error

func (*GetVirtualPrivateCloudsConnectionInternalServerError) GetPayload

type GetVirtualPrivateCloudsConnectionNotFound

type GetVirtualPrivateCloudsConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVirtualPrivateCloudsConnectionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVirtualPrivateCloudsConnectionNotFound

func NewGetVirtualPrivateCloudsConnectionNotFound() *GetVirtualPrivateCloudsConnectionNotFound

NewGetVirtualPrivateCloudsConnectionNotFound creates a GetVirtualPrivateCloudsConnectionNotFound with default headers values

func (*GetVirtualPrivateCloudsConnectionNotFound) Error

func (*GetVirtualPrivateCloudsConnectionNotFound) GetPayload

type GetVirtualPrivateCloudsConnectionOK

type GetVirtualPrivateCloudsConnectionOK struct {
	XTowerRequestID string

	Payload *models.VirtualPrivateCloudConnection
}
GetVirtualPrivateCloudsConnectionOK describes a response with status code 200, with default header values.

GetVirtualPrivateCloudsConnectionOK get virtual private clouds connection o k

func NewGetVirtualPrivateCloudsConnectionOK

func NewGetVirtualPrivateCloudsConnectionOK() *GetVirtualPrivateCloudsConnectionOK

NewGetVirtualPrivateCloudsConnectionOK creates a GetVirtualPrivateCloudsConnectionOK with default headers values

func (*GetVirtualPrivateCloudsConnectionOK) Error

func (*GetVirtualPrivateCloudsConnectionOK) GetPayload

type GetVirtualPrivateCloudsConnectionParams

type GetVirtualPrivateCloudsConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetVirtualPrivateCloudsConnectionRequestBody

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

GetVirtualPrivateCloudsConnectionParams contains all the parameters to send to the API endpoint

for the get virtual private clouds connection operation.

Typically these are written to a http.Request.

func NewGetVirtualPrivateCloudsConnectionParams

func NewGetVirtualPrivateCloudsConnectionParams() *GetVirtualPrivateCloudsConnectionParams

NewGetVirtualPrivateCloudsConnectionParams creates a new GetVirtualPrivateCloudsConnectionParams 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 NewGetVirtualPrivateCloudsConnectionParamsWithContext

func NewGetVirtualPrivateCloudsConnectionParamsWithContext(ctx context.Context) *GetVirtualPrivateCloudsConnectionParams

NewGetVirtualPrivateCloudsConnectionParamsWithContext creates a new GetVirtualPrivateCloudsConnectionParams object with the ability to set a context for a request.

func NewGetVirtualPrivateCloudsConnectionParamsWithHTTPClient

func NewGetVirtualPrivateCloudsConnectionParamsWithHTTPClient(client *http.Client) *GetVirtualPrivateCloudsConnectionParams

NewGetVirtualPrivateCloudsConnectionParamsWithHTTPClient creates a new GetVirtualPrivateCloudsConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetVirtualPrivateCloudsConnectionParamsWithTimeout

func NewGetVirtualPrivateCloudsConnectionParamsWithTimeout(timeout time.Duration) *GetVirtualPrivateCloudsConnectionParams

NewGetVirtualPrivateCloudsConnectionParamsWithTimeout creates a new GetVirtualPrivateCloudsConnectionParams object with the ability to set a timeout on a request.

func (*GetVirtualPrivateCloudsConnectionParams) SetContentLanguage

func (o *GetVirtualPrivateCloudsConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get virtual private clouds connection params

func (*GetVirtualPrivateCloudsConnectionParams) SetContext

SetContext adds the context to the get virtual private clouds connection params

func (*GetVirtualPrivateCloudsConnectionParams) SetDefaults

func (o *GetVirtualPrivateCloudsConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get virtual private clouds connection params (not the query body).

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

func (*GetVirtualPrivateCloudsConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get virtual private clouds connection params

func (*GetVirtualPrivateCloudsConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get virtual private clouds connection params

func (*GetVirtualPrivateCloudsConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get virtual private clouds connection params

func (*GetVirtualPrivateCloudsConnectionParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the get virtual private clouds connection params

func (*GetVirtualPrivateCloudsConnectionParams) WithContext

WithContext adds the context to the get virtual private clouds connection params

func (*GetVirtualPrivateCloudsConnectionParams) WithDefaults

WithDefaults hydrates default values in the get virtual private clouds connection params (not the query body).

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

func (*GetVirtualPrivateCloudsConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get virtual private clouds connection params

func (*GetVirtualPrivateCloudsConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get virtual private clouds connection params

func (*GetVirtualPrivateCloudsConnectionParams) WithTimeout

WithTimeout adds the timeout to the get virtual private clouds connection params

func (*GetVirtualPrivateCloudsConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVirtualPrivateCloudsConnectionReader

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

GetVirtualPrivateCloudsConnectionReader is a Reader for the GetVirtualPrivateCloudsConnection structure.

func (*GetVirtualPrivateCloudsConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVirtualPrivateCloudsInternalServerError

type GetVirtualPrivateCloudsInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVirtualPrivateCloudsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetVirtualPrivateCloudsInternalServerError

func NewGetVirtualPrivateCloudsInternalServerError() *GetVirtualPrivateCloudsInternalServerError

NewGetVirtualPrivateCloudsInternalServerError creates a GetVirtualPrivateCloudsInternalServerError with default headers values

func (*GetVirtualPrivateCloudsInternalServerError) Error

func (*GetVirtualPrivateCloudsInternalServerError) GetPayload

type GetVirtualPrivateCloudsNotFound

type GetVirtualPrivateCloudsNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
GetVirtualPrivateCloudsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetVirtualPrivateCloudsNotFound

func NewGetVirtualPrivateCloudsNotFound() *GetVirtualPrivateCloudsNotFound

NewGetVirtualPrivateCloudsNotFound creates a GetVirtualPrivateCloudsNotFound with default headers values

func (*GetVirtualPrivateCloudsNotFound) Error

func (*GetVirtualPrivateCloudsNotFound) GetPayload

type GetVirtualPrivateCloudsOK

type GetVirtualPrivateCloudsOK struct {
	XTowerRequestID string

	Payload []*models.VirtualPrivateCloud
}
GetVirtualPrivateCloudsOK describes a response with status code 200, with default header values.

GetVirtualPrivateCloudsOK get virtual private clouds o k

func NewGetVirtualPrivateCloudsOK

func NewGetVirtualPrivateCloudsOK() *GetVirtualPrivateCloudsOK

NewGetVirtualPrivateCloudsOK creates a GetVirtualPrivateCloudsOK with default headers values

func (*GetVirtualPrivateCloudsOK) Error

func (o *GetVirtualPrivateCloudsOK) Error() string

func (*GetVirtualPrivateCloudsOK) GetPayload

type GetVirtualPrivateCloudsParams

type GetVirtualPrivateCloudsParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetVirtualPrivateCloudsRequestBody

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

GetVirtualPrivateCloudsParams contains all the parameters to send to the API endpoint

for the get virtual private clouds operation.

Typically these are written to a http.Request.

func NewGetVirtualPrivateCloudsParams

func NewGetVirtualPrivateCloudsParams() *GetVirtualPrivateCloudsParams

NewGetVirtualPrivateCloudsParams creates a new GetVirtualPrivateCloudsParams 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 NewGetVirtualPrivateCloudsParamsWithContext

func NewGetVirtualPrivateCloudsParamsWithContext(ctx context.Context) *GetVirtualPrivateCloudsParams

NewGetVirtualPrivateCloudsParamsWithContext creates a new GetVirtualPrivateCloudsParams object with the ability to set a context for a request.

func NewGetVirtualPrivateCloudsParamsWithHTTPClient

func NewGetVirtualPrivateCloudsParamsWithHTTPClient(client *http.Client) *GetVirtualPrivateCloudsParams

NewGetVirtualPrivateCloudsParamsWithHTTPClient creates a new GetVirtualPrivateCloudsParams object with the ability to set a custom HTTPClient for a request.

func NewGetVirtualPrivateCloudsParamsWithTimeout

func NewGetVirtualPrivateCloudsParamsWithTimeout(timeout time.Duration) *GetVirtualPrivateCloudsParams

NewGetVirtualPrivateCloudsParamsWithTimeout creates a new GetVirtualPrivateCloudsParams object with the ability to set a timeout on a request.

func (*GetVirtualPrivateCloudsParams) SetContentLanguage

func (o *GetVirtualPrivateCloudsParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get virtual private clouds params

func (*GetVirtualPrivateCloudsParams) SetContext

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

SetContext adds the context to the get virtual private clouds params

func (*GetVirtualPrivateCloudsParams) SetDefaults

func (o *GetVirtualPrivateCloudsParams) SetDefaults()

SetDefaults hydrates default values in the get virtual private clouds params (not the query body).

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

func (*GetVirtualPrivateCloudsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get virtual private clouds params

func (*GetVirtualPrivateCloudsParams) SetRequestBody

SetRequestBody adds the requestBody to the get virtual private clouds params

func (*GetVirtualPrivateCloudsParams) SetTimeout

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

SetTimeout adds the timeout to the get virtual private clouds params

func (*GetVirtualPrivateCloudsParams) WithContentLanguage

func (o *GetVirtualPrivateCloudsParams) WithContentLanguage(contentLanguage *string) *GetVirtualPrivateCloudsParams

WithContentLanguage adds the contentLanguage to the get virtual private clouds params

func (*GetVirtualPrivateCloudsParams) WithContext

WithContext adds the context to the get virtual private clouds params

func (*GetVirtualPrivateCloudsParams) WithDefaults

WithDefaults hydrates default values in the get virtual private clouds params (not the query body).

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

func (*GetVirtualPrivateCloudsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get virtual private clouds params

func (*GetVirtualPrivateCloudsParams) WithRequestBody

WithRequestBody adds the requestBody to the get virtual private clouds params

func (*GetVirtualPrivateCloudsParams) WithTimeout

WithTimeout adds the timeout to the get virtual private clouds params

func (*GetVirtualPrivateCloudsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVirtualPrivateCloudsReader

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

GetVirtualPrivateCloudsReader is a Reader for the GetVirtualPrivateClouds structure.

func (*GetVirtualPrivateCloudsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateVirtualPrivateCloudBadRequest

type UpdateVirtualPrivateCloudBadRequest struct {
	XTowerRequestID string

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

Bad request

func NewUpdateVirtualPrivateCloudBadRequest

func NewUpdateVirtualPrivateCloudBadRequest() *UpdateVirtualPrivateCloudBadRequest

NewUpdateVirtualPrivateCloudBadRequest creates a UpdateVirtualPrivateCloudBadRequest with default headers values

func (*UpdateVirtualPrivateCloudBadRequest) Error

func (*UpdateVirtualPrivateCloudBadRequest) GetPayload

type UpdateVirtualPrivateCloudInternalServerError

type UpdateVirtualPrivateCloudInternalServerError struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVirtualPrivateCloudInternalServerError describes a response with status code 500, with default header values.

Server error

func NewUpdateVirtualPrivateCloudInternalServerError

func NewUpdateVirtualPrivateCloudInternalServerError() *UpdateVirtualPrivateCloudInternalServerError

NewUpdateVirtualPrivateCloudInternalServerError creates a UpdateVirtualPrivateCloudInternalServerError with default headers values

func (*UpdateVirtualPrivateCloudInternalServerError) Error

func (*UpdateVirtualPrivateCloudInternalServerError) GetPayload

type UpdateVirtualPrivateCloudNotFound

type UpdateVirtualPrivateCloudNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
UpdateVirtualPrivateCloudNotFound describes a response with status code 404, with default header values.

Not found

func NewUpdateVirtualPrivateCloudNotFound

func NewUpdateVirtualPrivateCloudNotFound() *UpdateVirtualPrivateCloudNotFound

NewUpdateVirtualPrivateCloudNotFound creates a UpdateVirtualPrivateCloudNotFound with default headers values

func (*UpdateVirtualPrivateCloudNotFound) Error

func (*UpdateVirtualPrivateCloudNotFound) GetPayload

type UpdateVirtualPrivateCloudOK

type UpdateVirtualPrivateCloudOK struct {
	XTowerRequestID string

	Payload []*models.WithTaskVirtualPrivateCloud
}
UpdateVirtualPrivateCloudOK describes a response with status code 200, with default header values.

UpdateVirtualPrivateCloudOK update virtual private cloud o k

func NewUpdateVirtualPrivateCloudOK

func NewUpdateVirtualPrivateCloudOK() *UpdateVirtualPrivateCloudOK

NewUpdateVirtualPrivateCloudOK creates a UpdateVirtualPrivateCloudOK with default headers values

func (*UpdateVirtualPrivateCloudOK) Error

func (*UpdateVirtualPrivateCloudOK) GetPayload

type UpdateVirtualPrivateCloudParams

type UpdateVirtualPrivateCloudParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.VirtualPrivateCloudUpdationParams

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

UpdateVirtualPrivateCloudParams contains all the parameters to send to the API endpoint

for the update virtual private cloud operation.

Typically these are written to a http.Request.

func NewUpdateVirtualPrivateCloudParams

func NewUpdateVirtualPrivateCloudParams() *UpdateVirtualPrivateCloudParams

NewUpdateVirtualPrivateCloudParams creates a new UpdateVirtualPrivateCloudParams 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 NewUpdateVirtualPrivateCloudParamsWithContext

func NewUpdateVirtualPrivateCloudParamsWithContext(ctx context.Context) *UpdateVirtualPrivateCloudParams

NewUpdateVirtualPrivateCloudParamsWithContext creates a new UpdateVirtualPrivateCloudParams object with the ability to set a context for a request.

func NewUpdateVirtualPrivateCloudParamsWithHTTPClient

func NewUpdateVirtualPrivateCloudParamsWithHTTPClient(client *http.Client) *UpdateVirtualPrivateCloudParams

NewUpdateVirtualPrivateCloudParamsWithHTTPClient creates a new UpdateVirtualPrivateCloudParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateVirtualPrivateCloudParamsWithTimeout

func NewUpdateVirtualPrivateCloudParamsWithTimeout(timeout time.Duration) *UpdateVirtualPrivateCloudParams

NewUpdateVirtualPrivateCloudParamsWithTimeout creates a new UpdateVirtualPrivateCloudParams object with the ability to set a timeout on a request.

func (*UpdateVirtualPrivateCloudParams) SetContentLanguage

func (o *UpdateVirtualPrivateCloudParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update virtual private cloud params

func (*UpdateVirtualPrivateCloudParams) SetContext

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

SetContext adds the context to the update virtual private cloud params

func (*UpdateVirtualPrivateCloudParams) SetDefaults

func (o *UpdateVirtualPrivateCloudParams) SetDefaults()

SetDefaults hydrates default values in the update virtual private cloud params (not the query body).

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

func (*UpdateVirtualPrivateCloudParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update virtual private cloud params

func (*UpdateVirtualPrivateCloudParams) SetRequestBody

SetRequestBody adds the requestBody to the update virtual private cloud params

func (*UpdateVirtualPrivateCloudParams) SetTimeout

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

SetTimeout adds the timeout to the update virtual private cloud params

func (*UpdateVirtualPrivateCloudParams) WithContentLanguage

func (o *UpdateVirtualPrivateCloudParams) WithContentLanguage(contentLanguage *string) *UpdateVirtualPrivateCloudParams

WithContentLanguage adds the contentLanguage to the update virtual private cloud params

func (*UpdateVirtualPrivateCloudParams) WithContext

WithContext adds the context to the update virtual private cloud params

func (*UpdateVirtualPrivateCloudParams) WithDefaults

WithDefaults hydrates default values in the update virtual private cloud params (not the query body).

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

func (*UpdateVirtualPrivateCloudParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update virtual private cloud params

func (*UpdateVirtualPrivateCloudParams) WithRequestBody

WithRequestBody adds the requestBody to the update virtual private cloud params

func (*UpdateVirtualPrivateCloudParams) WithTimeout

WithTimeout adds the timeout to the update virtual private cloud params

func (*UpdateVirtualPrivateCloudParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateVirtualPrivateCloudReader

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

UpdateVirtualPrivateCloudReader is a Reader for the UpdateVirtualPrivateCloud structure.

func (*UpdateVirtualPrivateCloudReader) ReadResponse

func (o *UpdateVirtualPrivateCloudReader) 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