internal_storage_regions

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 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 internal storage regions API

func (*Client) InternalV1StorageRegionsStoragePoolsGet

InternalV1StorageRegionsStoragePoolsGet gets the settings for given pool name

func (*Client) InternalV1StorageRegionsStoragePoolsGetall

InternalV1StorageRegionsStoragePoolsGetall gets the current storage pools settings for a region zone

func (*Client) InternalV1StorageRegionsStoragePoolsPut

InternalV1StorageRegionsStoragePoolsPut updates the settings for given pool name

func (*Client) InternalV1StorageRegionsThresholdsGet

func (a *Client) InternalV1StorageRegionsThresholdsGet(params *InternalV1StorageRegionsThresholdsGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1StorageRegionsThresholdsGetOK, error)

InternalV1StorageRegionsThresholdsGet gets the current default threshold settings for a region zone

func (*Client) InternalV1StorageRegionsThresholdsPut

InternalV1StorageRegionsThresholdsPut updates a default threshold setting for a region zone

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v1.1.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v1.1.0

ClientService is the interface for Client methods

func New

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

New creates a new internal storage regions API client.

type InternalV1StorageRegionsStoragePoolsGetInternalServerError

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

Internal Server Error

func NewInternalV1StorageRegionsStoragePoolsGetInternalServerError

func NewInternalV1StorageRegionsStoragePoolsGetInternalServerError() *InternalV1StorageRegionsStoragePoolsGetInternalServerError

NewInternalV1StorageRegionsStoragePoolsGetInternalServerError creates a InternalV1StorageRegionsStoragePoolsGetInternalServerError with default headers values

func (*InternalV1StorageRegionsStoragePoolsGetInternalServerError) Error

func (*InternalV1StorageRegionsStoragePoolsGetInternalServerError) GetPayload added in v1.1.0

type InternalV1StorageRegionsStoragePoolsGetNotFound

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

Not Found

func NewInternalV1StorageRegionsStoragePoolsGetNotFound

func NewInternalV1StorageRegionsStoragePoolsGetNotFound() *InternalV1StorageRegionsStoragePoolsGetNotFound

NewInternalV1StorageRegionsStoragePoolsGetNotFound creates a InternalV1StorageRegionsStoragePoolsGetNotFound with default headers values

func (*InternalV1StorageRegionsStoragePoolsGetNotFound) Error

func (*InternalV1StorageRegionsStoragePoolsGetNotFound) GetPayload added in v1.1.0

type InternalV1StorageRegionsStoragePoolsGetOK

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

OK

func NewInternalV1StorageRegionsStoragePoolsGetOK

func NewInternalV1StorageRegionsStoragePoolsGetOK() *InternalV1StorageRegionsStoragePoolsGetOK

NewInternalV1StorageRegionsStoragePoolsGetOK creates a InternalV1StorageRegionsStoragePoolsGetOK with default headers values

func (*InternalV1StorageRegionsStoragePoolsGetOK) Error

func (*InternalV1StorageRegionsStoragePoolsGetOK) GetPayload added in v1.1.0

type InternalV1StorageRegionsStoragePoolsGetParams

type InternalV1StorageRegionsStoragePoolsGetParams struct {

	/* RegionZoneID.

	   ID of a Power Cloud Region Zone
	*/
	RegionZoneID string

	/* StoragePoolName.

	   Storage pool name
	*/
	StoragePoolName string

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

InternalV1StorageRegionsStoragePoolsGetParams contains all the parameters to send to the API endpoint

for the internal v1 storage regions storage pools get operation.

Typically these are written to a http.Request.

func NewInternalV1StorageRegionsStoragePoolsGetParams

func NewInternalV1StorageRegionsStoragePoolsGetParams() *InternalV1StorageRegionsStoragePoolsGetParams

NewInternalV1StorageRegionsStoragePoolsGetParams creates a new InternalV1StorageRegionsStoragePoolsGetParams 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 NewInternalV1StorageRegionsStoragePoolsGetParamsWithContext

func NewInternalV1StorageRegionsStoragePoolsGetParamsWithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsGetParams

NewInternalV1StorageRegionsStoragePoolsGetParamsWithContext creates a new InternalV1StorageRegionsStoragePoolsGetParams object with the ability to set a context for a request.

func NewInternalV1StorageRegionsStoragePoolsGetParamsWithHTTPClient

func NewInternalV1StorageRegionsStoragePoolsGetParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsGetParams

NewInternalV1StorageRegionsStoragePoolsGetParamsWithHTTPClient creates a new InternalV1StorageRegionsStoragePoolsGetParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1StorageRegionsStoragePoolsGetParamsWithTimeout

func NewInternalV1StorageRegionsStoragePoolsGetParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsGetParams

NewInternalV1StorageRegionsStoragePoolsGetParamsWithTimeout creates a new InternalV1StorageRegionsStoragePoolsGetParams object with the ability to set a timeout on a request.

func (*InternalV1StorageRegionsStoragePoolsGetParams) SetContext

SetContext adds the context to the internal v1 storage regions storage pools get params

func (*InternalV1StorageRegionsStoragePoolsGetParams) SetDefaults added in v1.1.0

SetDefaults hydrates default values in the internal v1 storage regions storage pools get params (not the query body).

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

func (*InternalV1StorageRegionsStoragePoolsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the internal v1 storage regions storage pools get params

func (*InternalV1StorageRegionsStoragePoolsGetParams) SetRegionZoneID

func (o *InternalV1StorageRegionsStoragePoolsGetParams) SetRegionZoneID(regionZoneID string)

SetRegionZoneID adds the regionZoneId to the internal v1 storage regions storage pools get params

func (*InternalV1StorageRegionsStoragePoolsGetParams) SetStoragePoolName

func (o *InternalV1StorageRegionsStoragePoolsGetParams) SetStoragePoolName(storagePoolName string)

SetStoragePoolName adds the storagePoolName to the internal v1 storage regions storage pools get params

func (*InternalV1StorageRegionsStoragePoolsGetParams) SetTimeout

SetTimeout adds the timeout to the internal v1 storage regions storage pools get params

func (*InternalV1StorageRegionsStoragePoolsGetParams) WithContext

WithContext adds the context to the internal v1 storage regions storage pools get params

func (*InternalV1StorageRegionsStoragePoolsGetParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the internal v1 storage regions storage pools get params (not the query body).

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

func (*InternalV1StorageRegionsStoragePoolsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the internal v1 storage regions storage pools get params

func (*InternalV1StorageRegionsStoragePoolsGetParams) WithRegionZoneID

WithRegionZoneID adds the regionZoneID to the internal v1 storage regions storage pools get params

func (*InternalV1StorageRegionsStoragePoolsGetParams) WithStoragePoolName

WithStoragePoolName adds the storagePoolName to the internal v1 storage regions storage pools get params

func (*InternalV1StorageRegionsStoragePoolsGetParams) WithTimeout

WithTimeout adds the timeout to the internal v1 storage regions storage pools get params

func (*InternalV1StorageRegionsStoragePoolsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1StorageRegionsStoragePoolsGetReader

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

InternalV1StorageRegionsStoragePoolsGetReader is a Reader for the InternalV1StorageRegionsStoragePoolsGet structure.

func (*InternalV1StorageRegionsStoragePoolsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InternalV1StorageRegionsStoragePoolsGetUnauthorized

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

Unauthorized

func NewInternalV1StorageRegionsStoragePoolsGetUnauthorized

func NewInternalV1StorageRegionsStoragePoolsGetUnauthorized() *InternalV1StorageRegionsStoragePoolsGetUnauthorized

NewInternalV1StorageRegionsStoragePoolsGetUnauthorized creates a InternalV1StorageRegionsStoragePoolsGetUnauthorized with default headers values

func (*InternalV1StorageRegionsStoragePoolsGetUnauthorized) Error

func (*InternalV1StorageRegionsStoragePoolsGetUnauthorized) GetPayload added in v1.1.0

type InternalV1StorageRegionsStoragePoolsGetallInternalServerError

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

Internal Server Error

func NewInternalV1StorageRegionsStoragePoolsGetallInternalServerError

func NewInternalV1StorageRegionsStoragePoolsGetallInternalServerError() *InternalV1StorageRegionsStoragePoolsGetallInternalServerError

NewInternalV1StorageRegionsStoragePoolsGetallInternalServerError creates a InternalV1StorageRegionsStoragePoolsGetallInternalServerError with default headers values

func (*InternalV1StorageRegionsStoragePoolsGetallInternalServerError) Error

func (*InternalV1StorageRegionsStoragePoolsGetallInternalServerError) GetPayload added in v1.1.0

type InternalV1StorageRegionsStoragePoolsGetallNotFound

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

Not Found

func NewInternalV1StorageRegionsStoragePoolsGetallNotFound

func NewInternalV1StorageRegionsStoragePoolsGetallNotFound() *InternalV1StorageRegionsStoragePoolsGetallNotFound

NewInternalV1StorageRegionsStoragePoolsGetallNotFound creates a InternalV1StorageRegionsStoragePoolsGetallNotFound with default headers values

func (*InternalV1StorageRegionsStoragePoolsGetallNotFound) Error

func (*InternalV1StorageRegionsStoragePoolsGetallNotFound) GetPayload added in v1.1.0

type InternalV1StorageRegionsStoragePoolsGetallOK

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

OK

func NewInternalV1StorageRegionsStoragePoolsGetallOK

func NewInternalV1StorageRegionsStoragePoolsGetallOK() *InternalV1StorageRegionsStoragePoolsGetallOK

NewInternalV1StorageRegionsStoragePoolsGetallOK creates a InternalV1StorageRegionsStoragePoolsGetallOK with default headers values

func (*InternalV1StorageRegionsStoragePoolsGetallOK) Error

func (*InternalV1StorageRegionsStoragePoolsGetallOK) GetPayload added in v1.1.0

type InternalV1StorageRegionsStoragePoolsGetallParams

type InternalV1StorageRegionsStoragePoolsGetallParams struct {

	/* RegionZoneID.

	   ID of a Power Cloud Region Zone
	*/
	RegionZoneID string

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

InternalV1StorageRegionsStoragePoolsGetallParams contains all the parameters to send to the API endpoint

for the internal v1 storage regions storage pools getall operation.

Typically these are written to a http.Request.

func NewInternalV1StorageRegionsStoragePoolsGetallParams

func NewInternalV1StorageRegionsStoragePoolsGetallParams() *InternalV1StorageRegionsStoragePoolsGetallParams

NewInternalV1StorageRegionsStoragePoolsGetallParams creates a new InternalV1StorageRegionsStoragePoolsGetallParams 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 NewInternalV1StorageRegionsStoragePoolsGetallParamsWithContext

func NewInternalV1StorageRegionsStoragePoolsGetallParamsWithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsGetallParams

NewInternalV1StorageRegionsStoragePoolsGetallParamsWithContext creates a new InternalV1StorageRegionsStoragePoolsGetallParams object with the ability to set a context for a request.

func NewInternalV1StorageRegionsStoragePoolsGetallParamsWithHTTPClient

func NewInternalV1StorageRegionsStoragePoolsGetallParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsGetallParams

NewInternalV1StorageRegionsStoragePoolsGetallParamsWithHTTPClient creates a new InternalV1StorageRegionsStoragePoolsGetallParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1StorageRegionsStoragePoolsGetallParamsWithTimeout

func NewInternalV1StorageRegionsStoragePoolsGetallParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsGetallParams

NewInternalV1StorageRegionsStoragePoolsGetallParamsWithTimeout creates a new InternalV1StorageRegionsStoragePoolsGetallParams object with the ability to set a timeout on a request.

func (*InternalV1StorageRegionsStoragePoolsGetallParams) SetContext

SetContext adds the context to the internal v1 storage regions storage pools getall params

func (*InternalV1StorageRegionsStoragePoolsGetallParams) SetDefaults added in v1.1.0

SetDefaults hydrates default values in the internal v1 storage regions storage pools getall params (not the query body).

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

func (*InternalV1StorageRegionsStoragePoolsGetallParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the internal v1 storage regions storage pools getall params

func (*InternalV1StorageRegionsStoragePoolsGetallParams) SetRegionZoneID

func (o *InternalV1StorageRegionsStoragePoolsGetallParams) SetRegionZoneID(regionZoneID string)

SetRegionZoneID adds the regionZoneId to the internal v1 storage regions storage pools getall params

func (*InternalV1StorageRegionsStoragePoolsGetallParams) SetTimeout

SetTimeout adds the timeout to the internal v1 storage regions storage pools getall params

func (*InternalV1StorageRegionsStoragePoolsGetallParams) WithContext

WithContext adds the context to the internal v1 storage regions storage pools getall params

func (*InternalV1StorageRegionsStoragePoolsGetallParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the internal v1 storage regions storage pools getall params (not the query body).

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

func (*InternalV1StorageRegionsStoragePoolsGetallParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the internal v1 storage regions storage pools getall params

func (*InternalV1StorageRegionsStoragePoolsGetallParams) WithRegionZoneID

WithRegionZoneID adds the regionZoneID to the internal v1 storage regions storage pools getall params

func (*InternalV1StorageRegionsStoragePoolsGetallParams) WithTimeout

WithTimeout adds the timeout to the internal v1 storage regions storage pools getall params

func (*InternalV1StorageRegionsStoragePoolsGetallParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1StorageRegionsStoragePoolsGetallReader

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

InternalV1StorageRegionsStoragePoolsGetallReader is a Reader for the InternalV1StorageRegionsStoragePoolsGetall structure.

func (*InternalV1StorageRegionsStoragePoolsGetallReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InternalV1StorageRegionsStoragePoolsGetallUnauthorized

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

Unauthorized

func NewInternalV1StorageRegionsStoragePoolsGetallUnauthorized

func NewInternalV1StorageRegionsStoragePoolsGetallUnauthorized() *InternalV1StorageRegionsStoragePoolsGetallUnauthorized

NewInternalV1StorageRegionsStoragePoolsGetallUnauthorized creates a InternalV1StorageRegionsStoragePoolsGetallUnauthorized with default headers values

func (*InternalV1StorageRegionsStoragePoolsGetallUnauthorized) Error

func (*InternalV1StorageRegionsStoragePoolsGetallUnauthorized) GetPayload added in v1.1.0

type InternalV1StorageRegionsStoragePoolsPutBadRequest

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

Bad Request

func NewInternalV1StorageRegionsStoragePoolsPutBadRequest

func NewInternalV1StorageRegionsStoragePoolsPutBadRequest() *InternalV1StorageRegionsStoragePoolsPutBadRequest

NewInternalV1StorageRegionsStoragePoolsPutBadRequest creates a InternalV1StorageRegionsStoragePoolsPutBadRequest with default headers values

func (*InternalV1StorageRegionsStoragePoolsPutBadRequest) Error

func (*InternalV1StorageRegionsStoragePoolsPutBadRequest) GetPayload added in v1.1.0

type InternalV1StorageRegionsStoragePoolsPutInternalServerError

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

Internal Server Error

func NewInternalV1StorageRegionsStoragePoolsPutInternalServerError

func NewInternalV1StorageRegionsStoragePoolsPutInternalServerError() *InternalV1StorageRegionsStoragePoolsPutInternalServerError

NewInternalV1StorageRegionsStoragePoolsPutInternalServerError creates a InternalV1StorageRegionsStoragePoolsPutInternalServerError with default headers values

func (*InternalV1StorageRegionsStoragePoolsPutInternalServerError) Error

func (*InternalV1StorageRegionsStoragePoolsPutInternalServerError) GetPayload added in v1.1.0

type InternalV1StorageRegionsStoragePoolsPutNotFound

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

Not Found

func NewInternalV1StorageRegionsStoragePoolsPutNotFound

func NewInternalV1StorageRegionsStoragePoolsPutNotFound() *InternalV1StorageRegionsStoragePoolsPutNotFound

NewInternalV1StorageRegionsStoragePoolsPutNotFound creates a InternalV1StorageRegionsStoragePoolsPutNotFound with default headers values

func (*InternalV1StorageRegionsStoragePoolsPutNotFound) Error

func (*InternalV1StorageRegionsStoragePoolsPutNotFound) GetPayload added in v1.1.0

type InternalV1StorageRegionsStoragePoolsPutOK

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

OK

func NewInternalV1StorageRegionsStoragePoolsPutOK

func NewInternalV1StorageRegionsStoragePoolsPutOK() *InternalV1StorageRegionsStoragePoolsPutOK

NewInternalV1StorageRegionsStoragePoolsPutOK creates a InternalV1StorageRegionsStoragePoolsPutOK with default headers values

func (*InternalV1StorageRegionsStoragePoolsPutOK) Error

func (*InternalV1StorageRegionsStoragePoolsPutOK) GetPayload added in v1.1.0

type InternalV1StorageRegionsStoragePoolsPutParams

type InternalV1StorageRegionsStoragePoolsPutParams struct {

	/* Body.

	   Parameters for updating a storage pool
	*/
	Body *models.UpdateStoragePool

	/* RegionZoneID.

	   ID of a Power Cloud Region Zone
	*/
	RegionZoneID string

	/* StoragePoolName.

	   Storage pool name
	*/
	StoragePoolName string

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

InternalV1StorageRegionsStoragePoolsPutParams contains all the parameters to send to the API endpoint

for the internal v1 storage regions storage pools put operation.

Typically these are written to a http.Request.

func NewInternalV1StorageRegionsStoragePoolsPutParams

func NewInternalV1StorageRegionsStoragePoolsPutParams() *InternalV1StorageRegionsStoragePoolsPutParams

NewInternalV1StorageRegionsStoragePoolsPutParams creates a new InternalV1StorageRegionsStoragePoolsPutParams 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 NewInternalV1StorageRegionsStoragePoolsPutParamsWithContext

func NewInternalV1StorageRegionsStoragePoolsPutParamsWithContext(ctx context.Context) *InternalV1StorageRegionsStoragePoolsPutParams

NewInternalV1StorageRegionsStoragePoolsPutParamsWithContext creates a new InternalV1StorageRegionsStoragePoolsPutParams object with the ability to set a context for a request.

func NewInternalV1StorageRegionsStoragePoolsPutParamsWithHTTPClient

func NewInternalV1StorageRegionsStoragePoolsPutParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsStoragePoolsPutParams

NewInternalV1StorageRegionsStoragePoolsPutParamsWithHTTPClient creates a new InternalV1StorageRegionsStoragePoolsPutParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1StorageRegionsStoragePoolsPutParamsWithTimeout

func NewInternalV1StorageRegionsStoragePoolsPutParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsStoragePoolsPutParams

NewInternalV1StorageRegionsStoragePoolsPutParamsWithTimeout creates a new InternalV1StorageRegionsStoragePoolsPutParams object with the ability to set a timeout on a request.

func (*InternalV1StorageRegionsStoragePoolsPutParams) SetBody

SetBody adds the body to the internal v1 storage regions storage pools put params

func (*InternalV1StorageRegionsStoragePoolsPutParams) SetContext

SetContext adds the context to the internal v1 storage regions storage pools put params

func (*InternalV1StorageRegionsStoragePoolsPutParams) SetDefaults added in v1.1.0

SetDefaults hydrates default values in the internal v1 storage regions storage pools put params (not the query body).

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

func (*InternalV1StorageRegionsStoragePoolsPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the internal v1 storage regions storage pools put params

func (*InternalV1StorageRegionsStoragePoolsPutParams) SetRegionZoneID

func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetRegionZoneID(regionZoneID string)

SetRegionZoneID adds the regionZoneId to the internal v1 storage regions storage pools put params

func (*InternalV1StorageRegionsStoragePoolsPutParams) SetStoragePoolName

func (o *InternalV1StorageRegionsStoragePoolsPutParams) SetStoragePoolName(storagePoolName string)

SetStoragePoolName adds the storagePoolName to the internal v1 storage regions storage pools put params

func (*InternalV1StorageRegionsStoragePoolsPutParams) SetTimeout

SetTimeout adds the timeout to the internal v1 storage regions storage pools put params

func (*InternalV1StorageRegionsStoragePoolsPutParams) WithBody

WithBody adds the body to the internal v1 storage regions storage pools put params

func (*InternalV1StorageRegionsStoragePoolsPutParams) WithContext

WithContext adds the context to the internal v1 storage regions storage pools put params

func (*InternalV1StorageRegionsStoragePoolsPutParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the internal v1 storage regions storage pools put params (not the query body).

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

func (*InternalV1StorageRegionsStoragePoolsPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the internal v1 storage regions storage pools put params

func (*InternalV1StorageRegionsStoragePoolsPutParams) WithRegionZoneID

WithRegionZoneID adds the regionZoneID to the internal v1 storage regions storage pools put params

func (*InternalV1StorageRegionsStoragePoolsPutParams) WithStoragePoolName

WithStoragePoolName adds the storagePoolName to the internal v1 storage regions storage pools put params

func (*InternalV1StorageRegionsStoragePoolsPutParams) WithTimeout

WithTimeout adds the timeout to the internal v1 storage regions storage pools put params

func (*InternalV1StorageRegionsStoragePoolsPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1StorageRegionsStoragePoolsPutReader

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

InternalV1StorageRegionsStoragePoolsPutReader is a Reader for the InternalV1StorageRegionsStoragePoolsPut structure.

func (*InternalV1StorageRegionsStoragePoolsPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InternalV1StorageRegionsStoragePoolsPutUnauthorized

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

Unauthorized

func NewInternalV1StorageRegionsStoragePoolsPutUnauthorized

func NewInternalV1StorageRegionsStoragePoolsPutUnauthorized() *InternalV1StorageRegionsStoragePoolsPutUnauthorized

NewInternalV1StorageRegionsStoragePoolsPutUnauthorized creates a InternalV1StorageRegionsStoragePoolsPutUnauthorized with default headers values

func (*InternalV1StorageRegionsStoragePoolsPutUnauthorized) Error

func (*InternalV1StorageRegionsStoragePoolsPutUnauthorized) GetPayload added in v1.1.0

type InternalV1StorageRegionsThresholdsGetInternalServerError

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

Internal Server Error

func NewInternalV1StorageRegionsThresholdsGetInternalServerError

func NewInternalV1StorageRegionsThresholdsGetInternalServerError() *InternalV1StorageRegionsThresholdsGetInternalServerError

NewInternalV1StorageRegionsThresholdsGetInternalServerError creates a InternalV1StorageRegionsThresholdsGetInternalServerError with default headers values

func (*InternalV1StorageRegionsThresholdsGetInternalServerError) Error

func (*InternalV1StorageRegionsThresholdsGetInternalServerError) GetPayload added in v1.1.0

type InternalV1StorageRegionsThresholdsGetNotFound

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

Not Found

func NewInternalV1StorageRegionsThresholdsGetNotFound

func NewInternalV1StorageRegionsThresholdsGetNotFound() *InternalV1StorageRegionsThresholdsGetNotFound

NewInternalV1StorageRegionsThresholdsGetNotFound creates a InternalV1StorageRegionsThresholdsGetNotFound with default headers values

func (*InternalV1StorageRegionsThresholdsGetNotFound) Error

func (*InternalV1StorageRegionsThresholdsGetNotFound) GetPayload added in v1.1.0

type InternalV1StorageRegionsThresholdsGetOK

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

OK

func NewInternalV1StorageRegionsThresholdsGetOK

func NewInternalV1StorageRegionsThresholdsGetOK() *InternalV1StorageRegionsThresholdsGetOK

NewInternalV1StorageRegionsThresholdsGetOK creates a InternalV1StorageRegionsThresholdsGetOK with default headers values

func (*InternalV1StorageRegionsThresholdsGetOK) Error

func (*InternalV1StorageRegionsThresholdsGetOK) GetPayload added in v1.1.0

type InternalV1StorageRegionsThresholdsGetParams

type InternalV1StorageRegionsThresholdsGetParams struct {

	/* RegionZoneID.

	   ID of a Power Cloud Region Zone
	*/
	RegionZoneID string

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

InternalV1StorageRegionsThresholdsGetParams contains all the parameters to send to the API endpoint

for the internal v1 storage regions thresholds get operation.

Typically these are written to a http.Request.

func NewInternalV1StorageRegionsThresholdsGetParams

func NewInternalV1StorageRegionsThresholdsGetParams() *InternalV1StorageRegionsThresholdsGetParams

NewInternalV1StorageRegionsThresholdsGetParams creates a new InternalV1StorageRegionsThresholdsGetParams 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 NewInternalV1StorageRegionsThresholdsGetParamsWithContext

func NewInternalV1StorageRegionsThresholdsGetParamsWithContext(ctx context.Context) *InternalV1StorageRegionsThresholdsGetParams

NewInternalV1StorageRegionsThresholdsGetParamsWithContext creates a new InternalV1StorageRegionsThresholdsGetParams object with the ability to set a context for a request.

func NewInternalV1StorageRegionsThresholdsGetParamsWithHTTPClient

func NewInternalV1StorageRegionsThresholdsGetParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsThresholdsGetParams

NewInternalV1StorageRegionsThresholdsGetParamsWithHTTPClient creates a new InternalV1StorageRegionsThresholdsGetParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1StorageRegionsThresholdsGetParamsWithTimeout

func NewInternalV1StorageRegionsThresholdsGetParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsThresholdsGetParams

NewInternalV1StorageRegionsThresholdsGetParamsWithTimeout creates a new InternalV1StorageRegionsThresholdsGetParams object with the ability to set a timeout on a request.

func (*InternalV1StorageRegionsThresholdsGetParams) SetContext

SetContext adds the context to the internal v1 storage regions thresholds get params

func (*InternalV1StorageRegionsThresholdsGetParams) SetDefaults added in v1.1.0

SetDefaults hydrates default values in the internal v1 storage regions thresholds get params (not the query body).

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

func (*InternalV1StorageRegionsThresholdsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the internal v1 storage regions thresholds get params

func (*InternalV1StorageRegionsThresholdsGetParams) SetRegionZoneID

func (o *InternalV1StorageRegionsThresholdsGetParams) SetRegionZoneID(regionZoneID string)

SetRegionZoneID adds the regionZoneId to the internal v1 storage regions thresholds get params

func (*InternalV1StorageRegionsThresholdsGetParams) SetTimeout

SetTimeout adds the timeout to the internal v1 storage regions thresholds get params

func (*InternalV1StorageRegionsThresholdsGetParams) WithContext

WithContext adds the context to the internal v1 storage regions thresholds get params

func (*InternalV1StorageRegionsThresholdsGetParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the internal v1 storage regions thresholds get params (not the query body).

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

func (*InternalV1StorageRegionsThresholdsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the internal v1 storage regions thresholds get params

func (*InternalV1StorageRegionsThresholdsGetParams) WithRegionZoneID

WithRegionZoneID adds the regionZoneID to the internal v1 storage regions thresholds get params

func (*InternalV1StorageRegionsThresholdsGetParams) WithTimeout

WithTimeout adds the timeout to the internal v1 storage regions thresholds get params

func (*InternalV1StorageRegionsThresholdsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1StorageRegionsThresholdsGetReader

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

InternalV1StorageRegionsThresholdsGetReader is a Reader for the InternalV1StorageRegionsThresholdsGet structure.

func (*InternalV1StorageRegionsThresholdsGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InternalV1StorageRegionsThresholdsGetUnauthorized

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

Unauthorized

func NewInternalV1StorageRegionsThresholdsGetUnauthorized

func NewInternalV1StorageRegionsThresholdsGetUnauthorized() *InternalV1StorageRegionsThresholdsGetUnauthorized

NewInternalV1StorageRegionsThresholdsGetUnauthorized creates a InternalV1StorageRegionsThresholdsGetUnauthorized with default headers values

func (*InternalV1StorageRegionsThresholdsGetUnauthorized) Error

func (*InternalV1StorageRegionsThresholdsGetUnauthorized) GetPayload added in v1.1.0

type InternalV1StorageRegionsThresholdsPutAccepted

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

OK, region-zone default threshold settings update

func NewInternalV1StorageRegionsThresholdsPutAccepted

func NewInternalV1StorageRegionsThresholdsPutAccepted() *InternalV1StorageRegionsThresholdsPutAccepted

NewInternalV1StorageRegionsThresholdsPutAccepted creates a InternalV1StorageRegionsThresholdsPutAccepted with default headers values

func (*InternalV1StorageRegionsThresholdsPutAccepted) Error

func (*InternalV1StorageRegionsThresholdsPutAccepted) GetPayload added in v1.1.0

type InternalV1StorageRegionsThresholdsPutBadRequest

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

Bad Request

func NewInternalV1StorageRegionsThresholdsPutBadRequest

func NewInternalV1StorageRegionsThresholdsPutBadRequest() *InternalV1StorageRegionsThresholdsPutBadRequest

NewInternalV1StorageRegionsThresholdsPutBadRequest creates a InternalV1StorageRegionsThresholdsPutBadRequest with default headers values

func (*InternalV1StorageRegionsThresholdsPutBadRequest) Error

func (*InternalV1StorageRegionsThresholdsPutBadRequest) GetPayload added in v1.1.0

type InternalV1StorageRegionsThresholdsPutConflict

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

Conflict

func NewInternalV1StorageRegionsThresholdsPutConflict

func NewInternalV1StorageRegionsThresholdsPutConflict() *InternalV1StorageRegionsThresholdsPutConflict

NewInternalV1StorageRegionsThresholdsPutConflict creates a InternalV1StorageRegionsThresholdsPutConflict with default headers values

func (*InternalV1StorageRegionsThresholdsPutConflict) Error

func (*InternalV1StorageRegionsThresholdsPutConflict) GetPayload added in v1.1.0

type InternalV1StorageRegionsThresholdsPutForbidden

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

Forbidden

func NewInternalV1StorageRegionsThresholdsPutForbidden

func NewInternalV1StorageRegionsThresholdsPutForbidden() *InternalV1StorageRegionsThresholdsPutForbidden

NewInternalV1StorageRegionsThresholdsPutForbidden creates a InternalV1StorageRegionsThresholdsPutForbidden with default headers values

func (*InternalV1StorageRegionsThresholdsPutForbidden) Error

func (*InternalV1StorageRegionsThresholdsPutForbidden) GetPayload added in v1.1.0

type InternalV1StorageRegionsThresholdsPutInternalServerError

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

Internal Server Error

func NewInternalV1StorageRegionsThresholdsPutInternalServerError

func NewInternalV1StorageRegionsThresholdsPutInternalServerError() *InternalV1StorageRegionsThresholdsPutInternalServerError

NewInternalV1StorageRegionsThresholdsPutInternalServerError creates a InternalV1StorageRegionsThresholdsPutInternalServerError with default headers values

func (*InternalV1StorageRegionsThresholdsPutInternalServerError) Error

func (*InternalV1StorageRegionsThresholdsPutInternalServerError) GetPayload added in v1.1.0

type InternalV1StorageRegionsThresholdsPutParams

type InternalV1StorageRegionsThresholdsPutParams struct {

	/* Body.

	   Parameters for updating default threshold settings for a region-zone
	*/
	Body *models.Thresholds

	/* RegionZoneID.

	   ID of a Power Cloud Region Zone
	*/
	RegionZoneID string

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

InternalV1StorageRegionsThresholdsPutParams contains all the parameters to send to the API endpoint

for the internal v1 storage regions thresholds put operation.

Typically these are written to a http.Request.

func NewInternalV1StorageRegionsThresholdsPutParams

func NewInternalV1StorageRegionsThresholdsPutParams() *InternalV1StorageRegionsThresholdsPutParams

NewInternalV1StorageRegionsThresholdsPutParams creates a new InternalV1StorageRegionsThresholdsPutParams 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 NewInternalV1StorageRegionsThresholdsPutParamsWithContext

func NewInternalV1StorageRegionsThresholdsPutParamsWithContext(ctx context.Context) *InternalV1StorageRegionsThresholdsPutParams

NewInternalV1StorageRegionsThresholdsPutParamsWithContext creates a new InternalV1StorageRegionsThresholdsPutParams object with the ability to set a context for a request.

func NewInternalV1StorageRegionsThresholdsPutParamsWithHTTPClient

func NewInternalV1StorageRegionsThresholdsPutParamsWithHTTPClient(client *http.Client) *InternalV1StorageRegionsThresholdsPutParams

NewInternalV1StorageRegionsThresholdsPutParamsWithHTTPClient creates a new InternalV1StorageRegionsThresholdsPutParams object with the ability to set a custom HTTPClient for a request.

func NewInternalV1StorageRegionsThresholdsPutParamsWithTimeout

func NewInternalV1StorageRegionsThresholdsPutParamsWithTimeout(timeout time.Duration) *InternalV1StorageRegionsThresholdsPutParams

NewInternalV1StorageRegionsThresholdsPutParamsWithTimeout creates a new InternalV1StorageRegionsThresholdsPutParams object with the ability to set a timeout on a request.

func (*InternalV1StorageRegionsThresholdsPutParams) SetBody

SetBody adds the body to the internal v1 storage regions thresholds put params

func (*InternalV1StorageRegionsThresholdsPutParams) SetContext

SetContext adds the context to the internal v1 storage regions thresholds put params

func (*InternalV1StorageRegionsThresholdsPutParams) SetDefaults added in v1.1.0

SetDefaults hydrates default values in the internal v1 storage regions thresholds put params (not the query body).

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

func (*InternalV1StorageRegionsThresholdsPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the internal v1 storage regions thresholds put params

func (*InternalV1StorageRegionsThresholdsPutParams) SetRegionZoneID

func (o *InternalV1StorageRegionsThresholdsPutParams) SetRegionZoneID(regionZoneID string)

SetRegionZoneID adds the regionZoneId to the internal v1 storage regions thresholds put params

func (*InternalV1StorageRegionsThresholdsPutParams) SetTimeout

SetTimeout adds the timeout to the internal v1 storage regions thresholds put params

func (*InternalV1StorageRegionsThresholdsPutParams) WithBody

WithBody adds the body to the internal v1 storage regions thresholds put params

func (*InternalV1StorageRegionsThresholdsPutParams) WithContext

WithContext adds the context to the internal v1 storage regions thresholds put params

func (*InternalV1StorageRegionsThresholdsPutParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the internal v1 storage regions thresholds put params (not the query body).

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

func (*InternalV1StorageRegionsThresholdsPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the internal v1 storage regions thresholds put params

func (*InternalV1StorageRegionsThresholdsPutParams) WithRegionZoneID

WithRegionZoneID adds the regionZoneID to the internal v1 storage regions thresholds put params

func (*InternalV1StorageRegionsThresholdsPutParams) WithTimeout

WithTimeout adds the timeout to the internal v1 storage regions thresholds put params

func (*InternalV1StorageRegionsThresholdsPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InternalV1StorageRegionsThresholdsPutReader

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

InternalV1StorageRegionsThresholdsPutReader is a Reader for the InternalV1StorageRegionsThresholdsPut structure.

func (*InternalV1StorageRegionsThresholdsPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InternalV1StorageRegionsThresholdsPutUnauthorized

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

Unauthorized

func NewInternalV1StorageRegionsThresholdsPutUnauthorized

func NewInternalV1StorageRegionsThresholdsPutUnauthorized() *InternalV1StorageRegionsThresholdsPutUnauthorized

NewInternalV1StorageRegionsThresholdsPutUnauthorized creates a InternalV1StorageRegionsThresholdsPutUnauthorized with default headers values

func (*InternalV1StorageRegionsThresholdsPutUnauthorized) Error

func (*InternalV1StorageRegionsThresholdsPutUnauthorized) GetPayload added in v1.1.0

type InternalV1StorageRegionsThresholdsPutUnprocessableEntity

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

Unprocessable Entity

func NewInternalV1StorageRegionsThresholdsPutUnprocessableEntity

func NewInternalV1StorageRegionsThresholdsPutUnprocessableEntity() *InternalV1StorageRegionsThresholdsPutUnprocessableEntity

NewInternalV1StorageRegionsThresholdsPutUnprocessableEntity creates a InternalV1StorageRegionsThresholdsPutUnprocessableEntity with default headers values

func (*InternalV1StorageRegionsThresholdsPutUnprocessableEntity) Error

func (*InternalV1StorageRegionsThresholdsPutUnprocessableEntity) GetPayload added in v1.1.0

Jump to

Keyboard shortcuts

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