Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type VirtualMachinePerformanceReportListUsingGETBadRequest
- type VirtualMachinePerformanceReportListUsingGETNotFound
- type VirtualMachinePerformanceReportListUsingGETOK
- type VirtualMachinePerformanceReportListUsingGETParams
- func NewVirtualMachinePerformanceReportListUsingGETParams() *VirtualMachinePerformanceReportListUsingGETParams
- func NewVirtualMachinePerformanceReportListUsingGETParamsWithContext(ctx context.Context) *VirtualMachinePerformanceReportListUsingGETParams
- func NewVirtualMachinePerformanceReportListUsingGETParamsWithHTTPClient(client *http.Client) *VirtualMachinePerformanceReportListUsingGETParams
- func NewVirtualMachinePerformanceReportListUsingGETParamsWithTimeout(timeout time.Duration) *VirtualMachinePerformanceReportListUsingGETParams
- func (o *VirtualMachinePerformanceReportListUsingGETParams) SetContext(ctx context.Context)
- func (o *VirtualMachinePerformanceReportListUsingGETParams) SetDefaults()
- func (o *VirtualMachinePerformanceReportListUsingGETParams) SetEndDate(endDate strfmt.DateTime)
- func (o *VirtualMachinePerformanceReportListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *VirtualMachinePerformanceReportListUsingGETParams) SetStartDate(startDate strfmt.DateTime)
- func (o *VirtualMachinePerformanceReportListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *VirtualMachinePerformanceReportListUsingGETParams) WithContext(ctx context.Context) *VirtualMachinePerformanceReportListUsingGETParams
- func (o *VirtualMachinePerformanceReportListUsingGETParams) WithDefaults() *VirtualMachinePerformanceReportListUsingGETParams
- func (o *VirtualMachinePerformanceReportListUsingGETParams) WithEndDate(endDate strfmt.DateTime) *VirtualMachinePerformanceReportListUsingGETParams
- func (o *VirtualMachinePerformanceReportListUsingGETParams) WithHTTPClient(client *http.Client) *VirtualMachinePerformanceReportListUsingGETParams
- func (o *VirtualMachinePerformanceReportListUsingGETParams) WithStartDate(startDate strfmt.DateTime) *VirtualMachinePerformanceReportListUsingGETParams
- func (o *VirtualMachinePerformanceReportListUsingGETParams) WithTimeout(timeout time.Duration) *VirtualMachinePerformanceReportListUsingGETParams
- func (o *VirtualMachinePerformanceReportListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VirtualMachinePerformanceReportListUsingGETReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for virtual machine overall reports API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) VirtualMachinePerformanceReportListUsingGET ¶
func (a *Client) VirtualMachinePerformanceReportListUsingGET(params *VirtualMachinePerformanceReportListUsingGETParams, opts ...ClientOption) (*VirtualMachinePerformanceReportListUsingGETOK, error)
VirtualMachinePerformanceReportListUsingGET lists
Get virtual machine performance report
type ClientOption ¶ added in v1.2.4
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { VirtualMachinePerformanceReportListUsingGET(params *VirtualMachinePerformanceReportListUsingGETParams, opts ...ClientOption) (*VirtualMachinePerformanceReportListUsingGETOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new virtual machine overall reports API client.
type VirtualMachinePerformanceReportListUsingGETBadRequest ¶
type VirtualMachinePerformanceReportListUsingGETBadRequest struct {
Payload *models.ProxyResponseMessage
}
VirtualMachinePerformanceReportListUsingGETBadRequest describes a response with status code 400, with default header values.
Bad request, error occurred. For more details see log messages.
func NewVirtualMachinePerformanceReportListUsingGETBadRequest ¶
func NewVirtualMachinePerformanceReportListUsingGETBadRequest() *VirtualMachinePerformanceReportListUsingGETBadRequest
NewVirtualMachinePerformanceReportListUsingGETBadRequest creates a VirtualMachinePerformanceReportListUsingGETBadRequest with default headers values
func (*VirtualMachinePerformanceReportListUsingGETBadRequest) Error ¶
func (o *VirtualMachinePerformanceReportListUsingGETBadRequest) Error() string
func (*VirtualMachinePerformanceReportListUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *VirtualMachinePerformanceReportListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
type VirtualMachinePerformanceReportListUsingGETNotFound ¶
type VirtualMachinePerformanceReportListUsingGETNotFound struct { }
VirtualMachinePerformanceReportListUsingGETNotFound describes a response with status code 404, with default header values.
Entity not found.
func NewVirtualMachinePerformanceReportListUsingGETNotFound ¶
func NewVirtualMachinePerformanceReportListUsingGETNotFound() *VirtualMachinePerformanceReportListUsingGETNotFound
NewVirtualMachinePerformanceReportListUsingGETNotFound creates a VirtualMachinePerformanceReportListUsingGETNotFound with default headers values
func (*VirtualMachinePerformanceReportListUsingGETNotFound) Error ¶
func (o *VirtualMachinePerformanceReportListUsingGETNotFound) Error() string
type VirtualMachinePerformanceReportListUsingGETOK ¶
type VirtualMachinePerformanceReportListUsingGETOK struct {
Payload *models.VirtualMachinePerformanceReportGetResponse
}
VirtualMachinePerformanceReportListUsingGETOK describes a response with status code 200, with default header values.
OK
func NewVirtualMachinePerformanceReportListUsingGETOK ¶
func NewVirtualMachinePerformanceReportListUsingGETOK() *VirtualMachinePerformanceReportListUsingGETOK
NewVirtualMachinePerformanceReportListUsingGETOK creates a VirtualMachinePerformanceReportListUsingGETOK with default headers values
func (*VirtualMachinePerformanceReportListUsingGETOK) Error ¶
func (o *VirtualMachinePerformanceReportListUsingGETOK) Error() string
func (*VirtualMachinePerformanceReportListUsingGETOK) GetPayload ¶
func (o *VirtualMachinePerformanceReportListUsingGETOK) GetPayload() *models.VirtualMachinePerformanceReportGetResponse
type VirtualMachinePerformanceReportListUsingGETParams ¶
type VirtualMachinePerformanceReportListUsingGETParams struct { /* EndDate. endDate Format: date-time */ EndDate strfmt.DateTime /* StartDate. startDate Format: date-time */ StartDate strfmt.DateTime Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
VirtualMachinePerformanceReportListUsingGETParams contains all the parameters to send to the API endpoint
for the virtual machine performance report list using g e t operation. Typically these are written to a http.Request.
func NewVirtualMachinePerformanceReportListUsingGETParams ¶
func NewVirtualMachinePerformanceReportListUsingGETParams() *VirtualMachinePerformanceReportListUsingGETParams
NewVirtualMachinePerformanceReportListUsingGETParams creates a new VirtualMachinePerformanceReportListUsingGETParams 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 NewVirtualMachinePerformanceReportListUsingGETParamsWithContext ¶
func NewVirtualMachinePerformanceReportListUsingGETParamsWithContext(ctx context.Context) *VirtualMachinePerformanceReportListUsingGETParams
NewVirtualMachinePerformanceReportListUsingGETParamsWithContext creates a new VirtualMachinePerformanceReportListUsingGETParams object with the ability to set a context for a request.
func NewVirtualMachinePerformanceReportListUsingGETParamsWithHTTPClient ¶
func NewVirtualMachinePerformanceReportListUsingGETParamsWithHTTPClient(client *http.Client) *VirtualMachinePerformanceReportListUsingGETParams
NewVirtualMachinePerformanceReportListUsingGETParamsWithHTTPClient creates a new VirtualMachinePerformanceReportListUsingGETParams object with the ability to set a custom HTTPClient for a request.
func NewVirtualMachinePerformanceReportListUsingGETParamsWithTimeout ¶
func NewVirtualMachinePerformanceReportListUsingGETParamsWithTimeout(timeout time.Duration) *VirtualMachinePerformanceReportListUsingGETParams
NewVirtualMachinePerformanceReportListUsingGETParamsWithTimeout creates a new VirtualMachinePerformanceReportListUsingGETParams object with the ability to set a timeout on a request.
func (*VirtualMachinePerformanceReportListUsingGETParams) SetContext ¶
func (o *VirtualMachinePerformanceReportListUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the virtual machine performance report list using g e t params
func (*VirtualMachinePerformanceReportListUsingGETParams) SetDefaults ¶ added in v1.2.4
func (o *VirtualMachinePerformanceReportListUsingGETParams) SetDefaults()
SetDefaults hydrates default values in the virtual machine performance report list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*VirtualMachinePerformanceReportListUsingGETParams) SetEndDate ¶
func (o *VirtualMachinePerformanceReportListUsingGETParams) SetEndDate(endDate strfmt.DateTime)
SetEndDate adds the endDate to the virtual machine performance report list using g e t params
func (*VirtualMachinePerformanceReportListUsingGETParams) SetHTTPClient ¶
func (o *VirtualMachinePerformanceReportListUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the virtual machine performance report list using g e t params
func (*VirtualMachinePerformanceReportListUsingGETParams) SetStartDate ¶
func (o *VirtualMachinePerformanceReportListUsingGETParams) SetStartDate(startDate strfmt.DateTime)
SetStartDate adds the startDate to the virtual machine performance report list using g e t params
func (*VirtualMachinePerformanceReportListUsingGETParams) SetTimeout ¶
func (o *VirtualMachinePerformanceReportListUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the virtual machine performance report list using g e t params
func (*VirtualMachinePerformanceReportListUsingGETParams) WithContext ¶
func (o *VirtualMachinePerformanceReportListUsingGETParams) WithContext(ctx context.Context) *VirtualMachinePerformanceReportListUsingGETParams
WithContext adds the context to the virtual machine performance report list using g e t params
func (*VirtualMachinePerformanceReportListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *VirtualMachinePerformanceReportListUsingGETParams) WithDefaults() *VirtualMachinePerformanceReportListUsingGETParams
WithDefaults hydrates default values in the virtual machine performance report list using g e t params (not the query body).
All values with no default are reset to their zero value.
func (*VirtualMachinePerformanceReportListUsingGETParams) WithEndDate ¶
func (o *VirtualMachinePerformanceReportListUsingGETParams) WithEndDate(endDate strfmt.DateTime) *VirtualMachinePerformanceReportListUsingGETParams
WithEndDate adds the endDate to the virtual machine performance report list using g e t params
func (*VirtualMachinePerformanceReportListUsingGETParams) WithHTTPClient ¶
func (o *VirtualMachinePerformanceReportListUsingGETParams) WithHTTPClient(client *http.Client) *VirtualMachinePerformanceReportListUsingGETParams
WithHTTPClient adds the HTTPClient to the virtual machine performance report list using g e t params
func (*VirtualMachinePerformanceReportListUsingGETParams) WithStartDate ¶
func (o *VirtualMachinePerformanceReportListUsingGETParams) WithStartDate(startDate strfmt.DateTime) *VirtualMachinePerformanceReportListUsingGETParams
WithStartDate adds the startDate to the virtual machine performance report list using g e t params
func (*VirtualMachinePerformanceReportListUsingGETParams) WithTimeout ¶
func (o *VirtualMachinePerformanceReportListUsingGETParams) WithTimeout(timeout time.Duration) *VirtualMachinePerformanceReportListUsingGETParams
WithTimeout adds the timeout to the virtual machine performance report list using g e t params
func (*VirtualMachinePerformanceReportListUsingGETParams) WriteToRequest ¶
func (o *VirtualMachinePerformanceReportListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type VirtualMachinePerformanceReportListUsingGETReader ¶
type VirtualMachinePerformanceReportListUsingGETReader struct {
// contains filtered or unexported fields
}
VirtualMachinePerformanceReportListUsingGETReader is a Reader for the VirtualMachinePerformanceReportListUsingGET structure.
func (*VirtualMachinePerformanceReportListUsingGETReader) ReadResponse ¶
func (o *VirtualMachinePerformanceReportListUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.