fabric_vsphere_storage_policies

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 10 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 New

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

New creates a new fabric v sphere storage policies API client.

func (*Client) GetFabricVSphereStoragePolicies

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

GetFabricVSphereStoragePolicies gets fabric v sphere storage polices

Get all fabric vSphere storage polices.

func (*Client) GetFabricVSphereStoragePolicy

func (a *Client) GetFabricVSphereStoragePolicy(params *GetFabricVSphereStoragePolicyParams) (*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 GetFabricVSphereStoragePoliciesForbidden

type GetFabricVSphereStoragePoliciesForbidden struct {
}

GetFabricVSphereStoragePoliciesForbidden handles this case with default header values.

Forbidden

func NewGetFabricVSphereStoragePoliciesForbidden

func NewGetFabricVSphereStoragePoliciesForbidden() *GetFabricVSphereStoragePoliciesForbidden

NewGetFabricVSphereStoragePoliciesForbidden creates a GetFabricVSphereStoragePoliciesForbidden with default headers values

func (*GetFabricVSphereStoragePoliciesForbidden) Error

type GetFabricVSphereStoragePoliciesOK

type GetFabricVSphereStoragePoliciesOK struct {
	Payload *models.FabricVsphereStoragePolicyResult
}

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

type GetFabricVSphereStoragePoliciesParams

type GetFabricVSphereStoragePoliciesParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 values initialized.

func NewGetFabricVSphereStoragePoliciesParamsWithContext

func NewGetFabricVSphereStoragePoliciesParamsWithContext(ctx context.Context) *GetFabricVSphereStoragePoliciesParams

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

GetFabricVSphereStoragePolicyForbidden handles this case with default header values.

Forbidden

func NewGetFabricVSphereStoragePolicyForbidden

func NewGetFabricVSphereStoragePolicyForbidden() *GetFabricVSphereStoragePolicyForbidden

NewGetFabricVSphereStoragePolicyForbidden creates a GetFabricVSphereStoragePolicyForbidden with default headers values

func (*GetFabricVSphereStoragePolicyForbidden) Error

type GetFabricVSphereStoragePolicyNotFound

type GetFabricVSphereStoragePolicyNotFound struct {
}

GetFabricVSphereStoragePolicyNotFound handles this case with default header values.

Not Found

func NewGetFabricVSphereStoragePolicyNotFound

func NewGetFabricVSphereStoragePolicyNotFound() *GetFabricVSphereStoragePolicyNotFound

NewGetFabricVSphereStoragePolicyNotFound creates a GetFabricVSphereStoragePolicyNotFound with default headers values

func (*GetFabricVSphereStoragePolicyNotFound) Error

type GetFabricVSphereStoragePolicyOK

type GetFabricVSphereStoragePolicyOK struct {
	Payload *models.FabricVsphereStoragePolicy
}

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

type GetFabricVSphereStoragePolicyParams

type GetFabricVSphereStoragePolicyParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 values initialized.

func NewGetFabricVSphereStoragePolicyParamsWithContext

func NewGetFabricVSphereStoragePolicyParamsWithContext(ctx context.Context) *GetFabricVSphereStoragePolicyParams

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