Documentation ¶
Index ¶
- type Client
- func (a *Client) GetFabricVSphereStoragePolicies(params *GetFabricVSphereStoragePoliciesParams) (*GetFabricVSphereStoragePoliciesOK, error)
- func (a *Client) GetFabricVSphereStoragePolicy(params *GetFabricVSphereStoragePolicyParams) (*GetFabricVSphereStoragePolicyOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetFabricVSphereStoragePoliciesForbidden
- type GetFabricVSphereStoragePoliciesOK
- type GetFabricVSphereStoragePoliciesParams
- func NewGetFabricVSphereStoragePoliciesParams() *GetFabricVSphereStoragePoliciesParams
- func NewGetFabricVSphereStoragePoliciesParamsWithContext(ctx context.Context) *GetFabricVSphereStoragePoliciesParams
- func NewGetFabricVSphereStoragePoliciesParamsWithHTTPClient(client *http.Client) *GetFabricVSphereStoragePoliciesParams
- func NewGetFabricVSphereStoragePoliciesParamsWithTimeout(timeout time.Duration) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFabricVSphereStoragePoliciesParams) SetContext(ctx context.Context)
- func (o *GetFabricVSphereStoragePoliciesParams) SetHTTPClient(client *http.Client)
- func (o *GetFabricVSphereStoragePoliciesParams) SetTimeout(timeout time.Duration)
- func (o *GetFabricVSphereStoragePoliciesParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) WithContext(ctx context.Context) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) WithHTTPClient(client *http.Client) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) WithTimeout(timeout time.Duration) *GetFabricVSphereStoragePoliciesParams
- func (o *GetFabricVSphereStoragePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFabricVSphereStoragePoliciesReader
- type GetFabricVSphereStoragePolicyForbidden
- type GetFabricVSphereStoragePolicyNotFound
- type GetFabricVSphereStoragePolicyOK
- type GetFabricVSphereStoragePolicyParams
- func NewGetFabricVSphereStoragePolicyParams() *GetFabricVSphereStoragePolicyParams
- func NewGetFabricVSphereStoragePolicyParamsWithContext(ctx context.Context) *GetFabricVSphereStoragePolicyParams
- func NewGetFabricVSphereStoragePolicyParamsWithHTTPClient(client *http.Client) *GetFabricVSphereStoragePolicyParams
- func NewGetFabricVSphereStoragePolicyParamsWithTimeout(timeout time.Duration) *GetFabricVSphereStoragePolicyParams
- func (o *GetFabricVSphereStoragePolicyParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFabricVSphereStoragePolicyParams) SetContext(ctx context.Context)
- func (o *GetFabricVSphereStoragePolicyParams) SetHTTPClient(client *http.Client)
- func (o *GetFabricVSphereStoragePolicyParams) SetID(id string)
- func (o *GetFabricVSphereStoragePolicyParams) SetTimeout(timeout time.Duration)
- func (o *GetFabricVSphereStoragePolicyParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereStoragePolicyParams
- func (o *GetFabricVSphereStoragePolicyParams) WithContext(ctx context.Context) *GetFabricVSphereStoragePolicyParams
- func (o *GetFabricVSphereStoragePolicyParams) WithHTTPClient(client *http.Client) *GetFabricVSphereStoragePolicyParams
- func (o *GetFabricVSphereStoragePolicyParams) WithID(id string) *GetFabricVSphereStoragePolicyParams
- func (o *GetFabricVSphereStoragePolicyParams) WithTimeout(timeout time.Duration) *GetFabricVSphereStoragePolicyParams
- func (o *GetFabricVSphereStoragePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFabricVSphereStoragePolicyReader
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 ¶
func (o *GetFabricVSphereStoragePoliciesForbidden) Error() string
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 (o *GetFabricVSphereStoragePoliciesOK) Error() string
func (*GetFabricVSphereStoragePoliciesOK) GetPayload ¶
func (o *GetFabricVSphereStoragePoliciesOK) GetPayload() *models.FabricVsphereStoragePolicyResult
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 ¶
func (o *GetFabricVSphereStoragePoliciesParams) SetContext(ctx context.Context)
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 ¶
func (o *GetFabricVSphereStoragePoliciesParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereStoragePoliciesParams
WithAPIVersion adds the aPIVersion to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) WithContext ¶
func (o *GetFabricVSphereStoragePoliciesParams) WithContext(ctx context.Context) *GetFabricVSphereStoragePoliciesParams
WithContext adds the context to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) WithHTTPClient ¶
func (o *GetFabricVSphereStoragePoliciesParams) WithHTTPClient(client *http.Client) *GetFabricVSphereStoragePoliciesParams
WithHTTPClient adds the HTTPClient to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) WithTimeout ¶
func (o *GetFabricVSphereStoragePoliciesParams) WithTimeout(timeout time.Duration) *GetFabricVSphereStoragePoliciesParams
WithTimeout adds the timeout to the get fabric v sphere storage policies params
func (*GetFabricVSphereStoragePoliciesParams) WriteToRequest ¶
func (o *GetFabricVSphereStoragePoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetFabricVSphereStoragePolicyForbidden) Error() string
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 ¶
func (o *GetFabricVSphereStoragePolicyNotFound) Error() string
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 (o *GetFabricVSphereStoragePolicyOK) Error() string
func (*GetFabricVSphereStoragePolicyOK) GetPayload ¶
func (o *GetFabricVSphereStoragePolicyOK) GetPayload() *models.FabricVsphereStoragePolicy
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 ¶
func (o *GetFabricVSphereStoragePolicyParams) SetContext(ctx context.Context)
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 ¶
func (o *GetFabricVSphereStoragePolicyParams) SetID(id string)
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 ¶
func (o *GetFabricVSphereStoragePolicyParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereStoragePolicyParams
WithAPIVersion adds the aPIVersion to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) WithContext ¶
func (o *GetFabricVSphereStoragePolicyParams) WithContext(ctx context.Context) *GetFabricVSphereStoragePolicyParams
WithContext adds the context to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) WithHTTPClient ¶
func (o *GetFabricVSphereStoragePolicyParams) WithHTTPClient(client *http.Client) *GetFabricVSphereStoragePolicyParams
WithHTTPClient adds the HTTPClient to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) WithID ¶
func (o *GetFabricVSphereStoragePolicyParams) WithID(id string) *GetFabricVSphereStoragePolicyParams
WithID adds the id to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) WithTimeout ¶
func (o *GetFabricVSphereStoragePolicyParams) WithTimeout(timeout time.Duration) *GetFabricVSphereStoragePolicyParams
WithTimeout adds the timeout to the get fabric v sphere storage policy params
func (*GetFabricVSphereStoragePolicyParams) WriteToRequest ¶
func (o *GetFabricVSphereStoragePolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.