fabric_vsphere_storage_policies

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 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 Client

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

Client for fabric v sphere storage policies API

func (*Client) GetFabricVSphereStoragePolicies

func (a *Client) GetFabricVSphereStoragePolicies(params *GetFabricVSphereStoragePoliciesParams, opts ...ClientOption) (*GetFabricVSphereStoragePoliciesOK, error)

GetFabricVSphereStoragePolicies gets fabric v sphere storage polices

Get all fabric vSphere storage polices.

func (*Client) GetFabricVSphereStoragePolicy

func (a *Client) GetFabricVSphereStoragePolicy(params *GetFabricVSphereStoragePolicyParams, opts ...ClientOption) (*GetFabricVSphereStoragePolicyOK, error)

GetFabricVSphereStoragePolicy gets fabric v sphere storage policy

Get fabric vSphere storage policy with a given id

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v0.2.20

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.2.18

type ClientService interface {
	GetFabricVSphereStoragePolicies(params *GetFabricVSphereStoragePoliciesParams, opts ...ClientOption) (*GetFabricVSphereStoragePoliciesOK, error)

	GetFabricVSphereStoragePolicy(params *GetFabricVSphereStoragePolicyParams, opts ...ClientOption) (*GetFabricVSphereStoragePolicyOK, 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 fabric v sphere storage policies API client.

type GetFabricVSphereStoragePoliciesForbidden

type GetFabricVSphereStoragePoliciesForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetFabricVSphereStoragePoliciesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetFabricVSphereStoragePoliciesForbidden

func NewGetFabricVSphereStoragePoliciesForbidden() *GetFabricVSphereStoragePoliciesForbidden

NewGetFabricVSphereStoragePoliciesForbidden creates a GetFabricVSphereStoragePoliciesForbidden with default headers values

func (*GetFabricVSphereStoragePoliciesForbidden) Error

func (*GetFabricVSphereStoragePoliciesForbidden) GetPayload added in v0.2.20

func (*GetFabricVSphereStoragePoliciesForbidden) IsClientError added in v0.5.0

IsClientError returns true when this get fabric v sphere storage policies forbidden response has a 4xx status code

func (*GetFabricVSphereStoragePoliciesForbidden) IsCode added in v0.5.0

IsCode returns true when this get fabric v sphere storage policies forbidden response a status code equal to that given

func (*GetFabricVSphereStoragePoliciesForbidden) IsRedirect added in v0.5.0

IsRedirect returns true when this get fabric v sphere storage policies forbidden response has a 3xx status code

func (*GetFabricVSphereStoragePoliciesForbidden) IsServerError added in v0.5.0

IsServerError returns true when this get fabric v sphere storage policies forbidden response has a 5xx status code

func (*GetFabricVSphereStoragePoliciesForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this get fabric v sphere storage policies forbidden response has a 2xx status code

func (*GetFabricVSphereStoragePoliciesForbidden) String added in v0.5.0

type GetFabricVSphereStoragePoliciesOK

type GetFabricVSphereStoragePoliciesOK struct {
	Payload *models.FabricVsphereStoragePolicyResult
}

GetFabricVSphereStoragePoliciesOK describes a response with status code 200, with default header values.

successful operation

func NewGetFabricVSphereStoragePoliciesOK

func NewGetFabricVSphereStoragePoliciesOK() *GetFabricVSphereStoragePoliciesOK

NewGetFabricVSphereStoragePoliciesOK creates a GetFabricVSphereStoragePoliciesOK with default headers values

func (*GetFabricVSphereStoragePoliciesOK) Error

func (*GetFabricVSphereStoragePoliciesOK) GetPayload

func (*GetFabricVSphereStoragePoliciesOK) IsClientError added in v0.5.0

func (o *GetFabricVSphereStoragePoliciesOK) IsClientError() bool

IsClientError returns true when this get fabric v sphere storage policies o k response has a 4xx status code

func (*GetFabricVSphereStoragePoliciesOK) IsCode added in v0.5.0

func (o *GetFabricVSphereStoragePoliciesOK) IsCode(code int) bool

IsCode returns true when this get fabric v sphere storage policies o k response a status code equal to that given

func (*GetFabricVSphereStoragePoliciesOK) IsRedirect added in v0.5.0

func (o *GetFabricVSphereStoragePoliciesOK) IsRedirect() bool

IsRedirect returns true when this get fabric v sphere storage policies o k response has a 3xx status code

func (*GetFabricVSphereStoragePoliciesOK) IsServerError added in v0.5.0

func (o *GetFabricVSphereStoragePoliciesOK) IsServerError() bool

IsServerError returns true when this get fabric v sphere storage policies o k response has a 5xx status code

func (*GetFabricVSphereStoragePoliciesOK) IsSuccess added in v0.5.0

func (o *GetFabricVSphereStoragePoliciesOK) IsSuccess() bool

IsSuccess returns true when this get fabric v sphere storage policies o k response has a 2xx status code

func (*GetFabricVSphereStoragePoliciesOK) String added in v0.5.0

type GetFabricVSphereStoragePoliciesParams

type GetFabricVSphereStoragePoliciesParams struct {

	/* DollarCount.

	   Flag which when specified, regardless of the assigned value, shows the total number of records. If the collection has a filter it shows the number of records matching the filter.
	*/
	DollarCount *bool

	/* DollarFilter.

	   Filter the results by a specified predicate expression. Operators: eq, ne, and, or.
	*/
	DollarFilter *string

	/* DollarSelect.

	   Select a subset of properties to include in the response.
	*/
	DollarSelect *string

	/* DollarSkip.

	   Number of records you want to skip.
	*/
	DollarSkip *int64

	/* DollarTop.

	   Number of records you want to get.
	*/
	DollarTop *int64

	/* 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
}

GetFabricVSphereStoragePoliciesParams contains all the parameters to send to the API endpoint

for the get fabric v sphere storage policies operation.

Typically these are written to a http.Request.

func NewGetFabricVSphereStoragePoliciesParams

func NewGetFabricVSphereStoragePoliciesParams() *GetFabricVSphereStoragePoliciesParams

NewGetFabricVSphereStoragePoliciesParams creates a new GetFabricVSphereStoragePoliciesParams 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 NewGetFabricVSphereStoragePoliciesParamsWithContext

func NewGetFabricVSphereStoragePoliciesParamsWithContext(ctx context.Context) *GetFabricVSphereStoragePoliciesParams

NewGetFabricVSphereStoragePoliciesParamsWithContext creates a new GetFabricVSphereStoragePoliciesParams object with the ability to set a context for a request.

func NewGetFabricVSphereStoragePoliciesParamsWithHTTPClient

func NewGetFabricVSphereStoragePoliciesParamsWithHTTPClient(client *http.Client) *GetFabricVSphereStoragePoliciesParams

NewGetFabricVSphereStoragePoliciesParamsWithHTTPClient creates a new GetFabricVSphereStoragePoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewGetFabricVSphereStoragePoliciesParamsWithTimeout

func NewGetFabricVSphereStoragePoliciesParamsWithTimeout(timeout time.Duration) *GetFabricVSphereStoragePoliciesParams

NewGetFabricVSphereStoragePoliciesParamsWithTimeout creates a new GetFabricVSphereStoragePoliciesParams object with the ability to set a timeout on a request.

func (*GetFabricVSphereStoragePoliciesParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) SetContext

SetContext adds the context to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) SetDefaults added in v0.2.20

func (o *GetFabricVSphereStoragePoliciesParams) SetDefaults()

SetDefaults hydrates default values in the get fabric v sphere storage policies params (not the query body).

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

func (*GetFabricVSphereStoragePoliciesParams) SetDollarCount added in v0.2.20

func (o *GetFabricVSphereStoragePoliciesParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) SetDollarFilter added in v0.2.12

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

SetDollarFilter adds the dollarFilter to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) SetDollarSelect added in v0.2.20

func (o *GetFabricVSphereStoragePoliciesParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) SetDollarSkip added in v0.2.20

func (o *GetFabricVSphereStoragePoliciesParams) SetDollarSkip(dollarSkip *int64)

SetDollarSkip adds the dollarSkip to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) SetDollarTop added in v0.2.20

func (o *GetFabricVSphereStoragePoliciesParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) SetTimeout

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

SetTimeout adds the timeout to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) WithContext

WithContext adds the context to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get fabric v sphere storage policies params (not the query body).

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

func (*GetFabricVSphereStoragePoliciesParams) WithDollarCount added in v0.2.20

WithDollarCount adds the dollarCount to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) WithDollarFilter added in v0.2.12

WithDollarFilter adds the dollarFilter to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) WithDollarSelect added in v0.2.20

WithDollarSelect adds the dollarSelect to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) WithDollarSkip added in v0.2.20

WithDollarSkip adds the dollarSkip to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) WithDollarTop added in v0.2.20

WithDollarTop adds the dollarTop to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) WithTimeout

WithTimeout adds the timeout to the get fabric v sphere storage policies params

func (*GetFabricVSphereStoragePoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFabricVSphereStoragePoliciesReader

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

GetFabricVSphereStoragePoliciesReader is a Reader for the GetFabricVSphereStoragePolicies structure.

func (*GetFabricVSphereStoragePoliciesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFabricVSphereStoragePolicyForbidden

type GetFabricVSphereStoragePolicyForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetFabricVSphereStoragePolicyForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetFabricVSphereStoragePolicyForbidden

func NewGetFabricVSphereStoragePolicyForbidden() *GetFabricVSphereStoragePolicyForbidden

NewGetFabricVSphereStoragePolicyForbidden creates a GetFabricVSphereStoragePolicyForbidden with default headers values

func (*GetFabricVSphereStoragePolicyForbidden) Error

func (*GetFabricVSphereStoragePolicyForbidden) GetPayload added in v0.2.20

func (*GetFabricVSphereStoragePolicyForbidden) IsClientError added in v0.5.0

func (o *GetFabricVSphereStoragePolicyForbidden) IsClientError() bool

IsClientError returns true when this get fabric v sphere storage policy forbidden response has a 4xx status code

func (*GetFabricVSphereStoragePolicyForbidden) IsCode added in v0.5.0

IsCode returns true when this get fabric v sphere storage policy forbidden response a status code equal to that given

func (*GetFabricVSphereStoragePolicyForbidden) IsRedirect added in v0.5.0

IsRedirect returns true when this get fabric v sphere storage policy forbidden response has a 3xx status code

func (*GetFabricVSphereStoragePolicyForbidden) IsServerError added in v0.5.0

func (o *GetFabricVSphereStoragePolicyForbidden) IsServerError() bool

IsServerError returns true when this get fabric v sphere storage policy forbidden response has a 5xx status code

func (*GetFabricVSphereStoragePolicyForbidden) IsSuccess added in v0.5.0

IsSuccess returns true when this get fabric v sphere storage policy forbidden response has a 2xx status code

func (*GetFabricVSphereStoragePolicyForbidden) String added in v0.5.0

type GetFabricVSphereStoragePolicyNotFound

type GetFabricVSphereStoragePolicyNotFound struct {
	Payload *models.Error
}

GetFabricVSphereStoragePolicyNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetFabricVSphereStoragePolicyNotFound

func NewGetFabricVSphereStoragePolicyNotFound() *GetFabricVSphereStoragePolicyNotFound

NewGetFabricVSphereStoragePolicyNotFound creates a GetFabricVSphereStoragePolicyNotFound with default headers values

func (*GetFabricVSphereStoragePolicyNotFound) Error

func (*GetFabricVSphereStoragePolicyNotFound) GetPayload added in v0.2.9

func (*GetFabricVSphereStoragePolicyNotFound) IsClientError added in v0.5.0

func (o *GetFabricVSphereStoragePolicyNotFound) IsClientError() bool

IsClientError returns true when this get fabric v sphere storage policy not found response has a 4xx status code

func (*GetFabricVSphereStoragePolicyNotFound) IsCode added in v0.5.0

IsCode returns true when this get fabric v sphere storage policy not found response a status code equal to that given

func (*GetFabricVSphereStoragePolicyNotFound) IsRedirect added in v0.5.0

IsRedirect returns true when this get fabric v sphere storage policy not found response has a 3xx status code

func (*GetFabricVSphereStoragePolicyNotFound) IsServerError added in v0.5.0

func (o *GetFabricVSphereStoragePolicyNotFound) IsServerError() bool

IsServerError returns true when this get fabric v sphere storage policy not found response has a 5xx status code

func (*GetFabricVSphereStoragePolicyNotFound) IsSuccess added in v0.5.0

IsSuccess returns true when this get fabric v sphere storage policy not found response has a 2xx status code

func (*GetFabricVSphereStoragePolicyNotFound) String added in v0.5.0

type GetFabricVSphereStoragePolicyOK

type GetFabricVSphereStoragePolicyOK struct {
	Payload *models.FabricVsphereStoragePolicy
}

GetFabricVSphereStoragePolicyOK describes a response with status code 200, with default header values.

successful operation

func NewGetFabricVSphereStoragePolicyOK

func NewGetFabricVSphereStoragePolicyOK() *GetFabricVSphereStoragePolicyOK

NewGetFabricVSphereStoragePolicyOK creates a GetFabricVSphereStoragePolicyOK with default headers values

func (*GetFabricVSphereStoragePolicyOK) Error

func (*GetFabricVSphereStoragePolicyOK) GetPayload

func (*GetFabricVSphereStoragePolicyOK) IsClientError added in v0.5.0

func (o *GetFabricVSphereStoragePolicyOK) IsClientError() bool

IsClientError returns true when this get fabric v sphere storage policy o k response has a 4xx status code

func (*GetFabricVSphereStoragePolicyOK) IsCode added in v0.5.0

func (o *GetFabricVSphereStoragePolicyOK) IsCode(code int) bool

IsCode returns true when this get fabric v sphere storage policy o k response a status code equal to that given

func (*GetFabricVSphereStoragePolicyOK) IsRedirect added in v0.5.0

func (o *GetFabricVSphereStoragePolicyOK) IsRedirect() bool

IsRedirect returns true when this get fabric v sphere storage policy o k response has a 3xx status code

func (*GetFabricVSphereStoragePolicyOK) IsServerError added in v0.5.0

func (o *GetFabricVSphereStoragePolicyOK) IsServerError() bool

IsServerError returns true when this get fabric v sphere storage policy o k response has a 5xx status code

func (*GetFabricVSphereStoragePolicyOK) IsSuccess added in v0.5.0

func (o *GetFabricVSphereStoragePolicyOK) IsSuccess() bool

IsSuccess returns true when this get fabric v sphere storage policy o k response has a 2xx status code

func (*GetFabricVSphereStoragePolicyOK) String added in v0.5.0

type GetFabricVSphereStoragePolicyParams

type GetFabricVSphereStoragePolicyParams struct {

	/* DollarSelect.

	   Select a subset of properties to include in the response.
	*/
	DollarSelect *string

	/* 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 Fabric vSphere Storage Policy.
	*/
	ID string

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

GetFabricVSphereStoragePolicyParams contains all the parameters to send to the API endpoint

for the get fabric v sphere storage policy operation.

Typically these are written to a http.Request.

func NewGetFabricVSphereStoragePolicyParams

func NewGetFabricVSphereStoragePolicyParams() *GetFabricVSphereStoragePolicyParams

NewGetFabricVSphereStoragePolicyParams creates a new GetFabricVSphereStoragePolicyParams 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 NewGetFabricVSphereStoragePolicyParamsWithContext

func NewGetFabricVSphereStoragePolicyParamsWithContext(ctx context.Context) *GetFabricVSphereStoragePolicyParams

NewGetFabricVSphereStoragePolicyParamsWithContext creates a new GetFabricVSphereStoragePolicyParams object with the ability to set a context for a request.

func NewGetFabricVSphereStoragePolicyParamsWithHTTPClient

func NewGetFabricVSphereStoragePolicyParamsWithHTTPClient(client *http.Client) *GetFabricVSphereStoragePolicyParams

NewGetFabricVSphereStoragePolicyParamsWithHTTPClient creates a new GetFabricVSphereStoragePolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetFabricVSphereStoragePolicyParamsWithTimeout

func NewGetFabricVSphereStoragePolicyParamsWithTimeout(timeout time.Duration) *GetFabricVSphereStoragePolicyParams

NewGetFabricVSphereStoragePolicyParamsWithTimeout creates a new GetFabricVSphereStoragePolicyParams object with the ability to set a timeout on a request.

func (*GetFabricVSphereStoragePolicyParams) SetAPIVersion

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

SetAPIVersion adds the apiVersion to the get fabric v sphere storage policy params

func (*GetFabricVSphereStoragePolicyParams) SetContext

SetContext adds the context to the get fabric v sphere storage policy params

func (*GetFabricVSphereStoragePolicyParams) SetDefaults added in v0.2.20

func (o *GetFabricVSphereStoragePolicyParams) SetDefaults()

SetDefaults hydrates default values in the get fabric v sphere storage policy params (not the query body).

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

func (*GetFabricVSphereStoragePolicyParams) SetDollarSelect added in v0.2.20

func (o *GetFabricVSphereStoragePolicyParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the get fabric v sphere storage policy params

func (*GetFabricVSphereStoragePolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get fabric v sphere storage policy params

func (*GetFabricVSphereStoragePolicyParams) SetID

SetID adds the id to the get fabric v sphere storage policy params

func (*GetFabricVSphereStoragePolicyParams) SetTimeout

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

SetTimeout adds the timeout to the get fabric v sphere storage policy params

func (*GetFabricVSphereStoragePolicyParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the get fabric v sphere storage policy params

func (*GetFabricVSphereStoragePolicyParams) WithContext

WithContext adds the context to the get fabric v sphere storage policy params

func (*GetFabricVSphereStoragePolicyParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get fabric v sphere storage policy params (not the query body).

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

func (*GetFabricVSphereStoragePolicyParams) WithDollarSelect added in v0.2.20

WithDollarSelect adds the dollarSelect to the get fabric v sphere storage policy params

func (*GetFabricVSphereStoragePolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get fabric v sphere storage policy params

func (*GetFabricVSphereStoragePolicyParams) WithID

WithID adds the id to the get fabric v sphere storage policy params

func (*GetFabricVSphereStoragePolicyParams) WithTimeout

WithTimeout adds the timeout to the get fabric v sphere storage policy params

func (*GetFabricVSphereStoragePolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFabricVSphereStoragePolicyReader

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

GetFabricVSphereStoragePolicyReader is a Reader for the GetFabricVSphereStoragePolicy structure.

func (*GetFabricVSphereStoragePolicyReader) ReadResponse

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